nerdexam
GIAC

GCIH · Question #319

Which of the following virus is a script that attaches itself to a file or template?

The correct answer is C. Macro virus. A macro virus embeds itself in file templates or documents that support macro scripting languages, executing when the host file is opened.

Malware Analysis & Advanced Persistent Threats

Question

Which of the following virus is a script that attaches itself to a file or template?

Options

  • ABoot sector
  • BTrojan horse
  • CMacro virus
  • DE-mail virus

How the community answered

(26 responses)
  • A
    4% (1)
  • C
    92% (24)
  • D
    4% (1)

Why each option

A macro virus embeds itself in file templates or documents that support macro scripting languages, executing when the host file is opened.

ABoot sector

A boot sector virus infects the master boot record or volume boot record of a storage device, not file templates or scripts.

BTrojan horse

A Trojan horse is malware disguised as legitimate software and does not attach itself to files or templates - it is a standalone deceptive program.

CMacro virusCorrect

A macro virus is specifically a type of malicious script written in a macro language (such as VBA) that attaches itself to documents or templates like Microsoft Word or Excel files. When the infected file is opened, the macro executes automatically, allowing the virus to spread to other documents. This distinguishes it from other virus types by its reliance on application-level scripting rather than executable binaries.

DE-mail virus

An email virus spreads through email attachments or links but is defined by its propagation mechanism, not by attaching to templates or scripts specifically.

Concept tested: Macro virus definition and file attachment behavior

Source: https://www.cisa.gov/sites/default/files/publications/Understanding-Malware_S508C.pdf

Topics

#macro virus#virus types#file template infection

Community Discussion

No community discussion yet for this question.

Full GCIH Practice