hamburger menu
All Coursesall course arrow
adda247
reward-icon
adda247
    arrow
    arrow
    arrow
    Which of the following viruses automatically attaches itself to files when it infects a hard disk system?
    Question

    Which of the following viruses automatically attaches itself to files when it infects a hard disk system?

    A.

    Polymorphic virus

    B.

    File enclosure (envelop) virus

    C.

    Overwrite virus

    D.

    Multipartite virus
     

    Correct option is B

    The correct answer is (b) File enclosure (envelop) virus
    Explanation:
    • A File Enclosure (or Envelope) virus is a type of file-infecting virus that wraps itself around an existing file.
    • When the infected file is executed, the virus code runs first before passing control back to the original program.
    • It "automatically attaches" to executable files (like .exe or .com) to ensure it spreads whenever the user runs software.
    • This method allows the virus to remain hidden while piggybacking on legitimate system operations.
    • These viruses typically target the hard disk system to ensure long-term residency and widespread infection of other files.
    Information Booster:
    Malware is a broad term that includes viruses, worms, and trojans.
    Resident viruses stay in the RAM and infect files as they are opened or closed.
    Additional Knowledge:
    Polymorphic virus (Option a)
    • This virus changes its own code or signature every time it replicates to avoid detection by antivirus software.
    Overwrite virus (Option c)
    • This virus deletes the data in the file it infects and replaces it with its own code, making the original file unusable.
    Multipartite virus (Option d)
    • This is a complex virus that can attack both the boot sector and the executable files simultaneously.

    Free Tests

    Free
    Must Attempt

    MPTET Varg 3 PRT Mock 01

    languageIcon English
    • pdpQsnIcon150 Questions
    • pdpsheetsIcon150 Marks
    • timerIcon150 Mins
    languageIcon English
    Free
    Must Attempt

    MPTET Varg 3 PRT CDP Subject Test 01

    languageIcon English
    • pdpQsnIcon20 Questions
    • pdpsheetsIcon20 Marks
    • timerIcon20 Mins
    languageIcon English
    Free
    Must Attempt

    UPTET Paper 2 Social Science : PYP Held on 23rd Jan 2022 (Shift 2)

    languageIcon English
    • pdpQsnIcon150 Questions
    • pdpsheetsIcon150 Marks
    • timerIcon150 Mins
    languageIcon English
    test-prime-package

    Access ‘UP Police Sub Inspector’ Mock Tests with

    • 60000+ Mocks and Previous Year Papers
    • Unlimited Re-Attempts
    • Personalised Report Card
    • 500% Refund on Final Selection
    • Largest Community
    students-icon
    383k+ students have already unlocked exclusive benefits with Test Prime!
    Our Plans
    Monthsup-arrow