osi model Flashcards

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

A

Telnet

19
Q

port 25

A

Simple Mail Transfer Protocol - email

20
Q

Port 53

A

Domain name system

21
Q

Port 80

A

Http

22
Q

Port 123

A

NTP

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

A

https

25
Q

Port 3389

A

Remote Desktop Protocol

26
Q

port 161

A

SNMP snmp3

27
Q

Port 137-138

A

NetBios udp

28
Q

port 139/ 445

A

SMB tcp

29
Q

left to right ip packet headers

A

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
Q

tcp logical protocol

A

telnet SSH ftp smtp pop3 imap http bgp

31
Q

UDP

A

DNS, SNMP, Syslog, NTP (listen on 514),

32
Q

NTP

A

Port 123

33
Q

NetBios udp

A

137-138

34
Q

SNMP snmp3

A

161

35
Q

Remote Desktop Protocol

A

3389

36
Q

https

A

port 443

37
Q

Border gateway protocol

A

port 179

38
Q

Http

A

port 80

39
Q

Domain name system

A

port 53

40
Q

Simple Mail Transfer Protocol

A

port 25

41
Q

Telnet

A

port 23

42
Q

SSh secure Shell

A

Port 22

43
Q

File Transfer Protocol (FTP)

A

Ports 20 and 21

44
Q

SMB

A

port 139/ 445