Flashcards CS final exam review 7-10

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

1/48

encourage image

There's no tags or description

Looks like no tags are added yet.

49 Terms

1
New cards

Steps to create a TCP connection

1. Create a socket: SOCK_STREAM or SOCK_DGRAM

2. Bind to a port number

3. Listen for connections

4. Accept connection requests

5. Send and receive data

2
New cards

3 way handshake

SYN, SYN/ACK, ACK

3
New cards

SYN flooding attack

An attacker fills a server queue by sending an overwhelming amount of false requests that never complete the handshake, leaving half-open connections.

4
New cards

SYN cookies

Defense against a SYN flooding attack. The server does not store requests at all; instead, it hashes the data and sends it back to the client as the sequence number. If legitimate, the client sends the hash back, and the server can derive the information.

5
New cards

Categories of resources that can be attacked during a DoS

Network bandwidth

System resources

Application resources

6
New cards

Types of flooding attacks

ICMP flooding

UDP flooding

TCP SYN flooding

7
New cards

Distributed DoS

A DoS attack using multiple computers

8
New cards

Reflection attacks

A type of attack that uses an intermediary service to send requests to a victim using a spoofed ID.

9
New cards

DNS amplification

Attack which relies on the large amount of DNS information that is sent in response to a spoofed query on behalf of the victimized server

10
New cards

Smurf IP attack

Attacker creates a ping request with the victim's IP address, then sends it to all devices in the victim's network

11
New cards

How to Defend Against DoS Attacks

Configure a firewall

Disallow traffic originating from outside networks

12
New cards

SQL injection

An attack that targets SQL servers by injecting commands to be manipulated by the database.

13
New cards

Cross-Site Scripting (XSS)

An attack that injects scripts into a Web application server to direct attacks at clients.

14
New cards

Cryptojacking

where hackers secretly use the computing power of a user in order to mine cryptocurrency.

15
New cards

How to prevent cryptojacking

Use VPN to encrypt connections

Train to guard against social engineering

16
New cards

Trojan horse

Program that appears benign but actually installs malware into a system

17
New cards

Buffer overflow attack

An attacker puts more data in the buffer than intended, which can lead to overwritten memory or unexpected behavior.

18
New cards

Chernobyl virus

Infects executable files and corrupts the entire file system when a trigger date is reached.

19
New cards

Klez Worm

spreads by e-mailing copies of itself to addresses found in the address book and in files on the system

20
New cards

Keyloggers

software that tracks or logs the keys struck on your keyboard, typically in a covert manner so that you don't know that your actions are being monitored.

21
New cards

Spyware

software that enables a user to obtain covert information about another's computer activities by transmitting data covertly from their hard drive.

22
New cards

Prevention

Ideal solution to threat of malware.

4 components:

1. Policy

2. Awareness

3. Vulnerability mitigation

4. Threat mitigation

23
New cards

Antivirus

Detects virus in 2 ways

1. Scans for known signatures

2. Watches behavior of executables

24
New cards

Root kits

viruses and malware that disguise themselves as needed files, hard to remove and virus checkers cannot find them

25
New cards

Active scanning

More reliable but may be detected.

Port scanning: attempts to connect to each port on the computer to see which are open

26
New cards

Vulnerability assessment

Checking a system to see if it is vulnerable to specific attacks

27
New cards

Enumeration

Finding what is on a system

28
New cards

Dark web

Area of the internet that is only accessible via onion route

29
New cards

Onion route

Using proxies to send a message makes it so that no single proxy knows your IP or destination

30
New cards

Firewall

Barrier between computers or networks. Also has a log that keeps track of all activity that goes through it

31
New cards

4 types of firewalls

Packet filtering: static rules

Stateful inspection: Based on active sessions

Application proxy: Middleman that checks content

Circuit-level proxy: Transport level only

32
New cards

Host-based Firewall

Used to secure an individual host

33
New cards

Intrusion detection system

Inspects all inbound and outbound port activity

34
New cards

Passive IDS

monitor and log activity or notifies

35
New cards

Active IDS

Shuts down suspect communications

36
New cards

Main components of an IDS

Sensor: collects data

Analyzer: Analyzes data collected

User interface: Shows alerts and logs

37
New cards

Honey pot

A computer system that's set up to attract unauthorized users by appearing to be a key part of a network or a system that contains something of great value.

38
New cards

VPN

Virtual Private Network.

provides a way to create a virtual conection through the internet

39
New cards

2 protocols used for VPN

1. Point to point tunneling protocol: Outdated due to weak encryption

2. L2TP: Wraps the packet with a VPN IP address and uses IPsec to encrypt the data inside.

40
New cards

Main components of IoT device

Power unit

sensors

memory

radio

OS

cloud

41
New cards

IoT infrastructure

Perception layer (sensors and devices)

Network layer (routers and gateways)

Application layer (cloud/services)

42
New cards

Challenges of wireless computing

Wireless communication: Limited range and bandwidth, security concerns too

Mobility: Must deal with changing environments and resources when being moved

Poor resources: smaller size leads to low power and increased risk of data loss

43
New cards

IoT controller

Program that controls objects connected to the Internet of Things. Microprocessor and CPUs

44
New cards

Types of memory

1. RAM

2. Electrical erasable programmable read only: one bit at a time

3. Flash memory: works in chunks of info at a time

45
New cards

Wired Equivalent Privacy (WEP)

an encryption algorithm designed to protect wireless transmission data, obsolete now

46
New cards

Wifi protected access (WPA)

Protocol that encrypts data and authenticates the device using a 4-way handshake, used between the perception and the network layer

47
New cards

4-way handshake

Exchanges info between the device and the access point to derive a pairwise transient key to generate session keys

48
New cards

CoAP message types

CON

NON

ACK

RST

49
New cards

MQTT vs CoAP

MQTT: many-to-many

COAP: one-to-one

MQTT: uses TCP

COAP: uses UDP

MQTT: has quality of service levels to ensure no data is lost