XXS & XSRF Flashcards

1
Q

What is XXS?

A

Cross-Site Scripting

Injects a malicious script into a trusted site to compromise the sites visitors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the first step of a XXS attack?

A

the attacker identifies an input validation vulnerability within a trusted website

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the second step of a XXS attack?

A

the attacker crafts a URL to perform the code injection against that trusted website

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the third step of a XXS attack?

A

the trusted site will return a page containing the malicious code injected,

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the fourth step of a XXS attack?

A

Malicious code runs in the clients browser with permission level as the trusted site

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a Non-Persistent XXS?

A

This type of attack only occurs when its launched because your clicking the link and it happens once

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a Persistent XXS?

A

allows an attacker to insert code into the backend database used by that trusted website

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a DOM XXS?

A

Document Object Model

exploit the client’s web browser using client-side scripts to modify the content and layout of the webpage.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

For the exam, anytime your looking at a log snippet or captured URLs that have the script or any kind of Javascript inside of them, its most likely a what?

A

XXS Attack

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

For the exam, if you see something with document dot something in it, like document dot or document dot right, this should tell you what?

A

DOM-based cross-site scripting attack

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is Session Management?

A

Enables web applications to uniquely identify a user across several different actions and requests

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a Cookie?

A

Text file used to store information about a user when they visit a website

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a Non-Persistent Cookie?

A

Known as a session cookie, which resides in memory and is used for a very short period of time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a Persistent Cookie?

A

stored in the browser cache, until they’re either deleted by a user or they expire

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is Session Hijacking?

A

type of spoofing attack where the attacker disconnects a host and then replaces it with his or her own machine by spoofing the original host IP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is Session Prediction?

A

type of spoofing attack where the attacker attempts to predict the session token in order to hijack your session.

17
Q

What is XSRF?

A

Cross-Site Request Forgery

Malicious script is used to exploit a session started on another site within the same web browser

18
Q

For the exam, remember, that if somebody is trying to get a victim to unintentionally carry out an action on a website this is normally going to be what?

A

XSRF

Cross-Site Request Forgery