OSEP Application Whitelisting Bypass 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 does WDAC (Windows Defender Application Control) do?

Explanation

WDAC enforces application control policies that determine which software and drivers are trusted to run on a Windows device, blocking those that are not authorized.

Submit
Please wait...
About This Quiz
OSEP Application Whitelisting Bypass Quiz - Quiz

This quiz evaluates your understanding of application whitelisting bypass techniques covered in the OffSec OSEP curriculum. Test your knowledge of evasion methods, defense mechanisms, and practical exploitation strategies used to circumvent application control policies in enterprise environments.

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 approach is most effective for comprehensive application whitelisting security?

Explanation

Combining AppLocker, Windows Defender Application Control (WDAC), execution policies, and monitoring creates defense in depth. Each layer can restrict or detect different forms of unauthorized code execution, while monitoring helps identify bypass attempts and policy gaps. This approach is more resilient than relying on a single control or on antivirus alone.

Submit

3. What technique involves using trusted system paths to load malicious libraries?

Explanation

DLL search order hijacking exploits how an application searches for a DLL when loading it by name. An attacker places a malicious library in a directory searched before the legitimate DLL’s location, causing the application to load and execute the malicious code—often with the application’s privileges.

Submit

4. Which registry location stores AppLocker policy information?

Explanation

AppLocker policy information is stored under `HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\SrpV2`. This registry path contains the Software Restriction Policies settings used by AppLocker to define and enforce rules for applications.

Submit

5. What is the purpose of Constrained Language Mode in PowerShell?

Explanation

Constrained Language Mode restricts access to certain PowerShell features and .NET APIs that could be misused. It helps reduce the risk of harmful actions, especially in environments where scripts are run from untrusted sources, while still allowing many common administrative tasks.

Submit

6. Which of the following can bypass PowerShell Execution Policy restrictions?

Explanation

PowerShell’s execution policy is a safeguard, not a security boundary. A process can be started with `-ExecutionPolicy Bypass`, and Base64-encoded commands may be supplied for execution without relying on a script file. Other shells, such as `cmd.exe`, can run commands or launch tools outside PowerShell, avoiding the policy’s restrictions on PowerShell scripts.

Submit

7. What is DLL proxying in the context of application whitelisting bypass?

Explanation

DLL proxying exploits an application's DLL search behavior: an attacker places a crafted DLL with the name of a trusted library in a location searched before the legitimate copy. When a whitelisted application loads it, attacker-controlled code runs in the application's context, often forwarding expected functions to the genuine DLL so the program continues to work.

Submit

8. Which tool can be used to analyze and test AppLocker policies?

Explanation

AppLocker Policy Editor lets administrators configure and review rules that control which applications users can run. It also supports evaluating how policy rules apply to files and users, helping identify whether an application would be allowed or blocked before the policy is deployed.

Submit

9. What is the primary weakness of AppLocker rules based on publisher certificates?

Explanation

Publisher-based AppLocker rules identify software by its digital signature and publisher information, rather than by a specific file. If a signing certificate is stolen or compromised, attackers may use it to sign malicious code that matches an allowed rule. Revocation may also not be checked promptly or reliably, allowing code signed with a revoked certificate to run.

Submit

10. Which bypass technique involves using COM objects to execute code?

Explanation

COM object instantiation bypasses restrictions by creating or activating a Component Object Model (COM) object that can execute code. This technique may leverage trusted system components or their interfaces to run code in a way that evades application control or security monitoring.

Submit

11. What is the primary purpose of application whitelisting in enterprise security?

Explanation

Application whitelisting restricts software execution to applications explicitly approved by an organization. This helps prevent unauthorized or malicious programs from running, reducing the risk of malware infections and other security threats.

Submit

12. Which Windows feature can be exploited to bypass execution restrictions by running scripts from alternate data streams?

Explanation

NTFS alternate data streams let a file contain additional, separately named data alongside its main content. Attackers can hide a script in one of these streams and invoke it through a compatible command or application, potentially evading security controls that inspect only ordinary files or visible file extensions.

Submit

13. What is the purpose of code signing in application whitelisting contexts?

Explanation

Code signing uses a digital signature to confirm that software comes from a trusted publisher and has not been altered. In application whitelisting, this helps determine which applications are trusted and permitted to run.

Submit

14. Which technique involves embedding malicious code within a legitimate file format?

Explanation

Code injection involves inserting malicious instructions into a legitimate file, application, or process so they may run when it is opened or executed. The file can retain a seemingly valid format, while the injected code changes its behavior or performs unauthorized actions. This differs from steganography, which primarily conceals data rather than making it executable.

Submit

15. What is a common bypass for AppLocker rules based on file path?

Explanation

Path-based AppLocker rules authorize executables according to where they reside, rather than validating their contents or intended use. If a permitted binary is copied to a location covered by an allow rule—or moved out of a blocked location—it may run there, depending on policy and permissions. Robust policies restrict writable allowed directories.

Submit

16. Which PowerShell execution policy is the most restrictive?

Explanation

Restricted is the most restrictive PowerShell execution policy because it prevents scripts and configuration files from running. Users can still enter commands interactively. Other policies, such as RemoteSigned and AllSigned, permit scripts under specific signing or trust conditions, while Unrestricted allows scripts with fewer restrictions.

Submit

17. What does AppLocker primarily control?

Explanation

AppLocker is a Windows security feature that lets administrators create rules to allow or block specific applications and scripts from running. Rules can be based on attributes such as file path, publisher, or file hash, helping organizations restrict unauthorized software without controlling firewall settings, user permissions, or disk encryption.

Submit

18. Which of the following is a common Living off the Land binary used for code execution?

Explanation

`msiexec.exe` is the Windows Installer utility and can be misused to install or execute malicious MSI packages, making it a common Living off the Land binary for code execution. The other options are legitimate Windows programs, but they are not as commonly associated with this technique.

Submit

19. What technique involves using legitimate system tools to execute malicious code?

Explanation

Living off the land is a technique in which attackers use legitimate tools already present on a system—such as scripting utilities or administrative programs—to run malicious commands or code. Because these tools are trusted and commonly used, their activity can blend in with normal system operations and may be harder for security defenses to detect.

Submit

20. Which Windows feature allows unsigned scripts to execute if they originate from a trusted location?

Explanation

PowerShell’s Execution Policy controls when scripts may run. Under policies such as RemoteSigned, scripts created locally can run without a digital signature, while scripts downloaded from the internet generally require one. This lets unsigned scripts execute when they originate from a location Windows treats as trusted, though execution policies are not a strong security boundary.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What does WDAC (Windows Defender Application Control) do?
Which approach is most effective for comprehensive application...
What technique involves using trusted system paths to load malicious...
Which registry location stores AppLocker policy information?
What is the purpose of Constrained Language Mode in PowerShell?
Which of the following can bypass PowerShell Execution Policy...
What is DLL proxying in the context of application whitelisting...
Which tool can be used to analyze and test AppLocker policies?
What is the primary weakness of AppLocker rules based on publisher...
Which bypass technique involves using COM objects to execute code?
What is the primary purpose of application whitelisting in enterprise...
Which Windows feature can be exploited to bypass execution...
What is the purpose of code signing in application whitelisting...
Which technique involves embedding malicious code within a legitimate...
What is a common bypass for AppLocker rules based on file path?
Which PowerShell execution policy is the most restrictive?
What does AppLocker primarily control?
Which of the following is a common Living off the Land binary used for...
What technique involves using legitimate system tools to execute...
Which Windows feature allows unsigned scripts to execute if they...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!