|
|
Subject:
viruses and genetic alogrithms
Category: Computers > Algorithms Asked by: crook-ga List Price: $15.00 |
Posted:
03 Aug 2002 05:40 PDT
Expires: 02 Sep 2002 05:40 PDT Question ID: 50172 |
How do you find a identifier in a virus source code (part of the codee that could be used to identify it during a anti virus scanning operation) and then put it in a genetic alogrithm??? How does anti virus software work??? | |
| |
|
|
There is no answer at this time. |
|
Subject:
Re: viruses and genetic alogrithms
From: tne-ga on 06 Aug 2002 00:34 PDT |
There is a race between virus writers and anti virus writers. Let me break down your question into two parts 1. How virus tries to avoid detection/identificaion? 2. How antivirus writers try to detect/identify virus? (I am assuming you are not interested in removal) 1. Basically a virus attaches to normal program executes it's own code (to infect/attach to other programs usually checks if it is not already attached and then harms and finally returns to original program. Usually infection phase is so fast it is hardly noticable. (Easiest way to detect this check file size) a) Virus employ stealth techniques to avoid detection eg. take a program of size P and virus of size V compress P to P-V attach V. another could be when we do disk IO such as read directory with "dir" or "ls" or read copy the infected file intercept I/O and return original program. b) Virus employ polymorphic technique to avoid identification Hide the "signature"/"identifier" e.g. randomly add superfluous instructions e.g. "nop" A more advanced e.g. encrypt itself using a random key and store it when virus invokes decrypt and then execute make new infections with new random keys store them and so on. 2. Antivirus a) for detection there are heuristic rules such as updation of files, access to system components scanning logs. Having checksums for programs etc. Virus can change checksum also. Store checksum seperately in another location such that we can detect infection. b) for identification with encrypted virus advanced antivirus software are like CPU emulators. A software based virtual computer. Remeber the virus needs to decrypt itself to run. Allow the virus to run in a safe emulator environment. Let it decrypt and run scanners to identify. Genetic Algorithms are used to optimize complex functions probabilistically to best of my knowledge. (I have limited knowledge here). Let us see where there application could be in an advanced immune system. An advanced immune system can be broken down into following parts. a) A monitoring program based on heuristics b) On susspicion it triggers virus analysis. Run the program on emulator for analysis. Try identifying signature. c) Send signature to clients worldwide update there database of viruses. For cleanup and prevention. GA can be used for optimizing heuristics, For matching signatures I guess |
Subject:
Re: viruses and genetic alogrithms
From: bribold-ga on 16 Aug 2002 08:03 PDT |
wow, good answer by tne.. Another little heuristic method is to monitor the behaviour (in emulation) of a virus - how it interacts with the host's kernel or low-level APIs and trigger alarms if you don't like what you're seeing. This is rarely done cause it's very hard not to trigger false alarms. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |