- A
Modifying the hosts file with an entry for 192.168.1.1
Modifying the hosts file persists across reboots and can be used for traffic redirection, but it is not a typical auto-start persistence; however, among the options, it is the only persistent system change.
- B
Connecting to IP 185.130.5.21 on port 443
Why wrong: Network connections are transient and not persistence indicators.
- C
Writing temporary files to %TEMP%
Why wrong: Writing to %TEMP% is temporary and typically deleted after reboot.
- D
Creating the mutex 'Global\Mtx_Update'
Why wrong: Mutexes ensure single instance; they are not persistence mechanisms.
Quick Answer
The answer is modifying the hosts file with an entry for 192.168.1.1. This is correct because hosts file modification malware persistence works by hijacking the local DNS resolution process—every time the system resolves a legitimate domain, it is silently redirected to the attacker-controlled IP address, and this redirection survives reboots without requiring the malware to launch at startup. On the CHFI exam, this behavioral indicator tests your understanding that persistence isn’t limited to registry run keys or scheduled tasks; it can be achieved through static system files like the hosts file, which is a common trap where candidates overlook non-executable persistence mechanisms. A helpful memory tip is “Hosts hijack, no restart required”—the hosts file persists across reboots by default, making it a stealthy anchor for long-term control.
CHFI Mobile and Malware Forensics Practice Question
This CHFI practice question tests your understanding of mobile and malware forensics. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A malware analyst is examining a suspicious Windows executable. Running 'strings' reveals references to 'C:\Windows\System32\drivers\etc\hosts' and IP addresses 185.130.5.21 and 192.168.1.1. Dynamic analysis in a sandbox shows the binary modifies the hosts file and creates a mutex named 'Global\Mtx_Update'. Which behavioral indicator is MOST clearly associated with 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
Modifying the hosts file with an entry for 192.168.1.1
Option A is correct because modifying the hosts file to redirect a legitimate domain to 192.168.1.1 is a classic persistence mechanism: the malware ensures that every time the system resolves that domain, it points to the attacker-controlled IP, effectively hijacking network traffic persistently across reboots without needing to run at startup. This behavior directly maintains unauthorized control over name resolution, which is a hallmark of persistence.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Modifying the hosts file with an entry for 192.168.1.1
Why this is correct
Modifying the hosts file persists across reboots and can be used for traffic redirection, but it is not a typical auto-start persistence; however, among the options, it is the only persistent system change.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Connecting to IP 185.130.5.21 on port 443
Why it's wrong here
Network connections are transient and not persistence indicators.
- ✗
Writing temporary files to %TEMP%
Why it's wrong here
Writing to %TEMP% is temporary and typically deleted after reboot.
- ✗
Creating the mutex 'Global\Mtx_Update'
Why it's wrong here
Mutexes ensure single instance; they are not persistence mechanisms.
Common exam traps
Common exam trap: answer the scenario, not the keyword
EC-Council often tests the distinction between persistence (surviving reboot) and other behavioral indicators like mutex creation or network connections, so the trap here is confusing a mutex (used for single-instance control) with a persistence mechanism.
Detailed technical explanation
How to think about this question
The hosts file (C:\Windows\System32\drivers\etc\hosts) is parsed by the Windows DNS resolver before any external DNS query, per RFC 1035 and Windows Name Resolution order. By adding a static mapping, the malware can persistently redirect traffic to a local or rogue server even if the DNS cache is cleared or the network configuration changes. In real-world attacks, this technique is often used to block security updates (e.g., redirecting update.microsoft.com to 127.0.0.1) or to phish credentials by pointing legitimate login pages to a fake server.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A practitioner preparing for the CHFI exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Mobile and Malware Forensics — study guide chapter
Learn the concepts, then practise the questions
- →
Mobile and Malware Forensics practice questions
Targeted practice on this topic area only
- →
All CHFI questions
1,000 questions across all exam domains
- →
Computer Hacking Forensic Investigator CHFI study guide
Full concept coverage aligned to exam objectives
- →
CHFI practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related CHFI practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Computer Forensics Investigation Process practice questions
Practise CHFI questions linked to Computer Forensics Investigation Process.
Computer Forensics Fundamentals and Process practice questions
Practise CHFI questions linked to Computer Forensics Fundamentals and Process.
Storage Forensics and File System Analysis practice questions
Practise CHFI questions linked to Storage Forensics and File System Analysis.
Incident Response and First Responder Skills practice questions
Practise CHFI questions linked to Incident Response and First Responder Skills.
Computer Forensics Lab practice questions
Practise CHFI questions linked to Computer Forensics Lab.
Evidence Acquisition and Duplication practice questions
Practise CHFI questions linked to Evidence Acquisition and Duplication.
OS and Network Forensics practice questions
Practise CHFI questions linked to OS and Network Forensics.
OS and File System Forensics practice questions
Practise CHFI questions linked to OS and File System Forensics.
Application, Email and Cloud Forensics practice questions
Practise CHFI questions linked to Application, Email and Cloud Forensics.
Mobile and Malware Forensics practice questions
Practise CHFI questions linked to Mobile and Malware Forensics.
Network and Cloud Forensics practice questions
Practise CHFI questions linked to Network and Cloud Forensics.
Database and Application Forensics practice questions
Practise CHFI questions linked to Database and Application Forensics.
Practice this exam
Start a free CHFI practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this CHFI question test?
Mobile and Malware Forensics — This question tests Mobile and Malware Forensics — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Modifying the hosts file with an entry for 192.168.1.1 — Option A is correct because modifying the hosts file to redirect a legitimate domain to 192.168.1.1 is a classic persistence mechanism: the malware ensures that every time the system resolves that domain, it points to the attacker-controlled IP, effectively hijacking network traffic persistently across reboots without needing to run at startup. This behavior directly maintains unauthorized control over name resolution, which is a hallmark of persistence.
What should I do if I get this CHFI question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 30, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.