Labs / Network Attacks
Road 28 of 33
Network Attacks
Attacking the network itself from the Kali box: guess and spray your way past a login, flood a service off the air, forge and replay what crosses the wire, hop a VLAN, and pivot into a network that has no route to you.
Start this roadBreaking in and flooding
Guess a way in, then knock a service off the air.
- 01 Online login guessing: an aimed list beats a brute one Scrape a target's site for words with cewl, then let hydra throw them at a live SSH login until a reused one opens the door.
- 02 Password spraying: one password against everyone at once Try one likely password once against every account on a staff login list — low and slow, to slip under the account lockout.
- 03 SYN flood: half-open connections and the host that shrugs them off Spray forged half-open TCP connections at a booking server with hping3 and watch the SYN queue fill, then see why a modern kernel keeps serving.
- 04 DNS reflection: bounce a flood off someone else's resolver Measure how a tiny query draws a huge DNSSEC answer off an open resolver, then forge a victim's address so the flood hits them.
On the wire and across the network
Forge answers, steal a cookie, and cross into a closed network.
- 01 DNS cache poisoning: one lie, a whole office misrouted Forge an answer into a forwarding resolver's cache so every staff client is sent to the attacker — even after the attacker has gone.
- 02 Replay attacks: a valid request, sent twice Capture a door-unlock request that carries no proof of freshness, then resend the exact bytes and open the door again without cracking anything.
- 03 Session hijacking: borrow the cookie, skip the password Sit in the middle with arpspoof, read a staff member's session cookie off plain HTTP, and replay it to read her records — no password.
- 04 VLAN hopping: stack two tags and jump the fence Wrap a frame in two VLAN tags so the trunk's native VLAN carries it from a contractor port into the berth-control VLAN, a one-way jump.
- 05 Pivoting: reach a network with no way in Turn a foothold on a dual-homed DMZ box into a SOCKS relay, and reach an internal server the attacker's own machine cannot route to.