본문으로 건너뛰기
Skillpedia
보안35k · #8192

performing-bandwidth-throttling-attack-simulation

하는 일

이 기능은 네트워크 속도를 떨어뜨리는 공격을 시뮬레이션해, 애플리케이션과 보안 시스템이 어떻게 반응하는지 테스트합니다. 인터넷이 느려지거나 네트워크를 과부하시키려는 공격을 시스템이 견딜 수 있는지 확인하는 데 도움을 줍니다.

사용하는 경우

  • ✓통제된 환경에서 느린 네트워크에 대한 애플리케이션의 복원력을 테스트할 때.
  • ✓네트워크 보안 규칙이 의도적인 속도 저하를 탐지하고 차단하는지 확인할 때.
  • ✓네트워크를 완전히 멈추지는 않지만 느리게 만드는 공격을 시뮬레이션할 때.

스킬 링크

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-bandwidth-throttling-attack-simulation/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-bandwidth-throttling-attack-simulation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“느린 네트워크에서 내 비디오 애플리케이션이 어떻게 동작하는지 시뮬레이션해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

Linux 도구를 사용해 네트워크 속도를 조절하고, 지연을 추가하며, 패킷 손실을 시뮬레이션합니다. 또한 많은 느린 연결을 열어 대상을 과부하시키는 공격도 시뮬레이션할 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Performing Bandwidth Throttling Attack Simulation

When to Use

  • Testing application resilience to degraded network conditions during authorized security assessments
  • Validating QoS policies detect and mitigate unauthorized traffic shaping on the network
  • Simulating network slowloris-style attacks that degrade bandwidth rather than causing complete outages
  • Assessing the impact of bandwidth-based attacks on VoIP, video conferencing, and real-time applications
  • Testing network monitoring tools' ability to detect abnormal bandwidth utilization patterns

Do not use on production networks without authorization and a maintenance window, for causing denial-of-service conditions, or against critical infrastructure without safety controls.

Prerequisites

  • Written authorization for bandwidth manipulation testing
  • Linux system with tc (traffic control), netem, and iptables
  • iperf3 installed on both tester and target systems for bandwidth measurement
  • MITM position established (ARP spoofing) for traffic interception scenarios
  • Network monitoring tools deployed for detecting the simulation
  • Baseline bandwidth measurements before testing

Legal Notice: This skill is for authorized security testing and educational purposes only. Unauthorized use against systems you do not own or have written permission to test is illegal and may violate computer fraud laws.

Workflow

Step 1: Establish Baseline Bandwidth Measurements

# Start iperf3 server on the target
iperf3 -s -p 5201

# Measure baseline bandwidth from the tester
iperf3 -c 10.10.20.10 -t 30 -P 4 -p 5201
# Record: bandwidth, jitter, packet loss

# Measure baseline latency
ping -c 100 10.10.20.10 | tail -1
# Record: min/avg/max/mdev

# Measure baseline jitter with UDP test
iperf3 -c 10.10.20.10 -u -b 100M -t 10 -p 5201
# Record: jitter and packet loss percentage

# Document baseline values
echo "Baseline: BW=$(iperf3 -c 10.10.20.10 -t 10 -f m | tail -1 | awk '{print $7}') Mbps" > baseline.txt
echo "Latency: $(ping -c 50 10.10.20.10 | tail -1)" >> baseline.txt

Step 2: Simulate Bandwidth Throttling with tc/netem

# Add traffic control to limit bandwidth on the attacker's forwarding interface
# This simulates throttling traffic flowing through a compromised router

# Limit to 1 Mbps (severe throttling)
sudo tc qdisc add dev eth0 root tbf rate 1mbit burst 32kbit latency 50ms

# Or use hierarchical token bucket for more control
sudo tc qdisc add dev eth0 root handle 1: htb default 10
sudo tc class add dev eth0 parent 1: classid 1:10 htb rate 1mbit ceil 2mbit

# Add latency and packet loss to simulate degraded link
sudo tc qdisc add dev eth0 parent 1:10 handle 10: netem delay 200ms 50ms loss 5%

# Target specific traffic (only throttle traffic to specific host)
sudo tc qdisc add dev eth0 root handle 1: htb default 99
sudo tc class add dev eth0 parent 1: classid 1:1 htb rate 1000mbit
sudo tc class add dev eth0 parent 1:1 classid 1:10 htb rate 1mbit ceil 2mbit
sudo tc class add dev eth0 parent 1:1 classid 1:99 htb rate 1000mbit

# Filter: throttle only traffic to 10.10.20.10
sudo tc filter add dev eth0 parent 1: protocol ip prio 1 u32 \
  match ip dst 10.10.20.10/32 flowid 1:10

# Verify the qdisc configuration
tc -s qdisc show dev eth0
tc -s class show dev eth0

Step 3: Simulate Progressive Degradation

#!/bin/bash
# Simulate progressive bandwidth degradation over time
# This mimics an attacker slowly throttling to avoid detection

IFACE="eth0"
TARGET="10.10.20.10"

# Phase 1: Baseline (no throttling) - 5 minutes
echo "[*] Phase 1: Baseline (no throttling)"
sleep 300

# Phase 2: Mild throttling (50% reduction)
echo "[*] Phase 2: Reducing to 50 Mbps"
sudo tc qdisc add dev $IFACE root tbf rate 50mbit burst 64kbit latency 50ms
sleep 300

# Phase 3: Moderate throttling (80% reduction)
echo "[*] Phase 3: Reducing to 10 Mbps"
sudo tc qdisc change dev $IFACE root tbf rate 10mbit burst 32kbit latency 50ms
sleep 300

# Phase 4: Severe throttling + latency + loss
echo "[*] Phase 4: Reducing to 1 Mbps + 200ms latency + 5% loss"
sudo tc qdisc del dev $IFACE root 2>/dev/null
sudo tc qdisc add dev $IFACE root handle 1: htb default 10
sudo tc class add dev $IFACE parent 1: classid 1:10 htb rate 1mbit ceil 2mbit
sudo tc qdisc add dev $IFACE parent 1:10 handle 10: netem delay 200ms 50ms loss 5%
sleep 300

# Phase 5: Recovery
echo "[*] Phase 5: Removing all throttling"
sudo tc qdisc del dev $IFACE root 2>/dev/null

…
자주 묻는 질문

이것을 사용하려면 허가가 필요한가요?

네, 특히 자신의 네트워크가 아니라면 어떤 네트워크에서든 테스트하기 전에 서면 허가를 받는 것이 필수입니다. 허가 없이 사용하는 것은 불법입니다.

'속도 저하 공격(slowdown attacks)'이란 무엇인가요?

서비스를 완전히 중단시키지 않고 너무 느려서 사용자가 쓸 수 없게 만드는 공격입니다. 'Slowloris' 공격이 대표적입니다.

어떤 도구를 사용하나요?

주요 도구는 tc(트래픽 제어), 지연과 패킷 손실을 추가하는 netem, 속도를 측정하는 iperf3, 사용자 정의 네트워크 패킷을 만드는 Scapy입니다.

상세 정보

작성자의 원본 설명

Simulate bandwidth throttling and network degradation attacks using tc, iperf3, and Scapy in authorized lab environments to test QoS controls, application resilience, and monitoring detection of traffic manipulation. Use when validating how VoIP, video, or other real-time applications and network monitoring tools respond to degraded bandwidth or slowloris-style throttling attacks. '

repo: mukul975/Anthropic-Cybersecurity-Skills

인기도

GitHub 스타
35k
순위
#8192
라이선스
Apache-2.0
업데이트
2026. 8. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬