Well if you have a Trojan or virus on your computer, chances are you found out about it with one of those nice AV porgies, like McAfee or Norton or Panda. Well, I really like those programs for removing viruses. But in the Trojan department they fall a little short. The best thing about these programs is their virus/Trojan detection; chances are that if you went through your computer you wouldn't be able to know if you were infected with a virus or a Trojan. So you absolutely need to have one of those programs! And if you are infected with a virus then they are incredibly useful for removal as well, because they can repair damaged programs and can quarantine infected files. Plus so many viruses are designed to spread that if you don't use one of these AV programs your friends could get really mad at you. SO you need to do 2 things. One is get one of these programs, I like Norton, it's a little heavy on system resources but it has frequent updates and information on any viruses or Trojans can be found the site of Symantec, the maker of the Norton suite of products. Most major AV programs have sites that have info on the latest viruses and Trojans.
If you are running a crappy computer, something that can't be running auto-protection feature that comes with Norton AV then the best thing to do is to download files into a special folder and then scan them with the individual file scan option.
Trojan Detection: Well, the best to find them is to run an AV proggie, OR to check for open ports as Trojans are designed to allow other users full access to your computer. These users do not usually have physical access to your computer, so Trojans must provide a way for them to enter your computer by opening a port. Most common Trojans have common ports that they use for entering a computer, usually a very high number that most port scans don't bother checking. For example sub seven uses port 27-something, 27000+. Few port scans would start a port 1 and go up that high, so maybe you should start at something like 10000 and go up from there. Another way to find any open ports if you are on a windows box is to run net stat -a. There is probably some Linux equivalent though I do not know it, so if anyone does please post it. You can also use programs which list all running processes to you. And if you are some kind of expert on your OS you could comb through your directories looking for something that doesn't belong.
Trojan removal: Trojans, they are different from viruses because they are usually configured to run on startup and as a result are undeletable because a window is using them. So when you try removal with your favorite AV program it will say it was unable to delete them, and then you may want to try to remove them manually but an error message will tell you that windows is using the specified file. So then you are wondering, "Huh?" Well, that sucks! Now what you going to do? Who ya going to call? GHOSTBUSTERS! Nah, hold off on that; instead think about it for a second. This Trojan is most likely designed to run when windows starts up. So, the logical thing to do is to think of a way to have access to all your windows files and folders without actually running windows. Now how you going to do that? Well, go to start, shut down, and then pick restart in ms-dos mode! Click OK. Now you have access to everything and windows won't even be running! So I am assuming you know where the file is located because you tried to delete it manually. So let's say it was located in a directory that it created called "pooponyou". Well at the prompt type "cd c:\pooponyou" without the quotes. Now you can type "del" which is the dos delete command for specific files. So let's say this Trojan is called "crybaby.exe", and then you need to type "del crybaby.exe" without the quotes. OR at the prompt you can type "del c:\pooponyou\crybaby.exe" without the quotes. WOW!! YOU DID IT!!! Congrats, you just got rid of that undeletable Trojan! Now you get back into windows and you find that the folder pooponyou is for some crazy reason undeletable. Well, go back into dos and this time you will use the dos command for deleting folders. And that command is DELTREE. Yup, so type "deltree c:\pooponyou" without the quotes. You will then need to confirm the deletion, type yes. Well there ya go.
Trojan clutter: Trojans have to find a method to startup. So they either modified or created a new file, to facilitate that. And the numbers of files that are responsible to the programs that run on startup are limited. The easiest way to view these files is to run "sysedit" at the run prompt. Or to run it in the main windows directory. Look for any mention of the file or folder that you just deleted and erase those names. I advise against deleting the entire line, because you don't know what the line is for! And the other way that programs usually run on startup is in the registry! So at the run prompt or in the main windows directory run "regedit" and type "F3" and type in the name of your Trojan, the name of the file that you deleted it. You may find that there is an entire key for your Trojan in which case delete the key, or if there is another program in the key, modify it and delete only the Trojan name.
Well, that's it. So long everybody, time to ride into the sunset. I jus' need a horse. Ah well, I'll drive. Hope this helps some people figure out why their AV program doesn't delete all their Trojans.
Originally posted here (
http://www.AntiOnline.com/showthread.php?threadid=#post)
Trojan clutter: Trojans have to find a method to startup. So they either modified or created a new file, to facilitate that. And the number of files that are responsible to the programs that run on startup are limited.
The registry values that are usually added can be found in the following area's-
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\
CurrentVersion\RunServices\
or
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\
CurrentVersion\Run\
Not a bad little Trojan removal guide.