- A
powershell.exe launched with an encoded command and executed the payload in memory
Encoded PowerShell is a common fileless technique because the malicious instructions can be hidden inside a command line and run directly in memory. This reduces obvious disk artifacts and can bypass simple file-based detection. In a Security+ scenario, that combination strongly suggests living-off-the-land abuse rather than a traditional dropped executable.
- B
rundll32.exe was spawned by a script-based process during the attack chain
rundll32.exe is a legitimate Windows binary that attackers often abuse to execute code without introducing a custom executable. When it is launched by a scripting process during suspicious activity, it supports a fileless or living-off-the-land pattern. The process chain matters because it shows trusted tools being repurposed for execution.
- C
a new portable executable was written to the user's temporary folder before being run
Why wrong: A new executable dropped to disk is more consistent with traditional malware delivery than fileless execution. Fileless attacks try to minimize or avoid creating obvious files on the system. This option describes a disk-based artifact, which weakens the case for a fileless technique.
- D
the endpoint antivirus quarantined the payload after a signature match
Why wrong: Antivirus quarantine shows the security tool detected something suspicious, but it does not by itself indicate a fileless attack. A signature match could happen with many malware types. This is a response action, not a behavioral indicator of how the attacker executed code.
- E
a USB storage device was inserted shortly before the alert fired
Why wrong: Removable media can be used to deliver malware, but that detail alone does not point to fileless execution. The alert already shows in-memory PowerShell and trusted binary abuse, which are much stronger indicators. USB insertion is possible context, but it is not the key fileless clue here.
Quick Answer
The answer is the PowerShell encoded command and the in-memory execution of the payload, as these are the two strongest fileless attack indicators. Fileless attacks rely on living-off-the-land binaries like PowerShell to run malicious code directly in RAM, bypassing traditional disk-based antivirus scans. In this scenario, the encoded command allowed the attacker to obfuscate the script, while downloading and executing the payload entirely in memory avoided writing any malicious executable to disk—a core hallmark of fileless malware. On the Security+ SY0-701 exam, this tests your ability to distinguish fileless techniques from standard malware, which typically leaves a file on disk. A common trap is focusing on the scheduled task, but that is a persistence mechanism, not the attack vector itself. Remember the mnemonic "No Disk, No Risk"—if no new executable hits the disk, suspect fileless execution.
SY0-701 Threats, Vulnerabilities, and Mitigations Practice Question
This SY0-701 practice question tests your understanding of threats, vulnerabilities, and mitigations. 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 SOC analyst reviews an EDR alert on a finance workstation. The alert shows powershell.exe launched with an encoded command, downloaded a payload into memory, and then spawned rundll32.exe. No new executable was written to disk, but the process later created a scheduled task for persistence. Which two findings most strongly support a fileless attack? Select two.
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
powershell.exe launched with an encoded command and executed the payload in memory
Option A is correct because executing a PowerShell encoded command that downloads and runs a payload entirely in memory, without writing to disk, is a hallmark of fileless malware. This technique avoids traditional file-based detection by leveraging PowerShell's ability to load and execute scripts directly in memory, bypassing disk-based antivirus scans.
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.
- ✓
powershell.exe launched with an encoded command and executed the payload in memory
Why this is correct
Encoded PowerShell is a common fileless technique because the malicious instructions can be hidden inside a command line and run directly in memory. This reduces obvious disk artifacts and can bypass simple file-based detection. In a Security+ scenario, that combination strongly suggests living-off-the-land abuse rather than a traditional dropped executable.
Related concept
Read the scenario before looking for a memorised answer.
- ✓
rundll32.exe was spawned by a script-based process during the attack chain
Why this is correct
rundll32.exe is a legitimate Windows binary that attackers often abuse to execute code without introducing a custom executable. When it is launched by a scripting process during suspicious activity, it supports a fileless or living-off-the-land pattern. The process chain matters because it shows trusted tools being repurposed for execution.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
a new portable executable was written to the user's temporary folder before being run
Why it's wrong here
A new executable dropped to disk is more consistent with traditional malware delivery than fileless execution. Fileless attacks try to minimize or avoid creating obvious files on the system. This option describes a disk-based artifact, which weakens the case for a fileless technique.
- ✗
the endpoint antivirus quarantined the payload after a signature match
Why it's wrong here
Antivirus quarantine shows the security tool detected something suspicious, but it does not by itself indicate a fileless attack. A signature match could happen with many malware types. This is a response action, not a behavioral indicator of how the attacker executed code.
- ✗
a USB storage device was inserted shortly before the alert fired
Why it's wrong here
Removable media can be used to deliver malware, but that detail alone does not point to fileless execution. The alert already shows in-memory PowerShell and trusted binary abuse, which are much stronger indicators. USB insertion is possible context, but it is not the key fileless clue here.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates may confuse fileless attacks with any attack that uses PowerShell or scripting, but the key distinction is the absence of writing any executable to disk, which is why options involving disk writes or signature-based quarantine are distractors.
Trap categories for this question
Command / output trap
Antivirus quarantine shows the security tool detected something suspicious, but it does not by itself indicate a fileless attack. A signature match could happen with many malware types. This is a response action, not a behavioral indicator of how the attacker executed code.
Detailed technical explanation
How to think about this question
Fileless attacks often use PowerShell's `-EncodedCommand` parameter to obfuscate malicious scripts and leverage .NET reflection or `Invoke-Expression` to load payloads directly into memory. The subsequent spawning of `rundll32.exe` is a living-off-the-land (LotL) technique, where attackers abuse legitimate Windows binaries to execute malicious code, such as using `rundll32.exe` to run a JavaScript or VBScript payload via `RunDLL` entry points, further evading detection.
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 security team runs a vulnerability scan on a web application and discovers an unpatched SQL injection flaw. The team prioritises remediation by CVSS score — critical flaws are patched within 24 hours, high within 7 days. Questions like this test whether you understand vulnerability management processes, scanning tools, and remediation prioritisation.
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.
- →
Threats, Vulnerabilities, and Mitigations — study guide chapter
Learn the concepts, then practise the questions
- →
Threats, Vulnerabilities, and Mitigations practice questions
Targeted practice on this topic area only
- →
All SY0-701 questions
1,152 questions across all exam domains
- →
Security+ SY0-701 study guide
Full concept coverage aligned to exam objectives
- →
SY0-701 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related SY0-701 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
General Security Concepts practice questions
Practise SY0-701 questions linked to General Security Concepts.
Threats, Vulnerabilities, and Mitigations practice questions
Practise SY0-701 questions linked to Threats, Vulnerabilities, and Mitigations.
Security Architecture practice questions
Practise SY0-701 questions linked to Security Architecture.
Security Operations practice questions
Practise SY0-701 questions linked to Security Operations.
Security Program Management and Oversight practice questions
Practise SY0-701 questions linked to Security Program Management and Oversight.
Security+ social engineering questions
Practise SY0-701 questions linked to Security+ social engineering questions.
Security+ cryptography practice questions
Practise SY0-701 questions linked to Security+ cryptography.
Security+ IAM questions
Practise SY0-701 questions linked to Security+ IAM questions.
Security+ risk management questions
Practise SY0-701 questions linked to Security+ risk management questions.
Security+ incident response questions
Practise SY0-701 questions linked to Security+ incident response questions.
Security+ malware questions
Practise SY0-701 questions linked to Security+ malware questions.
Security+ vulnerability management questions
Practise SY0-701 questions linked to Security+ vulnerability management questions.
Practice this exam
Start a free SY0-701 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 SY0-701 question test?
Threats, Vulnerabilities, and Mitigations — This question tests Threats, Vulnerabilities, and Mitigations — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: powershell.exe launched with an encoded command and executed the payload in memory — Option A is correct because executing a PowerShell encoded command that downloads and runs a payload entirely in memory, without writing to disk, is a hallmark of fileless malware. This technique avoids traditional file-based detection by leveraging PowerShell's ability to load and execute scripts directly in memory, bypassing disk-based antivirus scans.
What should I do if I get this SY0-701 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 →
Same concept, more angles
5 more ways this is tested on SY0-701
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. A security analyst receives an alert from the email security gateway about a message sent to an employee. The email has an attachment named 'Invoice_Q4_2024.exe'. The employee claims they did not open the attachment, and the email appears to come from a known vendor's domain but the sender address has a slight typo. Which type of attack is most likely being attempted?
medium- A.Spear phishing
- ✓ B.Phishing
- C.Smishing
- D.Vishing
Why B: The email contains a malicious executable attachment ('Invoice_Q4_2024.exe') and uses a spoofed sender address with a typo to impersonate a known vendor. This is a classic phishing attack because it is a broad, unsolicited attempt to trick the recipient into executing malware, without any personalized targeting beyond the generic invoice lure. The slight typo in the sender domain indicates domain spoofing, a common phishing technique that exploits the lack of SPF/DKIM validation.
Variation 2. A SOC analyst reviews an alert on a workstation where PowerShell launched from a scheduled task, downloaded an encoded command from a remote server, and then spawned rundll32.exe. Traditional antivirus did not flag any files on disk, and the activity stops after rebooting the host. Which type of malware behavior best fits this event?
medium- A.Worm behavior that is spreading through SMB shares
- ✓ B.Fileless attack using trusted system tools to run malicious code in memory
- C.Rootkit that is hiding itself by modifying kernel drivers
- D.Trojan that can only run after a user manually opens a malicious attachment
Why B: The attack uses PowerShell to download and execute an encoded command directly in memory, then spawns rundll32.exe—both are trusted Microsoft binaries. No files are written to disk, and the activity ceases after reboot, which are hallmarks of a fileless malware attack that operates entirely in volatile memory.
Variation 3. A SOC analyst reviews an EDR alert on a Windows workstation. PowerShell was launched by a scheduled task, downloaded an encoded command from an external server, and then spawned rundll32.exe. No suspicious executable was written to disk. Which type of threat best fits this activity?
medium- A.Trojan
- ✓ B.Fileless attack
- C.Rootkit
- D.Worm
Why B: The attack is fileless because it executes entirely in memory without writing a malicious executable to disk. PowerShell downloads an encoded command from an external server and spawns rundll32.exe to run code via DLL execution, leveraging living-off-the-land binaries (LOLBins) to evade traditional antivirus and disk-based detection.
Variation 4. An EDR alert shows powershell.exe launching with an encoded command, no new executable written to disk, and a registry run key added for persistence. Outbound HTTPS traffic then begins to a rare external domain. Which type of malware behavior is most likely?
medium- A.Worm behavior, because the malware is automatically spreading across the network.
- ✓ B.Fileless attack, because the malicious activity is using legitimate tools and memory rather than a dropped payload.
- C.Rootkit behavior, because the attacker is hiding from the operating system at a low level.
- D.Spyware, because the malware is using HTTPS traffic to contact an external domain.
Why B: The EDR alert describes a classic fileless attack: PowerShell.exe executes an encoded command in memory, no new executable is written to disk, and persistence is achieved via a registry run key. The outbound HTTPS traffic to a rare domain indicates command-and-control (C2) communication. Fileless malware leverages legitimate system tools (like PowerShell) and runs entirely in memory, bypassing traditional file-based detection.
Variation 5. An EDR alert shows PowerShell launching from a scheduled task, downloading encoded commands, and running them in memory. No suspicious executable is written to disk. What kind of attack is this?
easy- ✓ A.A fileless attack that relies on trusted tools already on the system
- B.A worm that spreads by exploiting a network service
- C.A logic bomb that waits for a specific date or event
- D.A rootkit that changes kernel behavior to hide processes
Why A: This is a fileless attack because PowerShell, a trusted system tool, is used to download and execute encoded commands directly in memory without writing any malicious executable to disk. The attack leverages living-off-the-land binaries (LOLBins) and PowerShell's ability to run scripts in memory, bypassing traditional file-based detection mechanisms.
Last reviewed: Jun 11, 2026
This SY0-701 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 SY0-701 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.