CS0-003 Security Operations Practice Question
A threat hunter is reviewing endpoint telemetry and sees a process 'svchost.exe' spawning 'cmd.exe', which then executes 'reg.exe add' to create a Run key. The hunter suspects persistence. Which TWO artifacts should the hunter examine to confirm persistence?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Registry Run keys
Run keys are stored in the registry, and scheduled tasks can also be created via command line. Examining these confirms persistence.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Registry Run keys
Why this is correct
The registry Run key (HKLM\Software\Microsoft\Windows\CurrentVersion\Run) is a classic autostart persistence mechanism; a command using reg.exe to add a value there explicitly indicates the attacker intends to execute a payload at user logon. Inspecting this key for the malicious entry is the highest-priority action because the observed telemetry directly aligns with this persistence method, and the associated binary path or command can be identified and remediated. This is not merely incidental—the command's purpose is to modify this specific key.
- ✗
Windows Event Logs for service creation
Why it's wrong here
Windows Event Logs for service creation are indeed a valuable persistence detection source, with Event ID 7045 logging new service installations, but this activity typically results from commands like `sc create` or the Service Control Manager API, not a `reg add` command. Since the observed command targets a registry Run key rather than creating a service, checking service creation logs would not reveal the persistence mechanism used by this attacker. However, defenders should still review these logs for secondary persistence methods, as attackers often deploy multiple techniques.
- ✗
Browser history
Why it's wrong here
Browser history is completely unrelated to the command-line telemetry indicating registry persistence; it records web browsing activity such as visited URLs and search queries, which could reveal C2 infrastructure or download sources but says nothing about the registry modification in question. A threat hunter would not look at browser history to confirm or deny persistence via a Run key, and doing so would waste time while the immediate persistence vector remains unchecked. This option is a distraction from the relevant endpoint forensics.
- ✓
Scheduled tasks
Why this is correct
Scheduled tasks are another heavily abused persistence mechanism, commonly created via `schtasks.exe /create` to execute a payload at logon or on an interval, and the threat hunter may see corresponding command-line telemetry if the attacker used this method. In this scenario, the specific command shown appears to be a registry modification, but scheduled tasks are still worth checking because attackers frequently combine persistence mechanisms for redundancy, and a scheduled task might reference the same malicious binary or command. Therefore, this is a valid area to investigate alongside the Run key.
- ✗
Network connections
Why it's wrong here
Network connections are not directly related to registry persistence; examining network connections (e.g., netstat or network flow logs) would reveal active C2 communication or data exfiltration, which is a post-persistence behavior, not the persistence mechanism itself. The `reg add` command is a local, atomic operation that does not involve network sockets, so checking connections would not help verify the Run key change. While network telemetry is useful for detecting the attacker's later actions, it is not the immediate priority for confirming this persistence technique.
Go deeper
Related to this question
Learn chapter
Threat Intelligence and Threat Hunting
Key term
Endpoint telemetry
Endpoint telemetry is the automated collection and transmission of security-relevant data from devices like laptops, servers, and phones to a central monitoring system for threat detection and analysis.
Key term
Persistence
Persistence is the set of techniques attackers use to maintain long-term access to a compromised system even after reboots or credential changes.
About these practice questions
One of 236 original CS0-004 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This CS0-004 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CS0-004 exam.