What are the different types of viruses, explained?

  • File Infector Virus 🦠
    Attaches itself to executable files and spreads when the file is run.

  • Boot Sector Virus 💾
    Infects the boot record of a system and loads before the OS starts.

  • Macro Virus 📄
    Uses macros in documents (Word/Excel) to execute malicious code.

  • Polymorphic Virus 🧬
    Changes its code each time it spreads to avoid antivirus detection.

  • Metamorphic Virus 🔄
    Completely rewrites its own code while keeping the same behavior.

  • Worm 🪱
    Self-replicates and spreads automatically over networks.

  • Trojan Horse 🐴
    Disguised as legitimate software but performs malicious actions.

  • Ransomware 🔐
    Encrypts or locks data and demands payment to restore access.

  • Rootkit 👻
    Hides malware at the system core level to avoid detection.

  • Fileless Malware ⚡
    Runs in memory using system tools without writing files to disk.File Infector Virus 🦠