[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71FFG0KRXCFNBF1BCYF6BX5":3,"skill-same:01M71FFG0KRXCFNBF1BCYF6BX5":61},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":14,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M71FFG0KRXCFNBF1BCYF6BX5","net-recon-easm",null,"--action full_scan      --output multi_domain_report.","DCx7C5\u002Fai-marketplace","DCx7C5","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42419559?v=4","01M71C01G2AZV3NTNGWAWSHJPP","DC","01M71C01GQW6G50S2BYMS7PP3E",0,"MIT","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fnet-recon-easm\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28],"recon","net recon easm","cybersecurity","report","scan","domain","full","multi","output","action","2026-11-10 10:12:30",false,"---\nname: net-recon-easm\ndescription: \"--action full_scan \\     --output multi_domain_report.\"\ndomain: cybersecurity\n---\n\n# Implementing Attack Surface Management\n\n## When to Use\n\n- When building an external attack surface management (EASM) program from scratch\n- When performing authorized external reconnaissance for penetration testing engagements\n- When continuously monitoring organizational exposure across internet-facing assets\n- When scoring and prioritizing external attack surface risks for remediation\n- When integrating multiple discovery tools into an automated ASM pipeline\n\n## Prerequisites\n\n- Python 3.8+ with requests, shodan, censys libraries installed\n- Shodan API key (free tier provides 100 queries\u002Fmonth)\n- Censys API ID and Secret (free tier available)\n- ProjectDiscovery tools installed: subfinder, httpx, nuclei\n- Go 1.21+ for building ProjectDiscovery tools from source\n- Appropriate authorization for all external scanning activities\n- Target domains and IP ranges with written scope documentation\n\n## Instructions\n\n### Phase 1: Subdomain Enumeration with Multiple Sources\n\nUse subfinder for passive subdomain discovery leveraging dozens of data sources\nincluding certificate transparency logs, DNS datasets, and search engines.\n\n```bash\n# Install ProjectDiscovery tools\ngo install -v github.com\u002Fprojectdiscovery\u002Fsubfinder\u002Fv2\u002Fcmd\u002Fsubfinder@latest\ngo install -v github.com\u002Fprojectdiscovery\u002Fhttpx\u002Fcmd\u002Fhttpx@latest\ngo install -v github.com\u002Fprojectdiscovery\u002Fnuclei\u002Fv3\u002Fcmd\u002Fnuclei@latest\n\n# Basic subdomain enumeration\nsubfinder -d example.com -o subdomains.txt\n\n# Verbose with all sources and recursive enumeration\nsubfinder -d example.com -all -recursive -o subdomains_full.txt\n\n# Multi-domain enumeration from file\nsubfinder -dL domains.txt -o all_subdomains.txt\n\n# Using OWASP Amass for deeper enumeration\namass enum -d example.com -passive -o amass_subdomains.txt\n\n# Merge and deduplicate results\ncat subdomains.txt amass_subdomains.txt | sort -u > combined_subdomains.txt\n```\n\n### Phase 2: Live Host Discovery and Service Fingerprinting\n\nProbe discovered subdomains to identify live hosts, technologies, and services.\n\n```bash\n# HTTP probing with technology detection\ncat combined_subdomains.txt | httpx -sc -cl -ct -title -tech-detect \\\n    -follow-redirects -json -o httpx_results.json\n\n# Detailed service fingerprinting\ncat combined_subdomains.txt | httpx -sc -cl -ct -title -tech-detect \\\n    -favicon -hash sha256 -jarm -cdn -cname \\\n    -follow-redirects -json -o httpx_detailed.json\n```\n\n### Phase 3: Shodan Asset Discovery\n\nQuery Shodan for exposed services, open ports, and known vulnerabilities\nassociated with discovered assets.\n\n```python\nimport shodan\n\napi = shodan.Shodan(\"YOUR_SHODAN_API_KEY\")\n\n# Search by organization\nresults = api.search(\"org:\\\"Example Corp\\\"\")\nfor service in results[\"matches\"]:\n    print(f\"{service['ip_str']}:{service['port']} - {service.get('product', 'unknown')}\")\n    if service.get(\"vulns\"):\n        for cve in service[\"vulns\"]:\n            print(f\"  CVE: {cve}\")\n\n# Search by hostname\nresults = api.search(\"hostname:example.com\")\n\n# Search by SSL certificate\nresults = api.search(\"ssl.cert.subject.cn:example.com\")\n\n# Get host details with all services\nhost = api.host(\"93.184.216.34\")\nprint(f\"IP: {host['ip_str']}\")\nprint(f\"Ports: {host['ports']}\")\nprint(f\"Vulns: {host.get('vulns', [])}\")\n```\n\n### Phase 4: Censys Asset Discovery\n\nUse Censys to discover internet-facing assets through certificate and host search.\n\n```python\nfrom censys.search import CensysHosts, CensysCerts\n\n# Host search\nhosts = CensysHosts()\nquery = hosts.search(\"services.tls.certificates.leaf.subject.common_name: example.com\")\nfor page in query:\n    for host in page:\n        print(f\"IP: {host['ip']}\")\n        for service in host.get(\"services\", []):\n            print(f\"  Port: {service['port']} Protocol: {service['transport_protocol']}\")\n            print(f\"  Service: {service.get('service_name', 'unknown')}\")\n\n# Certificate transparency search\ncerts = CensysCerts()\nquery = certs.search(\"parsed.names: example.com\")\nfor page in query:\n    for cert in page:\n        print(f\"Fingerprint: {cert['fingerprint_sha256']}\")\n        print(f\"Names: {cert.get('parsed', {}).get('names', [])}\")\n```\n\n### Phase 5: Vulnerability Scanning with Nuclei\n\nRun targeted vulnerability scans against discovered assets using Nuclei templates.\n\n```bash\n# Update nuclei plugins\nnuclei -ut\n\n# Scan with all plugins\ncat combined_subdomains.txt | httpx -silent | nuclei -o nuclei_results.txt\n\n# Scan with specific severity\ncat combined_subdomains.txt | httpx -silent | \\\n    nuclei -severity critical,high -o critical_findings.txt\n\n# Scan with specific template categories\ncat combined_subdomains.txt | httpx -silent | \\\n    nuclei -tags cve,misconfig,exposure -o categorized_findings.txt\n\n# Scan for exposed panels and sensitive files\ncat combined_subdomains.txt | httpx -silent | \\\n    nuclei -tags panel,exposure,config -o exposed_panels.txt\n```\n\n### Phase 6: Exposure Scoring Algorithm\n\nScore each asset based on OWASP attack surface analysis principles, using\na weighted formula derived from the Relative Attack Surface Quotient (RSQ)\nand damage-potential-to-effort ratio.\n\nThe scoring algorithm considers:\n1. **Open ports and services** - weighted by service risk (management ports score higher)\n2. **Known vulnerabilities** - weighted by CVSS score\n3. **Technology age** - outdated software increases score\n4. **Exposure level** - internet-facing vs. authenticated access\n5. **Data sensitivity** - based on service type and content indicators\n\n```python\n# Exposure Score = sum of weighted factors, normalized to 0-100\n# See agent.py for the full implementation\n```\n\n## Examples\n\n```bash\n# Run complete ASM pipeline against a target domain\npython agent.py \\\n    --domain example.com \\\n    --action full_scan \\\n    --shodan-key YOUR_KEY \\\n    --censys-id YOUR_ID \\\n    --censys-secret YOUR_SECRET \\\n    --output asm_report.json\n\n# Subdomain enumeration only\npython agent.py \\\n    --domain example.com \\\n    --action enumerate \\\n    --output subdomains.json\n\n# Exposure scoring on previously discovered assets\npython agent.py \\\n    --domain example.com \\\n    --action score \\\n    --input previous_scan.json \\\n    --output scored_assets.json\n\n# Multi-domain scan from file\npython agent.py \\\n    --domain-list targets.txt \\\n    --action full_scan \\\n    --output multi_domain_report.json\n```\n","# Implementing Attack Surface Management\n\n## When to Use\n\n- When building an external attack surface management (EASM) program from scratch\n- When performing authorized external reconnaissance for penetration testing engagements\n- When continuously monitoring organizational exposure across internet-facing assets\n- When scoring and prioritizing external attack surface risks for remediation\n- When integrating multiple discovery tools into an automated ASM pipeline\n\n## Prerequisites\n\n- Python 3.8+ with requests, shodan, censys libraries installed\n- Shodan API key (free tier provides 100 queries\u002Fmonth)\n- Censys API ID and Secret (free tier available)\n- ProjectDiscovery tools installed: subfinder, httpx, nuclei\n- Go 1.21+ for building ProjectDiscovery tools from source\n- Appropriate authorization for all external scanning activities\n- Target domains and IP ranges with written scope documentation\n\n## Instructions\n\n### Phase 1: Subdomain Enumeration with Multiple Sources\n\nUse subfinder for passive subdomain discovery leveraging dozens of data sources\nincluding certificate transparency logs, DNS datasets, and search engines.\n\n```bash\n# Install ProjectDiscovery tools\ngo install -v github.com\u002Fprojectdiscovery\u002Fsubfinder\u002Fv2\u002Fcmd\u002Fsubfinder@latest\ngo install -v github.com\u002Fprojectdiscovery\u002Fhttpx\u002Fcmd\u002Fhttpx@latest\ngo install -v github.com\u002Fprojectdiscovery\u002Fnuclei\u002Fv3\u002Fcmd\u002Fnuclei@latest\n\n# Basic subdomain enumeration\nsubfinder -d example.com -o subdomains.txt\n\n# Verbose with all sources and recursive enumeration\nsubfinder -d example.com -all -recursive -o subdomains_full.txt\n\n# Multi-domain enumeration from file\nsubfinder -dL domains.txt -o all_subdomains.txt\n\n# Using OWASP Amass for deeper enumeration\namass enum -d example.com -passive -o amass_subdomains.txt\n\n# Merge and deduplicate results\ncat subdomains.txt amass_subdomains.txt | sort -u > combined_subdomains.txt\n```\n\n### Phase 2: Live Host Discovery and Service Fingerprinting\n\nProbe discovered subdomains to identify live hosts, technologies, and services.\n\n```bash\n# HTTP probing with technology detection\ncat combined_subdomains.txt | httpx -sc -cl -ct -title -tech-detect \\\n    -follow-redirects -json -o httpx_results.json\n\n# Detailed service fingerprinting\ncat combined_subdomains.txt | httpx -sc -cl -ct -title -tech-detect \\\n    -favicon -hash sha256 -jarm -cdn -cname \\\n    -follow-redirects -json -o httpx_detailed.json\n```\n\n### Phase 3: Shodan Asset Discovery\n\nQuery Shodan for exposed services, open ports, and known vulnerabilities\nassociated with discovered assets.\n\n```python\nimport shodan\n\napi = shodan.Shodan(\"YOUR_SHODAN_API_KEY\")\n\n# Search by organization\nresults = api.search(\"org:\\\"Example Corp\\\"\")\nfor service in results[\"matches\"]:\n    print(f\"{service['ip_str']}:{service['port']} - {service.get('product', 'unknown')}\")\n    if service.get(\"vulns\"):\n        for cve in service[\"vulns\"]:\n            print(f\"  CVE: {cve}\")\n\n# Search by hostname\nresults = api.search(\"hostname:example.com\")\n\n# Search by SSL certificate\nresults = api.search(\"ssl.cert.subject.cn:example.com\")\n\n# Get host details with all services\nhost = api.host(\"93.184.216.34\")\nprint(f\"IP: {host['ip_str']}\")\nprint(f\"Ports: {host['ports']}\")\nprint(f\"Vulns: {host.get('vulns', [])}\")\n```\n\n### Phase 4: Censys Asset Discovery\n\nUse Censys to discover internet-facing assets through certificate and host search.\n\n```python\nfrom censys.search import CensysHosts, CensysCerts\n\n# Host search\nhosts = CensysHosts()\nquery = hosts.search(\"services.tls.certificates.leaf.subject.common_name: example.com\")\nfor page in query:\n    for host in page:\n        print(f\"IP: {host['ip']}\")\n        for service in host.get(\"services\", []):\n            print(f\"  Port: {service['port']} Protocol: {service['transport_protocol']}\")\n            print(f\"  Service: {service.get('service_name', 'unknown')}\")\n\n# Certificate transparency search\ncerts = CensysCerts()\nquery = certs.search(\"parsed.names: example.com\")\nfor page in query:\n    for cert in page:\n        print(f\"Fingerprint: {cert['fingerprint_sha256']}\")\n        print(f\"Names: {cert.get('parsed', {}).get('names', [])}\")\n```\n\n### Phase 5: Vulnerability Scanning with Nuclei\n\nRun targeted vulnerability scans against discovered assets using Nuclei templates.\n\n```bash\n# Update nuclei plugins\nnuclei -ut\n\n# Scan with all plugins\ncat combined_subdomains.txt | httpx -silent | nuclei -o nuclei_results.txt\n\n# Scan with specific severity\ncat combined_subdomains.txt | httpx -silent | \\\n    nuclei -severity critical,high -o critical_findings.txt\n\n# Scan with specific template categories\ncat combined_subdomains.txt | httpx -silent | \\\n    nuclei -tags cve,misconfig,exposure -o categorized_findings.txt\n\n# Scan for exposed panels and sensitive files\ncat combined_subdomains.txt | httpx -silent | \\\n    nuclei -tags panel,exposure,config -o exposed_panels.txt\n```\n\n### Phase 6: Exposure Scoring Algorithm\n\nScore each asset based on OWASP attack surface analysis principles, using\na weighted formula derived from the Relative Attack Surface Quotient (RSQ)\nand damage-potential-to-effort ratio.\n\nThe scoring algorithm considers:\n1. **Open ports and services** - weighted by service risk (management ports score higher)\n2. **Known vulnerabilities** - weighted by CVSS score\n3. **Technology age** - outdated software increases score\n4. **Exposure level** - internet-facing vs. authenticated access\n5. **Data sensitivity** - based on service type and content indicators\n\n```python\n# Exposure Score = sum of weighted factors, normalized to 0-100\n# See agent.py for the full implementation\n```\n\n## Examples\n\n```bash\n# Run complete ASM pipeline against a target domain\npython agent.py \\\n    --domain example.com \\\n    --action full_scan \\\n    --shodan-key YOUR_KEY \\\n    --censys-id YOUR_ID \\\n    --censys-secret YOUR_SECRET \\\n    --output asm_report.json\n\n# Subdomain enumeration only\npython agent.py \\\n    --domain example.com \\\n    --action enumerate \\\n    --output subdomains.json\n\n# Exposure scoring on previously discovered assets\npython agent.py \\\n    --domain example.com \\\n    --action score \\\n    --input previous_scan.json \\\n    --output scored_assets.json\n\n# Multi-domain scan from file\npython agent.py \\\n    --domain-list targets.txt \\\n    --action full_scan \\\n    --output multi_domain_report.json\n```\n",{"name":5,"domain":21,"description":7},"main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Fnet-recon-easm","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill net-recon-easm",{"tool":47,"command":48},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill net-recon-easm",{"tool":50,"command":51},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill net-recon-easm","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fnet-recon-easm\u002FSKILL.md",true,[55],{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"index.json","REFERENCE","参考文档",496,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fnet-recon-easm\u002Findex.json",[62,72,97,120,142,164],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":67,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":71},"01M73MDK3NT5XHNYTQ5P5172V9","devel-jb-algorithmic-art","- Embed algorithms inline in the HTML artifact (don't create separate .","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":29},"01M71HAPZ01KQ30RKTB0FFSQ05","services-wmi-persistence-detect","Detect WMI event subscription persistence by enumerating ActiveScriptEventConsumer, CommandLineEventConsumer, and permanent subscriptions in the WMI repository.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fpersistence\u002Fdetect\u002FSKILL.md",[],[79,80,81,82,83,84,85,21,86,87,88,89,90,91,92,93,94,95,96],"services","detect","services wmi persistence detect","wmi","persistence","process-forensics","process","forensics","t1546.003","event-subscription","subscription","repository","commandline-consumer","subscriptions","event","activescript","cm","de",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":29},"01M71HAK6JTTTS229T17WJMMCG","services-wmi-exec-exploit","Perform lateral movement across Windows networks using WMI-based remote execution techniques including Impacket wmiexec.py, CrackMapExec, and native WMI commands for stealthy post-exploitation during red team engagements.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fexec\u002Fexploit\u002FSKILL.md",[],[104,82,105,79,106,107,108,109,110,21,111,112,113,114,115,116,117,118,96,119],"exec","services wmi exec exploit","exploit","across","Bash","analysis","team","traffic","remote","crackmapexec","Impacket","lateral-movement","read","lateral movement","command","native",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":29},"01M71HAG6MHKNQV8KDZKMT4886","registry-artifact-extract","Extract and analyze Windows Registry hives to uncover user activity, installed software, autostart entries, and evidence of system compromise.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fregistry\u002Fartifact\u002Fextract\u002FSKILL.md",[],[127,128,129,130,131,132,133,134,135,136,116,96,137,138,109,139,108,21,140,141],"extract","registry artifact extract","registry","artifact","digital-forensics","sonnet","regripper","windows-registry","evidence-collection","software","uncover","analyze","collection","artifact-analysis","activity",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":29},"01M71HACR4A8XTWTTSXK4124AA","processes-token-impersonate-detect","Detect Windows token impersonation and privilege abuse including SeImpersonatePrivilege exploitation via Potato attacks and token stealing techniques.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Ftoken\u002Fimpersonate\u002Fdetect\u002FSKILL.md",[],[149,150,151,80,21,152,95,153,154,155,84,96,156,157,158,159,160,161,162,163],"processes","token","processes token impersonate detect","techniques","escalation","windows","attacks","via","impersonation","potato","exploitation","printspoofer","token-impersonation","seimpersonate","privilege-escalation",{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":29},"01M71HAABSB4Z6QFSXEG00R4RK","processes-thread-injection-detect","Detect Windows thread injection techniques including CreateRemoteThread, QueueUserAPC, NtCreateThreadEx, and thread hijacking via process memory analysis.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Fthread\u002Finjection\u002Fdetect\u002FSKILL.md",[],[171,149,172,80,173,174,85,96,156,175,176,177,109,84,21,152,178,95,179,154],"thread","injection","processes thread injection detect","thread-injection","nt-api","apc-injection","api","process-injection","memory"]