1/25
Looks like no tags are added yet.
Definition: Phishing
A type of malware that exploits human behavior by luring users to login and unlawfully keeping their credentials
Types of phishing?
Shoulder surfing
SIM jacking
Malicious CAPTCHA
Cat phishing
Typo squatting
When requesting a website, what are the two main components?
Client and server
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
In a client/server model, what does the server do?
Sends objects to answer the requests
The server is stateless
Definition: Stateless
A program that doesn’t treat packets of data with relation to each other. There is nothing stored in between interactions
Parts of a webpage?
HTTP file as the base
JPEG images
Audio files
Java applets
Definition: Universal Resource Locator
A hyperlink that sends you to a desired webpage (url)
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)
What is used to store information to counter HTTP being stateless?
Cookies!
Definition: Cookies
Packets of information stored on a browser. Usually originally entered by the user
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
Definition: Authentication token
A “secret url” that is used to verify the user that information is coming from
What are cookies and authentication tokens used for?
Authentication of the user for web sessions
Why don’t we use passwords for web user authentication?
Would have to re-enter every time they sent a request in → too tedious
Main cookie attacks?
Eavesdropper → someone intercepts the cookies and takes the sensitive information
Script in browser reveals the stored information
Cross site scripting (XSS)
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
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
Definition: Sanitized data
A method to ensure that requests/data/links come from trusted sources and don’t contain executable code
Definition: Cross Site Scripting
Tricking a user into opening an unauthorized URL
Browser executes the invalid script and any harm that it may entail
Definition: Cross Site Request Forgery (CSRF)
Tricking a computer into thinking its request is legit by using cookies as authorization
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
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
How do you defend against phishing?
Digital signatures and certificates
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
Definition: Digital Signatures
(keysign, keyverify) where the sign key is private and the verify key is public
Uses public key encryption