Prepare for the Ethical Hacking Essentials Test. Study with flashcards and multiple-choice questions, each exam includes hints and explanations. Get ready to ace your certification exam!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Which practice is NOT considered a safeguard against session hijacking?

  1. Enable compression mechanisms of HTTP requests

  2. Use SSL/TLS encryption

  3. Implement strong authentication methods

  4. Rotate session keys frequently

The correct answer is: Enable compression mechanisms of HTTP requests

Enabling compression mechanisms of HTTP requests does not provide protection against session hijacking. Session hijacking typically involves an attacker taking control of a user's session by stealing or predicting the session ID. Safeguards against this threat focus on securing the session and ensuring that unauthorized access is not possible. Using SSL/TLS encryption is a critical measure as it encrypts the data transmitted between the client and server, making it difficult for an attacker to intercept and read the session ID. Implementing strong authentication methods ensures that only authorized users can access sensitive areas, thereby reducing the likelihood of attackers successfully hijacking sessions. Rotating session keys frequently helps to limit the lifespan of a session identifier, making it more difficult for attackers to exploit a hijacked session. In contrast, while enabling HTTP request compression may improve the performance of data transmission, it does not directly address the security vulnerabilities associated with session management, particularly in the context of hijacking. Therefore, this practice does not function as a safeguard against session hijacking.