954,479 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

plsss help....in antivirus programming

hi...can anyone give advice, tips, on how will i come up in developing the antivirus software coz i dont have any idea. im kinda new with assembly language and i haven't tried using the it. i have a hard time learning it.

please give me some guide, advice or tips on how the scanning for viruses works in the program.
i would appreciate any help.
thanks a lot.

hudasntpay
Newbie Poster
2 posts since Jun 2005
Reputation Points: 10
Solved Threads: 0
 

You don't necessarily have to use assembly (you can if you want to, but good luck learning it). If you know C or C++ it should be good enough. Java probably won't work because you can't directly access the memory, meaning you can't scan for viruses that are already running in memory, making your antivirus app a piece of ****(no offense). (There may be other languages that can directly access memory, but I'm not sure.)

Anyway, whatever language you choose, you'll basically need to have a virus pattern file, which would tell the app that Sasser is a virus and explorer.exe (hopefully) isn't. :) You'll then need a scanner that looks at the memory to see if there are any viruses running, a boot sector scanner to look for boot viruses, and a file scanner to look for infected programs/system files/Word documents (still haven't figured out how you get a virus through a Word document, but apparently some people have managed to, so...), etc. Another good feature to have would be something like Norton's AutoProtect, which runs in the background watching for new viruses. Like I said, you'll need to use a language that can access resources directly.

mmiikkee12
Posting Whiz in Training
274 posts since Oct 2004
Reputation Points: 17
Solved Threads: 5
 

While you are at it, you might as well spray some bullets toward the other types of malware (spyware, trojans, etc.) since this would be an easy feature to add:

startup files
http://www.lafn.org/webconnect/mentor/startup/PENINDEX.HTM

trojans
http://www.megasecurity.org/files_all.html

Evenbit
Junior Poster
140 posts since Mar 2005
Reputation Points: 99
Solved Threads: 5
 
gulrayz
Newbie Poster
1 post since Jul 2010
Reputation Points: 10
Solved Threads: 0
 

Just learn an easy language; then the Windows PE EXE format, search for suspicious import files - such as those for hooks.

Here's a program I threw together sometime ago, it's a good start: http://www.daniweb.com/code/snippet217316.html

MosaicFuneral
Posting Virtuoso
1,691 posts since Nov 2008
Reputation Points: 888
Solved Threads: 116
 

Wait... damn-it.

Read This article....it will greatly help http://www.symantec.com/connect/articles/building-anti-virus-engine

This is a dead thread.

MosaicFuneral
Posting Virtuoso
1,691 posts since Nov 2008
Reputation Points: 888
Solved Threads: 116
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You