|
||||||
| Software Security Information to inform users on how to protect their personal software / applications. Learn how to protect against software crackers. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Quote:
Let's look at a virus that spreads itself and pop up "malware is gay!" every few minutes, and spreads itself. (I'm pretty positive that malware is the superset of virus. Microsoft says blaster is malware, and nobody says a worm that caused millions of damage is sissy, or gay, in your sense.) I'll break up the stuff it does into steps, and every step will be legitimate. 1) Checks if computer is infected (ie check if that virus exist on the computer) 2) Step 3 if it's uninfected. If it's infected, kills itself. 3) Get itself into a nice location, probably windows directory, and makes itself to start every time the computer boots. 4) Pop up "malware is gay" every few minutes 5) Put itself on every removable drives, and sends itself to every email in the address book of the victim. As you can see, all parts of the virus is doing something legitimate. Checking filesystem of computer(what ms word also does), copying some files(many software does this), pop up a dialog box(duh!), and copying files again. How does a virus detect this as a virus then? If it's a virus, probably many microsoft product are viruses as well! (well, some of them probably are )To test out this concept, I made a program(using C++) that does just what I said, except for the pop up. I sent it to virus scanners, and voila! Nothing detected. So, if a virus scanner wants to detect this specific program, which part will be the signature? |
|
|||||
|
There is so many problems with what you just said Telboon.
First off, anyone can write (okay not anyone) a virus that won't get detected by an online virus scanner. As long as your code isn't to similar to virus definitions already in its bank. The virus signature is a set of bytes in a virus, that have been identified as belonging to a virus. Anyone still wondering can read this, Computer virus - Wikipedia, the free encyclopedia So basically before the virus can be detected there has to be a signature that identifies it. |
|
|||
|
Quote:
Set of bytes. Now we are getting somewhere, but what exactly is that set of byte? What defines that set of byte? The set that is malicious, or just random bytes? Are antivirus makers so sure no other legitimate software will have these set of byte by coincidence? How about my program? It does what a standard virus does(or maybe just a part of it), but why isn't the "evil set of bytes" found in my program? So basically, what is special about that set of bytes that the antivirus can be so sure of, to claim that the program is a virus? PS: By the way, the virus scanners had heuristic scanning turned on. But just to avoid confusion, let's leave the heuristic part out, first. |
|
|||||
|
Basically this is how I understand it.
Anti-Virus companies catch a virus, they then identify a set of bytes that can be linked to this virus, even if a few changes are made by a skiddy, and also they want to make sure that it's not a byte sequence commonly found in legit programs. This is obviously because they don't want the virus scanner to be picking up a lot of legit programs. Also if there is no byte sequence in your code that matches a current definition then your virus or worm or whatever it is is going to pass. No piece of any malicious code I have ever written has been picked up by an online virus scanner, this is the same reason that viruses can be powerful in the wild. If their code is unique, then there will need to be a new definition before they can be caught by AVs. Also dude antivirus scanners don't make defintions, they simply get the definitions that are sent to them from the AV company. |
| Sponsored Links |
|
|
|
|||
|
One way some people get around virus definitions and stuff like that is to write a mutating program, which basically "evolves" so much that it's unrecognizeable across generations. Extremely hard to write, but even more difficult to stop, because there's so many versions.
Even if you aren't interested in that sort of thing, I suggest you look up self-modifying programs on Google; it's pretty interesting. |
|
|||
|
For...?
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Doing final year project based upon an intrusion detection system (IDS) - Need Help! | naveed.pasha | Programming Theory | 6 | 07-07-2008 07:15 PM |
| Confronting a virus problem | TeH | Computer Software/OS | 3 | 02-13-2008 12:50 PM |
| Creator of First Computer Virus to Take On Google | Kernel | Programming News | 8 | 01-04-2008 01:54 PM |
| Tutorial to Remove the Virus "Trojan horse Startpage.ADE" | clookid | Tutorials | 9 | 01-09-2007 10:39 PM |
| Funny virus scan | DevilsCharm | Technology Ramble | 12 | 09-16-2006 06:12 AM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |