Free EC0-350 Exam Braindumps
Ethical Hacking and Countermeasures Question 20 (page: 76)

Updated On: 10-Feb-2026

Because UDP is a connectionless protocol: (Select 2)

  1. UDP recvfrom() and write() scanning will yield reliable results
  2. It can only be used for Connect scans
  3. It can only be used for SYN scans
  4. There is no guarantee that the UDP packets will arrive at their destination
  5. ICMP port unreachable messages may not be returned successfully

Answer(s): D,E

Explanation:

Neither UDP packets, nor the ICMP errors are guaranteed to arrive, so UDP scanners must also implement retransmission of packets that appear to be lost (nor you will get a bunch of false positives).



Henry is an attacker and wants to gain control of a system and use it to flood a target system with requests, so as to prevent legitimate users from gaining access. What type of attack is Henry using?

  1. Henry is executing commands or viewing data outside the intended target path
  2. Henry is using a denial of service attack which is a valid threat used by an attacker
  3. Henry is taking advantage of an incorrect configuration that leads to access with higher-than-expected privilege
  4. Henry uses poorly designed input validation routines to create or alter commands to gain access to unintended data or execute commands

Answer(s): B

Explanation:

Henry’s intention is to perform a DoS attack against his target, possibly a DDoS attack. He uses systems other than his own to perform the attack in order to cover the tracks back to him and to get more “punch” in the DoS attack if he uses multiple systems.



Consider the following code:
If an attacker can trick a victim user to click a link like this and the web application does not validate input, then the victim’s browser will pop up an alert showing the users current set of cookies. An attacker can do much more damage, including stealing passwords, resetting your home page or redirecting the user to another web site.
What is the countermeasure against XSS scripting?

  1. Create an IP access list and restrict connections based on port number
  2. Replace “<” and “>” characters with ?lt; and ?gt; using server scripts
  3. Disable Javascript in IE and Firefox browsers
  4. Connect to the server using HTTPS protocol instead of HTTP

Answer(s): B

Explanation:

The correct answer contains a string which is an HTML-quoted version of the original script. The quoted versions of these characters will appear as literals in a browser, rather than with their special meaning as HTML tags. This prevents any script from being injected into HTML output, but it also prevents any user-supplied input from being formatted with benign HTML.



Kevin sends an email invite to Chris to visit a forum for security professionals. Chris clicks on the link in the email message and is taken to a web based bulletin board. Unknown to Chris, certain functions are executed on his local system under his privileges, which allow Kevin access to information used on the BBS. However, no executables are downloaded and run on the local system. What would you term this attack?

  1. Phishing
  2. Denial of Service
  3. Cross Site Scripting
  4. Backdoor installation

Answer(s): C

Explanation:

This is a typical Type-1 Cross Site Scripting attack. This kind of cross-site scripting hole is also referred to as a non-persistent or reflected vulnerability, and is by far the most common type. These holes show up when data provided by a web client is used immediately by server-side scripts to generate a page of results for that user. If unvalidated user-supplied data is included in the resulting page without HTML encoding, this will allow client-side code to be injected into the dynamic page. A classic example of this is in site search engines: if one searches for a string which includes some HTML special characters, often the search string will be redisplayed on the result page to indicate what was searched for, or will at least include the search terms in the text box for easier editing. If all occurrences of the search terms are not HTML entity encoded, an XSS hole will result.



Password cracking programs reverse the hashing process to recover passwords.(True/False.

  1. True
  2. False

Answer(s): B

Explanation:

Password cracking programs do not reverse the hashing process. Hashing is a one-way process. What these programs can do is to encrypt words, phrases, and characters using the same encryption process and compare them to the original password. A hashed match reveals the true password.



Viewing page 76 of 153
Viewing questions 376 - 380 out of 878 questions


Post your Comments and Discuss EC-Council EC0-350 exam prep with other Community members:

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