Security operations

What Is an Attack Surface? Types, Examples and How to Shrink Yours

Your attack surface is every door, window and open port an attacker could use. Here is what it covers, how attackers map it, and the practical steps that shrink it.

Cysoro Security TeamPublished · 7 min read
SECURITY OPERATIONS Attack Surface Every entry point an attacker can reach — mapped. HQ ! ? ✓ @ CYSORO
Quick answer

An attack surface is the sum of all the points where an attacker can try to enter, affect, or extract data from a system. NIST defines it as the set of points on the boundary of a system, system element, or environment where an attacker can try to enter, cause an effect on, or extract data from it. It includes internet-facing servers, cloud services, devices, APIs, and people.

Key takeaways

  • Your attack surface is every reachable entry point — digital, physical and human — not just your website.
  • Attackers only need one weak point; defenders have to protect all of them, which is why shrinking the surface matters.
  • Mapping your assets, closing unused ports and services, patching, and strong identity controls are the highest-impact reductions.

Every business has doors it does not know about: a forgotten subdomain, a test server someone spun up last year, a cloud storage bucket left public, a laptop that has not been patched in months. Attackers find those doors. Your attack surface is the full list of them.

What is an attack surface?

An attack surface is the sum of all the points where an attacker can try to enter, affect, or extract data from a system. NIST defines it as "the set of points on the boundary of a system, a system element, or an environment where an attacker can try to enter, cause an effect on, or extract data from" that system, in the NIST CSRC glossary.

Put simply, it is everything an attacker can reach and use. That includes your website and email, your cloud accounts and APIs, every laptop and phone, and every person who can be tricked into handing over access.

The surface is not the same as a vulnerability. A vulnerability is a specific weakness, such as an unpatched flaw. The attack surface is the whole set of places where weaknesses could exist and be reached. The bigger it is, the more chances an attacker gets.

Attackers only need to find one weak point. Defenders have to protect all of them. That imbalance is why shrinking the surface is one of the most effective things a small team can do.

What are the three types of attack surface?

Most guides split the attack surface into three types: digital, physical, and human, as CrowdStrike's overview describes. They overlap, and a real attack often crosses all three — a phishing email (human) that installs malware on a laptop (physical) that reaches a cloud server (digital).

TypeWhat it coversTypical examplesWho owns it
DigitalAnything reachable over a networkWebsites, APIs, open ports, cloud storage, email, VPNsIT and developers
PhysicalAnything an attacker can touchLaptops, phones, USB ports, servers, office access, discarded drivesIT and facilities
HumanPeople who can be persuaded or trickedPhishing, pretexting, tailgating, social engineeringEveryone, with training

Digital attack surface

The digital surface is the largest for most businesses. It covers every application, port, API, cloud service, and internet-facing asset, including the ones you forgot about. Shadow IT — services employees sign up for without telling IT — is a major part of it.

Common digital entry points include login pages, forgotten subdomains, exposed databases, misconfigured cloud storage, remote desktop ports, and third-party integrations that hold your data.

Physical attack surface

The physical surface is everything an attacker can touch: laptops, phones, USB ports, servers, printers, and the building itself. A stolen laptop without disk encryption, a USB stick found in a car park, or an unlocked server room all count.

It also covers hardware disposal. A hard drive thrown away without being wiped can hand an attacker your data for free.

Human attack surface

The human surface is your people. Attackers target employees with phishing, phone scams, and impersonation because people are often easier to fool than software. Our guide to what spear phishing is shows how a single researched email can bypass technical controls entirely.

Every employee with an email account, a phone, or access to customer data is part of this surface. That is why training and simple verification rules matter as much as firewalls.

Attack surface vs attack vector: what's the difference?

The attack surface is the set of points an attacker can reach. An attack vector is the route they take through one of those points. Think of the surface as all the doors and windows of a house, and the vector as the specific way a burglar gets in — through the back window, with a copied key, or by tricking someone into opening the front door.

Surface vs vector: the house analogy Attack surface All the doors and windows an attacker could reach: website, email, VPN, cloud, APIs, laptops, staff, suppliers Attack vector The route taken through one of those points: phishing email, stolen password, unpatched flaw, malicious file Shrink the surface and every vector has fewer places to start.
Attack surface vs attack vector. Illustration by Cysoro.

Common attack vectors include phishing, credential theft, exploiting unpatched software, misconfigured cloud services, malicious attachments, and supply-chain compromise through a supplier's weaker security.

What does an attack surface look like in practice?

For a typical 20-person business, the surface is far bigger than most owners expect. Here is a realistic inventory:

  • Public-facing: company website, webmail, a customer portal, and a handful of subdomains — including old ones nobody maintains.
  • Cloud: Microsoft 365 or Google Workspace, a file-sharing service, a CRM, accounting software, and any integrations between them.
  • Network: the office router, Wi-Fi, a VPN for remote staff, and any port forwarded for remote access.
  • Devices: 20 laptops, 20 phones, a few printers, and personal devices that touch company email.
  • People and suppliers: every employee, plus an IT contractor, an accountant, and a marketing agency with access to your accounts.

Each item is a point an attacker can probe. A forgotten subdomain running old software, a cloud account with a weak password and no MFA, or an ex-employee whose access was never removed are all classic entry points.

Attackers map surfaces the same way defenders should: scanning the internet for your domains, IP addresses, and certificates, then probing what responds. Public certificate records alone reveal many of your subdomains.

How do attackers find your attack surface?

Attackers do not need inside knowledge. Much of the mapping is done with public information and automated scanning.

  1. DNS and certificate records: public DNS and certificate transparency logs reveal your domains and subdomains.
  2. Port scanning: automated scans check which ports and services answer on your IP addresses.
  3. Search engines: search engines and internet scanners index exposed services, login pages, and misconfigured storage.
  4. People: LinkedIn, job ads, and social media reveal your software stack, your suppliers, and who works in finance or IT.
  5. Breached data: old passwords and email addresses from earlier breaches help attackers log in as your staff.

This is why "security through obscurity" fails. If a service is reachable from the internet, assume an attacker will find it — usually within days of it appearing.

How do you reduce your attack surface?

Reduction means removing or hardening entry points, in priority order. Start with the biggest, cheapest wins.

Five steps to shrink your attack surface 1 Inventory everythingdomains, subdomains, cloud accounts, devices, suppliers — you cannot protect what you cannot see 2 Remove what you do not needdelete old subdomains, close unused ports, uninstall unused software, revoke ex-staff access 3 Patch and updatepatch operating systems, browsers and apps promptly; automate updates where possible 4 Lock down identityMFA everywhere, least-privilege access, unique passwords via a password manager 5 Monitor what remainswatch for new exposures, expired certificates and look-alike domains; alert on changes
Five practical steps to reduce an attack surface. Illustration by Cysoro.

1. Inventory everything

List every domain and subdomain, every cloud service, every device, and every supplier with access. Check DNS records, certificate records, and your cloud billing — billing often reveals services nobody remembers buying.

2. Remove what you do not need

Every unused service is risk with no benefit. Delete old subdomains and test servers, close ports you do not use, uninstall software nobody needs, and remove access the day someone leaves. If a service must stay public, make sure it is patched and behind MFA.

3. Patch promptly

Most exploited vulnerabilities are not new — they are known flaws with patches available. Turn on automatic updates for operating systems and browsers, and patch internet-facing servers first.

4. Lock down identity

Stolen credentials are one of the most common entry points. Require MFA on email, cloud, and VPN accounts, give people only the access their job needs, and use a password manager so passwords are unique. Check your email setup with our free email security score tool.

5. Monitor what remains

Your surface changes constantly. Monitor for new subdomains, expiring certificates, and look-alike domains, and review the inventory after every change. Cysoro's attack surface management platform is built for exactly this continuous discovery.

What is attack surface management (ASM)?

Attack surface management is the continuous version of the steps above: discover all your internet-facing assets, assess their exposures, and fix the riskiest ones first — then repeat, because the surface never stops changing.

It differs from a penetration test or a vulnerability scan. A penetration test is a point-in-time exercise by a human tester. A vulnerability scan checks known systems for known flaws. ASM starts earlier: it finds the assets themselves, including the ones you did not know existed, and keeps watching them.

For a small business, ASM can be as simple as a quarterly spreadsheet plus automated checks: a DNS review, a certificate check, and a scan of your public IP addresses. The key is that it is repeated, not a one-off project. Our small business cybersecurity checklist puts this in context alongside backups, updates, and device security.

Common mistakes that grow your attack surface

These are the patterns that show up again and again in breaches:

  • Leaving test and staging servers public. They often run old code with default passwords.
  • Opening remote desktop or admin ports to the internet. Put them behind a VPN and MFA instead.
  • Reusing passwords across services. One breach then opens many doors.
  • Granting broad cloud permissions. An over-permissioned account turns a small compromise into a full takeover.
  • Forgetting supplier access. A marketing agency or contractor with admin access is part of your surface too.
  • Ignoring certificates. An expired certificate breaks trust and can push users toward unsafe workarounds. Check yours with the free SSL checker.
Start with the internet-facing listIf you only do one thing this week, list everything of yours that is reachable from the internet and ask of each item: does this need to be public, is it patched, and does it require MFA? Anything you cannot answer is a gap.

The bottom line

Your attack surface is every point where an attacker can reach your systems, your devices, and your people. You cannot make it zero, but you can make it much smaller — and every entry point you remove is one less chance for an attacker.

Inventory what you have, remove what you do not need, patch what remains, lock down identity with MFA, and keep watching. You can start today by checking your website's certificate and security headers with the free SSL checker.

Frequently asked questions

What is an attack surface in simple terms?

It is every way an attacker could get into your systems or data: your website, email, cloud accounts, laptops, phones, USB ports, and even your employees. If an attacker can reach it and use it, it is part of your attack surface.

What is the difference between an attack surface and an attack vector?

The attack surface is the set of entry points an attacker could use. An attack vector is the route or method they take through one of those points, such as a phishing email, an unpatched vulnerability, or a stolen password.

What are the three types of attack surface?

Digital, physical, and human. The digital surface covers networks, applications, APIs, and cloud services. The physical surface covers devices, USB ports, and premises. The human surface covers people who can be tricked or pressured into giving access.

Can an attack surface ever be zero?

No. Any system that connects to the internet, has users, or runs software has an attack surface. The goal is to make it as small as possible and to monitor what remains, not to eliminate it entirely.

What is attack surface management?

Attack surface management (ASM) is the continuous process of discovering all your internet-facing assets, finding their exposures, and fixing or removing them. It differs from a one-off audit because your surface changes every time you add a service, a subdomain, or a new employee.

How does the cloud change the attack surface?

Cloud services add many entry points that are easy to overlook: storage buckets, APIs, identity roles, and test environments. A single misconfigured storage bucket or an over-permissioned cloud account can expose data to the whole internet.

How often should you review your attack surface?

Continuously if you can, and at least quarterly at a minimum. Review it again after any change: a new service, a new supplier, a merger, a new employee, or a major software update.

Sources

  1. NIST CSRC — attack surface glossary
  2. CrowdStrike — What Is an Attack Surface?
  3. Orca Security — Attack Surface Explained
  4. Wiz — What is an Attack Surface?
  5. Zscaler — What Is an Attack Surface?
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against the NIST CSRC glossary definition of attack surface and OWASP's attack surface analysis guidance.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free