Skip to content
Back to skills

AsnRecon

ASecurity

ASN and IPv4 range reconnaissance using bgp.he.net. USE WHEN user mentions ASN lookup, find IP ranges, company IP space, BGP reconnaissance, owned IP addresses, network footprint, OR wants to discover what IP ranges a company owns. Searches bgp.he.net free-form, extracts ASNs and IPv4 prefixes.

  • 12 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 19, 2026
ai-agentstestingdocumentation

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 19, 2026

npx -y skills add SecurityTalent/bugskill-ai --skill AsnRecon --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of AsnRecon?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for AsnRecon
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/securitytalent-asnrecon/badge)](https://www.skillsdirectory.com/skills/securitytalent-asnrecon)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: AsnRecon
description: ASN and IPv4 range reconnaissance using bgp.he.net. USE WHEN user mentions ASN lookup, find IP ranges, company IP space, BGP reconnaissance, owned IP addresses, network footprint, OR wants to discover what IP ranges a company owns. Searches bgp.he.net free-form, extracts ASNs and IPv4 prefixes.
---

# AsnRecon

Discover a company's network footprint by finding their ASNs and owned IPv4 ranges using bgp.he.net.

**Why This Matters:** Companies often own IP space that isn't discoverable through DNS. Finding ASNs and IP ranges reveals infrastructure that subdomain enumeration misses - data centers, cloud deployments, legacy systems, and internal networks.

## Workflow Routing

**When executing a workflow, output this notification directly:**

```
Running the **WorkflowName** workflow from the **AsnRecon** skill...
```

| Workflow | Trigger | File |
|----------|---------|------|
| **FindAsn** | "find ASN", "ASN lookup", "company ASN" | `workflows/FindAsn.md` |
| **FindIpRanges** | "find IP ranges", "IPv4 prefixes", "owned IP space" | `workflows/FindIpRanges.md` |
| **FullAsnRecon** | "full ASN recon", "network footprint", "all IP ranges" | `workflows/FullAsnRecon.md` |

## Examples

**Example 1: Full ASN reconnaissance (RECOMMENDED)**
```
User: "Find the IP ranges owned by Acme Corp"
→ Invokes FullAsnRecon workflow
→ Searches bgp.he.net for "Acme Corp"
→ Identifies all ASNs associated with the company
→ Extracts IPv4 prefixes from each ASN's Prefixes V4 tab
→ Outputs {company}-asn-report.md with all ranges
→ User has complete network footprint for testing
```

**Example 2: Find company's ASN numbers**
```
User: "What ASNs does Netflix own?"
→ Invokes FindAsn workflow
→ Searches bgp.he.net free-form for "Netflix"
→ Lists all ASN numbers with organization names
→ Outputs ASN list for further investigation
```

**Example 3: Get IPv4 prefixes for known ASN**
```
User: "Show me the IPv4 ranges for AS2906"
→ Invokes FindIpRanges workflow
→ Fetches bgp.he.net/AS2906#_prefixes4
→ Extracts all IPv4 CIDR ranges
→ Outputs list of IP ranges for scanning
```

## Data Source

**bgp.he.net** - Hurricane Electric's BGP Toolkit

- Free to use, no authentication required
- Free-form search by company name, ASN, IP, or prefix
- Comprehensive BGP routing data
- Shows origin ASNs, prefixes, and relationships

**Key URLs:**
- Search: `https://bgp.he.net/search?search[search]={query}`
- ASN details: `https://bgp.he.net/AS{number}`
- IPv4 prefixes: `https://bgp.he.net/AS{number}#_prefixes4`

## Output Format

```
{company}-asn-report.md    # Full report with ASNs and all prefixes
{company}-asns.txt         # List of ASN numbers only
{company}-ipv4-ranges.txt  # All IPv4 CIDR ranges (one per line)
```

**Report format:**
```markdown
# ASN Reconnaissance: {Company}

## ASNs Found
| ASN | Organization | Country |
|-----|--------------|---------|
| AS12345 | Company Inc | US |

## IPv4 Prefixes
| Prefix | ASN | Description |
|--------|-----|-------------|
| 192.0.2.0/24 | AS12345 | Production |

## Summary
- Total ASNs: X
- Total IPv4 Prefixes: Y
- Estimated IPs: Z
```

## Integration with Recon Pipeline

ASN reconnaissance is typically done **before** subdomain enumeration:

```
1. AsnRecon → Find company's IP ranges
2. Reverse DNS on IP ranges → Discover additional domains
3. SubdomainEnum → Enumerate all discovered domains
4. Scan IP ranges directly → Find non-DNS infrastructure
```

**Combine with:**
- `masscan` / `nmap` for port scanning IP ranges
- Reverse DNS lookups to find hostnames
- `Recon` skill for subdomain enumeration on discovered domains

## Reference Documentation

- `workflows/FullAsnRecon.md` - Complete reconnaissance workflow
- `workflows/FindAsn.md` - ASN discovery workflow
- `workflows/FindIpRanges.md` - IPv4 prefix extraction workflow

Files in this skill

  • SKILL.md3.8 KB
  • workflows/FindAsn.md1.8 KB
  • workflows/FindIpRanges.md1.7 KB
  • workflows/FullAsnRecon.md3.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.