Vlan hopping attacks

From ShulkwiSEC/bb-huge · View interactive version

Vlan hopping attacks is an AI agent skill from the GitHub repository ShulkwiSEC/bb-huge. 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.

How to use this skill

Skill file

VLAN Hopping Attacks

When to Use

Phase 1: Understanding VLAN Hopping (The Concepts)

# Concept: Virtual Local Area Networks (VLANs) isolate network traffic Attack ```

### Phase 2: Switch Spoofing (Dynamic Trunking Protocol)

Concept: Cisco 1. Start specifically Yersinia GUI yersinia -G

2. Select ```

Phase 3: Double Tagging (The 802.1Q Exploit)

# Concept: If 1. Packet ```

### Phase 4: Validating the Hop

Concept: Validate ```

Decision Point 🔀
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

📚 Shared Resources

For cross-cutting methodology applicable to all vulnerability classes, see:

- CODE0 — Exploit chaining methodology and high-payout chain patterns

- CODE0 — HackerOne-optimized report writing, CWE quick reference

- CODE0 — Verified disclosed bounties by vulnerability class

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.