Sniffing and Evasion Flashcards
At what layer does Sniffing occur
Layer 2- Data link Layer
WinPcap
Driver for windows machines that allows OS to extend to access low-level network access.
Collision domain
Composed of all machines sharing the same transport medium. Hubs share the same domain switches split domains so that each system is in it’s own domain
upper layer protocols suscepible to sniffing
SMTP (not so much v3), FTP(user name and passwd), TFTP (Everything in clear text), Telnet (keystokes, User name paswd), SNMPv1 (Passwd and data), NNTP (Passwd and data), IMAP, POP3, HTTP
ARP
Address resolution Protocol. Layer 2 - Data Link Layer. Resolves ip to mac address. ARP_request asks what ip can process message? arp_reply states thats me my mac is
gratuitous arp
Packet that updates the arp cache of other machimes before they ask for it.
IPv6
Uses 128 bit address instead of 32 bit (IPv4). Eight group of 4 hexadecimal digits separated by colons. Loop back is truncated to ::1. fe80::/10 link-local addressing. unique local fc00::/7. site local FEC0::/10 Contains Unicast, Multicast and Anycast
PRISM
Planning Tool for Resource Integration Synchronization and Management used by US intelligence to collect foreign intelligence passing through us networks
Span Port
Switch configuration where one port has been altered to send a copy of all frames from one port to another or a succession of ports to another. also called port mirroring
Mac Flooding
Flood switch with so many mac address that CAM table can’t keep up and becomes a Hub. Etherflood and Macof are flood tools. Sometimes called “switch port stealing” creates race contition and switch alters between bad and good mac address. None of this really works on most modern switches
Content addressable memory (CAM Table)
memory referenced by switch that connects mac to port
ARP Poisoning
Arp Spoofing gratuitous arp. This poisons the arp cache on a machine. Switches will forward ARP because they “broadcast”. Tools: Cain and Abel, WinArpAttacker, Ufasoft, dsnif (ARPspoof tool)
ARP poisoning mitigation
Dynamic ARP inspection using DHCP snooping, Xarp, can add default gateway mac manually using (arp -s)
DHCP
Dynamic Host Configuration Protocol. server Dynamically assigns IP address from a configured pool within a network. DORA Discover, offer, request, accept
DHCP starvation
continually send requests until IP address pool is exhausted. Tools: Yersinia, DHCP Starve