<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Himanshu Dhiman on Medium]]></title>
        <description><![CDATA[Stories by Himanshu Dhiman on Medium]]></description>
        <link>https://medium.com/@himanshuinfosec?source=rss-e462125e8404------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*v8Whd1ubJUXlqPiA</url>
            <title>Stories by Himanshu Dhiman on Medium</title>
            <link>https://medium.com/@himanshuinfosec?source=rss-e462125e8404------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 13:00:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@himanshuinfosec/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Attackers Already Have a Map of Your Network. Do You?]]></title>
            <link>https://medium.com/@himanshuinfosec/attackers-already-have-a-map-of-your-network-do-you-8fe323c2619f?source=rss-e462125e8404------2</link>
            <guid isPermaLink="false">https://medium.com/p/8fe323c2619f</guid>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[attack-surface-management]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[vulnerability-management]]></category>
            <dc:creator><![CDATA[Himanshu Dhiman]]></dc:creator>
            <pubDate>Thu, 18 Jun 2026 15:46:36 GMT</pubDate>
            <atom:updated>2026-06-18T15:46:36.683Z</atom:updated>
            <content:encoded><![CDATA[<h4>Attack Surface Management is the discipline of seeing your company the way the internet already sees it — and closing the gap before someone else uses it.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WHRNV6xFxWvU1K95xPocLA.png" /></figure><p>The breach I think about most didn’t start with a zero-day. It started with a staging server.<br>Two years before anyone got owned, a team cloned a customer portal for a demo, parked it on a cloud account security didn’t manage, gave it a shared password, and forgot it existed. It never made the asset inventory. No scanner had it in scope. But it sat on the public internet with a TLS certificate that cheerfully spelled out the company’s name to anyone scanning for it.</p><p>A red team found it in an afternoon. Weak password, production-shaped data, a soft path inward. They had domain admin before the end of the day.</p><p>That’s the part of security nobody puts on a slide: the asset that gets you breached is almost never the one you’re watching. It’s the one you forgot you had. Attack Surface Management is the discipline built around that uncomfortable fact.</p><h3>The view from the outside</h3><p>Strip away the vendor language and ASM answers one question — what can an attacker see when they look at us from the internet?</p><p>Your external attack surface is everything reachable that belongs to you: IP ranges, domains and subdomains, web apps, APIs, mail servers, VPN gateways, admin panels, cloud storage. Listing what you already know about is easy. The whole problem is the things you don’t.</p><p>Those unknowns come from predictable places: shadow IT provisioned outside the sanctioned process, cloud sprawl spun up and forgotten across a dozen accounts, acquisitions that hand you a whole company’s attack surface along with its bad habits, and third parties hosting things that carry your name on infrastructure you don’t control.</p><p>Here’s the one-line version worth keeping in your head:</p><blockquote>Your inventory is what you think you own. Your attack surface is what the internet can actually reach. ASM is the discipline of reconciling those two realities — continuously, because both keep moving.</blockquote><h3>Why your inventory is already wrong</h3><p>Asset inventories are snapshots, and snapshots rot. The moment you finish documenting your environment, someone changes it — and the drift always runs toward <em>more</em> exposure, never less.</p><p>Vulnerability scanners have a narrower problem: they only scan what you point them at. A scanner is excellent at telling you whether a known host has a known flaw, and it has nothing to say about a host you never told it about. If your inventory is incomplete — and it is — your vulnerability program is confidently scanning a subset of reality and calling it the whole.</p><p>Attackers don’t have that limitation. They work from a continuous scan of the whole internet, looking for anything reachable and weak with your fingerprints on it. They don’t care whether an asset is sanctioned — only whether it answers. So defenders read an old map while attackers read a live one. ASM exists to hand defenders the live map.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0YvslHd8zVkbdjoiIAdheA.png" /><figcaption>Diagram contrasting an inside-out view (asset inventory, monitored hosts) with the outside-in view an attacker sees (the same known assets plus shadow IT, forgotten staging apps, acquired infrastructure, and abandoned cloud), with the difference labeled “the exposure gap” and Attack Surface Management shown as the loop that discovers and closes it.</figcaption></figure><p><em>The job of ASM is to close the gap between the inventory you trust and the surface attackers actually see.</em></p><h3>What attackers actually do first</h3><p>To understand ASM, it helps to understand the order of operations on the other side. An opportunistic attacker — or a red team modeling one — rarely starts with an exploit. They start with reconnaissance, and most of it is passive.</p><p>They enumerate domains, resolve every subdomain, and map which point at live infrastructure. They fingerprint the services that answer: what’s that login portal, what version is that VPN appliance, is that an old admin panel or a forgotten staging app. They look hard at edge devices, because edge devices are the doors. They check cloud storage for public buckets and watch for dangling DNS records pointing at deprovisioned resources — that’s how subdomain takeovers happen.</p><p>Then they do the thing defenders forget: they prioritize. They don’t attack the hardest target; they attack the easiest reachable one with the highest payoff. The forgotten Jenkins box, the exposed RDP, the staging app with a default password — those beat a hardened production cluster every time. ASM is, more or less, running that same reconnaissance against yourself and reaching the findings first.</p><h3>A loop, not a project</h3><p>ASM done well is a loop: discover internet-facing assets (including the ones in no inventory), attribute each to a team and ideally a human, classify what’s exposed, prioritize by real-world danger rather than raw severity score, route findings to whoever can fix them, validate the fix, and start over — because the surface changed again while you were reading this.</p><p>The glamorous steps are discovery and prioritization. The steps that decide whether the program works are attribution and validation. Skip attribution and you get a pile of findings nobody owns. Skip validation and you get a backlog of issues marked “resolved” that aren’t. The boring middle is where programs live or die.</p><h3>When the edge becomes the front door</h3><p>For a concrete version of all this, look at CitrixBleed.</p><p>In October 2023, Citrix disclosed CVE-2023–4966, a flaw in its NetScaler ADC and Gateway appliances — the boxes enterprises put at the network edge to broker remote access and VPN sessions. The bug let an attacker send a malformed request and read leftover memory off the device, and that memory often held valid session tokens. A stolen session token is worse than a stolen password: it represents an already-authenticated session, so it walks straight past multi-factor authentication.</p><p>Mandiant later determined the vulnerability had been exploited as a zero-day since late August 2023 — roughly six weeks before a patch existed. And patching alone didn’t end it: organizations that updated but didn’t also kill active sessions stayed exposed, because the stolen tokens kept working. CISA, the FBI, and international partners eventually published a joint advisory on LockBit 3.0 ransomware affiliates using the flaw for initial access; in the named cases, Boeing reported that affiliates used CVE-2023–4966 to break into Boeing Distribution Inc., a separately run part of its business.</p><p>Here’s what matters for ASM. The flaw lived in the Gateway configuration — the one you <em>deliberately</em> expose to the internet. Weeks after the fix shipped, researchers still counted thousands of NetScaler appliances advertising vulnerable versions to the open internet. None were hidden. They were known, sanctioned, business-critical devices. The failure wasn’t discovery — it was knowing, quickly and authoritatively, <em>which</em> of your internet-facing appliances were exposed and unpatched, and proving you’d actually closed the hole rather than just installed the update.</p><h3>ASM, EASM, CAASM, and the rest</h3><p>The acronyms blur together, so here’s the short version worth keeping:</p><ul><li><strong>Vulnerability Management</strong> goes deep on assets you already know about.</li><li><strong>ASM</strong> is the umbrella — discovering and reducing exposure across your whole surface.</li><li><strong>EASM</strong> (External ASM) is the outside-in, internet-facing slice. This is where Cortex Xpanse sits.</li><li><strong>CAASM</strong> stitches together asset data from your internal tools and APIs into one inventory — mostly an inside-out view.</li><li><strong>CSPM</strong> finds misconfigurations <em>inside</em> your cloud accounts, where you have API access and context.</li></ul><p>EASM is the attacker looking in; CAASM and CSPM are you looking out; VM goes deep on what you already see. Mature programs run several at once.</p><h3>Where Cortex Xpanse fits</h3><p>Cortex Xpanse, from Palo Alto Networks, is an active EASM platform. The underlying technology traces back to DARPA-funded research around 2012, and the premise has held steady: scan the whole internet and figure out which of it is yours — including the parts you’d swear you don’t own.</p><p>Xpanse frames itself around three ideas. <em>Active Discovery</em> continuously scans internet-facing space — Palo Alto describes refreshing its dataset across IPv4 multiple times a day, with IPv6 added later. <em>Active Learning</em> maps discovered assets back to the organization that owns them and ranks exposures by risk. <em>Active Response</em> handles remediation, with built-in playbooks for exposures like internet-facing RDP and insecure OpenSSH; keep an analyst in the loop, or let automation close the exposure and re-scan to confirm.</p><p>CitrixBleed shows that outside-in measurement in action: Palo Alto’s Unit 42 used Cortex Xpanse’s internet-wide signatures to size the exposed population — on the order of 8,000 IPs advertising a vulnerable NetScaler Gateway and 6,000 advertising ADC. Whatever tool you use, that internet-scale tally is what a defender needs and rarely has — a current answer to “how many of these are mine, and how many are still open?”</p><p>One honest caveat, since this isn’t a brochure: Xpanse is enterprise software with unpublished pricing, it leans into the wider Palo Alto stack (XSIAM, XSOAR, Prisma Cloud), and it now ships both standalone and as a module inside Cortex XSIAM — worth knowing before you assume it’s a simple standalone buy.</p><h3>Running it: the first 30 days, then the rhythm</h3><p>The deployment matters far less than what you do in the first month, and the first month is about confronting unknowns. You scope your business entities, let discovery run, and sit with the list of things you didn’t know you owned. It’s the highest-value window you’ll get — the one moment the gap between belief and reality is undeniable. Screenshot it; you’ll want it when someone asks why this needs budget.</p><p>After that it’s about rhythm, which is what most programs lack. Weekly, someone owns a triage pass: new exposures assigned to teams, the loud ones (exposed admin interfaces, RDP, anything on CISA’s KEV list) escalated immediately, and anything marked fixed re-scanned before it’s closed. Monthly, you zoom out: which exposure types keep recurring, which business units keep reappearing, whether time-to-remediation is trending down. The recurring offenders are the prize — when the same team keeps exposing the same kind of service, that’s a broken process, not bad luck, and it’s the most useful signal ASM will ever hand you.</p><h3>What to measure</h3><p>If you can’t measure the program, you can’t defend its budget. A handful of metrics carry most of the weight:</p><ul><li><strong>Unknown assets discovered</strong> — the headline number, especially early; it quantifies the gap you couldn’t see.</li><li><strong>Assets with no owner</strong> — every orphan is a finding nobody will fix. Drive it toward zero.</li><li><strong>Time to ownership</strong> and <strong>time to remediation</strong> — how long from discovery to “someone owns it,” and from there to “it’s closed.”</li><li><strong>Externally exposed KEV vulnerabilities</strong> and <strong>internet-facing critical services</strong> — the subset most likely to get you breached.</li><li><strong>Recurring exposure types</strong> — the process-failure signal.</li><li><strong>Percentage of findings validated closed</strong> — because unverified remediation is just optimism with a ticket number.</li></ul><p>Track the trend, not the snapshot. A working program shows unknowns shrinking and time-to-remediation falling quarter over quarter.</p><h3>Where teams go wrong</h3><p>The failure modes are predictable. Treating ASM as a one-time scan, when the surface changes daily. Dumping unassigned findings into a queue, which makes a guilt pile, not a program. Worshipping CVSS while a medium-severity bug on an internet-facing crown jewel outranks the critical on an isolated box. Skipping validation — which, as CitrixBleed showed, is how a “patched” environment stays wide open. And the quiet killer: never wiring findings into the tools people already use, so they’re technically correct and completely ignored.</p><h3>A practical ASM checklist</h3><p>If you can’t confidently answer “yes” to most of these, you have a visibility gap worth closing:</p><ul><li>Do we have an authoritative list of every internet-facing domain and brand we own?</li><li>Do we know every cloud account and region where our assets can live?</li><li>Do we track assets inherited through acquisitions and subsidiaries?</li><li>Do we prioritize externally exposed CISA KEV vulnerabilities first?</li><li>Does every finding have a named owner?</li><li>Do we re-scan to validate that a fix actually closed the exposure?</li><li>Do we review recurring exposure patterns to find broken processes?</li><li>Can we say whether our unknown-asset count is rising or falling over time?</li></ul><h3>FAQ</h3><p><strong>How is ASM different from vulnerability management?</strong> VM goes deep on assets you already know about; it can’t see what isn’t in scope. ASM’s job is finding the assets first — especially unknown internet-facing ones — then feeding them into the rest of your program.</p><p><strong>What is EASM?</strong> External Attack Surface Management: the outside-in slice of ASM focused on internet-facing exposure, modeling the attacker’s view of you. Cortex Xpanse is an EASM platform.</p><p><strong>Is Cortex Xpanse only for large enterprises?</strong> It’s enterprise-grade with unpublished, asset-based pricing, so in practice it lands mostly with larger organizations. Smaller teams can get much of the value from open-source discovery tooling plus disciplined process.</p><p><strong>What if we can’t buy an enterprise platform?</strong> Start with free tooling and discipline: certificate-transparency logs and subdomain enumeration to map domains, a reputable internet-scan source to spot exposed services, the CISA KEV catalog to prioritize, and a recurring triage cadence with real owners. Process beats tooling more often than vendors admit.</p><h3>The point</h3><p>ASM isn’t really about finding assets. Finding assets is the mechanic. The goal is shrinking the distance between what your organization thinks it owns and what an attacker can actually reach and touch.</p><p>Every company carries that gap. The only question is whether you’re the one measuring it — or whether someone else finds it for you, at a worse time, through a staging server nobody remembered or an edge appliance nobody patched.</p><p>Cortex Xpanse is one credible way to operationalize that visibility at internet scale. But the tool is the easy part. Owning what you find, fixing it, and proving it stayed fixed is what turns discovery into security.</p><p>Go look at yourself from the outside. You’ll find something. Everyone does.</p><h3>Further reading</h3><ul><li><a href="https://www.cisa.gov/known-exploited-vulnerabilities-catalog"><strong>CISA Known Exploited Vulnerabilities (KEV) Catalog</strong></a> — The authoritative list of actively exploited CVEs; prioritize any that are externally exposed.</li><li><a href="https://www.cisa.gov/news-events/cybersecurity-advisories/aa23-325a"><strong>CISA/FBI Advisory: LockBit 3.0 Exploits Citrix Bleed (AA23–325A)</strong></a> — The official advisory behind the case study, with the Boeing attribution and detection guidance.</li><li><a href="https://cloud.google.com/blog/topics/threat-intelligence/session-hijacking-citrix-cve-2023-4966/"><strong>Mandiant: Session Hijacking via Citrix NetScaler (CVE-2023–4966)</strong></a> — The technical analysis of how token theft bypassed MFA and why patched-but-unvalidated devices stayed exposed.</li><li><a href="https://www.cisa.gov/news-events/directives/binding-operational-directive-23-02"><strong>CISA BOD 23–02: Internet-Exposed Management Interfaces</strong></a> — In effect an attack-surface-reduction mandate for exposed edge and management interfaces.</li><li><a href="https://cheatsheetseries.owasp.org/cheatsheets/Attack_Surface_Analysis_Cheat_Sheet.html"><strong>OWASP Attack Surface Analysis Cheat Sheet</strong></a> — A pragmatic, vendor-neutral primer on mapping and reasoning about attack surface.</li><li><a href="https://www.paloaltonetworks.com/cortex/cortex-xpanse"><strong>Cortex Xpanse (Palo Alto Networks)</strong></a> — The authoritative source on Active Discovery, Learning, and Response; read it as vendor material.</li><li><a href="https://unit42.paloaltonetworks.com/threat-brief-cve-2023-4966-netscaler-citrix-bleed/"><strong>Unit 42 Threat Brief: Citrix Bleed (CVE-2023–4966)</strong></a> — The research that used internet-wide scan data to size the exposed NetScaler population.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8fe323c2619f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>