01.Networking101.pdf

(892 KB) Pobierz
Outline
• Networking Overview for Offensive Security
– Not a comprehensive coverage of networking
– But focuses on networking issues related and
relevant to offensive security
– Today we will cover the data layer, link layer,
and IP layer
– Next time we will cover the TCP layer and
additional topics
2/7/2013 10:59:55 AM
networking-for-offensive-security-
IP.ppt
1
The Internet
• Designed as a research network
– Assumed that entities are basically trusted
• It is designed as a network of networks
2/7/2013 11:02:31 AM
networking-for-offensive-security-
IP.ppt
2
OSI Reference Model
• The layers
– 7: Application, e.g., HTTP, SMTP,
FTP
– 6: Presentation
– 5: Session
– 4: Transport, e.g. TCP, UDP
– 3: Network, e.g. IP, IPX
– 2: Data link, e.g., Ethernet frames,
ATM cells
– 1: Physical, e.g., Ethernet media,
ATM media
• Standard software engineering
reasons for thinking about a
layered design
2/7/2013 11:03:36 AM
networking-for-offensive-security-
IP.ppt
3
TCP/IP Model
2/7/2013 11:05:44 AM
networking-for-offensive-security-
IP.ppt
4
Message Mapping to the Layers
L7 App
SVN update message
L4 TCP
SP DP
Segment 1
SP DP
Segment 2
L3 IP
SA DA SP DP
Packet 1
SA DA SP DP
Pack2
L2 Eth
SM
DM
SA DA SP DP
Packet1
SM
DM
SA DA SP DP
Pack2
Communications bit stream
2/7/2013 11:06:14 AM
networking-for-offensive-security-
IP.ppt
5
5
Zgłoś jeśli naruszono regulamin