OSEP Antivirus Evasion Techniques Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Questions: 20 | Updated: Aug 15, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. What is the purpose of XOR encoding in payload obfuscation?

Explanation

XOR encoding applies a key to the payload’s bytes, changing its visible contents so recognizable strings and patterns are harder for basic static analysis to detect. The payload can be restored by applying the same key again. This is primarily obfuscation, not strong encryption, and does not reliably prevent determined analysis.

Submit
Please wait...
About This Quiz
OSEP Antivirus Evasion Techniques Quiz - Quiz

This quiz evaluates your understanding of antivirus evasion techniques covered in the Offensive Security Experienced Penetration Tester (OSEP) course. You will be tested on AV detection mechanisms, obfuscation methods, payload encoding, and advanced evasion strategies used in professional penetration testing. Master these concepts to effectively bypass security controls in authorized... see moreassessments. see less

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. Which Windows feature logs all PowerShell script blocks and can expose evasion attempts?

Explanation

These PowerShell logging features provide complementary visibility: Script Block Logging captures script code, Module Logging records activity in selected modules, and Transcription saves session input and output. Together, they can reveal suspicious commands and techniques used to evade detection, although coverage depends on configuration.

Submit

3. What is 'Process Hollowing' used for?

Explanation

Process hollowing is a code-injection technique in which an attacker starts a legitimate process in a suspended state, replaces or alters its memory with malicious code, and then resumes it. Because the code runs under the name of a trusted process, this technique can help malware evade detection and appear less suspicious.

Submit

4. Which of the following is a technique to evade behavior-based detection?

Explanation

Behavior-based detection looks for suspicious patterns in how a program acts. Attackers may try to evade it by inserting benign API calls to obscure malicious sequences, adding delays so activity appears less suspicious, or imitating the behavior of legitimate applications. Each approach can make malicious actions harder for monitoring systems to distinguish from normal activity.

Submit

5. What is the primary benefit of using a staging payload in evasion?

Explanation

A staging payload is a small initial component that retrieves or loads the larger payload later. Keeping the first-stage file compact can help it attract less attention from size-based scanning or inspection, reducing the chance of detection before the remaining code is delivered.

Submit

6. Which technique involves modifying the entry point of an executable to execute malicious code first?

Explanation

Entry point modification changes an executable’s designated starting address or instructions, redirecting execution to malicious code before the program’s normal initialization. The payload may later transfer control back to the original entry point, allowing the application to continue. This technique differs from process hollowing and reflective DLL injection.

Submit

7. What does 'Living off the Land' refer to in penetration testing?

Explanation

“Living off the Land” refers to using legitimate tools already present on a system—such as PowerShell or Windows Management Instrumentation—to perform penetration-testing activities. This can reduce the need for custom malware and help simulate techniques that may blend in with normal system activity.

Submit

8. Which PowerShell feature can be used to bypass script execution policies?

Explanation

The `-ExecutionPolicy Bypass` parameter starts PowerShell with execution-policy restrictions bypassed for that session, allowing scripts to run without changing the system’s persistent policy setting. It is commonly used when launching PowerShell from a command line or automation tool; organizational Group Policy settings may still take precedence.

Submit

9. What is a 'fileless' malware attack?

Explanation

A fileless malware attack operates primarily in a device’s memory (RAM) rather than installing a conventional malicious file on the hard drive. This can make it harder to detect with security tools that scan files stored on disk.

Submit

10. Which technique involves hiding malicious code within legitimate application processes?

Explanation

Code injection involves placing or executing malicious code inside the memory space of a legitimate application or running process. This can make the code appear to run under the trusted process, helping attackers evade detection or inherit its permissions. Unlike living off the land, it adds or runs code within another process rather than relying solely on legitimate tools.

Submit

11. What is the primary mechanism antivirus software uses to detect malware?

Explanation

Antivirus software uses multiple detection methods to identify malware. Signature-based detection matches files against known malware patterns, behavioral analysis flags suspicious actions, and heuristic scanning looks for characteristics associated with new or modified threats. Combining these approaches helps detect both familiar malware and previously unseen variants.

Submit

12. Which Windows API function is commonly hooked by EDR solutions to detect process injection?

Explanation

EDR solutions may monitor or hook all three functions because they can be used together in process injection. `VirtualAllocEx` allocates memory in another process, `WriteProcessMemory` places code or data there, and `CreateRemoteThread` can execute it. Observing these calls helps detect suspicious activity, though legitimate software may use them too.

Submit

13. What is the primary advantage of using a reflective DLL injection over standard DLL injection?

Explanation

Reflective DLL injection loads a DLL directly from memory by using code within the DLL to map and initialize it, rather than relying on the operating system’s standard loader. This can avoid writing the DLL to disk and calling `LoadLibrary`, which may reduce its visibility to some monitoring tools.

Submit

14. Which technique modifies code without changing its functionality to evade detection?

Explanation

Obfuscation transforms code into a less readable or recognizable form while preserving its behavior. This can hinder signature-based detection and make analysis harder. Unlike encryption, it does not require decryption to execute; unlike encoding or compression, its specific goal is to obscure the code’s structure and intent from security tools or human reviewers.

Submit

15. What does EDR stand for in cybersecurity?

Explanation

EDR stands for Endpoint Detection and Response. It refers to security tools that monitor endpoint devices, such as computers and servers, to detect suspicious activity and help investigate and respond to cyber threats.

Submit

16. Which of the following is a common method to bypass AMSI?

Explanation

AMSI (Antimalware Scan Interface) can be targeted through several broad evasion approaches. API hooking may interfere with scanning calls, in-memory patching may alter AMSI behavior, and encrypted or obfuscated PowerShell content may conceal suspicious text until runtime. These techniques are not guaranteed to work, and security tools may detect or block them.

Submit

17. What is a key difference between polymorphic and metamorphic malware?

Explanation

Polymorphic malware changes its encrypted or obfuscated appearance while keeping its underlying code largely the same. Metamorphic malware transforms its code itself, creating substantially different versions. This distinction makes metamorphic malware generally more challenging for signature-based detection.

Submit

18. Which technique involves breaking a payload into smaller chunks to avoid detection?

Explanation

Code fragmentation splits a payload into smaller pieces so that no single segment contains the full recognizable pattern. The pieces may be delivered or reassembled at runtime, helping evade scanners that rely on matching complete signatures. Unlike obfuscation, which changes how code appears, fragmentation specifically divides it into parts.

Submit

19. What does AMSI stand for in the context of Windows security?

Explanation

AMSI stands for Antimalware Scan Interface. It is a Windows security feature that lets applications and services submit content—such as scripts—to installed antimalware products for inspection, helping detect malicious activity.

Submit

20. Which encoding method transforms binary data into a text-safe format commonly used for payload delivery?

Explanation

Base64 converts binary data into a sequence of printable text characters, making it easier to transmit through systems designed for text. It is commonly used to package payloads, though it is an encoding method—not encryption—and does not provide confidentiality or security.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What is the purpose of XOR encoding in payload obfuscation?
Which Windows feature logs all PowerShell script blocks and can expose...
What is 'Process Hollowing' used for?
Which of the following is a technique to evade behavior-based...
What is the primary benefit of using a staging payload in evasion?
Which technique involves modifying the entry point of an executable to...
What does 'Living off the Land' refer to in penetration testing?
Which PowerShell feature can be used to bypass script execution...
What is a 'fileless' malware attack?
Which technique involves hiding malicious code within legitimate...
What is the primary mechanism antivirus software uses to detect...
Which Windows API function is commonly hooked by EDR solutions to...
What is the primary advantage of using a reflective DLL injection over...
Which technique modifies code without changing its functionality to...
What does EDR stand for in cybersecurity?
Which of the following is a common method to bypass AMSI?
What is a key difference between polymorphic and metamorphic malware?
Which technique involves breaking a payload into smaller chunks to...
What does AMSI stand for in the context of Windows security?
Which encoding method transforms binary data into a text-safe format...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!