wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CEH M11 Session Hijacking

Total questions: 6

Worksheet time: 3mins

Name
Class
Date
1.

Which of the following is a type of session hijacking attack that targets the session token during communication between the client and the server?

a)

Session Fixation

b)

Man-in-the-Middle (MITM) Attack

c)

Cross-Site Request Forgery (CSRF)

d)

Phishing

2.

What is Session Fixation in the context of session hijacking?

a)

The attacker steals the session ID and uses it to gain unauthorized access to the victim's account

b)

The attacker forces the victim to use a known session ID before login

c)

The attacker intercepts communication to modify the session data

d)

The attacker initiates a brute force attack to guess the session ID

3.

Which of the following is a recommended countermeasure to prevent session hijacking attacks on a web application?

a)

Use of SSL/TLS encryption for all communications

b)

Allowing session IDs to be embedded in the URL for easier tracking

c)

Only storing session IDs in the browser's cookies without secure flags

d)

Disabling all security features in the browser

4.

In session hijacking, which attack involves injecting a malicious script into a website in order to steal a victim's session cookie?

a)

SQL Injection

b)

Cross-Site Scripting (XSS)

c)

DNS Spoofing

d)

Distributed Denial-of-Service (DDoS) Attack

5.

Which of the following forces the victim to use a known session ID before login?

a)

Session Fixation

b)

Man-in-the-Middle (MITM) Attack

c)

Cross-Site Request Forgery (CSRF)

d)

Phishing

6.

What is the purpose of using Secure Cookies and the HttpOnly flag as countermeasures against session hijacking?

a)

To make the session cookie less vulnerable to cross-site scripting (XSS) attacks

b)

To prevent the server from storing any sensitive data

c)

To allow session cookies to be transmitted in an unencrypted manner

d)

To automatically regenerate session IDs after each request