312-50v13
Free 312-50v13 practice questions
10 questions from our 312-50v13 practice tests, each with the correct answer and a written explanation. Read them with the answers shown, or switch to quiz mode and answer first.
Question 1 of 10, Information Security and Ethical Hacking Overview
An organisation wants a framework that describes adversary behaviour as tactics, techniques and procedures observed in real intrusions so its SOC can map detections against them. Which framework fits BEST?
- ACyber Kill Chain by Lockheed Martin
- BDiamond Model of Intrusion Analysis
- CNIST Cybersecurity Framework 2.0
- DMITRE ATT&CK Correct answer
Answer and explanation: MITRE ATT&CK is a knowledge base of adversary tactics and techniques drawn from real-world observations and is widely used to map detection coverage. The Cyber Kill Chain describes seven high-level intrusion stages but not a detailed technique catalogue. The Diamond Model relates adversary, capability, infrastructure and victim for analysis of events. NIST CSF 2.0 organises an organisation's security outcomes (Govern, Identify, Protect, Detect, Respond, Recover) rather than attacker techniques.
Question 2 of 10, Reconnaissance Techniques
An Xmas scan of a Windows host returns RST for every port, including ports known to be listening. What is the MOST likely explanation?
- AXmas scans only work over UDP, so the TCP ports were all incorrectly reported as closed instead
- BWindows TCP stacks do not follow RFC 793 for these packets and reply RST regardless of port state Correct answer
- CThe scan used too fast a timing template, causing the open ports to drop their SYN/ACK replies
- DThe host firewall converted every open port to closed because its intrusion prevention feature detected the scan in progress
Answer and explanation: Inverse TCP flag scans (FIN, NULL, Xmas) rely on RFC 793 behaviour where open ports silently drop such packets; Microsoft Windows stacks reply with RST regardless, so all ports appear closed. A firewall would more commonly drop packets, producing filtered results. Xmas scans are a TCP technique, not UDP. Timing affects reliability but does not explain RST replies from listening ports.
Question 3 of 10, Reconnaissance Techniques
During an authorised scan, Nmap reports a port as 'filtered'. What does this state indicate?
- AProbes received no response or an ICMP unreachable error, so a firewall or filter is likely blocking them Correct answer
- BThe port completed a handshake and a service banner was returned that identifies the listening software
- CThe port answered with a TCP RST packet, so it is reachable but no application is listening on it at all right now
- DThe port responded to probes inconsistently, so Nmap cannot tell whether it is open or closed at all
Answer and explanation: Filtered means Nmap cannot determine whether the port is open because packet filtering prevents probes from reaching it—typically no response or ICMP unreachable. A RST response marks the port as closed. A completed handshake marks it open. The 'open|filtered' or 'closed|filtered' states describe ambiguous cases for specific scan types, which is different from plain filtered.
Question 4 of 10, System Hacking Phases and Attack Techniques
A defender wants to reduce the impact of credential dumping from LSASS memory on Windows 11 endpoints. Which control is MOST effective?
- AStore local administrator passwords in a shared spreadsheet for easier rotation
- BDisable the Windows Event Log service so tools cannot record dumping attempts
- CIncrease the minimum password length to 8 characters in the default domain password policy
- DEnable Credential Guard so secrets are isolated with virtualization-based security Correct answer
Answer and explanation: Credential Guard uses virtualization-based security to isolate NTLM hashes and Kerberos secrets so that LSASS memory dumps no longer reveal them. Disabling logging only hides attacks. Password length does not stop hashes being dumped and reused. A shared spreadsheet of admin passwords increases exposure; Windows LAPS is the proper solution for unique local admin passwords.
Question 5 of 10, System Hacking Phases and Attack Techniques
An incident responder finds a malicious program that runs entirely in memory using PowerShell and WMI, leaving no executable file on disk. What type of malware is this?
- AMacro virus
- BPolymorphic virus
- CFileless malware Correct answer
- DBoot sector virus
Answer and explanation: Fileless malware abuses legitimate tools such as PowerShell and WMI and resides in memory or the registry rather than as files, which evades file-based antivirus. Polymorphic viruses change their code signature with each infection but are still file-based. Boot sector viruses infect the MBR or boot record. Macro viruses live in document macros.
Question 6 of 10, Network and Perimeter Hacking
An analyst sees a single internal host sending DNS queries for long, random-looking subdomains of one external domain at a steady rate, with TXT responses. Which activity is MOST likely, and which control helps detect it?
- ADNS cache poisoning of the local resolver; enable DNSSEC validation for all external zones it resolves
- BDNS tunnelling for exfiltration or C2; analyse query length, entropy and volume per domain Correct answer
- CDNS amplification against the internal host; enable response rate limiting on public resolvers
- DFast-flux hosting of a phishing site; block newly registered domains at the email gateway
Answer and explanation: Long high-entropy subdomains with TXT answers to one domain are classic signs of DNS tunnelling, which is detected by monitoring query length, entropy and per-domain volume. Amplification floods a victim with large responses. Cache poisoning injects forged answers into a resolver. Fast flux rapidly changes A records for a hostname rather than encoding data in subdomains.
Question 7 of 10, Web Application Hacking
An application accepts XML uploads and its parser resolves external entities declared in the document's DTD. Which vulnerability could allow an attacker to read local files from the server?
- ALDAP injection in the directory lookup
- BInsecure deserialization of Java objects
- CXML External Entity (XXE) injection Correct answer
- DClickjacking through a transparent iframe
Answer and explanation: XXE abuses XML parsers that process external entity declarations, allowing local file disclosure or SSRF; disabling DTD and external entity processing is the fix. LDAP injection manipulates directory queries. Clickjacking tricks users into clicking hidden elements. Insecure deserialization involves untrusted serialized objects rather than XML entities.
Question 8 of 10, Web Application Hacking
An API returns a full user object, including the password hash and internal role fields, and the front end simply hides those fields. Which OWASP API Security Top 10 (2023) risk is this?
- AAPI1 Broken Object Level Authorization
- BAPI3 Broken Object Property Level Authorization Correct answer
- CAPI8 Security Misconfiguration of the API gateway
- DAPI4 Unrestricted Resource Consumption
Answer and explanation: Exposing sensitive properties that the client should not see (excessive data exposure) falls under Broken Object Property Level Authorization in the 2023 list. BOLA concerns accessing other users' objects by ID. Unrestricted Resource Consumption concerns missing rate and size limits. Security Misconfiguration covers insecure settings and headers.
Question 9 of 10, Wireless Network Hacking
An enterprise WLAN uses WPA2-Enterprise with PEAP. Clients are configured not to validate the RADIUS server certificate. Which attack does this enable, and what is the fix?
- AA rogue AP can impersonate the network and capture credentials; enforce server certificate validation Correct answer
- BA WPS PIN attack can recover the PSK; disable WPS on every access point in the building
- CA beacon flood can exhaust the AP's memory; reduce the beacon interval on each radio
- DA KRACK attack can reinstall session keys; replace PEAP with WEP shared-key authentication
Answer and explanation: Without server certificate validation, clients will authenticate to an evil-twin RADIUS server, exposing MSCHAPv2 credentials; enforcing certificate and server-name validation (or using EAP-TLS) fixes it. WPS and PSKs are not used in Enterprise mode. WEP is broken. Beacon floods are unrelated to credential capture.
Question 10 of 10, Mobile Platform, IoT, and OT Hacking
An organisation lets employees use personal phones for corporate email. Which solution enforces encryption, passcode policy and remote wipe of corporate data without full control of the personal device?
- AA full-tunnel site-to-site VPN between each branch office
- BNetwork access control based on MAC address filtering only
- CMobile application management with containerised work apps Correct answer
- DDisk encryption on corporate laptops using TPM-backed keys
Answer and explanation: MAM (often within a UEM platform) secures corporate apps and data in a managed container, enabling selective wipe on BYOD devices. MAC filtering is easily spoofed and does not protect data on the phone. A site-to-site VPN links networks, not individual phones. Laptop disk encryption does not address phones.