Back to Blog

Penetration Testing vs Vulnerability Scanning: What Your Business Actually Needs

A retail SaaS company completes a vulnerability scan, gets a clean-ish report, and ships it to their enterprise client as proof of security diligence. Six months later, an attacker chains together three medium-severity findings the scanner flagged but the team deprioritised, and they walk out with 80,000 customer records. The scan did its job — the problem was that nobody understood what a scan actually tells you, and what it does not. If you are trying to decide between penetration testing vs vulnerability scanning, the gap between those two things is where breaches live.

What a Vulnerability Scan Actually Does

A vulnerability scanner is an automated tool — Nessus, Qualys, OpenVAS, Rapid7 InsightVM — that enumerates your systems, compares what it finds against a database of known CVEs and misconfigurations, and produces a prioritised list of potential weaknesses. It is essentially a health-check: broad coverage, low friction, repeatable.

What it cannot do is tell you whether those weaknesses are actually exploitable in your specific environment, in combination with each other, or via your particular business logic. A scanner sees that you are running an unpatched library; it cannot know that the vulnerable function is never called, or conversely that an attacker can reach it through an undocumented admin endpoint your developers added last quarter.

  • Strengths: Fast to run (hours, not weeks), low cost, easily automated in CI/CD, good for compliance tick-boxes (PCI DSS quarterly scans, for example)
  • Weaknesses: High false-positive rate, no business-logic testing, no chained-exploit analysis, no social engineering or physical security coverage
  • Best cadence: Weekly or monthly for internet-facing assets; every scan on significant infrastructure changes

What a Penetration Test Actually Does

A penetration test is a scoped, human-driven simulation of an attack. A skilled tester (or red team) starts from a defined position — external network, authenticated web user, employee with laptop access — and attempts to achieve a defined objective: exfiltrate data, escalate privileges, move laterally into a production environment. They use scanner output as one input, but the real value is the human judgment layered on top: chaining vulnerabilities, exploiting business logic, manipulating authentication flows, probing for misconfigurations that no CVE database knows about yet.

Penetration tests come in several flavours:

  • Black box: Tester starts with no prior knowledge. Closest to a real attacker. Slower and more expensive, but covers your exposed attack surface honestly.
  • Grey box: Tester has partial knowledge (credentials, architecture diagrams). Balances realism with efficiency. Most common for web application and API testing.
  • White box: Full access to source code, architecture, credentials. Maximises depth; ideal for finding logic flaws in custom code.
  • Red team exercise: Multi-week, multi-vector engagement combining network, application, social engineering and sometimes physical access. Reserved for mature security programmes.

Head-to-Head Comparison

Dimension Vulnerability Scanning Penetration Testing
Primary output List of known weaknesses by severity Proof-of-concept exploits + narrative attack path
Who does it Automated tool (optionally reviewed by analyst) Human security professional
Typical cost $50–$500/month (SaaS tool) or free (open-source) $5,000–$50,000+ per engagement depending on scope
Time to complete Hours 1–4 weeks
Business-logic coverage None Yes (especially grey/white box)
Compliance value PCI DSS ASV scans, SOC 2 evidence PCI DSS Req 11.4, ISO 27001 Annex A.12.6
Cadence Weekly to monthly Annually minimum; after major releases

When Your Business Needs Each One

The honest answer is that most businesses need both — but at different stages and for different reasons. Here is a practical way to think about it:

Start with scanning if:

  • You are a startup or early-stage company building a security baseline
  • You need to demonstrate hygiene to a compliance auditor on a tight timeline
  • You want continuous visibility into your patch posture without high recurring cost
  • Your engineering team wants security feedback integrated into the development pipeline

Move to (or add) penetration testing if:

  • You are handling sensitive personal data, financial records, health information or IP that would cause real damage if exfiltrated
  • An enterprise customer, insurer or investor is asking for a pen test report specifically
  • You have gone through a major architecture change — new API layer, microservices migration, third-party integrations
  • You have cleaned up your scanner findings and want to know what a determined attacker could still do
  • You are pursuing SOC 2 Type II, ISO 27001, PCI DSS Level 1, or HIPAA and your auditor requires evidence of adversarial testing

The Cost Reality (and How to Scope Smartly)

Penetration testing pricing varies enormously based on scope. A focused web application test covering five to ten endpoints might cost $5,000–$12,000. A full external network plus web app test for a mid-size company with 50 hosts and a complex application is more likely $20,000–$40,000. Red team exercises for enterprise clients start at $50,000 and can exceed $150,000 for multi-month engagements.

The fastest way to waste budget is to buy a penetration test without first running a vulnerability scan and fixing the low-hanging fruit. If a pen tester spends half their time documenting unpatched Apache versions you could have fixed with a scanner, you have paid premium rates for commodity findings. The right order: scan, remediate the obvious, then test the residual attack surface with human expertise.

Also scope your test to the assets that matter. A pen test on your marketing website is a very different exercise from testing the API that handles payment authorisation. Be explicit with your testing vendor about what data lives where, what your crown jewels are, and what a realistic attacker objective would look like.

Integrating Both Into Your Security Programme

A mature security programme does not choose between scanning and testing — it uses them as complementary layers. The practical approach:

  1. Continuous scanning: Run automated scans against all internet-facing assets on a weekly schedule. Pipe results into your ticketing system. Assign CVSS 9.0+ findings a 72-hour SLA.
  2. Pre-release testing: For significant releases (new auth flows, payment integrations, data export features), run a focused grey-box test scoped to the changed components.
  3. Annual full-scope pen test: Cover your full external perimeter, web applications and internal network at least once per year. Use the report to drive your security roadmap.
  4. Remediation verification: After fixing pen test findings, verify fixes — either via your own team or a short re-test engagement.

Teams at Mexilet Technologies working on security-sensitive products (fintech, health-tech, enterprise SaaS) typically recommend this layered approach to clients precisely because no single tool gives complete coverage.

What to Look for in a Testing Vendor

Not all penetration testing firms are equal. When evaluating providers, check for:

  • Certifications: OSCP, CREST, GPEN, GWAPT are meaningful. CISSP alone is not a pen testing credential.
  • Manual testing commitment: Ask explicitly what percentage of the engagement is automated vs. manual. Firms that resell scanner output as a pen test are everywhere.
  • Deliverable quality: Ask for a sample report. It should contain narrative attack paths, proof-of-concept evidence and remediation guidance that your developers can actually act on — not just a severity-sorted list.
  • Scoping process: A good vendor will spend time understanding your architecture before quoting. Be wary of instant fixed-price quotes for complex environments.
  • Retesting policy: Some vendors include one retesting cycle in the price; others charge separately. Clarify upfront.

Frequently Asked Questions

Is vulnerability scanning enough for PCI DSS compliance?

Partially. PCI DSS Requirement 11.3.1 mandates quarterly internal and external vulnerability scans, and Requirement 11.4 mandates penetration testing at least annually and after any significant infrastructure or application change. You need both. Approved Scanning Vendor (ASV) scans for external-facing systems are a distinct requirement from pen testing — they cannot substitute for each other.

How often should we run a penetration test?

The industry minimum is annually for most compliance frameworks, but that cadence is more about paperwork than actual security. A more practical answer: test after any significant change to your attack surface — a new public API, a major infrastructure migration, an acquisition, or a shift to a new authentication model. Many SaaS companies run two full tests per year plus targeted mini-tests tied to major releases.

Can our internal team run the penetration test?

Internal teams can run vulnerability scans effectively and should. Penetration testing by internal staff is valuable for continuous red-teaming in mature organisations, but for compliance purposes and for genuine objectivity, most frameworks expect testing by an independent party — either an external firm or a separate internal team with no involvement in building the systems being tested.

What is the difference between a penetration test and a red team exercise?

A penetration test has a defined scope, is typically time-boxed to one to three weeks, and aims to find as many exploitable vulnerabilities as possible within that scope. A red team exercise is broader in scope (often including social engineering, phishing and physical access), longer in duration (weeks to months), and is designed to test your entire detection and response capability — not just to find vulnerabilities but to see whether your team would actually detect and stop an attack in progress.

When you're ready to build this, Mexilet can help — explore our cybersecurity services and secure cloud & DevOps.

If you are weighing up what your business actually needs — a scanning programme, a focused pen test, or a full security assessment — the specifics of your environment, data sensitivity and compliance obligations all drive the answer. Book a free technical scoping call with the Mexilet security team to map out exactly what level of testing your situation requires and get an honest estimate before you commit to any engagement.