What Should a SOC Analyst Do First After Discovering Exposed Credentials?
Short answer
A Advise the user to change passwords.
Question
Key Takeaways
The question traps candidates into selecting system eradication over account recovery, overlooking that active credential theft requires immediate rotation to prevent exploitation.
This SY0-701 question evaluates immediate incident response priorities when plaintext credentials are discovered on a compromised host. The community consensus strongly supports advising the user to change passwords first to halt unauthorized access before initiating system remediation.
Common mistake: Candidates frequently choose reimaging the machine first, arguing that a keylogger will capture newly typed passwords. This overlooks the fact that delaying password changes allows attackers to immediately use the captured credentials across multiple platforms.
Expert Analysis
Core Incident Response Priority
When a SOC analyst detects plaintext credentials alongside keylogging artifacts (such as [ENT], [CTRL]c, and [CTRL]v sequences), the immediate threat is active credential compromise. According to the NIST incident response lifecycle and CompTIA Security+ best practices, the highest priority is containment and recovery. Advising the user to change their passwords immediately invalidates the stolen credentials, stopping potential lateral movement and unauthorized access.
Why Reimaging Is Not the First Step
Reimaging the endpoint (Option B) is a vital eradication and recovery measure, but it is not the first action. While some community members correctly note that a persistent keylogger could capture new logins, CompTIA prioritizes neutralizing the active threat vector first. Credential rotation should be performed using a known-clean device, followed by isolation and reimaging. As highlighted by top-voted candidates, securing the account prevents further damage while the technical cleanup proceeds.
Evaluating Distractors
Checking workplace email policies (Option C) addresses compliance rather than security, making it irrelevant to immediate threat mitigation. Reviewing host firewall logs (Option D) may provide forensic context but does nothing to stop active exploitation of the stolen password. The correct sequence is always: contain/secure accounts -> isolate host -> eradicate malware -> recover system.
Community Consensus
The split between Options A and B reflects a common real-world debate, but exam logic strictly follows the "first actionable step" rule. Community experts consistently emphasize that once credentials are exposed, immediate rotation outweighs forensic preservation or system wiping in priority.
Official Reference
- NIST Special Publication 800-61 Rev. 2: Computer Security Incident Handling Guide
- CompTIA Security+ SY0-701 Official Study Guide: Domain 4.0 - Incident Response
These links open the official vendor documentation in a new tab.
Exam Strategy
When tackling incident response questions, always identify the exact phase of the IR lifecycle being tested. If credentials or sensitive data are actively exposed, prioritize account recovery and containment before moving to eradication or system restoration steps. Remember that CompTIA expects you to choose the action that stops the immediate breach, not the one that cleans up the root cause.
Community Votes
64% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 8 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 8
-
1eccfc0 👍 3 Answered AThe correct answer is A. Advise the user to change passwords. Here's why: The file contains sensitive information, including an email address and a password ("NoOneCanGuessThis123!"), along with a suspicious message that includes commands like "[CTRL]c" and "[CTRL]v" (which may indicate attempts to copy/paste content, possibly in a malicious context). The immediate concern is the password being exposed. Given that the password appears in plaintext, the first action should be to advise the user to change their password—especially since it may be associated with a critical account (e.g., Gmail) that could be used for further attacks. It’s also important to ensure that the user is aware of the potential compromise and that the password isn't being used elsewhere.
-
b422ce6 👍 2 Answered BChanging the password on an infected machine would do no good, as the password could still be leaked with a keylogger, etc. Reimaging the system FIRST would be best in this scenario.
-
Clau95 👍 1 Answered BAnswer B - To ensure the integrity of the system and prevent any further compromise, the first priority should be to reimage the end user's machine. Reimaging will remove any potential malware or unauthorized software that may be affecting the system.
-
Bunaventi 👍 1 Answered AI think a) advise to change pw is better than B) reimage the end user because changing the exposed password immediately prevents unauthorized access, whereas reimaging the machine is a more drastic step that comes later after confirming a compromise.
-
AriGarcia 👍 1 Answered AAlthough the SOC analyst should reimage the computer to get rid of the keyloger. The first thing to do is have the user change passwordl.
Show 3 more comments
-
fc040c7 👍 1 Answered AKeylogger present. First priority should be to tell them to change their password. Afterwards, take care of the keylogger issue.
-
nocwyn 👍 1 Answered BIf they have a keylogger, you cant be sure what type of malware or if its just 1. You reimage the machine.
-
cab08df 👍 1 Answered AA. Only because the user could use a different device to change their password that is currently exposed.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All SY0-701 Questions
Access 100 questions with complete answers and detailed explanations.
View Full SY0-701 Practice Test →