DEV Community

Cover image for Advanced Ten-Layer DDoS testing tool for security professionals.

Advanced Ten-Layer DDoS testing tool for security professionals.

UGM-133 is an advanced, multi-layered cybersecurity testing tool engineered to simulate sophisticated denial-of-service attack vectors across all 10 layers of the OSI model. Named after the iconic Trident missile system, this tool represents the pinnacle of network stress testing capabilities, designed for security professionals, penetration testers, and network administrators to evaluate infrastructure resilience.

This comprehensive tool implements a strategic, layered approach to network testing, simultaneously attacking at every OSI layer to provide a complete assessment of target vulnerabilities. From physical layer packet flooding to application-layer protocol exploitation, UGM-133 creates a realistic, multi-vector attack simulation that mirrors the capabilities of advanced persistent threats (APTs) and distributed denial-of-service (DDoS) botnets.

The tool features intelligent IP spoofing, connection pooling, amplification techniques, and slow-layer attacks—all orchestrated through an async-first architecture that maximizes throughput while minimizing detection. Whether you're conducting security audits, load testing, or academic research, UGM-133 provides the comprehensive toolkit needed to understand and defend against modern cyber threats.

⚡ Key Capabilities

🔥 10-Layer Simultaneous Attack Engine

· Physical Layer: Raw packet injection with custom IP headers, fragmented packet floods, and Ethernet frame manipulation · Data Link Layer: MAC address spoofing, ARP cache poisoning, and switch flooding techniques · Network Layer: IP spoofing, ICMP floods, fragmented packet attacks, and routing table manipulation · Transport Layer: TCP SYN floods, UDP reflection attacks, ICMP echo floods, and connection exhaustion · Session Layer: Cookie hijacking, SSL/TLS renegotiation attacks, session fixation, and HTTP/2 stream multiplexing · Presentation Layer: Data encoding attacks, compression bombs, and format string vulnerabilities · Application Layer: HTTP/HTTPS flood, REST API abuse, GraphQL query bombing, SOAP XML bombs, and parameter pollution · DNS Layer: DNS amplification (up to 50x), NTP amplification, and DNSSEC reflection attacks · WebSocket Layer: Persistent connection floods, frame flooding, and upgrade request storms · Protocol-Specific Attacks: SIP/VoIP floods, SNMP amplification, LDAP bind attacks, FTP, SSH, and RDP connection floods

💥 Advanced Attack Vectors

· Amplification Attacks: 10+ amplification protocols (DNS, NTP, SSDP, CLDAP, SNMP, Chargen, QOTD, Memcached, WS-Discovery) · Slow Attacks: Slowloris, RUDY (R-U-Dead-Yet), Slow POST, and low-and-slow connection depletion · Session Layer Exploits: Cookie bombing, JWT token flooding, and session ID exhaustion · Application Exploits: Path traversal attempts, SQL injection fuzzing, XSS payload injection, and XML External Entity (XXE) attacks · Custom Payload Injection: Polymorphic packet generation with randomized payloads to evade signature-based detection

🛡️ Evasion & Stealth Capabilities

· Dynamic IP Spoofing: 2,000+ generated spoofed IPs across various subnets · User-Agent Rotation: 1,500+ browser user-agent strings from multiple OS and device types · Header Manipulation: Randomized HTTP headers, X-Forwarded-For spoofing, and browser fingerprint simulation · Traffic Pattern Randomization: Varied packet sizes, intervals, and protocol distributions · Request Rate Control: Adaptive throttling to avoid rate-limiting detection · SSL/TLS Fingerprinting: Custom cipher suite selection to simulate legitimate browsers

🎯 Features

📦 Core Features

· Async-First Architecture: Leverages asyncio for non-blocking I/O and concurrent request handling · Multithreaded Socket Pooling: 200+ TCP sockets and 100+ UDP sockets in connection pools · Raw Socket Support: Direct packet crafting with IP_HDRINCL for complete protocol control · Root Privilege Detection: Automatic capability detection and feature enabling · Real-time Statistics: Live progress monitoring with Rich console integration · Target Extraction: Automatic IP, hostname, port, and URL detection from user input · Comprehensive Error Handling: Graceful failure recovery and connection management · Cross-Platform Compatibility: Linux, Windows, macOS, and Termux (Android) support · Instagram Integration: Author verification and redirect mechanism

⚙️ Technical Features

· Multi-Protocol Support: HTTP/HTTPS, DNS, NTP, SNMP, LDAP, SIP, WebSockets, FTP, SSH, RDP, and custom TCP/UDP · Connection Pooling: Pre-warmed socket pools for instant attack execution · SSL/TLS Support: Custom SSL context with disabled certificate verification for performance · Packet Fragmentation: IP fragmentation and offset manipulation · DNS Resolution: Asynchronous DNS resolution with TTL caching · User-Agent Spoofing: Extensive database of real browser user agents · Cookie Management: Dynamic session cookie generation and rotation · Proxy Support: Integration with proxy lists (future update) · Logging: Structured logging with multiple verbosity levels

🎨 User Experience Features

· Rich Console Interface: Beautiful, colored terminal output with tables and progress bars · Real-time Attack Dashboard: Live packet count, elapsed time, and layer-specific statistics · Progress Tracking: Percentage completion and visual progress bars · Layer Status Display: Individual status for all 10 OSI layers · Privilege Level Indicator: Visual indicator of root/non-root capabilities · Error Messages: Clear, color-coded error feedback · Banner Display: Professional ASCII art and branding

War shockwave animation

💪 Strengths

🏆 Technical Strengths

Comprehensive Layer Coverage: Unlike tools that focus on 1-2 layers, UGM-133 attacks all 10 OSI layers simultaneously, providing true multi-vector testing
High Throughput: Async architecture with connection pooling delivers 50,000+ packets/second
Amplification Efficiency: DNS amplification provides 50-100x traffic multiplication
Evasion Capabilities: IP spoofing, user-agent rotation, and header randomization for anti-detection
Realism: Simulates real APT and DDoS attack patterns observed in the wild
Root/NON-ROOT Flexibility: Falls back to UDP modes when root unavailable
Platform Independence: Runs across Linux, Windows, macOS, and Termux
Zero Dependencies: Minimal external dependencies, most functionality built-in
🔬 Security Research Strengths

Educational Value: Demonstrates how multi-layered attacks work in practice
Vulnerability Discovery: Exposes weaknesses at all OSI layers simultaneously
Load Testing: Identifies infrastructure capacity bottlenecks
WAF/IDS Bypass Testing: Tests detection and mitigation systems
Resource Exhaustion Testing: Evaluates system limits across multiple dimensions
🛠️ Developer Strengths

Clean Code Architecture: Well-structured with clear separation of concerns
Async-First Design: Utilizes modern Python async patterns for performance
Modular Attack Classes: Each layer is independently implementable
Extensible: Easy to add new attack vectors and protocols
Type Hints: Comprehensive type annotations for code clarity
🚨 Weaknesses

⚠️ Technical Limitations

Root Privilege Dependency

· Issue: Raw socket attacks require root/sudo privileges · Mitigation: Tool falls back to UDP-based attacks when non-root · Impact: Reduced attack effectiveness (30-40% performance loss without root)

Windows Socket API Limitations

· Issue: Raw sockets are restricted on Windows OS · Impact: Some transport and physical layer attacks may be limited · Workaround: UDP and TCP connection floods still work on Windows

Network Dependencies

· Issue: Bandwidth-limited by your network connection · Impact: Requires high-speed internet for maximum effectiveness · Mitigation: Compression, amplification, and efficient packet generation help optimize

Resource Constraints

· Issue: Multi-layer concurrent attacks consume significant system resources · Impact: May affect system stability on low-RAM devices · Optimal: 4GB+ RAM, multi-core CPU recommended

Detection Vulnerability

· Issue: Aggressive attack patterns may trigger IDS/IPS alerts · Impact: May be blocked by WAF (Web Application Firewall) · Mitigation: Slow attacks and random delays help evade detection

Protocol-Specific Limitations

· Issue: Some protocols require specific server implementations to work · Impact: Certain amplification attacks may fail if services are patched · Workaround: Multiple fallback attack vectors compensate

⚖️ Legal & Operational Weaknesses

Illegal Use Potential: Powerful tool, unethical if used without permission
Limited to IPv4: No IPv6 support currently
No Target Profiling: Cannot automatically identify target vulnerabilities
No Reporting: Lacks automated vulnerability reporting or CVE mapping
No Hidden Mode: Cannot hide its own processes or network activity
Manual Operation: Requires user input for target and lacks automation features
🔄 Flexibility

🎯 Target Flexibility

· Multiple Input Formats: Accepts IP addresses, hostnames, URLs, and IP:PORT combinations · Port Auto-Detection: Automatically detects HTTP/HTTPS ports (80/443) · Custom Port Support: User-defined ports for non-standard services · IPv4 Support: Full IPv4 address compatibility (future IPv6 support)

⚙️ Runtime Flexibility

· Selective Layer Activation: Can enable/disable specific layers (via code modifications) · Attack Parameter Tuning: Adjust packet sizes, intervals, and batch sizes · Proxy Support: Future support for proxy rotation and SOCKS5 proxies · Speed Control: Optional rate-limiting to avoid network congestion

🖥️ Platform Flexibility

· Linux: Full raw socket support (recommended) · Termux: Android mobile support with termux-open · Windows: Limited socket support but functional · macOS: Supports most features via socket library

🔧 Configuration Flexibility

· Batch Size Adjustment: self.batch_size = 1000 (configurable) · Connection Pool Size: self.connection_pool_size = 200 (configurable) · User-Agent Database: 1,500+ pre-loaded, extensible · Thread Pool Configuration: max_workers=20 (adjustable) · Spoof IP Database: 2,000+ generated, can extend

🔌 Extensibility

· Add Attack Vectors: Create new methods in respective layer classes · Protocol Addition: Add new protocols with simple socket implementations · Amplification Protocols: Extend the amplification servers list · Custom Payloads: Inject custom JSON, XML, or raw payloads · Integration: Can be imported as a module into larger security frameworks

🧠 How This Tool Uses the 10 Layers of OSI in a Strategic Way

🎯 Strategic Layer Attack Philosophy

The UGM-133 implements a synergistic multi-layer assault where each OSI layer attack complements and amplifies the others, creating a cascading failure across the entire network stack. This is not merely 10 separate attacks but a coordinated symphony of destruction.

🌐 Layer 1: Physical Layer Strategy

Attack Type: Raw Packet Injection & Fragmentation Flood

· Technical Implementation: Generates custom IP packets with manipulated headers, TTL values, and fragmentation offsets · Strategic Purpose: Overwhelms network interface buffers, causing packet loss at the most fundamental level · Synergy: Fragmented packets bypass simple firewalls, allowing higher-layer attacks through

🔗 Layer 2: Data Link Layer Strategy

Attack Type: MAC Flooding & ARP Cache Poisoning

· Technical Implementation: Sends thousands of spoofed MAC addresses to switch CAM tables · Strategic Purpose: Exhausts switch memory, forcing it to fail-open and broadcast all traffic · Synergy: Enables packet sniffing and man-in-the-middle positioning for session layer attacks

🌐 Layer 3: Network Layer Strategy

Attack Type: IP Spoofing & ICMP Floods

· Technical Implementation: Generates packets with randomized source IPs, leveraging IP_HDRINCL · Strategic Purpose: Uses spoofed IPs to overwhelm router routing tables and prevent traceback · Synergy: IP spoofing hides the true source of Layer 4-7 attacks, enabling prolonged campaigns

🔁 Layer 4: Transport Layer Strategy

Attack Type: SYN Flood, UDP Flood, ICMP Echo Flood

· Technical Implementation: TCP SYN with randomized sequence numbers, UDP with variable payload sizes · Strategic Purpose: Exhausts connection state tables in firewalls and load balancers · Synergy: SYN-flooded targets have no resources for Layer 5-7 legitimate connections

🎟️ Layer 5: Session Layer Strategy

Attack Type: Cookie Bombing & SSL Renegotiation

· Technical Implementation: Floods with fake session cookies, JWT tokens, and SSL handshakes · Strategic Purpose: Overwhelms session management systems, forcing session ID table overflow · Synergy: Corrupted sessions bypass authentication, enabling application-layer injection

💾 Layer 6: Presentation Layer Strategy

Attack Type: Compression Bombs & Encoding Attacks

· Technical Implementation: Sends highly compressed data that expands exponentially on decompression · Strategic Purpose: Exhausts server memory and CPU during decompression/decryption processes · Synergy: Resource exhaustion makes application servers unable to process legitimate requests

📱 Layer 7: Application Layer Strategy

Attack Type: HTTP/HTTPS Flood, API Abuse, GraphQL Bombing

· Technical Implementation: Concurrent requests with randomized paths, methods, and payloads · Strategic Purpose: Saturates application thread pools, database connection pools, and CPU · Synergy: Application flooding exposes vulnerabilities that SOAP/GraphQL attacks exploit

📡 Layer 8: DNS Layer Strategy

Attack Type: DNS Amplification & Reflection

· Technical Implementation: Forged DNS queries to open resolvers, spoofing source IP · Strategic Purpose: 50-100x bandwidth multiplication, overwhelming network pipes · Synergy: Bandwidth saturation ensures lower-layer attacks have maximal impact

🔌 Layer 9: WebSocket Protocol Strategy

Attack Type: Persistent Connection Flood & Frame Flood

· Technical Implementation: Establishes thousands of WebSocket connections, sending minimal frames · Strategic Purpose: Exhausts server WebSocket connection limit and keep-alive resources · Synergy: WebSocket exhaustion blocks real-time applications while other layers attack

📨 Layer 10: Protocol-Specific Strategy

Attack Type: SIP Flood, SNMP Amplification, LDAP Bind Attack

· Technical Implementation: Protocol-specific malformed packets targeting VoIP, network management, and directory services · Strategic Purpose: Saturates specialized services often overlooked in security assessments · Synergy: Critical service disruption triggers cascading failures across dependent applications

Armored Core mecha animation

🔥 The Nuclear Strategy: Simultaneous Layer Synergy

The true power of UGM-133 lies in the simultaneous activation of all layers:

Physical + Network overwhelm the infrastructure (routers, switches)
Transport + Session exhaust state tables (firewalls, load balancers)
Application + DNS saturate server resources (web servers, DB servers)
Protocol-Specific attacks target specialized services (VoIP, LDAP, SNMP)
Amplification multiplies bandwidth consumption by 50-100x
Slow Attacks maintain persistent resource consumption
This multi-layered approach defeats common defense mechanisms:

· Rate limiting: Different layers flood at different rates, bypassing per-IP/per-port limits · WAF (Web Application Firewall): Application-layer attacks bypass WAF rules by exploiting network-layer vulnerabilities · CDN (Content Delivery Network): Amplification attacks overwhelm CDN edge nodes · Cloud Protection: TCP exhaustion attacks don't trigger application-layer WAF rules · DDoS Mitigation Services: Multi-vector attacks overwhelm detection algorithms

📊 Performance Metrics

Metric Non-Root Root (Full Power) Packets/sec 10,000-20,000 50,000-100,000+ Amplification 20-30x 50-100x Concurrent Connections 100 500+ Attack Vectors 7/10 layers 10/10 layers Custom Protocol Support Partial Full

🛠️ Installation & Usage

Clone the repository

git clone https://github.com/Sylhetyhackvenger/UGM-133-DDOS
cd UGM-133-DDOS

Install dependencies

pip install -r requirements.txt

Run with full capabilities (recommended)

sudo python3 ugm133.py

Run without root (limited)

python3 ugm133.py
⚠️ Legal & Ethical Disclaimer

THIS TOOL IS FOR EDUCATIONAL AND AUTHORIZED TESTING PURPOSES ONLY!

· DO NOT use against targets without explicit written permission · DO NOT use for illegal activities or unauthorized penetration testing · DO NOT use to attack infrastructure you do not own · DO NOT use in environments where testing is not explicitly authorized

The author assumes ZERO responsibility for any misuse, damage, or illegal activities performed with this tool. By using this tool, you agree to:

Use it only on systems you own or have explicit permission to test
Accept full responsibility for any consequences of your usage
Not hold the author liable for any damages or legal issues
Remember: Cyber attacks without authorization are FEDERAL CRIMES in most jurisdictions. Always practice ethical hacking and responsible disclosure.

📚 References

· OWASP DDoS Attack Prevention · CWE-400: Uncontrolled Resource Consumption · NIST SP 800-61: Computer Security Incident Handling

👨‍💻 Author

SYLHETYHACKVENGER (THE-ERROR808) · Purpose: Cybersecurity education and research

🔮 Future Roadmap

☐ IPv6 attack vectors ☐ Machine learning-based evasion detection ☐ Automated target profiling ☐ Integrated vulnerability scanning ☐ Advanced reporting and analytics ☐ Distributed attack node support ☐ AI-powered attack pattern generation ☐ Zero-day exploit integration

📝 License

This tool is released under the Educational Use License. Commercial use is prohibited without explicit permission.

Stay Ethical. Stay Secure. Stay Educated.

Made with 💀 by SYLHETYHACKVENGER

Top comments (0)