Free EC0-350 Exam Braindumps
Ethical Hacking and Countermeasures Question 8 (page: 36)

Updated On: 10-Feb-2026

How would you prevent session hijacking attacks?

  1. Using biometrics access tokens secures sessions against hijacking
  2. Using non-Internet protocols like http secures sessions against hijacking
  3. Using hardware-based authentication secures sessions against hijacking
  4. Using unpredictable sequence numbers secures sessions against hijacking

Answer(s): D

Explanation:

Protection of a session needs to focus on the unique session identifier because it is the only thing that distinguishes users. If the session ID is compromised, attackers can impersonate other users on the system. The first thing is to ensure that the sequence of identification numbers issued by the session management system is unpredictable; otherwise, it's trivial to hijack another user's session. Having a large number of possible session IDs (meaning that they should be very long) means that there are a lot more permutations for an attacker to try.



What does the following command achieve?
Telnet <IP Address> <Port 80>
HEAD /HTTP/1.0
<Return>
<Return>

  1. This command returns the home page for the IP address specified
  2. This command opens a backdoor Telnet session to the IP address specified
  3. This command returns the banner of the website specified by IP address
  4. This command allows a hacker to determine the sites security
  5. This command is bogus and will accomplish nothing

Answer(s): C

Explanation:

This command is used for banner grabbing. Banner grabbing helps identify the service and version of web server running.



Bryan notices the error on the web page and asks Liza to enter liza' or '1'='1 in the email field. They are greeted with a message "Your login information has been mailed to johndoe@gmail.com". What do you think has occurred?

  1. The web application picked up a record at random
  2. The web application returned the first record it found
  3. The server error has caused the application to malfunction
  4. The web application emailed the administrator about the error

Answer(s): B

Explanation:

The web application sends a query to an SQL database and by giving it the criteria 1=1, which always will be true, it will return the first value it finds.



What are the three phases involved in security testing?

  1. Reconnaissance, Conduct, Report
  2. Reconnaissance, Scanning, Conclusion
  3. Preparation, Conduct, Conclusion
  4. Preparation, Conduct, Billing

Answer(s): C

Explanation:

Preparation phase - A formal contract is executed containing non-disclosure of the client's data and legal protection for the tester. At a minimum, it also lists the IP addresses to be tested and time to test.
Conduct phase - In this phase the penetration test is executed, with the tester looking for potential vulnerabilities.
Conclusion phase - The results of the evaluation are communicated to the pre-defined organizational contact, and corrective action is advised.



You suspect that your Windows machine has been compromised with a Trojan virus. When you run anti-virus software it does not pick of the Trojan. Next you run netstat command to look for open ports and you notice a strange port 6666 open.
What is the next step you would do?

  1. Re-install the operating system.
  2. Re-run anti-virus software.
  3. Install and run Trojan removal software.
  4. Run utility fport and look for the application executable that listens on port 6666.

Answer(s): D

Explanation:

Fport reports all open TCP/IP and UDP ports and maps them to the owning application. This is the same information you would see using the 'netstat -an' command, but it also maps those ports to running processes with the PID, process name and path. Fport can be used to quickly identify unknown open ports and their associated applications.



Viewing page 36 of 153
Viewing questions 176 - 180 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!