Free Malware and Indicators of Compromise practice questions
10 free SY0-801 questions on Malware and Indicators of Compromise, each with a full explanation — no account needed. This section sits in the Threats, Vulnerabilities, and Attacks part of the exam. Answer every question to see your score, then read the lessons below for anything you missed.
A user runs an infected program from a team file share. Afterward, copies of the malicious code appear inside other programs on the share, and coworkers who run those programs are infected too. Which malware type is this?
Code that attaches itself to host files and spreads only when people run those infected files is a virus. A worm copies itself across the network with no host file or user action, a trojan relies on a disguise and doesn't replicate, and a logic bomb waits for a trigger rather than spreading.
A company restores every encrypted server from clean offline backups within a day, but the ransomware group still demands payment and threatens to publish data it copied before encrypting. What does this show?
In double extortion the group steals a copy of the data before encrypting, so the case is also a data breach, and restoring from backup fixes availability but not confidentiality. Nothing suggests the backups were infected, how the malware spread has no bearing on the publication threat, and no trigger-based code is described.
A worm is spreading between Windows hosts by exploiting an SMB vulnerability on TCP 445. What is the BEST containment approach?
A worm spreads on its own through a vulnerability, so containment means isolating the infected segment and patching the flaw it exploits. Training doesn't help when no user action is involved, restored hosts reconnected before patching can be reinfected, and macro blocking addresses document-borne viruses rather than network exploitation.
Attackers enter through a phished VPN credential, use stolen admin rights to push their tool to 60 servers, then encrypt files on all of them and leave a payment note in every folder. Asked to name the primary malware behavior, which answer fits BEST?
Real ransomware often arrives through a phished credential and spreads with stolen admin rights, but mass encryption with a ransom demand is the primary behavior, so the answer is ransomware. Worm is tempting because of the spread, yet the attackers pushed the tool with stolen rights rather than the code replicating itself. No disguised program or infected host file is described, so trojan and virus don't fit.
Within minutes, thousands of files on a department share are renamed with a new extension, and a file named HOW_TO_RECOVER.txt appears in every folder. What is MOST likely happening?
Mass renaming with a new extension and a recovery note in every folder are the classic indicators of ransomware encrypting files. Adware shows ads in the browser, spyware works quietly to avoid notice, and a logic bomb's payload doesn't leave instructions for recovering files.
After a user installs a free video converter, the browser's home page changes on its own, searches are redirected to an unfamiliar engine, and pop-up ads appear. Which malware type BEST fits?
Pop-ups, redirected searches and a hijacked home page after a bundled free download are adware's signature. Spyware is tempting because adware can also track browsing, but spyware is built to collect information without being noticed, while these symptoms are loud by design. A rootkit hides activity and a keylogger records typing.
A workstation shows no pop-ups or slowdowns, but proxy logs show it regularly sending screenshots and browser form data to an unfamiliar host. Which malware type BEST fits?
Covert collection of screenshots and form data sent to an outside host, with nothing visible to the user, is spyware. Adware is noisy with pop-ups and redirects, a logic bomb waits dormant for a trigger, and a worm shows up as network scanning and spreading rather than quiet data collection.
A software keylogger is found on a sales representative's laptop, and it has been sending typed passwords out for weeks. Which control would MOST have limited the damage from those captured passwords?
MFA limits the damage from any keylogger, because a captured password alone isn't enough to sign in. Full-disk encryption protects data on a lost or stolen device, tamper-evident seals help find hardware keyloggers rather than software ones, and disabling autorun targets removable media.
After a laptop's operating system is wiped and reinstalled from known-good media, it begins beaconing to the same command-and-control server within minutes of booting. What BEST explains this, and what should happen next?
A bootkit that lives in firmware loads before the operating system and can survive a reinstall, so the fix is to reset or reflash the firmware and treat the hardware as suspect. A user-mode rootkit would be wiped with the operating system and an on-host scan can't be trusted here anyway, while a logic bomb or adware would not outlive a clean reinstall either.
A departing administrator hides a script in a server's scheduled tasks that will corrupt the inventory database on the first day of next quarter. Which control would MOST likely catch it before it fires?
A logic bomb planted by an insider is a new or altered script or scheduled task, which is exactly what file integrity monitoring flags. It is custom code written by someone with legitimate access, so antivirus signatures are unlikely to match it, and autorun controls and a web application firewall address different routes entirely.
Study this section
Every lesson that covers Malware and Indicators of Compromise on the SY0-801 exam.
- Viruses, Worms, Trojans, and Ransomware
- Spyware, Adware, Keyloggers, Rootkits, and Logic Bombs
- Fileless Malware and Living-off-the-Land Attacks
- Indicators of Compromise: Hashes, Addresses, Domains, Processes, and Artifacts
- Behavioral Indicators: Lockouts, Impossible Travel, Concurrent Sessions, and Log Tampering