Quote:
Originally Posted by kesh bollocks. you could write one with a shell script if you wanted. or macro languages. almost anything really. assembler may be the most common, but c is a good second best, especially now computers and networks have resources to burn. |
Ah, but a true self replicating virus will attach itself to a .exe - at the beginning of the file - find the offset to which to pass execution to the real program when double clicked - and before that infect a few more .exes.
Some are TSR virii too - Terminate and Stay Resident - infecting files when they receive a file open signal...
All of this is pretty hard to do in C or C++ unless you're a serious virus writer.
Personally, I dunno how to make a TSR, or hook signals such as the file open signal. I think the only thing I know is how to process program execution via a jump I believe to an memory offset. At least I think that is how it works?
Seriously, Kesh, no idea on virus writing. I really need to fill that knowledge gap - there is plenty of reading via virus zines over at packet-storm.org tho - something on my to-do list...haha--hehe--hoho