Attack Surface Management for Crypto Teams
Part of our guide to onchain monitoring

Quick answer. Attack surface management is continuous discovery and monitoring of everything you expose online. Crypto teams should track domains, subdomains, IPs, cloud assets, open ports, web app scripts, mail and DNS records, and code hosts, and recheck weekly.
Video transcript
Attackers map your hosts, names and vendors from public data before touching a contract. Attack surface management is your copy of that map.
In Guardian's snapshot of the top 100 DeFi protocols, the median domain had 28 hostnames in public certificate logs.
Certificate Transparency logs are public and searchable. When a staging server gets a public certificate, its name goes public too.
The names reveal purpose. 71 of 93 domains showed non-production names like staging. 34 showed internal tools like admin or grafana. Each is a lead.
Inventory from the outside and give every asset an owner, from domains and cloud assets to scripts, DNS records and code hosts. Watch for red flags like a CNAME to a deleted service.
Scripts deserve the closest look. An attacker replaced a vendor script on Polymarket's site, and Polymarket is returning 3.9 million dollars to traders.
Then recheck weekly, the cadence CISA sets for federal asset discovery. Seed your domains, expand from certificate logs, resolve and scan, find lookalikes, and diff against last week.
Fix what attackers can reach first. Lock down admin tools, rotate leaked secrets, pull vendor scripts from signing pages, and delete dangling DNS.
Guardian's Shield runs this recon weekly, and a researcher verifies what it finds. Read the full article, or talk to Guardian.
Attackers start with reconnaissance. Before they touch a contract, they map your hosts, names and vendors from public data.
Certificate logs alone go a long way. In Guardian's December 1, 2026 snapshot of the top 100 DeFi protocols, the median domain had 28 hostnames in public certificate logs.
Attack surface management is the defender's copy of that map. Ranking and fixing what it finds is exposure management, covered in our exposure management vs attack surface management comparison.
Reconnaissance: What Attackers See First
MITRE ATT&CK, the public catalog of attacker techniques, defines reconnaissance as the adversary "trying to gather information they can use to plan future operations."
Several of its techniques need no contact with your systems at all:
| Public source | What it can reveal |
|---|---|
| Certificate logs | Hostnames from every publicly trusted TLS certificate |
| DNS and passive DNS | Name servers, subdomains, mail servers and other hosts |
| Scan databases | IP addresses, hostnames, open ports, certificates and server banners |
| Search engines | Leaked network details or credentials |
| Code hosts | Your code, and sometimes leaked credentials or API keys |
Scan databases are other people's scans, published. ATT&CK records Volt Typhoon using FOFA, Shodan and Censys to find exposed victim infrastructure.
Why certificate logs list your hosts
Certificate Transparency (CT) was built to catch misissued certificates. RFC 9162 describes "append-only logs of issued certificates" that let anyone audit what certificate authorities issue.
Browsers enforce CT. Chrome and Safari both require signed timestamps from CT logs, and a publicly trusted certificate that is not CT compliant fails to validate in Chrome.
Anyone can query the logs. Public tools such as crt.sh search them by domain name.
RFC 9162 names the side effect: "Malicious monitors can use logs to learn about the existence of domain names that might not otherwise be easy to discover."
Some subdomain labels may also reveal "the service and software" behind a host, the RFC adds. When a staging server gets a public certificate, its name goes public too.
What Public Data Reveals About DeFi
On December 1, 2026, Guardian took the top 100 DeFi protocols by TVL on DefiLlama, one registered domain each. For every domain, we pulled each hostname in certificate logs from crt.sh.
Results came back for 93 of the 100 domains. Together they listed 8,378 distinct hostnames.
| Measure | Hostnames in certificate logs |
|---|---|
| Median per domain | 28 |
| 75th percentile | 69 |
| 90th percentile | 194 |
| Largest single domain | 1,382 |
| Domains with 100 or more | 16 of 93 |
The names also say what many hosts are for:
- Non-production names such as dev, staging, test, qa or sandbox: 71 of 93 domains. Test and staging each appeared on 39, and dev on 37.
- Internal-tool names such as admin, grafana, internal, vpn or kibana: 34 of 93 domains. Admin appeared on 14 and grafana on 13.
Testnet is not counted, since a public testnet is a product, not a staging server.
A name in a certificate log is not proof the host is live today.
Each one is still a lead. Attackers check which names resolve and what answers, and your inventory should get there first.
Your External Attack Surface Inventory
Start from the outside, as an attacker would. Give every asset an owner:
| Asset | What to record | Red flag |
|---|---|---|
| Domains and subdomains | Every registered domain, plus names from certificate logs and DNS | A name nobody on the team recognizes |
| IPs and cloud assets | Addresses, buckets, CDNs and the account behind each | A host or bucket with no owner |
| Open ports and services | What answers on each IP, and which version | An admin or database port open to all |
| Web app scripts | Every third-party script, and the pages that load it | A vendor script on a page that signs |
| Mail and DNS records | NS, MX, SPF, DMARC and every CNAME | A CNAME to a service you deleted |
| Code hosts | Public repos, members, CI workflows and secrets | A key or token in commit history |
Scripts deserve the closest look. Polymarket's site loaded a vendor's performance-monitoring script, and an attacker replaced it.
For some users with the site open on October 29, 2026, "it used their active session to sell positions and move funds out of their wallet," Polymarket says. It is returning $3.9M to traders.
Its fixes include stronger CSP, explicit version pinning and sandboxing for vendor scripts. Our Polymarket script attack explainer traces the payload step by step.
DNS records go stale too. A CNAME left pointing at a deleted cloud resource can hand your subdomain to whoever claims that resource next, as our guide to subdomain takeover explains.
Mail is nearly universal: MX records route mail for 94 of the 100 domains in the snapshot. Our DeFi domain security report covers their locks, DNSSEC and DMARC.
Attack Surface Monitoring: The Weekly Loop
An inventory starts aging the day someone adds a host. Re-run discovery on a schedule, and after every launch or vendor change.
Weekly has precedent. CISA's Binding Operational Directive 23-01, issued in October 2022, tells US federal civilian agencies to "perform automated asset discovery every 7 days."
A weekly pass looks like this:
- Seed. List every registered domain, including docs, marketing and acquired ones.
- Expand. Pull new names from certificate logs, passive DNS and your code hosts.
- Resolve. Record where each name points today. Flag CNAMEs to services you no longer run.
- Scan. Check open ports and services on the IPs you own.
- Load the app. List every script each page loads, and the origin it comes from.
- Find lookalikes. Search new certificates and registrations for names that copy your brand.
- Diff. Compare with last week. Every new item gets an owner, or it comes down.
Step 6 is its own discipline. Our guide to typosquatting and fake sites covers generating lookalikes and taking them down.
What to Fix First
Rank what the loop finds by what an attacker could reach through it. Start here.
- Admin and internal tools. Put dashboards, CI and admin panels behind SSO or a VPN, or take them offline.
- Leaked secrets. Revoke or rotate first. GitHub warns that rewritten history can survive in clones, forks and cached views.
- Scripts on money pages. Remove vendor scripts from pages that sign or trade. Pin the rest with Subresource Integrity, so a changed file is refused.
- Dangling DNS. Delete records that point at resources you no longer hold.
- Live non-production hosts. Keep real keys and user data off staging, and gate it like production.
- Unexplained open ports. Close them, or write down why each one is open.
CISA's BOD 23-02 sets a clock for network devices. US federal civilian agencies get 14 days from discovery to take a management interface off the internet, or put zero trust access control in front of it.
Guardian's Weekly Recon
Shield is Guardian's continuous coverage of everything you have facing the internet: "hosts, ports, services, storage, certificates, edge rules, and the names that lead users to you."
It starts with full reconnaissance of your domains, subdomains, IPs and network services, to see what attackers have at their disposal. It needs no special access from you.
That pass finds open ports, things that should not be public, and dependencies that could inject JavaScript onto your site.
Recon re-runs weekly by default. It flags anything new that looks unexpected, and any new phishing sites that target your users.
A Guardian researcher verifies what Shield finds. In Managed Security, Shield pentesting is part of day one.
See what attackers see first
Guardian's Shield maps everything you expose to the internet, re-runs recon weekly and flags anything new that looks unexpected.
Frequently Asked Questions
What is external attack surface management?
It is attack surface management from the outside: finding what anyone on the internet can see, from known domains to assets nobody listed. Microsoft's Defender EASM, for example, classifies each discovered asset as recent (currently active) or historic.
Can we keep subdomains out of certificate logs?
Partly. Chrome supports no way to hide names in publicly trusted certificates, but a wildcard discloses less than one certificate per host. Staff-only hosts can use a private CA, which CT does not cover. Hidden names still need access control.
How quickly does a new hostname become public?
Usually within a day, and it can be before the certificate is issued. CAs log a precertificate first, and each log promises to add entries within its maximum merge delay, usually 24 hours. Anyone watching then sees the name.
Sources
- MITRE ATT&CK: Reconnaissance, Tactic TA0043 (modified April 25, 2025)
- MITRE ATT&CK: Search Open Technical Databases, Digital Certificates, T1596.003 (modified October 24, 2025)
- MITRE ATT&CK: Search Open Technical Databases, DNS/Passive DNS, T1596.001 (modified October 24, 2025)
- MITRE ATT&CK: Search Open Technical Databases, Scan Databases, T1596.005 (modified October 24, 2025)
- MITRE ATT&CK: Search Open Websites/Domains, Search Engines, T1593.002 (modified November 4, 2026)
- MITRE ATT&CK: Search Open Websites/Domains, Code Repositories, T1593.003 (modified May 12, 2026)
- IETF: RFC 9162, Certificate Transparency Version 2.0 (December 2021)
- Google Chrome: Certificate Transparency Policy (accessed December 1, 2026)
- Chromium: Certificate Transparency, Chromium Docs (accessed December 1, 2026)
- Certificate Transparency: How CT Works (accessed December 1, 2026)
- crt.sh: Certificate Search (Sectigo)
- DefiLlama API Docs: Free Endpoints, GET /protocols (accessed December 1, 2026)
- Polymarket Status: Security Incident, 3rd Party Vendor Compromised, with postmortem (October 30, 2026)
- CISA: BOD 23-01, Improving Asset Visibility and Vulnerability Detection on Federal Networks (October 3, 2022)
- CISA: BOD 23-02, Mitigating the Risk From Internet-Exposed Management Interfaces (June 13, 2023)
- GitHub Docs: Removing Sensitive Data From a Repository (accessed December 1, 2026)
- MDN: Subresource Integrity (updated April 14, 2026)
- Microsoft Learn: Defender EASM Overview (updated April 24, 2026)