Attacking the foundation Flashcards

1
Q

Is IPv4/6 a connectionless protocol?

A

Designed a a layer 3 connectionless protocol. It makes no effort to validate whether the source IP came from the source.

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

IPv4 Header - how many fields?

A

10

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

How many bytes is the IPv4 Header

A

Minimum 20 (no data), max is 60 bytes.

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

Version

A

4 bit field. Identifies the version of IP.

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

What is the length field?

A

A 4 bit field containing the length of the IP header in 32-bit increments. Min value is 5, and max is 15.

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

What is the differentiated services field?

A

Formerly, ToS - 8 bit field used to determine priority of each packet.

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

How many bits in a byte

A

8

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

Total Length

A

Specifies the length of the IP packet including he IP header and user data. Max size is 65,535 bytes

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

Identification, Flag and Fragment Offset

A

Fragment and reassemble packets.

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

TTL

A

8-bit value used to limit the lifetime of a packet.

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

Protocol

A

8 bit
Identifies next level protocol

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

Header Checksum

A

Used to determine if any errors have been introduced during transmission

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

Source IP

A

32 bit binary value

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

Destination IP

A

32 bit binary value

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

Options and Padding

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

Break

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

IPv6
How many fields

A

8 fields

17
Q

Version

A

4 bit - identifies iPv6

18
Q

Traffic Class

A

8 bit is equivalent to the IPv4 DS field (Differentiated Services)

19
Q

Flow Label

A

20 bit suggests that all packets with the same flow label receive the same type of handling.

20
Q

Payload Length

A

16 bit indicates the length of the data portion.

21
Q

Next Header

A

8 bit field
indicates the data payload type that the packet is carrying. ICMP as an ex.

22
Q

Hop Limit

A

8 bit, IPv6 TTL (IPv4)

23
Q

Source IPv6

A

128 bit

24
Q

Destination IPv6

A

128 bit

25
Q

Break———-

A
26
Q

IP vulnerabilities - what are they?

A

ICMP attacks, DoS attacks, DDoS attacks, Address spoofing, MiTM, Session Hijackin

27
Q

TCP Header

A

More headers

28
Q

Source Port

A

Yep

29
Q

Destination Port

A
30
Q

Sequence NUmber

A
31
Q

Ack Number

A
32
Q

Header Length

A

?

33
Q

Reserved

A

?

34
Q

Control Bits (6)

A

URG, ACK, PSH, RST, SYN AND FIN

35
Q

Window

A
36
Q

Checksum

A

?

37
Q

Urgent

A

?

38
Q

Options

A

?

39
Q

Application Layer Data

A
40
Q

TCP Handshake

A

???

41
Q

TCP Attacks -

A

Break