Vulnerability Assessment vs Penetration Testing: What to Run First?
A vulnerability assessment lists the weaknesses in your systems; a penetration test tries to exploit them. Learn what each one does and which to run first.
On this page
Short answer
A vulnerability assessment scans your systems and lists known weaknesses with a severity rating, while a penetration test has a tester try to exploit those weaknesses the way an attacker would. Assessments give you breadth and a prioritised list; penetration tests give you proof of what is actually reachable and how far an attacker could get.
What is vulnerability assessment and penetration testing?
Vulnerability assessment and penetration testing are two different security exercises that are often bought together, and confusing them is the most common mistake in security planning. A vulnerability assessment is a systematic scan and review that finds known weaknesses across your systems and lists them with a severity rating.
Penetration testing, by contrast, is a controlled attack. A tester uses the weaknesses an assessment might find, plus misconfigurations and logic flaws that scanners miss, and tries to reach a defined goal, such as reading customer data or gaining admin access.
The table below shows how the two differ:
| Aspect | Vulnerability assessment | Penetration test |
|---|---|---|
| Goal | Find and list every known weakness | Prove which weaknesses an attacker can exploit |
| Method | Automated scans plus manual review | Manual, human-led attack simulation |
| Output | Prioritised list of findings | Attack path, evidence and business impact |
| Coverage | Broad, across many systems | Narrow, focused on agreed targets |
| Frequency | Monthly or quarterly | Once or twice a year, or after major change |
| Typical length | Days | One to four weeks |
Neither replaces the other. An assessment without a penetration test leaves you guessing about real risk, and a penetration test without an assessment leaves most of your estate unexamined. For most teams, the two are parts of one programme, and cybersecurity services usually include both.
How does a vulnerability assessment work?
A vulnerability assessment works by scanning your systems against a database of known weaknesses and then having a person review the results, remove false positives and rank what remains by risk.
The usual sequence is:
- Define scope. List the networks, hosts, applications and cloud accounts to scan, and agree which credentials the scanner may use.
- Run authenticated scans. The scanner logs in where possible, checks installed software versions, patch levels and configurations, and matches them against known weakness databases.
- Review and filter. An analyst removes false positives, confirms which findings apply to your environment, and checks whether compensating controls already exist.
- Rank by risk. Findings are scored by severity and by exposure: a critical flaw on an internet-facing server matters more than the same flaw on an isolated test host.
- Report and track. The output is a prioritised list with remediation guidance, owned by named teams and tracked to closure.
Assessments are repeatable and cheap to run often, which is their strength. A monthly scan catches new weaknesses from patches, new software and configuration drift before they age into incidents. The weakness is that a scanner only finds what it knows: it cannot reason about business logic, chained flaws or custom code.
How does penetration testing work?
Penetration testing works by giving a skilled tester a defined goal and a time box, then letting them attack your systems the way a real attacker would, with the constraint that nothing is damaged and everything is documented.
A typical engagement has four phases. First comes scoping: the targets, the rules of engagement, what is off limits, and how the tester may contact you if they find something serious. Then reconnaissance: mapping the target from public sources, DNS records, login pages and error messages.
Then comes exploitation. The tester chains weaknesses together, for example using a forgotten test account to reach an internal API, then an injection flaw in that API to read a database. Each step is recorded with evidence, so the finding is proven rather than asserted.
Finally comes reporting. A good report explains the attack path in plain language, states the business impact of each step, and gives concrete fixes in priority order. It also includes a retest: after you fix the issues, the tester checks whether the same path still works. That retest is what turns a report into a result.
When should you run each one?
You should run vulnerability assessments continuously and penetration tests at decision points, because they answer different questions at different moments.
Run a vulnerability assessment monthly or quarterly as part of normal operations, and always after a major change such as a cloud migration, a new product launch or a merger. It is the routine check that keeps your known-weakness list current.
Run a penetration test once or twice a year, before a product launch that handles sensitive data, after a major architecture change, and when a customer or regulator asks for evidence of security testing. It is also the right tool after an incident, to check whether the same attack path still works.
A practical rule: if you have never had either, start with an assessment. It is faster, cheaper and gives you the list you need to fix the obvious problems first. A penetration test on a system that has never been scanned wastes the tester's time on weaknesses a scanner would have found in an afternoon.
Example: a mid-size company runs both for the first time
Example (hypothetical): a 150-person software company has never tested its security. It starts with a vulnerability assessment of its production environment, which scans 60 hosts and 4 web applications.
The scan returns 214 findings: 12 critical, 38 high, 64 medium and 100 low. The numbers add up: 12 plus 38 plus 64 plus 100 equals 214. The team fixes the 12 critical findings first, then the 38 high findings that are on internet-facing systems.
Six weeks later, a penetration test targets the customer portal. The tester finds that a password reset flow does not limit attempts, which lets them try common passwords against a list of customer email addresses. They reach two accounts that used weak passwords, then find that one of those accounts can view other customers' invoices through a predictable URL.
The scanner had flagged neither flaw, because both were logic problems, not known software weaknesses. The company fixes the reset flow and the access control, then pays for a retest that confirms the attack path is closed. The assessment found the volume; the test found the risk.
What are the common mistakes?
The most common mistakes in vulnerability assessment and penetration testing are treating a scan as a test, testing once and stopping, and fixing findings in severity order without considering exposure.
- Calling a scan a penetration test. A scanner report is not proof of exploitability, and presenting it as one misleads customers and auditors.
- Testing too narrow a scope. Excluding the systems that matter most, such as the production database, makes the result meaningless.
- Fixing by severity alone. A critical finding on an isolated host matters less than a medium finding on a public login page.
- Skipping the retest. Without a retest you do not know whether the fix worked or only moved the problem.
- Treating the report as the deliverable. A report that nobody tracks to closure is a document, not a security improvement.
- Running a test on an unpatched system. Testers spend their time on known flaws a scanner would have caught, and the real logic flaws go untested.
How to plan a testing programme
You plan a testing programme by setting a rhythm: assessments often, penetration tests at decision points, and a retest after every fix that matters.
- Inventory your estate. List hosts, applications, APIs and cloud accounts. You cannot scope a test for systems you do not know exist.
- Start with an assessment. Scan everything in scope, fix the critical and high findings, and repeat until the list is manageable.
- Book a penetration test. Scope it to your most valuable targets, agree rules of engagement in writing, and give the tester a point of contact.
- Fix by risk, not by count. Prioritise findings that are both severe and reachable, and fix the attack path, not just the single flaw.
- Retest and record. Confirm the fixes, keep the evidence, and feed the results into your next assessment cycle.
Keep the evidence. Customers, auditors and insurers increasingly ask for it, and a programme with dated reports and retest results answers those questions quickly. A security review can help set the scope if you are starting from zero.
For the test itself, what penetration testing is explains how a tester works and what a good report contains.
Key takeaways
- A vulnerability assessment lists known weaknesses; a penetration test proves which ones an attacker can exploit
- Run assessments often and penetration tests at decision points, such as launches and major changes
- Fix by risk, not by severity alone: exposure matters as much as the score
- Always pay for a retest, or you do not know whether the fix worked
- Assign every finding an owner and a deadline, or it will not get fixed
Frequently asked questions
Is a vulnerability assessment the same as a penetration test?
No. An assessment scans for known weaknesses and produces a prioritised list, while a penetration test has a person try to exploit weaknesses to reach a goal. An assessment gives breadth and a list; a test gives proof of what is reachable and how far an attacker could get.
How often should we run a vulnerability assessment?
Monthly or quarterly for most teams, and after any major change such as a migration or a new product launch. Scans are automated and repeatable, so the cost of running them often is low compared with the cost of a weakness that sits unnoticed for a year.
How often should we run a penetration test?
Once or twice a year is typical, plus before launches that handle sensitive data and after major architecture changes. A test is a manual, time-boxed exercise, so it is used where proof of exploitability matters rather than as a routine check.
Do we need both, or is one enough?
You need both. An assessment alone leaves you guessing about real risk, and a test alone leaves most of your systems unexamined. Start with an assessment to clear the obvious weaknesses, then use a penetration test on your most valuable targets.
What should a penetration test report contain?
It should show the attack path step by step, with evidence for each step, the business impact, and concrete fixes in priority order. It should also include the scope, the rules of engagement, and a retest after fixes so you can confirm the path is closed.
Can a penetration test damage our systems?
A properly scoped test should not. The rules of engagement define what is off limits, and testers stop before destructive actions. You agree the scope in writing first, keep a contact available during the test, and exclude production data stores where the risk is not acceptable.