Posts: 421
Threads: 22
Joined: Oct 2005
Not exactly... It wouldn't really be a harmful program. Maybe it would check to make sure the target could handle it without a major decrease in disk space/memory/whatever so it wouldn't be a problem...
As for virus codes, you could download the source code for a virus and store them on a central server, then have the anti-virus check them against the files on the computer. That would be slow on dialup, though.
In the beginning, there is darkness â the emptiness of a matrix waiting for the light. Then a single photon flares into existence. Then another. Soon, thousands more. Optronic pathways connect, subroutines emerge from the chaos, and a holographic consciousness is born." -The Doctor
Posts: 684
Threads: 64
Joined: May 2004
Quote:An antivirus usually scans files for traces of virus code, of which it usually has several examples in its database. It may also look for changes in exe file attributes, e.g. size/date modified.
EDIT:
something that would be interesting is a self-replicating antivirus...
Is the anti-virus code in ASM? Machine language? Are these in EXE files? Perhaps there are links? I'm just curious lol.
quote="Deleter"]judging gameplay, you can adaquately compare quake 4 with pong[/quote]
Posts: 21
Threads: 4
Joined: Aug 2004
viruses can be written in anything, even a batch file.
Posts: 684
Threads: 64
Joined: May 2004
Ok, so in batch files, it would be regular text, but how about in EXE files? What's the code in an EXE file?
quote="Deleter"]judging gameplay, you can adaquately compare quake 4 with pong[/quote]
Posts: 6,419
Threads: 74
Joined: Mar 2002
It is machine code, like every compiled program. Most virus are written in assembly or C (low level for tightness and stuff), but yeah. You can write a killer virus in VBScript if you want.
Antivirus programs just look for known strings or traces of activity in files. Writing one isn't difficult, what's difficult is writing and maintaining the database it relies on.
Posts: 21
Threads: 4
Joined: Aug 2004
espically since most modern anti-virus update from a website, and thats difficult in qb.
Posts: 6,419
Threads: 74
Joined: Mar 2002
Oh, I wasn't thinking on QB at all, c'mon :lol:
QB runs in a box within windows. That should sum it up completely. No use in writing an antivirus in QB, of course.
come on man, you're crushing their dreams....
:rotfl:
Posts: 21
Threads: 4
Joined: Aug 2004
you could always try and ask someone who makes anti-virus software such as norton, or just use fb.
Posts: 421
Threads: 22
Joined: Oct 2005
Or wait four years, get degrees in computer science and computer security, then write it in whatever language you've come to like most during those four years.
**ALTERNATIVE OPTION**
Download a free antivirus program.
In the beginning, there is darkness â the emptiness of a matrix waiting for the light. Then a single photon flares into existence. Then another. Soon, thousands more. Optronic pathways connect, subroutines emerge from the chaos, and a holographic consciousness is born." -The Doctor