We manage your security to weather the AI storm →

← Resource Hub

Attack Surface Management for Crypto Teams

By Daniel Gelfand Published 5 min read

Part of our guide to onchain monitoring

Attack Surface Management for Crypto Teams

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.

Watch: Attack Surface Management for Crypto Teams 1:39
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 logsHostnames from every publicly trusted TLS certificate
DNS and passive DNSName servers, subdomains, mail servers and other hosts
Scan databasesIP addresses, hostnames, open ports, certificates and server banners
Search enginesLeaked network details or credentials
Code hostsYour 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 domain28
75th percentile69
90th percentile194
Largest single domain1,382
Domains with 100 or more16 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 subdomainsEvery registered domain, plus names from certificate logs and DNSA name nobody on the team recognizes
IPs and cloud assetsAddresses, buckets, CDNs and the account behind eachA host or bucket with no owner
Open ports and servicesWhat answers on each IP, and which versionAn admin or database port open to all
Web app scriptsEvery third-party script, and the pages that load itA vendor script on a page that signs
Mail and DNS recordsNS, MX, SPF, DMARC and every CNAMEA CNAME to a service you deleted
Code hostsPublic repos, members, CI workflows and secretsA 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:

  1. Seed. List every registered domain, including docs, marketing and acquired ones.
  2. Expand. Pull new names from certificate logs, passive DNS and your code hosts.
  3. Resolve. Record where each name points today. Flag CNAMEs to services you no longer run.
  4. Scan. Check open ports and services on the IPs you own.
  5. Load the app. List every script each page loads, and the origin it comes from.
  6. Find lookalikes. Search new certificates and registrations for names that copy your brand.
  7. 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.

  1. Admin and internal tools. Put dashboards, CI and admin panels behind SSO or a VPN, or take them offline.
  2. Leaked secrets. Revoke or rotate first. GitHub warns that rewritten history can survive in clones, forks and cached views.
  3. 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.
  4. Dangling DNS. Delete records that point at resources you no longer hold.
  5. Live non-production hosts. Keep real keys and user data off staging, and gate it like production.
  6. 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