Free 312-50v13 Exam Braindumps
Certified Ethical Hacker v13 Questions 281–288 (page: 37)

Updated On: 29-Jul-2026

What useful information is gathered during a successful Simple Mail Transfer Protocol (SMTP) enumeration?

  1. A list of all mail proxy server addresses used by the targeted host.
  2. The internal command RCPT provides a list of ports open to message traffic.
  3. The two internal commands VRFY and EXPN provide a confirmation of valid users, email addresses, aliases, and mailing lists.
  4. Reveals the daily outgoing message limits before mailboxes are locked.

Answer(s): C

Explanation:

C is correct because the VRFY and EXPN commands effectively confirm valid users and provide insight into email aliases and distribution lists, which directly aids in an attacker's reconnaissance phase.
Reasoning: Understanding SMTP enumeration is crucial for identifying potential targets within an organization. The commands VRFY and EXPN allow a tester to validate email addresses and gather information on user aliases and mailing lists. This information is instrumental in forming a more comprehensive attack, as it assists in social engineering tactics and phishing campaigns, enhancing the overall understanding of the organizational email structure.
Evaluation of Incorrect Options:

A: A list of all mail proxy server addresses used by the targeted host. This option is incorrect because SMTP enumeration does not typically yield a comprehensive list of proxy servers. The enumeration focuses on user-related data rather than infrastructure details.
B: The internal command RCPT provides a list of ports open to message traffic. This is inaccurate as the RCPT command is used to specify a recipient in the email transmission process, not to enumerate network ports. SMTP does not provide direct insights into port configurations through this command.
D: Reveals the daily outgoing message limits before mailboxes are locked. This option is misleading as SMTP enumeration focuses on user identification rather than operational limits imposed on mailboxes. Such limits are typically not exposed through standard SMTP commands but are part of mail server configurations and policies.
References:
https://www.csoonline.com/article/2137350/the-importance-of-reconnaissance-in-penetration-testing.html https://www.sans.org/white-papers/36812/ https://www.owasp.org/index.php/SMTP_Manipulation_and_Exploitation


Reference:

References:
https://www.csoonline.com/article/2137350/the-importance-of-reconnaissance-in-penetration-testing.html https://www.sans.org/white-papers/36812/ https://www.owasp.org/index.php/SMTP_Manipulation_and_Exploitation



When considering how an attacker may exploit a web server, what is web server footprinting?

  1. When an attacker creates a complete profile of the site's external links and file structures
  2. When an attacker uses a brute-force attack to crack a web-server password
  3. When an attacker implements a vulnerability scanner to identity weaknesses
  4. When an attacker gathers system-level data, including account details and server names

Answer(s): A

Explanation:

A is correct because web server footprinting involves creating a comprehensive profile of a website's external structures, links, and resources.
Footprinting is a preliminary reconnaissance activity in cybersecurity, typifying the scope of vulnerabilities and attack surfaces available to an adversary. It allows attackers to map out a web server's architecture and identify potential entry points or weaknesses that may be exploited. This proactive information-gathering stage is crucial in the cyber-attack lifecycle, establishing a basis for further exploitation or penetration testing methodologies.
Evaluation of Options:
B: When an attacker uses a brute-force attack to crack a web-server password. This option mischaracterizes footprinting as it focuses solely on a specific method of compromising credentials. Brute-force attacks are reactive rather than proactive, as they are executed after the attacker has already obtained some level of access or information.
C: When an attacker implements a vulnerability scanner to identify weaknesses.
While scanning for vulnerabilities is an essential part of security assessments, it generally follows the groundwork laid during footprinting. Vulnerability scanning involves automated tools assessing known vulnerabilities rather than the initial mapping of a web server's structure and related linkages.
D: When an attacker gathers system-level data, including account details and server names. Although gathering system-level data can be an aspect of a broader information-gathering strategy, it typically requires direct interaction with the server or additional information retrieval techniques. Effective footprinting primarily focuses on delineating the external surfaces of a web server, without necessitating deeper access to system internals at this stage.
For a detailed exploration of these concepts, refer to the following sources:
https://www.csoonline.com/article/3257788/what-is-footprinting-in-cybersecurity.html https://www.infosecinstitute.com/careers/what-is-footprinting-cybersecurity/ https://owasp.org/www-community/Attacks/Fingerprinting
This consolidation of understanding underscores the necessity of accurate footprinting as foundational to subsequent cybersecurity strategies.



An attacker identified that a user and an access point are both compatible with WPA2 and WPA3 encryption. The attacker installed a rogue access point with only WPA2 compatibility in the vicinity and forced the victim to go through the WPA2 four-way handshake to get connected. After the connection was established, the attacker used automated tools to crack WPA2-encrypted messages.
What is the attack performed in the above scenario?

  1. Cache-based attack
  2. Timing-based attack
  3. Downgrade security attack
  4. Side-channel attack

Answer(s): C

Explanation:

C is correct because the attacker exploited a vulnerability in the WPA2/WPA3 transition by forcing the victim to connect to a weaker security protocol, thereby downgrading the security of the communication.
Reasoning
The downgrading of security exploits the compatibility between WPA2 and WPA3, compelling the victim to connect with only WPA2 by presenting a rogue access point. This attack is feasible because many devices, when faced with multiple available connections, may choose a weaker encryption standard for convenience or compatibility purposes. Once connected, the attacker can capture the four-way handshake and utilize automated tools to crack the WPA2 protocol's authentication mechanism. This scenario exemplifies the principle of least privilege and the security fallacy of connecting to unverified networks.
Evaluation of Other Options

A: Cache-based attack : This kind of attack typically involves exploiting cached credentials on a compromised system, focusing on access manipulation in specific applications rather than network downgrades. In this scenario, the victim's credentials are not manipulated from a device cache but rather through network manipulation.
B: Timing-based attack : Such attacks generally pertain to measuring time delays in responding to requests to infer data or operations, typically within a cryptographic context. This scenario does not involve measurable response delays but instead centers around network connectivity and encryption standards.
D: Side-channel attack : This method gathers leakages from physical implementations, such as electromagnetic emissions, power consumption, or timing variations to escape cryptographic protections. The scenario described focuses on protocol exploitation and is not contingent on side-channel information leakage.


Reference:

https://www.nist.gov/publications/wifi-security-explained https://www.us-cert.cisa.gov/ncas/alerts/2021/a084 https://www.sei.cmu.edu/news/2020/best-practices-wpa3-vs-wpa2.cfm



James is working as an ethical hacker at Technix Solutions. The management ordered James to discover how vulnerable its network is towards footprinting attacks. James took the help of an open-source framework for performing automated reconnaissance activities. This framework helped James in gathering information using free tools and resources.
What is the framework used by James to conduct footprinting and reconnaissance activities?

  1. OSINT framework
  2. WebSploit Framework
  3. Browser Exploitation Framework
  4. SpeedPhish Framework

Answer(s): A

Explanation:

The correct answer is A. OSINT Framework.
The OSINT (Open Source Intelligence) framework facilitates automated reconnaissance by organizing publicly available resources, tools, and techniques, making it suitable for footprinting attacks. It systematically aggregates free tools, ensuring users can efficiently gather valuable data about potential targets. This method aligns with ethical hacking principles as it emphasizes utilizing permissible information for security assessments without engaging in unlawful activities.
Evaluation of Options:
B: WebSploit Framework: This framework primarily focuses on penetration testing and exploitation rather than reconnaissance. Its tools are designed to exploit vulnerabilities rather than gather information passively, which is essential during the initial phases of ethical hacking.
C: Browser Exploitation Framework: The Browser Exploitation Framework (BeEF) targets web browsers for exploitation.
While it can provide data on the security of browsers and client-side configurations, it does not specialize in the type of broad-ranging reconnaissance activities required for footprinting.
D: SpeedPhish Framework: SpeedPhish is designed for creating phishing campaigns and lacks a comprehensive suite for gathering information systematically. It focuses more on socially engineered attacks rather than overall footprinting.
In summary, the OSINT framework is dedicated to harnessing and organizing open-source data for reconnaissance, making it the most appropriate choice for James's objective.
References:
https://osintframework.com https://www.vulnhub.com https://www.kali.org/docs/tools/kali-linux-tools/


Reference:

References:
https://osintframework.com https://www.vulnhub.com https://www.kali.org/docs/tools/kali-linux-tools/



What would be the purpose of running "wget 192.168.0.15 -q -S" against a web server?

  1. Performing content enumeration on the web server to discover hidden folders
  2. Using wget to perform banner grabbing on the webserver
  3. Flooding the web server with requests to perform a DoS attack
  4. Downloading all the contents of the web page locally for further examination

Answer(s): B

Explanation:

B is correct because using "wget" with the specified parameters enables banner grabbing, allowing identification of the web server and its version.
Reasoning: The command wget 192.168.0.15 -q -S performs a silent (-q) HTTP request to the specified IP
address and provides server response headers (-S). This response may include crucial metadata such as the server type and version, essential for vulnerability assessment and understanding the server’s capabilities. As such, this technique serves to glean information about server configurations and potential exploit vectors.
Critical Evaluation of Other Options:

A: Performing content enumeration on the web server to discover hidden folders: While content enumeration typically involves specific tools or techniques to list directories and files, wget without additional flags or parameters is primarily designed for downloading files or pages, not for sophisticated enumeration tasks. This command does not actively probe directories, which makes it ineffective for this purpose.
C: Flooding the web server with requests to perform a DoS attack: The command provided is not suitable for a Denial of Service attack. DoS attacks generally involve sending a large volume of requests continuously, which wget is not designed to do in this instance. The parameters specified do not generate repeated requests but merely fetch a single response.
D: Downloading all the contents of the web page locally for further examination: Although wget can indeed download content, the command used only makes a single request for the specified
IP without recursive options or parameters indicating a download of all content. Therefore, it neither implies nor performs a comprehensive download of the web server’s content.
References:
https://www.gnu.org/software/wget/manual/wget.html https://www.veracode.com/security/wget https://www.cylance.com/en_us/solutions/endpoint-security.html


Reference:

References:
https://www.gnu.org/software/wget/manual/wget.html https://www.veracode.com/security/wget https://www.cylance.com/en_us/solutions/endpoint-security.html



Harris is attempting to identify the OS running on his target machine. He inspected the initial TTL in the IP header and the related TCP window size and obtained the following results: TTL: 64 -Window Size: 5840 -What the OS running on the target machine?

  1. Windows OS
  2. Mac OS
  3. Linux OS
  4. Solaris OS

Answer(s): C

Explanation:

C is correct because the initial TTL value of 64 and the TCP window size of 5840 are characteristic of a Linux OS configuration.
The Time to Live (TTL) in an IP header indicates the maximum time a packet can exist in the network before being discarded. A TTL of 64 is commonly associated with many Linux distributions, reflecting standard defaults in the kernel. In contrast, Windows typically utilizes a TTL of 128, whereas Mac OS generally adopts lower values like 60 or 64 depending on the version. The TCP window size of 5840 bytes suggests support for larger data transfers, which aligns with Linux's capability for advanced networking performance, particularly within certain kernel configurations that optimize for high throughput.
Critically, option A, Windows OS, is incorrect due to its characteristic higher TTL of 128. The smaller window size frequently associated with older Windows versions can also be a differentiating factor. Option B, Mac OS, is unlikely given the common TTL of 60, which does not match the observation. Lastly, option D, Solaris OS, typically employs different defaults, and networking behavior distinct from Linux, particularly in terms of window sizing and TTL that vary significantly under different conditions.
Ultimately, the combination of TTL and window size strongly indicates a Linux OS, aligning with the characteristics expected in network behavior analysis based on these metrics.


Reference:

https://www.cynic.me/2015/10/10/tcp-window-sizes-explained/ " target="_blank"> https://www.cynic.me/2015/10/10/tcp-window-sizes-explained/ https://www.cio.com/article/285349/what-is-the-ttl-value-and-how-to-use-it.html " target="_blank"> https://www.cio.com/article/285349/what-is-the-ttl-value-and-how-to-use-it.html https://www.networkworld.com/article/2871101/understanding-the-maximum-tcp-segment-size.html
" target="_blank"> https://www.networkworld.com/article/2871101/understanding-the-maximum-tcp-segment-size.html



Calvin, a software developer, uses a feature that helps him auto-generate the content of a web page without manual involvement and is integrated with SSI directives. This leads to a vulnerability in the developed web application as this feature accepts remote user inputs and uses them on the page. Hackers can exploit this feature and pass malicious SSI directives as input values to perform malicious activities such as modifying and erasing server files.
What is the type of injection attack Calvin's web application is susceptible to?

  1. CRLF injection
  2. Server-side template injection
  3. Server-side JS injection
  4. Server-side includes injection

Answer(s): D

Explanation:

D is correct because the application is vulnerable to server-side includes (SSI) injection, wherein malicious SSI directives can be injected through user input, leading to potentially harmful operations on the server.
In a web application utilizing SSI, user inputs that are not properly sanitized can become part of the server's directive processing. This allows attackers to execute commands that could, for instance, read sensitive files or manipulate server content. The main vulnerability arises from the integration of SSI directives directly into the application, permitting execution of unintended commands based on user input.
Evaluation of Other Options:

A: CRLF Injection : This attack involves injecting Carriage Return (CR) and Line Feed (LF) characters into HTTP headers, which can lead to HTTP response splitting and header manipulation. However, this scenario explicitly revolves around SSI directives, not HTTP header manipulation.
B: Server-side Template Injection : This type of injection occurs within server-side templating languages where an attacker can manipulate templates to execute arbitrary code.
While analogous, the scenario specifically highlights SSI and not templating vulnerabilities.
C: Server-side JS Injection : This involves injecting malicious JavaScript into server-side code executed by the server, affecting the execution context. It does not apply here, as the vulnerability primarily relates to SSI processing, rather than JavaScript context management.
In conclusion, the specific vulnerability to SSI directives aligns directly with option D, while the other options involve distinct types of injections unrelated to the context given.
References:
https://owasp.org/www-community/attacks/Server_Side_Injection_Attacks https://portswigger.net/web-security/server-side-injection https://csoonline.com/article/3445249/a-guide-to-server-side-include-injection-security.html


Reference:

References:
https://owasp.org/www-community/attacks/Server_Side_Injection_Attacks https://portswigger.net/web-security/server-side-injection https://csoonline.com/article/3445249/a-guide-to-server-side-include-injection-security.html



Jack, a professional hacker, targets an organization and performs vulnerability scanning on the target web server to identify any possible weaknesses, vulnerabilities, and misconfigurations. In this process, Jack uses an automated tool that eases his work and performs vulnerability scanning to find hosts, services, and other vulnerabilities in the target server.
Which of the following tools is used by Jack to perform vulnerability scanning?

  1. Infoga
  2. NCollector Studio
  3. Netsparker
  4. WebCopier Pro

Answer(s): C

Explanation:

The correct answer is C. Netsparker, as it is an automated vulnerability scanning tool specifically designed to identify weaknesses in web applications.
Netsparker is a robust solution that streamlines the vulnerability assessment process through automated scanning, capable of detecting various application vulnerabilities, including SQL injection, XSS, and misconfigurations. Its ability to conduct comprehensive scans, identify potential threats, and generate detailed reports makes it exceptionally suited for professional penetration testers like Jack.
Evaluation of Alternatives:

A: Infoga
Infoga is primarily an information gathering tool focused on collecting emails and other metadata from various public sources.
While it assists in reconnaissance, it does not perform vulnerability scanning or assessment of web applications.
B: NCollector Studio
NCollector Studio is a web scraping tool that aids in content extraction rather than vulnerability assessment. It can collect data from websites but lacks the features required for identifying security vulnerabilities.
D: WebCopier Pro
WebCopier Pro is a site downloader and archiving tool.
While it can download website content, it does not have the capabilities to perform vulnerability assessments on web applications like a dedicated scanning tool would. Conclusion
Netsparker stands out among the options as it specifically targets web application vulnerabilities with a comprehensive and automated approach, making it the tool of choice for a professional hacker like Jack.


Reference:

https://www.netsparker.com https://www.infosecinstitute.com https://www.cybrary.it



Viewing page 37 of 133
Viewing questions 289 - 296 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!