Phishing and Web Security

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/25

encourage image

There's no tags or description

Looks like no tags are added yet.

26 Terms

1
New cards

Definition: Phishing

A type of malware that exploits human behavior by luring users to login and unlawfully keeping their credentials

2
New cards

Types of phishing?

  • Shoulder surfing

  • SIM jacking

  • Malicious CAPTCHA

  • Cat phishing

  • Typo squatting


3
New cards

When requesting a website, what are the two main components?

Client and server

4
New cards

In a client/server model, what does the client do?

The client is the browser that receives the request and shows the desired objects

Contains get request

Can be a device or a program

5
New cards

In a client/server model, what does the server do?

Sends objects to answer the requests

The server is stateless

6
New cards

Definition: Stateless

A program that doesn’t treat packets of data with relation to each other. There is nothing stored in between interactions

7
New cards

Parts of a webpage?

  • HTTP file as the base

  • JPEG images

  • Audio files

  • Java applets


8
New cards

Definition: Universal Resource Locator

A hyperlink that sends you to a desired webpage (url)

9
New cards

Definition: Hyper Text Markup Language (HTML)

Language used to add text to a webpage

  • Contains texts and tags

  • Texts → text documents in UTF-8

  • Tags → formatting instructions (bold, title, underline, etc)


10
New cards

What is used to store information to counter HTTP being stateless?

Cookies!

11
New cards

Definition: Cookies

Packets of information stored on a browser. Usually originally entered by the user

12
New cards

What are the main cookie parameters/attributes?

  • Max-age/expiration → the info is no longer stored after a certain time frame

  • Domain → determines where cookies can be sent

  • Secure → cookies can only be sent via HTTP

  • SameSite → cookies can only be sent to the same site it originates from


13
New cards

Definition: Authentication token

A “secret url” that is used to verify the user that information is coming from

14
New cards

What are cookies and authentication tokens used for?

Authentication of the user for web sessions

15
New cards

Why don’t we use passwords for web user authentication?

Would have to re-enter every time they sent a request in → too tedious

16
New cards

Main cookie attacks?

  • Eavesdropper → someone intercepts the cookies and takes the sensitive information

  • Script in browser reveals the stored information

  • Cross site scripting (XSS)


17
New cards

Defenses against the most common cookie attacks?

  • Eavesdropping → Secure cookie attribute

  • Script in browser → Same Origin Policy

  • XSS → sanitized data and using specific cookie attributes to control where data is being sent


18
New cards

What is Same Origin Policy (SOP)?

Requiring a script and HTTP to be from the same origin as the cookie that it is requesting access to

19
New cards

Definition: Sanitized data

A method to ensure that requests/data/links come from trusted sources and don’t contain executable code

20
New cards

Definition: Cross Site Scripting

Tricking a user into opening an unauthorized URL

Browser executes the invalid script and any harm that it may entail

21
New cards

Definition: Cross Site Request Forgery (CSRF)

Tricking a computer into thinking its request is legit by using cookies as authorization

22
New cards

Defense against CSRF?

CSRF token → another means of authentication

  • in the HTML but doesn’t render on site (is invisible)

  • Is a unique, shared value with the client


23
New cards

How is phishing carried out?

  • Fake urgent warnings and popups

  • A lack of user understanding of domain names and IP addresses

  • Lack of updates or downloading fake updates


24
New cards

How do you defend against phishing?

Digital signatures and certificates

25
New cards

Definition: Certificates

A verification of websites to prevent phishing

  • Contains owner → keyverify → who verified THAT certificate

  • Origin = Certificate Authority (CA)

  • Built like a tree of verification

  • Can be rescinded at any point


26
New cards

Definition: Digital Signatures

(keysign, keyverify) where the sign key is private and the verify key is public

Uses public key encryption