Indicators of Malicious Activity & Mitigation Techniques
Security+ SY0-701 · Threats, Vulnerabilities, and Mitigations
Recognizing an attack in progress
Objective 2.4 is scenario-based: the exam gives you symptoms and asks what is happening. The skill is pattern recognition — connecting a set of indicators to the attack they describe. A single indicator rarely proves anything, but several together paint a clear picture. Learn the signature of each attack type, and pay attention to the details the scenario gives you: what the user did, what the system did, and what the network traffic looks like.
Malware: the main families
Malware is any software designed to harm. A virus attaches itself to a legitimate file or program and needs a user action (opening the file) to spread. A worm spreads on its own across a network without user action, exploiting vulnerabilities to move from machine to machine. A Trojan pretends to be legitimate software while hiding malicious functionality — it does not self-replicate. Ransomware encrypts the victim's data and demands payment for the decryption key; modern ransomware also steals data first and threatens to publish it (double extortion). Spyware secretly monitors the victim, capturing keystrokes (keyloggers), screenshots, or browsing activity. A rootkit hides deep in the operating system, concealing malware from detection tools. A backdoor is a hidden method of bypassing normal authentication to regain access later. Logic bombs are malicious code triggered by a specific event or date. Fileless malware runs in memory without writing files to disk, making it harder for traditional antivirus to detect. And a botnet is a network of compromised machines controlled by an attacker, typically through a command-and-control (C2) server.
Attack indicators to recognize
Each attack type has a recognizable signature. Password attacks: a brute-force attack tries every possible password, a dictionary attack tries common words and lists, and password spraying tries a few common passwords against many accounts to avoid lockouts — the telltale sign of spraying is many failed logins across many accounts from one source. Denial-of-service: a sudden flood of traffic from many sources (DDoS) or one source (DoS) that overwhelms a service; an amplification attack uses small requests to public servers (such as DNS) to generate much larger responses aimed at the victim. DNS attacks: DNS poisoning (or spoofing) corrupts DNS records so users are redirected to malicious sites; domain hijacking changes the registration of a domain itself. On-path attacks (formerly called man-in-the-middle): the attacker sits between two communicating parties and intercepts or alters traffic — look for unexpected certificate warnings or traffic routed through an unknown host. Credential attacks: credential stuffing uses username/password pairs stolen from one breach to log in to other sites, exploiting password reuse. Session attacks: session hijacking steals a valid session token to impersonate a logged-in user.
Other indicators the exam tests: rogue devices appearing on the network, unexpected outbound traffic (especially to unusual countries or at odd hours, suggesting data exfiltration or C2 communication), account lockouts across many accounts (password spraying or brute force), impossible travel (a user logging in from two distant countries within minutes), resource consumption spikes (possible cryptojacking — malware mining cryptocurrency on the victim's machines), and unusual file changes or new scheduled tasks (persistence mechanisms).
Mitigation techniques
Objective 2.5 asks how to reduce the risk from these threats. Segmentation divides a network into isolated zones so a compromise in one area cannot spread to the rest; microsegmentation applies the same idea at a finer grain, isolating individual workloads. Access control limits who can reach what, following least privilege. Hardening reduces a system's attack surface: disabling unused services and ports, removing default accounts, and applying secure baselines. Patching closes known vulnerabilities — it is the single most effective mitigation for most attacks. Encryption protects data in transit and at rest. Monitoring and logging make attacks visible. Security awareness training reduces the success rate of phishing and social engineering.
Other mitigations to know: allow lists and deny lists (permitting only approved applications or blocking known-bad ones), isolation (quarantining a suspicious system or running risky code in a sandbox), redundancy and load balancing (absorbing denial-of-service traffic), DNS filtering (blocking access to known malicious domains), email filtering and email authentication (SPF, DKIM, DMARC), and configuration enforcement through baselines and group policy. The exam often asks for the BEST mitigation for a given scenario: the answer is usually the one that addresses the root cause rather than the symptom. If users keep falling for phishing, the best mitigation is training plus email filtering, not just more antivirus. If a worm spread across the flat network, the best mitigation is segmentation, not just patching the infected machines.
Reading a scenario: a worked example
Consider this typical exam scenario: "A company's help desk receives several reports that users' computers are running slowly and displaying pop-up advertisements. The security team finds that all affected computers visited the same industry news website earlier in the week, and that a new browser extension was installed on each machine without the users' knowledge." Working through the indicators: the common website points to a watering hole attack (a site the target group visits regularly, compromised to infect visitors); the unwanted browser extension is the malware payload (adware or spyware); and the slow performance and pop-ups are the symptoms. The best immediate mitigation is to isolate the affected machines and remove the extension; the best long-term mitigation is web filtering to block the compromised site and application allow listing to prevent unauthorized extensions.
This is the pattern for Domain 2 scenario questions: identify the vector (how did it get in?), the payload (what did it do?), and the indicators (what did the victims notice?). Then choose the mitigation that addresses the root cause. A few more indicators worth memorizing: unusual outbound traffic to foreign IP addresses at odd hours suggests data exfiltration or command-and-control communication; new scheduled tasks or startup entries suggest a persistence mechanism; disabled antivirus or logging suggests an attacker covering their tracks; and multiple account lockouts suggest a password attack in progress. When a scenario gives you several indicators, the correct answer is usually the attack type that explains all of them together, not just one.
Defense in depth
No single mitigation stops every attack, which is why the exam emphasizes defense in depth: layering multiple controls so that if one fails, another catches the attack. A phishing email might get past the email filter, but the user might recognize it from training; if they click, the web filter might block the malicious site; if the site loads, the endpoint protection might block the download; if the malware runs, the EDR might detect its behavior; and if data is stolen, encryption and DLP limit the damage. Each layer is imperfect, but together they make a successful attack much harder. When the exam asks for the best overall approach to a threat, the answer is usually a layered defense rather than a single product.
Exam traps to watch for
- Confusing worms with viruses. Worms spread on their own across a network; viruses need a host file and a user action to spread.
- Calling every password attack 'brute force'. Brute force tries every combination; dictionary attacks use word lists; password spraying tries a few common passwords against many accounts; credential stuffing reuses stolen pairs from another breach.
- Missing the root-cause mitigation. The exam wants the fix that addresses the cause (segmentation for lateral movement, training for phishing), not just the symptom.
- Confusing DNS poisoning with domain hijacking. Poisoning corrupts DNS records in a resolver's cache; hijacking changes the domain's registration itself.
Practice questions
Test yourself on this guide. Answers are checked instantly, with a full explanation for each question.
Q1.A company's files are suddenly encrypted, and a message appears demanding payment in cryptocurrency for the decryption key. The attackers also claim they copied the data and will publish it if the ransom is not paid. What type of attack is this?
Explanation: Ransomware encrypts the victim's data and demands payment for decryption; modern groups also steal the data first and threaten to publish it, which is called double extortion. Option C is wrong because spyware secretly monitors activity rather than encrypting files. Option A is wrong because a logic bomb is code triggered by a specific event or date, not a ransom demand. Option D is wrong because a rootkit hides malware deep in the operating system rather than encrypting files.
Exam objective: SY0-701 Objective 2.4: Given a scenario, analyze indicators of malicious activity
Q2.A security analyst notices hundreds of failed login attempts overnight, each trying the passwords 'Password123' and 'Welcome2026' against a different user account. No account was locked out. What attack is this?
Explanation: Password spraying tries a small number of common passwords against many accounts, staying below account lockout thresholds. Option D is wrong because a brute-force attack tries many passwords against a single account. Option A is wrong because credential stuffing uses stolen username/password pairs from another breach, not generic common passwords. Option B is wrong because a dictionary attack tries a large list of words against one account.
Exam objective: SY0-701 Objective 2.4: Given a scenario, analyze indicators of malicious activity
Q3.Malware spreads from one workstation to every other workstation on the network within an hour, without any user opening a file or clicking a link. Which type of malware is this most likely to be?
Explanation: A worm spreads on its own across a network by exploiting vulnerabilities, without needing a host file or user action. Option D is wrong because a virus attaches to a file and needs a user to open it. Option B is wrong because a Trojan disguises itself as legitimate software and does not self-replicate. Option C is wrong because a logic bomb waits for a specific trigger event before executing.
Exam objective: SY0-701 Objective 2.4: Given a scenario, analyze indicators of malicious activity
Q4.Users report that when they type the company's banking website address into their browsers, they are redirected to a site that looks identical but has a different IP address. The DNS resolver's cache contains falsified records. What attack is this?
Explanation: DNS poisoning (DNS spoofing) corrupts the records in a DNS resolver's cache so that users are redirected to malicious IP addresses. Option A is wrong because domain hijacking changes the domain's registration at the registrar, not the resolver's cache. Option D is wrong because session hijacking steals a valid session token to impersonate a logged-in user. Option C is wrong because credential stuffing reuses stolen passwords across sites.
Exam objective: SY0-701 Objective 2.4: Given a scenario, analyze indicators of malicious activity
Q5.A security analyst sees that a user account logged in from London at 09:00 and from Singapore at 09:15 on the same day. The user is known to be in London and does not use a VPN. What does this indicator most likely suggest?
Explanation: Impossible travel — logins from two distant locations within a time window too short for physical travel — is a strong indicator that the account credentials have been stolen and are being used by someone else. Option B is wrong: the user is known to be in London and does not use a VPN, so a VPN exit node cannot explain the Singapore login. Option A is wrong because an expired password would prevent login, not create logins from two places. Option C is wrong because running a virtual machine does not change the geographic location of a login.
Exam objective: SY0-701 Objective 2.4: Given a scenario, analyze indicators of malicious activity
Q6.After a malware infection spreads from a single workstation to the company's database servers, the security team wants to prevent the same lateral movement in the future. Which mitigation is most effective?
Explanation: Network segmentation isolates zones so that a compromise in one area cannot spread to another; if workstations cannot reach database servers directly, the malware's lateral movement is blocked. Option A is wrong because antivirus is a detective/preventive control on individual machines, not a barrier to lateral movement. Option B is wrong because backups help recovery after an incident but do not prevent spread. Option C is wrong because stronger admin passwords do not stop malware from moving across a flat network.
Exam objective: SY0-701 Objective 2.5: Explain the purpose of mitigation techniques used to secure the enterprise
Q7.A company's servers suddenly show 100% CPU usage, and the cooling fans run constantly, but no legitimate workload explains the load. Network traffic shows connections to a known cryptocurrency mining pool. What is most likely happening?
Explanation: Cryptojacking is malware that secretly uses a victim's computing resources to mine cryptocurrency, causing sustained high CPU usage and connections to mining pools. Option B is wrong because a denial-of-service attack floods a service with traffic from outside rather than consuming local CPU for mining. Option D is wrong because a rootkit hides malware; the high CPU and mining pool traffic point to cryptomining specifically. Option C is wrong because data exfiltration would show large outbound data transfers, not sustained CPU load and mining pool connections.
Exam objective: SY0-701 Objective 2.4: Given a scenario, analyze indicators of malicious activity
Q8.A company wants to ensure that only approved applications can run on its workstations, blocking everything else by default. Which mitigation technique should it implement?
Explanation: An allow list permits only explicitly approved applications to run and blocks everything else by default, which is the strongest application control. Option C is wrong because a deny list blocks only known-bad applications and allows everything else, so new or unknown malware still runs. Option B is wrong because DNS filtering blocks access to malicious domains, not applications. Option A is wrong because a honeypot is a decoy system used to detect attackers, not an application control.
Exam objective: SY0-701 Objective 2.5: Explain the purpose of mitigation techniques used to secure the enterprise