Join 60,000+ competitive exam aspirants
Which type of virus attaches itself to executable files and spreads when the file is run?
Macro Virus
Polymorphic Virus
Boot Sector Virus
File Infector Virus
File Infector Virus
A File Infector Virus specifically targets executable files (such as .exe or .com files) by attaching its malicious code to them. When the infected file is executed, the virus code runs alongside the program, allowing it to propagate to other files on the system.
A File Infector Virus specifically targets executable files (such as .exe or .com files) by attaching its malicious code to them. When the infected file is executed, the virus code runs alongside the program, allowing it to propagate to other files on the system.
Think of it like a parasite attaching its eggs to a fruit; every time you open the fruit to eat it, the eggs are released and spread to other parts of your kitchen.
FILE: Fast Infector Loading Executables
Execution┬аFlow=Original┬аCode+Virus┬аPayload
The virus injects its own source code into the host program's machine code. When the operating system loads the file into memory, it unknowingly executes the viral code block first. This often involves modifying the file header to redirect the entry point to the virus's instruction set.
Targets binary files like .exe, .com, .sys, and .dll.
Often uses memory-resident techniques to infect other files while the computer is running.
Can cause permanent file corruption or unauthorized access.
Prevention relies on antivirus software scanning file signatures or heuristic analysis.
Studying these helps in developing robust cybersecurity defense protocols.
High risk of data loss and system instability.
Can lead to unauthorized data exfiltration.
Cybersecurity threat modeling
Digital forensics investigation
Macro viruses infect documents containing macros (like .doc or .xls), not binary executables.
Boot Sector viruses specifically target the Master Boot Record (MBR) or the volume boot sector of a storage device.
Polymorphic viruses constantly change their identifiable features (signatures) to evade detection by antivirus software.
D is correct тАФ The File Infector Virus specifically attaches itself to binary executable files, triggering its execution when the host program is launched.
In competitive exams, always distinguish between 'how it spreads' (vector) and 'where it lives' (target); File Infector = Executable Files, Macro Virus = Office Documents.