Ethical Hacking v13 - Practice Test 2

Ethical Hacking v13 - Practice Test 2

Ethical Hacking v13 - Practice Test 2


S. L.
Diese Lernkarten vermitteln praxisnahes Wissen zur Durchführung von Penetrationstests und ethischem Hacking, wobei Schwerpunkte auf Netzwerk- und Webanwendungen liegen. Es werden Techniken wie Angriffe auf Server, Schwachstellenanalyse, Privilegieneskalation und das Ausnutzen von Sicherheitslücken wie unverschlüsselten Verbindungen oder veralteter Software behandelt. Besonders für angehende IT-Sicherheitsexperten und Penetrationstester geeignet, die ihre Fähigkeiten in realistischen Szenarien vertiefen möchten.
Karten
151
Lernende
0
Sprache
Englisch
Kategorie
Informatik
Stufe
Andere
Erstellt / Aktualisiert
08.06.2026 / 08.06.2026

Cartes-fiches

A penetration tester is assessing a company’s HR department for vulnerability to social engineering attacks using knowledge of recruitment and onboarding processes.

What is the most effective technique to obtain network access credentials without raising suspicion?

A company's network security team detects unusual traffic patterns indicating a potential attack. Analysis reveals that multiple compromised systems are sending coordinated traffic to overwhelm a target server, making it unavailable to legitimate users.

What type of attack is being conducted?

A penetration tester is evaluating a company's network security and discovers that several employees are using weak passwords that can be easily guessed. The tester wants to demonstrate the risk by attempting to crack these passwords.

Which password cracking technique would be most effective against weak, commonly used passwords?

A penetration tester is assessing a web application that does not properly sanitize user input in the search field. The tester suspects the application is vulnerable to a SQL injection attack.

Which approach should the tester take to confirm the vulnerability?

During a red team assessment of an enterprise LAN environment, the tester discovers an access switch that connects multiple internal workstations. The switch has no port security measures in place. To silently intercept communication between different hosts without deploying ARP poisoning or modifying the routing table, the tester launches a MAC flooding attack using the macof utility from the dsniff suite. This command sends thousands of Ethernet frames per minute, each with a random, spoofed source MAC addresses. Soon after the flooding begins, the tester puts their network interface into promiscuous mode and starts capturing packets. They observe unicast traffic between different internal machines appearing in their packet sniffer – traffic that should have only reached specific destinations on the network.

What internal switch behavior is responsible for this sudden exposure of isolated traffic?

A penetration tester is investigating a web server that allows for unrestricted file uploads. The server accepts files without proper validation or sanitization of file types.

Which technique should the tester use to exploit this vulnerability and gain potentially control of the server?

Which regulation defines security and privacy controls for Federal information systems and organizations?

A penetration tester is conducting an external assessment of a corporate web server. They start by accessing https://www.targetcorp.com/robots.txt and observe multiple Disallow entries that reference directories such as /admin-panel/, /backup/, and /confidential_docs/. When the tester directly visits these paths via browser, they find that access is not restricted by authentication and gain access to sensitive files, including server configuration and unprotected credentials.

Which stage of the web server attack methodology is demonstrated in this scenario?

A penetration tester is mapping a Windows-based internal network. The tester notices that TCP port 139 and UDP port 137 are open on multiple systems. File and printer sharing is enabled.

To retrieve hostnames, user details, and domain roles without triggering alerts, which tool and method would be most effective?

A penetration tester has completed a vulnerability scan on a company’s internal network. The scan reveals multiple low-risk vulnerabilities, but one high-risk vulnerability is associated with outdated server software.

What should the tester prioritize as the next step?

An ethical hacker needs to enumerate user accounts and shared resources within a company’s internal network without raising any security alerts. The network consists of Windows servers running default configurations.

Which method should the hacker use to gather this information covertly?

During a security assessment of a company’s internal web application, a penetration tester examines how the application processes input values passed in the web address query string. The application includes a feature that dynamically fetches documents based on a filename value provided in the web address (e.g., https://intranet.example.com/view?file=report.txt). By altering this input to include sequences like ../../../../etc/passwd, the tester successfully navigates beyond the intended storage location and accesses restricted files. Further manipulation reveals access to sensitive configuration files, source code, and internal scripts, confirming that the application lacks proper input sanitization and isolation of file access paths.

Which attack method does this scenario illustrate?

A large company intends to use Blackberry for corporate mobile phones and a security analyst is assigned to evaluate the possible threats. The analyst will use the Blackjacking attack method to demonstrate how an attacker could circumvent perimeter defenses and gain access to the Prometric Online Testing `" Reports https://ibt1.prometric.com/users/custom/report_queue/rq_str... corporate network.

What tool should the analyst use to perform a Blackjacking attack?

A penetration tester identifies that a web application’s login form is not using secure password hashing mechanisms, allowing attackers to steal passwords if the database is compromised.

What is the best approach to exploit this vulnerability?

While conducting a covert penetration test on a UNIX-based infrastructure, the tester decides to bypass intrusion detection systems by sending specially crafted TCP packets with an unusual set of flags enabled. These packets do not initiate or complete any TCP handshake. During the scan, the tester notices that when certain ports are probed, there is no response from the target, but for others, a TCP RST (reset) packet is received. The tester notes that this behavior consistently aligns with open and closed ports, respectively, without triggering detection systems configured to monitor connection-based scans.

Based on these observations, which scanning technique is most likely being used?

A Certified Ethical Hacker (CEH) is auditing a company’s web server that employs virtual hosting. The server hosts multiple domains and uses a web proxy to maintain anonymity and prevent IP blocking. The CEH discovers that the server’s document root directory, which stores critical HTML files, is named “certroot” and is stored in the directory /admin/web. The server root, which stores the server’s configuration, error, executable, and log files, is also identified. The CEH also notes that the server uses a virtual document tree for additional storage.

Given this scenario which of the following actions would most likely increase the security of the web server?

As a cybersecurity professional in XYZ Corporation, you’ve been assigned to investigate an anomaly in the system logs that suggest possible unauthorized activities. The system administrators detected repeated failed login attempts on a critical server, followed by a sudden surge in outbound data traffic. These events, while discrete, are raising concerns that the system may have been compromised.

Given the high stakes and sophisticated nature of this potential security breach, what should be your initial course of action to manage this situation effectively?

In a vertical privilege escalation scenario, the attacker attempts to gain access to a user account with higher privileges than their current level.

Which of the following examples describes vertical privilege escalation?

A large mobile telephony and data network operator has a data center that houses network elements. These are essentially large computers running on Linux.

The perimeter of the data center is secured with firewalls and IPS systems.

What is the best security policy concerning this setup?

A red team operator wants to obtain credentials from a Windows machine without touching the LSASS process memory, as security controls and Credential Guard are active. Instead, they leverage a method that uses the Security Support Provider Interface (SSPI) to generate NetNTLM responses within the context of the logged-in user and collect those responses for offline cracking.

Which attack technique is being used in this scenario?

A penetration tester has gained access to a target system using default credentials.

What is the most effective next step to escalate privileges on the system?

When you are getting information about a web server, it is very important to know the HTTP Methods (GET, POST, HEAD, PUT, DELETE, TRACE) that are available because there are two critical methods (PUT and DELETE). PUT can upload a file to the server and DELETE can delete a file from the server.

You can detect all these methods (GET, POST, HEAD, PUT, DELETE, TRACE) using NMAP script engine. What Nmap script will help you with this task?

A penetration tester discovers that a system is infected with malware that encrypts all the files and demands payment to decrypt them.

What type of malware is this?

A penetration tester is conducting a port scan on a specific host. The tester found several ports opened that were confusing in concluding the Operating System(OS) version installed.

Starting NMPA 5.21 at 2011-03-15 11:06 NMAP scan report for 172.16.40.65
Host is up (1.00s latency). Not shown: 993 closed ports 
PORT    STATE    SERVICE
21/tcp     open       ftp
23/tcp     open       telnet
80/tcp     open       http
139/tcp   open       netbios-ssn
515/tcp   open       ipp
9100/tcp open       MAC Address: 00:00:48:0D:EE:8

Considering that NMAP result below, which of the following is likely to be installed on the target machine by the OS?
 

Which of the following is the primary goal of ethical hacking?

A penetration tester is tasked with identifying vulnerabilities on a web server running outdated software. The server hosts several web applications and is protected by a basic firewall.

Which technique should the tester use to exploit potential server vulnerabilities?

A penetration tester is tasked with identifying vulnerabilities on a web server running outdated software. The server hosts several web applications and is protected by a basic firewall.

Which technique should the tester use to exploit potential server vulnerabilities?

Upon analyzing anomalies in your network’s traffic, you discover traces of an insidious malware strain named “ShadowFlee”. This malware operates without writing files to disk, harnessing system utilities and scripts like PowerShell to stealthily execute tasks, effectively evading traditional detection mechanisms. Further, it exploits legitimate processes to propagate internally.

Given “ShadowFlee’s” elusive attributes, which strategy would offer the most focused countermeasure?

A security analyst is tasked with gathering detailed information about an organization’s network infrastructure without making any direct contact that could be logged or trigger alarms.

Which method should the analyst use to obtain this information covertly?

A penetration tester evaluates an industrial control system (ICS) that manages critical infrastructure. The tester discovers that the system uses weak default passwords for remote access.

What is the most effective method to exploit this vulnerability?

In your role as a cybersecurity specialist for a growing tech company, you are tasked with performing a regular network scan to check for any potential vulnerabilities. Your manager has specifically asked you to use a NULL scan for this round.

In the context of TCP NULL scanning, what response (or lack thereof) would indicate that a particular port on a target machine is closed?

An attacker extracts the initial bytes from an encrypted file container and uses a tool to iterate through numeric combinations.

What type of cryptanalytic technique is being utilized?

An ethical hacker needs to gather sensitive information about a company’s internal network without engaging directly with the organization's systems to avoid detection.

Which method should be employed to obtain this information discreetly?

During a security assessment of an organization’s internal network, a penetration tester discovers that UDP port 123 is open on a critical host, indicating that the Network Time Protocol (NTP) service is active. The tester suspects the NTP server could reveal insights into how the internal network synchronizes time, which could assist in lateral movement or correlating timestamps in logs. To gather more information, the tester decides to enumerate the list of NTP peers and determine their synchronization status, offset, and stratum levels to understand the hierarchy and redundancy in the time synchronization infrastructure.

Which command should the tester use to retrieve this specific information?

During a network analysis at a mid-sized enterprise, a security engineer detects irregular DHCP behavior. Multiple endpoints are being assigned incorrect gateway and DNS settings, causing loss of connectivity and redirection to unauthorized servers. Packet captures show that clients are receiving IP address offers from more than one DHCP source. Upon further investigation, the logs confirm that the access switch is forwarding DHCP responses from all connected ports without filtering. This indicates that an unauthorized (rogue) DHCP server has been introduced into the network, impersonating the legitimate server and responding to client DHCPDISCOVER messages.

To prevent this type of attack from occurring in the future, what security feature should the administrator enable?

A penetration tester is conducting a security assessment for a client and needs to capture sensitive information transmitted across multiple VLANs without being detected by the organization's security monitoring systems. The network employs strict VLAN segmentation and port security measures to restrict unauthorized access.

Which advanced sniffing technique should the tester use to discreetly intercept and analyze traffic across all VLANs?

An attacker places a malicious VM on the same physical server as a target VM in a multi-tenant cloud environment. The attacker then extracts cryptographic keys using CPU timing analysis.

What type of attack was conducted?

You are a Network Security Officer. You have two machines. The first machine (192.168.0.99) has snort installed, and the second machine (192.168.0.150) has kiwi syslog installed. You perform a syn scan in your network, and you notice that kiwi syslog is not receiving the alert message from snort. You decide to run wireshark in the snort machine to check if the messages are going to the kiwi syslog machine.

What Wireshark filter will show the connections from the snort machine to kiwi syslog machine?

Samuel, a security administrator, is assessing the configuration of a web server. He noticed that the server permits SSLv2 connections, and the same private key certificate is used on a different server that allows SSLv2 connections. This vulnerability makes the web server vulnerable to attacks as the SSLv2 server can leak key information.

Which of the following attacks can be performed by exploiting the above vulnerability?

A penetration tester is tasked with assessing the security of an Android mobile application that stores sensitive user data. The tester finds that the application does not use proper encryption to secure data at rest.

What is the most effective way to exploit this vulnerability?

Lernen