Free 312-50v13 Exam Braindumps
Certified Ethical Hacker v13 Questions 209–216 (page: 28)

Updated On: 29-Jul-2026

A security analyst is investigating a potential network-level session hijacking incident. During the investigation, the analyst finds that the attacker has been using a technique in which they injected an authentic-looking reset packet using a spoofed source IP address and a guessed acknowledgment number. As a result, the victim's connection was reset.
Which of the following hijacking techniques has the attacker most likely used?

  1. Blind hijacking
  2. UDP hijacking
  3. RST hijacking
  4. TCP/IP hijacking

Answer(s): C

Explanation:

The correct answer is C: RST hijacking, as the attacker injected a reset packet to terminate the victim's session.
RST hijacking occurs when an attacker generates a forged TCP RST (reset) packet aimed at terminating an active TCP connection. In this scenario, the attacker successfully spoofed the source IP and guessed the acknowledgment number, which are critical for enabling the legitimacy of the packet. Given that resetting a session directly maps to sending a RST packet, this aligns with the nature of RST hijacking.
Evaluation of Other Options:

A: Blind hijacking : This technique involves an attacker taking control of a session without having access to its prior communication.
While the attacker in the question used a technique that could have ambiguous elements of blind hijacking, the definitive use of a forged reset packet distinctly categorizes the activity under RST hijacking instead.
B: UDP hijacking : This refers to disrupting communications over the User Datagram Protocol, which inherently lacks connection-oriented features like session establishment and termination signals (e.g., RST). Since the question deals explicitly with TCP connections and reset packets, UDP hijacking is irrelevant.
D: TCP/IP hijacking : This is a broader term that encompasses various forms of session hijacking over TCP/IP, including both RST hijacking and blind hijacking.
While it can involve resetting a session, it does not specifically describe the targeted method used in the scenario provided, where the attacker used specific techniques associated with RST packets.
References:
https://owasp.org/www-community/attacks/Session_Hijacking_Using_Redirect https://www.cybrary.it/course/ethical-hacking-risk-free-online-training-2/ https://www.sans.org/white-papers/149975/


Reference:

References:
https://owasp.org/www-community/attacks/Session_Hijacking_Using_Redirect https://www.cybrary.it/course/ethical-hacking-risk-free-online-training-2/ https://www.sans.org/white-papers/149975/



During a red team engagement, an ethical hacker is tasked with testing the security measures of an organization's wireless network. The hacker needs to select an appropriate tool to carry out a session hijacking attack.
Which of the following tools should the hacker use to effectively perform session hijacking and subsequent security analysis, given that the target wireless network has the Wi-Fi Protected Access-pre-shared key (WPA-PSK) security protocol in place?

  1. Hetty
  2. bettercap
  3. DroidSheep
  4. FaceNiff

Answer(s): B

Explanation:

B is correct because bettercap is a comprehensive tool that effectively supports session hijacking in wireless networks, especially those utilizing WPA-PSK.
Bettercap excels in its ability to perform man-in-the-middle (MitM) attacks, enabling session hijacking through both passive and active interception techniques. It offers extensive capabilities for capturing traffic and manipulating network communications, making it suitable for engagement scenarios like a red team operation. Its user-friendly interface and modular nature allow for intricate network attacks tailored to specific security measures in place.
Evaluation of Other Options:

A: Hetty : While Hetty is a powerful web-based tool for session hijacking, it primarily focuses on HTTP-based applications. Its lack of robust support for wireless network environments makes it less ideal for a red team engagement involving WPA-PSK networks.
C: DroidSheep : This tool is specifically designed for Android devices to hijack sessions over insecure networks. Its limited application scope and dependency on the absence of encryption render it ineffective for structured, ethical hacking engagements in fortified wireless environments.
D: FaceNiff : Similar to DroidSheep, FaceNiff targets unsecured networks and focuses on social media session hijacking. Its effectiveness is diminished against strong protocols like WPA-PSK, which protect against such interception techniques.
In summary, bettercap stands out as the most capable and versatile tool for conducting session hijacking in a WPA-PSK secured environment due to its extensive features and targeted functionalities.
References:
https://github.com/bettercap/bettercap https://www.offensive-security.com/kali-linux-vmware-guest-fix/ https://www.endpointprotector.com/blog/what-is-session-hijacking-and-how-to-prevent-it


Reference:

References:
https://github.com/bettercap/bettercap https://www.offensive-security.com/kali-linux-vmware-guest-fix/ https://www.endpointprotector.com/blog/what-is-session-hijacking-and-how-to-prevent-it



As a certified ethical hacker, you are tasked with gaining information about an enterprise's internal network. You are permitted to test the network's security using enumeration techniques. You successfully obtain a list of usernames using email IDs and execute a DNS Zone Transfer.
Which enumeration technique would be most effective for your next move given that you have identified open TCP ports 25 (SMTP) and 139 (NetBIOS Session Service)?

  1. Perform a brute force attack on Microsoft Active Directory to extract valid usernames
  2. Exploit the NetBIOS Session Service on TCP port 139 to gain unauthorized access to the file system
  3. Use SNMP to extract usernames given the community strings
  4. Exploit the NFS protocol on TCP port 2049 to gain control over a remote system

Answer(s): B

Explanation:

B is correct because exploiting the NetBIOS Session Service on TCP port 139 can grant unauthorized access to shared resources, thus effectively leveraging the already identified usernames.
The efficacy of option B lies in its alignment with the reconnaissance phase of ethical hacking. NetBIOS over TCP/IP can facilitate file and printer sharing, and exploits targeting this service could expose sensitive data or administrative shares. This access may allow an ethical hacker to enumerate additional resources on the network, leading to further insights into the internal structure.
Conversely, option A, performing a brute force attack on Microsoft Active Directory, is less immediately actionable in this scenario. It generally requires a backend service or password reset capabilities, which are not guaranteed given the current context of acquired usernames and port enumeration.
Option C's reliance on SNMP extraction necessitates correct community strings, which are often not available or standardized across different networks. Even if accessible, SNMP primarily provides device status and does not typically yield comprehensive user data.
Option D exploits the NFS protocol on TCP port 2049, which is not part of the current port scan results, thus making it an irrelevant choice. The lack of direct accessibility to this port would further limit the potential for gaining any user-related information.
References: https://www.cisco.com/c/en/us/about/security-center/what-is-an-exploit.html https://www.csoonline.com/article/3338325/what-is-netbios-how-it-works-and-where-it-still-matters.html https://www.tenable.com/cyber-exposure/what-is-snmp


Reference:

References: https://www.cisco.com/c/en/us/about/security-center/what-is-an-exploit.html https://www.csoonline.com/article/3338325/what-is-netbios-how-it-works-and-where-it-still-matters.html https://www.tenable.com/cyber-exposure/what-is-snmp



A large corporate network is being subjected to repeated sniffing attacks. To increase security, the company's IT department decides to implement a combination of several security measures. They permanently add the MAC address of the gateway to the ARP cache, switch to using IPv6 instead of IPv4, implement the use of encrypted sessions such as SSH instead of Telnet, and use Secure File Transfer Protocol instead of FTP. However, they are still faced with the threat of sniffing. Considering the countermeasures, what should be their next step to enhance network security?

  1. Use HTTP instead of HTTPS for protecting usernames and passwords
  2. Implement network scanning and monitoring tools
  3. Enable network identification broadcasts
  4. Retrieve MAC addresses from the OS

Answer(s): B

Explanation:

B is correct because implementing network scanning and monitoring tools allows for real-time detection of suspicious activities and facilitates the identification of potential sniffing attacks.
Justification for B: Network scanning and monitoring tools enhance visibility across the network, enabling the detection of unauthorized access and anomalies that could indicate sniffing attempts. These tools can analyze traffic patterns, alert administrators to unusual behavior, and assist in maintaining a secure network environment. By proactively monitoring network traffic, organizations can respond quickly to potential threats, significantly mitigating the risk of sniffing.
Evaluation of Other Options:

A: Use HTTP instead of HTTPS for protecting usernames and passwords: This option is inherently flawed as HTTP transmits data in plaintext, making credentials vulnerable to interception. HTTPS, with its encryption capabilities, provides necessary security for sensitive data, making this option counterproductive.
C: Enable network identification broadcasts: Network identification broadcasts could inadvertently expose sensitive information to unauthorized users and are not effective in preventing sniffing attacks. They may also contribute to increased traffic on the network, complicating security management.
D: Retrieve MAC addresses from the OS: While knowing MAC addresses can be helpful for network management, it does not contribute to network security against sniffing attacks. This action neither prevents unauthorized access nor addresses the core problem of capturing traffic over the network.
References:
1. https://www.cisecurity.org/white-papers/network-monitoring-best-practices/ 2. https://www.sans.org/white-papers/3522/ 3. https://www.techrepublic.com/article/how-to-protect-your-network-from-sniffers-and-other-illegal-
access/


Reference:

References:
1. https://www.cisecurity.org/white-papers/network-monitoring-best-practices/ 2. https://www.sans.org/white-papers/3522/ 3. https://www.techrepublic.com/article/how-to-protect-your-network-from-sniffers-and-other-illegal-
access/



As the chief security officer at SecureMobile, you are overseeing the development of a mobile banking application. You are aware of the potential risks of man-in-the-middle (MitM) attacks where an attacker might intercept communication between the app and the bank's servers. Recently, you have learned about a technique used by attackers where they use rogue Wi-Fi hotspots to conduct MitM attacks. To prevent this type of attack, you plan to implement a security feature in the mobile app.
What should this feature accomplish?

  1. It should require two-factor authentication for user logins.
  2. It should prevent the app from communicating over a network if it detects a rogue access point.
  3. It should prevent the app from connecting to any unencrypted Wi-Fi networks.
  4. It should require users to change their password every 30 days.

Answer(s): A

Explanation:

A is correct because requiring two-factor authentication (2FA) strengthens account security and reduces the risk of unauthorized access, even in the event of MitM attacks.
Implementing 2FA ensures that a user must provide an additional verification method beyond just their password, such as a time-sensitive code sent to a mobile device. This step significantly enhances security because even if an attacker intercepts login credentials via a MitM attack, they would also need access to the second factor, which is typically something only the legitimate user possesses. This layered security approach is crucial in mobile banking, where sensitive financial information is involved, and it effectively mitigates risks associated with MitM techniques.
Evaluation of Incorrect Options:
B: It should prevent the app from communicating over a network if it detects a rogue access point.
While detecting rogue access points can limit exposure to MitM attacks, no detection method is foolproof; an attacker can employ sophisticated techniques to mask their rogue setups. Thus, implementing this measure alone may provide a false sense of security and is not comprehensive enough for user authentication.
C: It should prevent the app from connecting to any unencrypted Wi-Fi networks. Although this could mitigate some risk, many public networks may still be essential for user operations. Users are likely to connect to these networks despite the risks, thus making this option impractical and potentially hindering usability without fundamentally securing user access.
D: It should require users to change their password every 30 days. Mandating password changes can be an inconvenience and does not address the root of the security issue in the case of MitM attacks, where interception during a session remains a significant threat. Password expiration policies are often criticized for leading to weaker passwords and can create undue burden on users.
References:
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7037221/ https://www.csoonline.com/article/3062502/rogue-access-points-what-you-need-to-know.html https://www.us-cert.cisa.gov/ncas/current-activity/2015/01/22/rogue-access-points-and-man-middle-attacks


Reference:

References:
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7037221/ https://www.csoonline.com/article/3062502/rogue-access-points-what-you-need-to-know.html https://www.us-cert.cisa.gov/ncas/current-activity/2015/01/22/rogue-access-points-and-man-middle-attacks



A cyber attacker has initiated a series of activities against a high-profile organization following the Cyber Kill Chain Methodology. The attacker is presently in the "Delivery" stage. As an Ethical Hacker, you are trying to anticipate the adversary's next move.
What is the most probable subsequent action from the attacker based on the Cyber Kill Chain Methodology?

  1. The attacker will attempt to escalate privileges to gain complete control of the compromised system.
  2. The attacker will exploit the malicious payload delivered to the target organization and establish a foothold.
  3. The attacker will initiate an active connection to the target system to gather more data.
  4. The attacker will start reconnaissance to gather as much information as possible about the target.

Answer(s): B

Explanation:

B is correct because, in the "Delivery" stage, the attacker successfully transmits a malicious payload to the target system, positioning themselves to exploit it for initial access.
Justification for the Correct Answer
The Cyber Kill Chain Methodology delineates attack phases, with "Delivery" being the stage where the attacker transmits the payload (e.g., phishing emails or malicious links). Following delivery, the next logical step is to exploit this payload, enabling the attacker to establish a foothold within the target environment. This foothold allows for further actions, such as lateral movement or data exfiltration, which are critical for realizing the attacker's objectives.
Critical Evaluation of Incorrect Options

A: Escalate privileges to gain complete control: This is a subsequent action that occurs after an initial foothold has been established. Until the attacker exploits the delivered payload and compromises the system, privilege escalation is not possible, making this option incorrectly sequenced.
C: Initiate an active connection to gather more data: While gathering intelligence is a crucial step, it typically occurs post-exploit. The attacker needs to have compromised the system to establish an active connection for meaningful data gathering. Thus, it does not directly follow the "Delivery" stage.
D: Start reconnaissance to gather information: Reconnaissance is a precursor to the "Delivery" phase; it involves collecting information about the target organization to craft an effective attack. This stage has already occurred and does not follow "Delivery," rendering this option irrelevant in this context.


Reference:

https://www.lockheedmartin.com/en-us/capabilities/cyber/cyber-kill-chain.html https://www.cyber.gov.au/acsc/view-all-content/publications/understanding-cyber-kill-chain https://www.sans.org/blog/understanding-the-cyber-kill-chain-5-stages-of-a-hack/



You are a cloud security expert at CloudGuard Inc. working with a client who plans to transition their infrastructure to a public cloud. The client expresses concern about potential data breaches and wants to ensure that only authorized personnel can access certain sensitive resources. You propose implementing a Zero Trust security model.
Which of the following best describes how the Zero Trust model would enhance the security of their cloud resources?

  1. It operates on the principle of least privilege, verifying each request as if it is from an untrusted source, regardless of its location.
  2. It encrypts all data stored in the cloud, ensuring only authorized users can decrypt it.
  3. It uses multi-factor authentication for all user accounts.
  4. It ensures secure data transmission by implementing SSL/TLS protocols.

Answer(s): A

Explanation:

A is correct because the Zero Trust model fundamentally operates on the principle of least privilege, treating every request, irrespective of its source or trust level, as potentially untrusted.
The Zero Trust security model enhances the security posture of cloud resources through continuous identity verification, minimal access rights, and rigorous monitoring of user activity. This approach ensures that every request for access to sensitive data is scrutinized, requiring validation before authorization, which significantly mitigates the risk of data breaches stemming from compromised credentials or insider threats.
Evaluation of Incorrect Options:
B: While encrypting data is an essential component of securing cloud resources, it does not, by itself, embody the core tenets of Zero Trust. Encryption protects data at rest and in transit but does not address continuous verification of identities or the need for contextual security measures.
C: Multi-factor authentication (MFA) is a significant security measure but is merely one component of a Zero Trust framework. It does not encompass the ongoing verification aspect that is central to Zero Trust principles, which assess all users and devices continuously rather than at a single point of access.
D: Implementing SSL/TLS protocols ensures secure data transmission but focuses on protecting data in transit rather than establishing the robust, identity-centric perimeter management that Zero Trust entails. SSL/TLS is a transport layer security measure but does not address the need for granular access control and constant verification of user identity.
In summary, while the other options present valuable security measures, they do not comprehensively address the core principles of continuous authentication and least privilege that frame the Zero Trust model.
References:
https://www.csoonline.com/article/3549595/what-is-zero-trust-security.html https://www.microsoft.com/en-us/security/business/zero-trust https://www.cloudflare.com/learning/security/glossary/zero-trust-security/


Reference:

References:
https://www.csoonline.com/article/3549595/what-is-zero-trust-security.html https://www.microsoft.com/en-us/security/business/zero-trust https://www.cloudflare.com/learning/security/glossary/zero-trust-security/



Your company, Encryptor Corp, is developing a new application that will handle highly sensitive user information. As a cybersecurity specialist, you want to ensure this data is securely stored. The development team proposes a method where data is hashed and then encrypted before storage. However, you want an added layer of security to verify the integrity of the data upon retrieval.
Which of the following cryptographic concepts should you propose to the team?

  1. Switch to elliptic curve cryptography.
  2. Implement a block cipher mode of operation.
  3. Apply a digital signature mechanism.
  4. Suggest using salt with hashing.

Answer(s): C

Explanation:

The correct answer is C: Apply a digital signature mechanism.
Digital signatures provide a robust method for ensuring both the integrity and authenticity of stored data.
When data is hashed and then encrypted, a digital signature can be generated using the hash value along with a private key. Upon retrieval, the signature can be verified using the corresponding public key, confirming that the data has not been altered and comes from a legitimate source. This two-pronged approach not only protects against unauthorized modifications but also affirms data authenticity, which is particularly crucial for highly sensitive user information.
Evaluation of Other Options:

A: Switch to elliptic curve cryptography : While elliptic curve cryptography (ECC) enhances encryption security with smaller key sizes, it does not inherently provide data integrity validation upon retrieval. It is primarily focused on the encryption process rather than the integrity-check mechanism necessary in this context.
B: Implement a block cipher mode of operation : Although block cipher modes (like CBC or GCM) enhance the security of the encryption process through methods such as chaining or combining encryption with integrity checks, they do not independently verify the original integrity of data. They are more suited for ensuring secure data transmission than for confirming data integrity after storage.
D: Suggest using salt with hashing : While salting enhances hash security against rainbow table attacks by adding randomness, it is not effective for ensuring data integrity during retrieval. Salting primarily focuses on protecting hashed passwords rather than providing a method to verify the unchanged nature of sensitive data.
For a comprehensive understanding of these cryptographic methods and their applications in data integrity, the following references are recommended:
https://csrc.nist.gov/publications/detail/sp/800-106/final https://www.owasp.org/index.php/Hashing_101 https://www.cryptography.io/faq/what-is-a-digital-signature/



Viewing page 28 of 133
Viewing questions 217 - 224 out of 1436 questions


Post your Comments and Discuss EC-Council 312-50v13 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!