[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EX81NMXH2W8QE6CRJ9GS9C":3,"skill-same:01M7EX81NMXH2W8QE6CRJ9GS9C":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M7EX81NMXH2W8QE6CRJ9GS9C","l3-recon-pivot",null,"Enumerate layer-3 network topology behind NAT, validate findings, and recognize when a target is unreachable from your position.","irraz\u002Fvulnerator-ai","irraz","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F65178233?v=4","01M7EX7JT13CV65B64GTBSVEQK","01M7EX7JTJF9275NQKX17FW6E1",280,"MIT","https:\u002F\u002Fgithub.com\u002Firraz\u002Fvulnerator-ai\u002Fblob\u002Fmaster\u002Fagent-ooda\u002Fskills\u002Fl3-recon-pivot\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: l3-recon-pivot\ndescription: Enumerate layer-3 network topology behind NAT, validate findings, and recognize when a target is unreachable from your position.\nversion: 0.1.0\nauthor: vulnerator-ai\nlicense: MIT\nmetadata:\n  hermes:\n    tags: [Security, Pentest, Network, Recon, L3]\n    related_skills: [pentest-ooda]\n    # Conditional activation: it only appears if the Kali MCP's ACTION tool is present,\n    # just like pentest-ooda. If there is no network to enumerate, this knowledge does NOT clutter the prompt.\n    requires_tools: [mcp_kali_kali_run]\n---\n\n# L3 recon and pivoting behind NAT\n\nDomain knowledge for the network reconnaissance phase when the target is on a DIFFERENT subnet\nthan yours and there is NAT in between (e.g. you run inside a container). It complements `pentest-ooda`: it\ndoes not change the loop's discipline, it brings the technique to enumerate layer 3 and, above all, to\ndistinguish \"I am still discovering terrain\" from \"I already know I cannot get through\".\n\n## When to Use\n\nWhen the target is NOT on your same subnet and you need to discover the topology (gateways, hops,\nsubnets) or decide whether the target is even reachable from your position. If the target is already\non your segment or you were given it by IP, you do NOT need this: go straight to scanning.\n\n## Map your position before scanning anything\n\nBefore sweeping ranges, situate yourself. A couple of cheap reads tell you where you are and where there is\nan exit:\n\n- **Your subnet and your gateway**: `ip route` \u002F `\u002Fproc\u002Fnet\u002Froute`, `ip addr`. The `default via \u003Cgw>` is your\n  only L3 exit; anything that is not your local subnet leaves through there.\n- **Your L2 neighborhood**: `ip neigh` \u002F `arp -a`. It ONLY sees your local broadcast domain. If the target\n  is not here, ARP will never find it for you (it does not cross routers or NAT).\n- **Resolution and internet egress**: `\u002Fetc\u002Fresolv.conf` (the DNS served to you), `curl -s ifconfig.me`\n  or `cloudflare.com\u002Fcdn-cgi\u002Ftrace` (your effective public IP). Useful to understand where you egress, NOT\n  to find a target on someone else's LAN.\n\nWith this you already know: how many NAT hops you have in front of you and whether the target falls inside or outside your\nL3 reach.\n\n## Understand NAT in layers (the container case)\n\nIf you run inside a container, you will normally have SEVERAL layers of NAT between you and a \"real\" LAN:\n\n```\ncontainer (you)  ->  container-network gateway  ->  [host \u002F VM]  ->  real router  ->  internet\n```\n\nEvery arrow that crosses a NAT is a boundary you CANNOT traverse at the L2\u002FL3 level with scanning alone:\nthe NAT rewrites addresses and does not forward your arbitrary traffic toward the subnet behind it. Recognizing\nwhich layer you are in is what tells you whether a target is reachable or not. A `traceroute` to an internet\ndestination shows you your first hops; if the second hop already does not respond (`* * *`), you have a\nNAT\u002Ffilter in front and the subnet beyond is NOT within your direct reach.\n\n## Validate findings before building on them\n\nA discovery finding is NOT a fact until you confirm it with a second independent signal.\nFirewalls and NAT produce FALSE POSITIVES that wreck the OODA loop if you treat them as real:\n\n- `nmap -sn \u003Crange>` that reports \"N active hosts\" may be the firewall answering for the whole\n  subnet. **Confirm** with a real `ping` or a port that actually responds before calling a host\n  alive. \"Host up\" with no corroborating packet = suspicious.\n- An \"open|filtered\" port (UDP, or TCP behind a firewall) is NOT a confirmed open port.\n- If an entire subnet appears \"full of hosts\" all at once, be suspicious: it is the typical pattern of a\n  device that ACKs everything. Verify one before scanning them all.\n\nRule: do not base the next step on a finding you have not corroborated. A false positive\nchased is a wasted OODA cycle.\n\n## Pivoting when there is an intermediary\n\nIf you discover a service that can forward traffic for you (an HTTP proxy such as Squid, a dual-homed\nhost, a reachable SSH), that is the LEGITIMATE path to get further when direct scanning\ndoes not cross. Test it in a bounded way before assuming anything: e.g. `curl -x http:\u002F\u002F\u003Cproxy>:\u003Cport>\n\u003Ctest-url>` to see if the proxy takes you out to another network, or just echoes your same egress. A proxy\nthat returns YOUR SAME public IP is not pivoting you anywhere new.\n\n## Recognize unreachability (the STOP criterion)\n\nThis is the part that matters most, because it is where the loop derails. If after a few DIFFERENT\ntactics (map the route, ARP, traceroute, a pivot attempt) you confirm that:\n\n- the target is behind one or more NATs you cannot cross, and\n- you have no intermediary that forwards toward its subnet,\n\nthen the target is **unreachable from your position**. That is NOT a progress step even if each\nattempt gave you new egress: you have learned about terrain that does not contain the answer. STOP,\nconsolidate the topology you DID discover, and HAND control back to the operator explaining why it is\nunreachable and what you would need (be given the IP, another network position, a valid pivot). Do not keep\nsweeping subnets at random: more attempts will not open a route that physically does not exist.\n\n## Pitfalls\n\n- **Confusing \"I discovered something new\" with \"advance toward the target\".** Mapping the Nth subnet of the\n  container infra does not get you closer to a router on someone else's LAN.\n- **Chasing firewall\u002FNAT false positives** without confirming them with a second signal.\n- **Repeating the same tactic** expecting a different result (another traceroute, another sweep of the same\n  range): if a path already proved not to cross, repeating it is not progress.\n- **Sweeping private ranges at random** (192.168.x, 10.x) \"just in case\": without an L3 route to them, they\n  do not leave your NAT.\n\n## Verification\n\nBefore considering the L3 recon phase done, confirm: (a) you situated your position (subnet, gateway,\nNAT layers) before sweeping; (b) every host\u002Fport you call alive is corroborated by a second\nsignal, not by a single `nmap -sn`; (c) if the target turned out to be unreachable, you STOPPED and reported it instead\nof continuing to discover irrelevant terrain.\n","# L3 recon and pivoting behind NAT\n\nDomain knowledge for the network reconnaissance phase when the target is on a DIFFERENT subnet\nthan yours and there is NAT in between (e.g. you run inside a container). It complements `pentest-ooda`: it\ndoes not change the loop's discipline, it brings the technique to enumerate layer 3 and, above all, to\ndistinguish \"I am still discovering terrain\" from \"I already know I cannot get through\".\n\n## When to Use\n\nWhen the target is NOT on your same subnet and you need to discover the topology (gateways, hops,\nsubnets) or decide whether the target is even reachable from your position. If the target is already\non your segment or you were given it by IP, you do NOT need this: go straight to scanning.\n\n## Map your position before scanning anything\n\nBefore sweeping ranges, situate yourself. A couple of cheap reads tell you where you are and where there is\nan exit:\n\n- **Your subnet and your gateway**: `ip route` \u002F `\u002Fproc\u002Fnet\u002Froute`, `ip addr`. The `default via \u003Cgw>` is your\n  only L3 exit; anything that is not your local subnet leaves through there.\n- **Your L2 neighborhood**: `ip neigh` \u002F `arp -a`. It ONLY sees your local broadcast domain. If the target\n  is not here, ARP will never find it for you (it does not cross routers or NAT).\n- **Resolution and internet egress**: `\u002Fetc\u002Fresolv.conf` (the DNS served to you), `curl -s ifconfig.me`\n  or `cloudflare.com\u002Fcdn-cgi\u002Ftrace` (your effective public IP). Useful to understand where you egress, NOT\n  to find a target on someone else's LAN.\n\nWith this you already know: how many NAT hops you have in front of you and whether the target falls inside or outside your\nL3 reach.\n\n## Understand NAT in layers (the container case)\n\nIf you run inside a container, you will normally have SEVERAL layers of NAT between you and a \"real\" LAN:\n\n```\ncontainer (you)  ->  container-network gateway  ->  [host \u002F VM]  ->  real router  ->  internet\n```\n\nEvery arrow that crosses a NAT is a boundary you CANNOT traverse at the L2\u002FL3 level with scanning alone:\nthe NAT rewrites addresses and does not forward your arbitrary traffic toward the subnet behind it. Recognizing\nwhich layer you are in is what tells you whether a target is reachable or not. A `traceroute` to an internet\ndestination shows you your first hops; if the second hop already does not respond (`* * *`), you have a\nNAT\u002Ffilter in front and the subnet beyond is NOT within your direct reach.\n\n## Validate findings before building on them\n\nA discovery finding is NOT a fact until you confirm it with a second independent signal.\nFirewalls and NAT produce FALSE POSITIVES that wreck the OODA loop if you treat them as real:\n\n- `nmap -sn \u003Crange>` that reports \"N active hosts\" may be the firewall answering for the whole\n  subnet. **Confirm** with a real `ping` or a port that actually responds before calling a host\n  alive. \"Host up\" with no corroborating packet = suspicious.\n- An \"open|filtered\" port (UDP, or TCP behind a firewall) is NOT a confirmed open port.\n- If an entire subnet appears \"full of hosts\" all at once, be suspicious: it is the typical pattern of a\n  device that ACKs everything. Verify one before scanning them all.\n\nRule: do not base the next step on a finding you have not corroborated. A false positive\nchased is a wasted OODA cycle.\n\n## Pivoting when there is an intermediary\n\nIf you discover a service that can forward traffic for you (an HTTP proxy such as Squid, a dual-homed\nhost, a reachable SSH), that is the LEGITIMATE path to get further when direct scanning\ndoes not cross. Test it in a bounded way before assuming anything: e.g. `curl -x http:\u002F\u002F\u003Cproxy>:\u003Cport>\n\u003Ctest-url>` to see if the proxy takes you out to another network, or just echoes your same egress. A proxy\nthat returns YOUR SAME public IP is not pivoting you anywhere new.\n\n## Recognize unreachability (the STOP criterion)\n\nThis is the part that matters most, because it is where the loop derails. If after a few DIFFERENT\ntactics (map the route, ARP, traceroute, a pivot attempt) you confirm that:\n\n- the target is behind one or more NATs you cannot cross, and\n- you have no intermediary that forwards toward its subnet,\n\nthen the target is **unreachable from your position**. That is NOT a progress step even if each\nattempt gave you new egress: you have learned about terrain that does not contain the answer. STOP,\nconsolidate the topology you DID discover, and HAND control back to the operator explaining why it is\nunreachable and what you would need (be given the IP, another network position, a valid pivot). Do not keep\nsweeping subnets at random: more attempts will not open a route that physically does not exist.\n\n## Pitfalls\n\n- **Confusing \"I discovered something new\" with \"advance toward the target\".** Mapping the Nth subnet of the\n  container infra does not get you closer to a router on someone else's LAN.\n- **Chasing firewall\u002FNAT false positives** without confirming them with a second signal.\n- **Repeating the same tactic** expecting a different result (another traceroute, another sweep of the same\n  range): if a path already proved not to cross, repeating it is not progress.\n- **Sweeping private ranges at random** (192.168.x, 10.x) \"just in case\": without an L3 route to them, they\n  do not leave your NAT.\n\n## Verification\n\nBefore considering the L3 recon phase done, confirm: (a) you situated your position (subnet, gateway,\nNAT layers) before sweeping; (b) every host\u002Fport you call alive is corroborated by a second\nsignal, not by a single `nmap -sn`; (c) if the target turned out to be unreachable, you STOPPED and reported it instead\nof continuing to discover irrelevant terrain.\n",{"name":5,"author":23,"license":14,"version":24,"metadata":25,"description":7},"vulnerator-ai","0.1.0",{"hermes":26},{"tags":27,"related_skills":33,"requires_tools":35},[28,29,30,31,32],"Security","Pentest","Network","Recon","L3",[34],"pentest-ooda",[36],"mcp_kali_kali_run","master","ff40f8dc8be20eb5aa89bbd0bc9a9795e34870dd","agent-ooda\u002Fskills\u002Fl3-recon-pivot",68,"https:\u002F\u002Fgithub.com\u002Firraz\u002Fvulnerator-ai","https:\u002F\u002Fgithub.com\u002Firraz","pentesting offensive-security ai-agent llm-agent ooda-loop mitre-attack mcp kali-linux playwright cloud-security red-team docker\r\n","2026-11-12 06:13:36",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add irraz\u002Fvulnerator-ai --skill l3-recon-pivot",{"tool":51,"command":52},"bunx","bunx skills add irraz\u002Fvulnerator-ai --skill l3-recon-pivot",{"tool":54,"command":55},"pnpm","pnpm dlx skills add irraz\u002Fvulnerator-ai --skill l3-recon-pivot","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Firraz\u002Fvulnerator-ai\u002Fblob\u002Fmaster\u002Fagent-ooda\u002Fskills\u002Fl3-recon-pivot\u002FSKILL.md",true,[],[60,66,72,79,86,92],{"skillNo":61,"name":62,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M7EX8V70J7A65NDRT2J7MMJZ","skill","https:\u002F\u002Fgithub.com\u002Firraz\u002Fvulnerator-ai\u002Fblob\u002Fmaster\u002Fplugins\u002Fexample-hello.disabled\u002Fskill\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M7EX8SW2V4XRM2F9TQBBTMKS","aaa_first","https:\u002F\u002Fgithub.com\u002Firraz\u002Fvulnerator-ai\u002Fblob\u002Fmaster\u002Fdocker\u002Fkali\u002Ftests\u002Ffixtures\u002Fplugins\u002Faaa_first\u002Fskill.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M7EX8N6ZASQF1CES1P5S4M57","web-pentest","Phased web pentest (recon, analysis, proof-based exploitation, reporting) with kali_run and a browser over MCP.","https:\u002F\u002Fgithub.com\u002Firraz\u002Fvulnerator-ai\u002Fblob\u002Fmaster\u002Fagent-ooda\u002Fskills\u002Fweb-pentest\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7EX8FDKR502YX096V42KRQY","pentest-report","Generates the formal pentest report when closing an engagement — structured base from the store + narrative enrichment + visual HTML with the Vulnerator-AI aesthetic.","https:\u002F\u002Fgithub.com\u002Firraz\u002Fvulnerator-ai\u002Fblob\u002Fmaster\u002Fagent-ooda\u002Fskills\u002Fpentest-report\u002FSKILL.md",[],[],{"skillNo":87,"name":34,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M7EX8AWN4KN3G15TAG3XCC4Y","Drives the pentest OODA loop by executing DIRECTLY on the Kali via the kali container's MCP.","https:\u002F\u002Fgithub.com\u002Firraz\u002Fvulnerator-ai\u002Fblob\u002Fmaster\u002Fagent-ooda\u002Fskills\u002Fpentest-ooda\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":18},"01M7EX86RYZY4FYJMDG6QJAB6S","ooda-report-handoff","Returns a structured, readable OODA summary to the operator when a cycle or run closes.","https:\u002F\u002Fgithub.com\u002Firraz\u002Fvulnerator-ai\u002Fblob\u002Fmaster\u002Fagent-ooda\u002Fskills\u002Fooda-report-handoff\u002FSKILL.md",[],[]]