CND (312-38) Network Defense Simulation
Network Scenario
Traffic & Logs
Question
Which of the following helps prevent executing untrusted or untested programs or code from untrusted or unverified third-parties?
Expert Analysis
1. What is happening: A user attempted to execute an unverified executable file. The Endpoint Detection and Response (EDR) agent intercepted the execution and placed the process into an isolated virtual container, preventing it from touching sensitive system files or making network connections.
2. Identify attack or behavior: Executing unknown code carries a high risk of malware infection, ransomware deployment, or unauthorized data exfiltration. The defense mechanism must allow the user to potentially view the document/app while completely neutralizing the threat to the host.
3. Why Correct (A): Application sandboxing is the practice of isolating untrusted code in a highly restricted environment. It prevents untested programs from making permanent changes to the host OS, accessing restricted hardware, or interacting with the network, thus preventing the harmful effects of native execution.
4. Why Others are Wrong:
- C. Application whitelisting: While whitelisting blocks unknown apps, it doesn't allow "untested programs" to run safely; it just flatly denies them. Sandboxing provides the capability to handle untrusted code safely.
- D. Application blacklisting: This only blocks known bad signatures. An untested or newly compiled malicious program would bypass a blacklist.
- B. Deployment of WAFS (Web Application Firewalls): WAFs protect web applications from HTTP-based attacks (like SQLi or XSS); they do not control local application execution on an endpoint.
5. Defensive Action: Continue enforcing sandboxing (e.g., Windows Sandbox, Defender Application Guard) for all untrusted binaries and email attachments. Analyze the sandbox logs to determine if the Invoice_Parser_v2.exe file attempted malicious actions, and update the organization's blacklist/IoC database accordingly.
- Sandboxing: "I don't trust you, so you must play in this isolated room." (Allows safe execution/analysis).
- Whitelisting (Default Deny): "If you aren't on my pre-approved VIP list, you cannot run at all." (Highly secure, high administrative overhead).
- Blacklisting (Default Allow): "You can run, unless you are on my known-bad list." (Weak against zero-days and untested code).