Arp
Arp
Arp
TM
Course Contents
Why ARP? Typical ARP functionality Reading ARP tables ARP packet structures Gratuitous ARPs Proxy ARP ARP scans ARP analysis exercise
Why ARP?
ftp CORPFS1
Destination MAC of server? Source MAC: A EtherType: 0x0800 Protocol: Source IP: Destination IP: Source Port: Destination Port: 6 (TCP) 10.1.0.1 10.2.99.99 1024 21 Eth
CORPFS1
TCP
IP
Why ARP?
ftp CORPFS1
Router
MAC address resolution
Destination MAC of router? Source MAC: A EtherType: 0x0800 Protocol: Source IP: Destination IP: Source Port: Destination Port: 6 (TCP) 10.1.0.1 10.2.99.99 1024 21
TCP
IP
Eth
CORPFS1
Why ARP?
Step 1
ftp CORPFS1
Step 2
Why ARP?
Step 1
ftp CORPFS1
Step 2
TX
CORPFS1
Why ARP?
Step 1
ftp CORPFS1
Step 2
Step R2
R CORPFS1
Ref
Gratuitous ARPs
Ref
Proxy ARP
1
ARP Request Broadcast Source hardware address: A Source network address: 10.1.0.1
Router
Proxy ARP
2
ARP Reply Unicast Source hardware address: B Source network address: 10.2.77.33 Target hardware address: A Target network address: 10.1.0.1
Router
ARP Fault
ARP Request Broadcast Source hardware address: A Source network address: 10.1.22.4 Target hardware address: 0x000000000000 Target network address: 10.2.12.4
Router
Client A Network address: 10.1.22.4 Network mask: 255.0.0.0 Hardware address: A Server 1 Network address: 10.2.12.4 Network mask: 255.255.0.0 Hardware address: D
ARP Analysis
Open the trace file arp-x.cap/pkt/dmp. Examine this ICMP echo request/reply process between two devices that sit on the same network. Based on the packets in this trace, what are the possible ARP table entries for: 10.234.10.77 10.234.12.108 What might cause this strange type of communication?
Packet #1
Packet 1 Implies
ICMP Echo
Client A Network address: 10.234.10.77 Network mask: 255.255.0.0 Hardware address: 0x00-20-78-e1-59-6e
Server Network address: 10.234.12.108 Network mask: 255.255.0.0 Hardware address: 0x00-00-00-00-00-00
Packet #2
Packet 2 Implies
Intermediary Device Network address: unknown Network mask: unknown Hardware address: 0x00-01-96-3c-3f-a8
ICM
o Ech P
Client A Network address: 10.234.10.77 Network mask: 255.255.0.0 Hardware address: 0x00-20-78-e1-59-6e
Server Network address: 10.234.12.108 Network mask: 255.255.0.0 Hardware address: 0x00-00-00-00-00-00
Packet #3
To Intermediary
Packet #4
From Intermediary
Were Seeing
Intermediary Device Network address: unknown Network mask: unknown Hardware address: 0x00-01-96-3c-3f-a8
?
IC MP Ec ICM ho PE ch oR ep
ly
Server Network address: 10.234.12.108 Network mask: 255.255.0.0 Hardware address: 0x00-d0-59-aa-af-80
ARP Tables
Intermediary Device
Internet Address Physical Address 10.234.10.77 0x00-20-78-e1-59-6e 10.234.12.108 0x00-01-96-3c-3f-a8
Client A
Server
Client A
Server
Conclusion
ARP is fundamental for communicating with local devices ARP structures are interesting with no IP header in the packets Proxy ARP allows devices to cross routers even though they believe they are talking to local devices Gratuitous ARP helps resolve duplicate IP address problems ARP scans may precede an attack ARP tables can be altered manually
Conclusion
This is Laura Chappell This has been Analyzing and Troubleshooting ARP (Address Resolution Protocol)