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

Lernkarten

A penetration tester is assessing a web application that uses dynamic SQL queries for searching users in the database. The tester suspects the search input field is vulnerable to SQL injection.

What is the best approach to confirm this vulnerability?

Which of the following scenarios best describes a tailgating social engineering attack?

A penetration tester is trying to attack a wireless network that uses WPA3 encryption. The tester wants to exploit the handshake to obtain the password but realizes WPA3 has stronger protections.

What would be the most effective approach to compromise the network?

An AWS security operations team receives an alert regarding abnormal outbound traffic from an EC2 instance. The instance, which previously handled backend microservices, begins transmitting encrypted data packets to an external domain. Upon deeper investigation, it is discovered that the external domain resolves to a Dropbox account not associated with the organization. Network flow logs confirm a consistent pattern of data transfers to this destination during off-peak hours. Further forensic analysis reveals that a malicious executable was silently installed on the instance, which modifies the sync configuration of the Dropbox client to use the attacker's access token. This enables the compromised EC2 instance to automatically sync selected data folders with the attacker’s Dropbox storage, bypassing traditional perimeter defenses.

What type of attack has likely occurred?

A security analyst is investigating a breach where an attacker gained access to sensitive data by exploiting a vulnerability in the organization's web application. The attacker manipulated the application to execute arbitrary commands on the underlying operating system.

Which type of vulnerability was most likely exploited?

A penetration tester is evaluating the security of a mobile application and discovers that it lacks proper input validation. The tester suspects that the application is vulnerable to a malicious code injection attack.

What is the most effective way to confirm and exploit this vulnerability?

A penetration tester discovers that a web application uses unsanitized user input to dynamically generate file paths. The tester identifies that the application is vulnerable to Remote File Inclusion (RFI).

Which action should the tester take to exploit this vulnerability?

env x='(){ :;}; echo exploit' bash -c 'cat/etc/passwd'

What is the Shellshock bash vulnerability attempting to do on a vulnerable Linux host?

A penetration tester is assessing a company’s vulnerability to advanced social engineering attacks targeting its legal department. Using comprehensive knowledge of recent mergers and internal legal proceedings, the tester crafts a highly credible pretext to deceive legal employees into sharing confidential case documents.

What is the most effective social engineering technique the tester should employ to obtain confidential documents without raising suspicion?

A penetration tester performs a vulnerability scan on a company’s web server and identifies several medium-risk vulnerabilities related to misconfigured settings.

What should the tester do to verify the vulnerabilities?

During a security assessment of a cloud-hosted application using SOAP-based web services, a red team operator intercepts a legitimate SOAP request sent by a user. The operator duplicates the body of the message along with its digital signature, inserts the duplicate into the same SOAP envelope, and forwards it to the server. Due to improper validation of the message structure, the server accepts the duplicated body as authentic and processes it, resulting in unauthorized code execution. This behavior reveals a vulnerability in how the server handles signed SOAP messages.

What type of attack does this scenario illustrate?

A financial institution’s online banking platform is experiencing intermittent downtime caused by a sophisticated DDoS attack that combines SYN floods and HTTP GET floods from a distributed botnet. Standard firewalls and load balancers are unable to mitigate the attack without affecting legitimate users.

To protect their infrastructure and maintain service availability, which advanced mitigation strategy should the institution implement?

A global fintech company that processes millions of online payments daily begins receiving alarming emails from an unknown threat actor claiming to represent a notorious hacktivist group. The email includes a demand for 20 BTC in cryptocurrency, warning that a large-scale DDoS attack will cripple their infrastructure if the ransom is not paid within 72 hours. To prove their seriousness, the attacker initiates a short-lived HTTP flood targeting the company’s checkout service. Within minutes, legitimate users report long delays and service timeouts during payment processing. The incident response team observes a significant spike in POST requests with incomplete payloads, overwhelming the application layer and causing partial service disruptions. The attack ceases after 15 minutes, followed by a second email reinforcing the ransom demand and threatening a more severe attack.

What type of DDoS attack is being carried out in this scenario?

A penetration tester is evaluating a web application that uses HTTPS, secure cookies, and implements multi factor authentication to prevent session hijacking.

To hijack a legitimate user’s session without triggering security alerts, which advanced technique should the tester employ?

A university’s online registration system is experiencing disruptions due to a DDoS attack that combines DNS reflection and HTTP slowloris techniques. Standard firewalls and load balancers are unable to mitigate the attack without impacting legitimate users.

To ensure uninterrupted registration services, which advanced mitigation strategy should the university implement?

A penetration tester is assessing a web application that employs secure, HTTP-only cookies, regenerates session IDs upon login and uses strict session timeout policies.

To hijack a user’s session without triggering the application's security defenses, which advanced technique should the tester utilize?

A bank stores and processes sensitive privacy information related to home loans. However, auditing has never been enabled on the system.

What is the first step that the bank should take before enabling the audit feature?

An e-commerce platform hosted on a public cloud infrastructure begins to experience significant latency and timeout issues during its peak sales hours. Security logs indicate thousands of incoming HTTP connections, each of which starts sending headers extremely slowly and never completes the full request. Over time, the number of open connections rises beyond the server’s handling capacity, leading to system instability and service unavailability. The network team verifies that these connections are not transmitting malformed packets or high volumes of traffic and appear to originate from legitimate IPs.

Which specific DoS technique is most likely responsible for the degradation of service?

During a penetration test, an ethical hacker discovers that a web application accepts user input without proper validation and uses it directly in SQL queries. The hacker wants to test if the application is vulnerable to SQL injection.

Which input should the tester use to confirm the SQL injection vulnerability?

A security researcher is analyzing a target organization’s publicly accessible cloud infrastructure. While reviewing the website’s HTML source code, the researcher discovers direct references to files hosted on Amazon S3.

What is the most effective way to identify additional publicly accessible bucket URLs used by the target?

A penetration tester is tasked with uncovering historical content from a company’s website, including previously exposed login portals or sensitive internal pages. Direct interaction with the live site is prohibited due to strict monitoring policies. To stay undetected, the tester decides to explore previously indexed snapshots of the organization’s web content saved by external sources.

Which approach would most effectively support this passive information-gathering objective?

A penetration tester finds that a web application does not properly validate user input and is vulnerable to reflected Cross-Site Scripting (XSS).

What is the most appropriate approach to exploit this vulnerability?

A penetration tester identifies malware on a system that hides its presence and gives an attacker access to administrative functions without being detected.

What type of malware is this?

Heather's company has decided to use a new customer relationship management tool. After performing the appropriate research, they decided to purchase a subscription to a cloud-hosted solution. The only administrative task that Heather will need to perform is the management of user accounts. The provider will take care of the hardware, operating system, and software administration including patching and monitoring.

Which of the following is this type of solution?

A penetration tester is running a vulnerability scan on a company’s network. The scan identifies an open port with a high-severity vulnerability linked to outdated software.

What is the most appropriate next step for the tester?

During a targeted phishing campaign, an attacker gains access to a trusted internal system within a corporate network protected by advanced firewalls, IDS, and email security gateways. To maintain persistence and evade content inspection, the attacker crafts a malicious HTML email attachment containing obfuscated JavaScript code. When the user opens the attachment in a browser, a hidden JavaScript blob dynamically reconstructs a malware payload and triggers an automatic file download on the client side. No external connections are initiated during this process, making it difficult for network security tools to detect or block the attack.

Which evasion technique is being employed to bypass the firewall and IDS protections?

During a covert red team engagement, a penetration tester is tasked with identifying live hosts in a target organization’s internal subnet (10.0.0.0/24) without triggering intrusion detection systems (IDS). To remain undetected, the tester opts to use the command nmap -sn -PE 10.0.0.0/24, which results in several “Host is up” responses, even though the organization’s IDS is tuned to detect high-volume scans. After the engagement, the client reviews the logs and is surprised that the scan was not flagged.

What allowed the scan to complete without triggering alerts?

During a comprehensive internal penetration test, a tester attempts to enumerate open services using a UDP scan across a wide range of ports on a target system. After transmitting multiple UDP probes, the tester observes that some ports generate immediate ICMP “Destination Unreachable – Port Unreachable” (Type 3, Code 3) responses. However, the majority of the ports remain silent, providing no reply or error message. No firewall rules or IDS alerts have been triggered at this stage. The tester suspects that the scan results are inconclusive for several of the probed ports.

Based on the observed behavior, what can the tester reasonably conclude about the non-responsive ports?

A penetration tester is assessing an organization’s cloud infrastructure and discovers that the cloud storage buckets are not publicly accessible but have misconfigured Identity and Access Management (IAM) policies. The IAM policies unintentionally grant read and write permissions to any authenticated user.

What is the most effective way to exploit this misconfiguration?

A company’s online service is under a multi-vector DoS attack using both SYN floods and HTTP GET floods from a botnet. Standard firewalls and IDS are unable to prevent the outages.

To mitigate the attack without disrupting legitimate traffic, which advanced defense should the company implement?

A penetration tester is assessing a wireless network and discovers that the network uses WEP encryption. The tester wants to crack the WEP key to gain unauthorized access.

What is the most effective method to crack the WEP encryption?

During a high-stakes engagement on a secure corporate network, a penetration tester discovers an opportunity to attack the domain controller. By abusing an API call from Microsoft’s Encrypting File System Remote Protocol (MS-EFSRPC), the tester forces the domain controller to initiate NTLM authentication to a server controlled by the tester. The tester then captures the resulting NTLM hash and relays it to the Active Directory Certificate Services (AD CS), ultimately obtaining a certificate that confers administrative privileges over the network. This sophisticated method allows the tester to compromise the network without requiring direct access to the domain controller.

Which network-level hijacking technique is illustrated in this scenario?

A system administrator observes that several machines in the network are repeatedly sending out traffic to unknown IP addresses. Upon inspection, these machines were part of a coordinated spam campaign.

What is the most probable cause?

A penetration tester is assessing a mobile application and discovers that the app is vulnerable to improper session management. The session tokens are not invalidated upon logout, allowing the tokens to be reused.

What is the most effective way to exploit this vulnerability?

A penetration tester is tasked with scanning a network protected by an IDS and firewall that actively blocks connection attempts on non-standard ports. The tester needs to gather information on the target system without triggering alarms.

Which technique should the tester use to evade detection?

A penetration tester needs to map open ports on a target network without triggering the organization’s intrusion detection systems (IDS), which are configured to detect standard scanning patterns and abnormal traffic volumes. To achieve this, the tester decides to use a method that leverages a third-party host to obscure the origin of the scan.

Which scanning technique should be employed to accomplish this stealthily?

A financial services firm is experiencing a sophisticated DoS attack on their DNS servers with DNS amplification and their web servers with HTTP floods. Traditional firewall rules and IDS are failing to mitigate the attack effectively.

To protect their infrastructure without impacting legitimate users, which advanced mitigation strategy should the firm implement?

A penetration tester is testing a web application’s product search feature, which takes user input and queries the database. The tester suspects the input is not properly sanitized.

What is the best approach to confirm the presence of SQL injection?

During a security assessment, a consultant investigates how the application handles requests from authenticated users. They discover that once a user logs in, the application does not verify the origin of subsequent requests. To exploit this, the consultant creates a web page containing a malicious form that submits a funds transfer request to the application. A logged-in user, believing the page is part of a promotional campaign, fills out the form and submits it. The application processes the request successfully without any reauthentication or user confirmation, completing the transaction under the victim’s session.

Which session hijacking technique is being used in this scenario?

During a security assessment, an attacker identifies a flaw in a multi-user file system. The system first verifies access rights to a temporary file created by a user. However, immediately after this verification, and before the file is processed, the attacker manages to swap the original file with a malicious version. This manipulation happens in the brief interval between the system's access verification and the moment it handles the file, resulting in the malicious file being treated as legitimate.

Which vulnerability is the attacker exploiting?

Lernen