Courseiva
Mobile and Malware ForensicshardMultiple ChoiceObjective-mapped

Malware Persistence via Run Key: Registry Analysis

During dynamic analysis of a suspicious executable in Cuckoo Sandbox, the report shows that the process created a registry key under HKCU\Software\Microsoft\Windows\CurrentVersion\Run named 'WindowsUpdate' and dropped a file 'svchost.exe' in %AppData%. Which conclusion is MOST consistent with these indicators?

Quick Answer

The correct conclusion is that the executable is attempting to establish persistence via a Run key and masquerading as a system process. This is because the Run key under HKCU\Software\Microsoft\Windows\CurrentVersion\Run is a standard registry location used for malware persistence, ensuring the malicious file executes automatically at each user logon. Dropping a file named 'svchost.exe' into %AppData% is a classic masquerading technique, as the legitimate svchost.exe resides in C:\Windows\System32, not in a user profile folder. On the CHFI exam, this scenario tests your ability to correlate dynamic analysis artifacts—registry modifications and file drops—to identify persistence and evasion tactics. A common trap is mistaking the dropped 'svchost.exe' for a legitimate process, but remember: system binaries never launch from AppData. Memory tip: "Run key + wrong folder = persistence plus masquerade."

⚠ Common exam trap

EC-Council often tests the distinction between persistence mechanisms and other malware behaviors, and the trap here is that candidates may confuse a dropper with a rootkit or assume any file named 'svchost.exe' is legitimate, ignoring the abnormal file path.

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

The executable is attempting to establish persistence via a Run key and masquerading as a system process

The creation of a Run key under HKCU\Software\Microsoft\Windows\CurrentVersion\Run is a classic persistence mechanism that causes the executable to launch automatically at user logon. Dropping a file named 'svchost.exe' in %AppData% is a common masquerading technique, as the legitimate svchost.exe (Service Host) resides in C:\Windows\System32, not in the user's AppData folder. Together, these actions indicate the executable is establishing persistence and disguising itself as a trusted system process.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The executable is cleaning up after itself by deleting temporary files

    Why it's wrong here

    The actions indicate installation, not cleanup.

  • The executable is a dropper that installs a rootkit

    Why it's wrong here

    No evidence of rootkit installation; only persistence is shown.

  • The executable is a legitimate Windows update component

    Why it's wrong here

    Legitimate Windows Update does not drop 'svchost.exe' in AppData.

  • The executable is attempting to establish persistence via a Run key and masquerading as a system process

    Why this is correct

    Run key persistence and masquerading as svchost.exe indicates malware.

About these practice questions

One of 205 original CHFI 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 →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more way this is tested on CHFI

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. During dynamic analysis of a Windows malware sample, Process Monitor shows repeated writes to 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run'. What does this behaviour indicate?

hard
  • A.The malware is disabling Windows Defender
  • B.The malware is establishing persistence to run at system startup
  • C.The malware is modifying network configuration
  • D.The malware is performing log wiping

Why B: The registry key 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run' is a standard Windows autorun location. Malware writing to this key ensures that its executable is launched automatically every time the system boots, which is a classic persistence mechanism. Process Monitor capturing repeated writes confirms the malware is actively establishing this startup persistence.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This CHFI practice question is part of Courseiva's free EC-Council 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 CHFI exam.