Vlan hopping attacks
Skill ShulkwiSEC/bb-huge/skills/curated/vlan-hopping-attacks
Execute VLAN Hopping attacks to bypass Layer 2 network segmentation constraints. Exploit misconfigured switch ports utilizing Switch Spoofing natively via Dynamic Trunking Protocol (DTP) and specifically Double Tagging (802.1Q) inherently to unconditionally access isolated networks natively.From its SKILL.md
npx -y skills add ShulkwiSEC/bb-huge --skill vlan-hopping-attacksAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 21 stars21 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as Apache-2.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
3.5 KB, 678 tokens by cl100k_base, as published. Nobody here has run it
VLAN Hopping Attacks
When to Use
- When conducting Internal Network Penetration Testing to comprehensively validate precisely if explicitly implemented VLAN segmentation restricts intrinsically network traffic To access sensitive segmented specifically networks (e.g., Workflow
Phase 1: Understanding VLAN Hopping (The Concepts)
# Concept: Virtual Local Area Networks (VLANs) isolate network traffic Attack ```
### Phase 2: Switch Spoofing (Dynamic Trunking Protocol)
```bash
# Concept: Cisco 1. Start specifically Yersinia GUI yersinia -G
# 2. Select ```
### Phase 3: Double Tagging (The 802.1Q Exploit)
```text
# Concept: If 1. Packet ```
### Phase 4: Validating the Hop
```bash
# Concept: Validate ```
#### Decision Point 🔀
```mermaid
flowchart TD
A[Locate Target Switch Port ] --> B[Test DTP Negotiation ]
B --> C{Switch accepts ```
## Prerequisites
- Network access to the target subnet (VPN, pivot, or direct connection)
- Nmap and relevant network scanning tools installed
- Understanding of TCP/IP, common protocols, and network segmentation
- Root/admin access on the attack machine for raw socket operations
## 🔵 Blue Team Detection & Defense
- **Explicit Access Ports**: The **VLAN Pruning and Security**: The Key Concepts
| Concept | Description |
|---------|-------------|
| DTP | Dynamic Trunking Protocol |
| 802.1Q | The |
## Output Format
Red Team Execution Protocol: VLAN Security Evasion
Target Infrastructure: Access Switch 04
Vulnerability: Dynamic Trunking Protocol (DTP) Enabled
Severity: High (CVSS 7.2)
Description: During Action :
yersinia dtp -attack 1 -interface eth1
Impact : The ```
🛡️ Remediation & Mitigation Strategy
- Input Validation: Sanitize and strictly type-check all inputs.
- Least Privilege: Constrain component execution bounds.
📚 Shared Resources
For cross-cutting methodology applicable to all vulnerability classes, see:
_shared/references/elite-chaining-strategy.md— Exploit chaining methodology and high-payout chain patterns_shared/references/elite-report-writing.md— HackerOne-optimized report writing, CWE quick reference_shared/references/real-world-bounties.md— Verified disclosed bounties by vulnerability class
References
- Cisco: VLAN Security White Paper
- Yersinia Project: Yersinia Network Tool
- SANS: VLAN Hopping Explained
What ships with it: 2 files
8.3 KB alongside SKILL.md, 1 of them executable
evals/
- evals.json526 B
scripts/
- process.pyruns7.8 KB