Jump to content
xisto Community
Sign in to follow this  
masrawy

Simple Talk About Trojans trojans and how they differ from viruses and worms

Recommended Posts

As a programmer, I had the opportunity to code a trojan horse before, of course it was just for experimenting not for hacking, so I am going to give a clue about the work of Trojan horses.

Trojans typically consist of two parts, a client part and a server part. When a victim (unknowingly) runs a Trojan server on his machine, the attacker then uses the client part of that Trojan to connect to the server module and start using the Trojan. The protocol usually used for communications is TCP, but some Trojans' functions use other protocols, such as UDP, as well. When a Trojan server runs on a victim’s computer, it (usually) tries to hide somewhere on the computer; it then starts listening for incoming connections from the attacker on one or more ports, and attempts to modify the registry and/or use some other auto-starting method.

trojans depend on the idea of client-server communication,

Trojans differs from viruses and worms in that they don't replicate themselves, relying on a separate mechanism for distribution. Instead, their primary feature is that they masquerade as a legitimate program or offer something desirable (such as alink for something free or interesting), but harbor a malevolent purpose.


Notice from rvalkass:

Anything you copy must be wrapped in Quote tags.
Readme ~ Rules ~ AUP ~ BBCodes

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.