English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

What does it actually mean when viruses "attach themselves" to files? By files I mean both personal files and system files.

2007-04-13 06:53:00 · 5 answers · asked by Anonymous in Computers & Internet Security

5 answers

They stay in memory and hook into the file open functions of the operation system (or in case of Word worms, into the document template's OpenFile function), actually intercepts the call to open a file, usually EXE files. The file is first opened by the virus, which simply adds itself to the end of the file, then modifies the header, so that the program actually STARTS by loading the virus then the virus passes back control to the program itself. THEN control is passed back to the operating system, which then opens the program normally, but the program was taken over... So the virus loads into memory (but usually, it sees itself in memory, and stops) then the program loads normally.

So the infect program, if put on some other computer and run, will infect the other computer.

Word worms behave similarly: by infecting the FileOpen function of the master template, it adds worm code to EVERY document you create, and by sending infected documents to others, the infection will spread.

Well, that's the short version. :)

2007-04-13 07:00:52 · answer #1 · answered by Kasey C 7 · 1 0

2

2016-08-25 19:48:31 · answer #2 · answered by ? 3 · 0 0

executable files(files that run) basicly the virus adds it;s code to the file in the data area of the file and using special formatted data can get yous system to run the code....

personal files are diffren, you probably mean word processing files, in that case it;s a macro virus same thing though, it adds its own code to the file and when you run or access it the code runs...

2007-04-13 07:04:12 · answer #3 · answered by newton3010 6 · 0 0

Ever take biology?

Computer viruses are similar to actual viruses as they will add themselves to certain files to help them execute their payload. A real virus uses other cells to help it reproduce.

Really, it just gives the virus a way to spread itself and to be able to stay unnoticed.

2007-04-13 07:02:03 · answer #4 · answered by Bjorn 7 · 0 2

You should ask that virus developer.

2007-04-13 06:56:22 · answer #5 · answered by Quizer 1 · 0 1

fedest.com, questions and answers