osi model Flashcards

(44 cards)

1
Q

Layer 1

A

Physical (stucture) Layer: Cabling (coax, fiber, wireless, hubs repeaters)

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

Layer 2

A

Datalink: Frames - arp, ethernet, ppp (comunication protocol between two routers directly without any host or any other networking in between), switch, bridge.

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

Layer 3

A

Network -Packet - ip, icmp (error reporting), ipSec, igmp (multicasting)

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

layer 4

A

Transport end to end connections- tcp udp

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

layer 5

A

Session - Synch and Send: api, socket connections, winSock

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

layer 6

A

presentation syntax layer: encyption occurs here. XDR, TLS, SSL and MIME

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

layer 7

A

applicationEnd User Layer - HTTP, FTP, IRC, SSH, DNS

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

1xx

A

Information response

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

2xx

A

Success response

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

3xx

A

Statuses showing a redirection.

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

4xx

A

Statuses showing a client-side error.
404 Not Found
403 Forbidden
400 Bad Request
401 Unauthorised

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

5xx

A

Statuses showing a server-side error.
500 Internal Server Error
503 Service Unavailable:

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

What is XSS?

A

Cross-Site Scripting (XSS) attacks are a type of injection, in which malicious scripts are injected into otherwise benign and trusted websites. XSS attacks occur when an attacker uses a web application to send malicious code, generally in the form of a browser side script, to a different end user. Inserted into blog post.
Input Validation/Output Sanitization, with focus on the latter

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

What is Cross-Site Request Forgery

A

when an attacker gets a victim’s browser to make requests, ideally with their credentials included, without their knowing. A solid example of this is when an IMG tag points to a URL associated with an action, e.g. http://foo.com/logout/.

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

Where do you get your security news from

A

packetstorm, rootsecure, cisa, threatPost, security week, fulldiclosure

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

Ports 20 and 21

A

File Transfer Protocol (FTP). FTP is for transferring files between a client and a server.

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

Port 22

A

SSh secure Shell

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

port 23

19
Q

port 25

A

Simple Mail Transfer Protocol - email

20
Q

Port 53

A

Domain name system

21
Q

Port 80

22
Q

Port 123

23
Q

port 179

A

Border gateway protocol - large networlks that make up ther internet use this to broadcast which IP addresses they control

24
Q

port 443

25
Port 3389
Remote Desktop Protocol
26
port 161
SNMP snmp3
27
Port 137-138
NetBios udp
28
port 139/ 445
SMB tcp
29
left to right ip packet headers
version, int header length, TOS (Diff service, ecn, length. Identification, flags , fragment offset TTL protocol (Linux/Unix is 64, Windows is 128) checksum source address destination address options padding
30
tcp logical protocol
telnet SSH ftp smtp pop3 imap http bgp
31
UDP
DNS, SNMP, Syslog, NTP (listen on 514),
32
NTP
Port 123
33
NetBios udp
137-138
34
SNMP snmp3
161
35
Remote Desktop Protocol
3389
36
https
port 443
37
Border gateway protocol
port 179
38
Http
port 80
39
Domain name system
port 53
40
Simple Mail Transfer Protocol
port 25
41
Telnet
port 23
42
SSh secure Shell
Port 22
43
File Transfer Protocol (FTP)
Ports 20 and 21
44
SMB
port 139/ 445