# Penetration testing: what an audit misses

> What a penetration test is, what a compliance audit checks, what a simulated attack finds that an audit misses, and when you need both.

Canonical: https://techosity.au/insights/penetration-testing-vs-compliance-audits/
Status: Draft, awaiting technical review

We passed our audit. Does that mean we are secure?

Cyber security, penetration testing and compliance 6 min read Draft, awaiting technical review

By [the techosity team](https://techosity.au/authors/techosity-team/). [Two Certified Information Systems Security Professionals, a Certified Cloud Security Professional and an ISO 27001 Lead Auditor on the team](https://techosity.au/about/#credentials).

![Illustration: two people going through a report together at a round table](https://techosity.au/images/insights/pentest-vs-audit.avif)

## In short

A compliance audit checks whether your controls exist and match a standard; a penetration test checks whether those controls stop an attacker. The two answer different questions, which is why an organisation can pass an audit and still be compromised through a gap no checklist ever asks about. For organisations handling sensitive client data, the practical answer is usually both, on different schedules and for different reasons.

### On this page

## What is a penetration test?

A penetration test is an authorised, simulated attack on your systems, carried out by a skilled tester who uses the same techniques a real adversary would. The tester tries to break in, escalate access and reach sensitive data, then documents exactly how they did it and how to close each path.

That last part is the point. What you receive is a prioritised list of proven weaknesses, each one demonstrated.

### What types of penetration test are there?

Each test is scoped to a particular target. The common types are:

- **External.** What an attacker on the internet can reach: your website, remote access, email and anything else facing outward.
- **Internal.** What someone already inside your network could do, such as a compromised laptop or a visitor on the office wifi.
- **Web application.** A client portal or online system, including whether one signed-in user can see another's data.
- **Cloud and Microsoft 365.** How your tenancy, accounts and sharing settings hold up.
- **Social engineering.** Whether staff can be talked or phished into giving access.

The tester can also start out knowing nothing about your systems, knowing everything, or something in between. The less the tester is told, the closer it is to an outside attack; the more they are told, the more ground they cover in the time. A good provider helps you scope the test to where your risk sits and keeps the engagement to that size.

### Is penetration testing legal?

Yes, when the owner of the systems has authorised it in writing and the tester stays inside the agreed scope. Testing systems without that permission is unauthorised access to a computer, which is an offence under Australian law. That is why the written scope and authorisation come before anything else, and why a tester should ask you for both.

## What are the stages of a penetration test?

Most tests run in five stages, whatever a provider calls them:

1. **Scoping and authorisation.** What is in scope and what is off limits, the testing window, and written permission from the owner of the systems.
2. **Reconnaissance.** The tester gathers what an outsider can learn: addresses, services, software versions and the names of staff.
3. **Scanning and analysis.** The weaknesses in what was found, and which of them are worth trying.
4. **Exploitation.** Using those weaknesses the way an attacker would, to see how far access can go.
5. **Reporting.** Each finding written up with how it was exploited, what it exposed and how to close it, usually followed by a retest once the fixes are in.

## What does a compliance audit check?

A compliance audit measures your environment against a defined standard, such as the [Essential Eight](https://techosity.au/essential-eight/) maturity model, [ISO 27001](https://techosity.au/iso-27001-consulting/), or an industry framework. The auditor reviews policies, configurations and evidence, then reports on whether each required control is in place and operating.

Audits are valuable. They force documentation, create accountability, and give regulators, insurers and clients a common language for how well you are protected.

But an audit is fundamentally a conformance exercise. It confirms that the controls a standard asks for exist, and it can only assess what the standard thought to ask about. Whether those controls hold up under a determined, creative attacker is a question audits are not designed to answer.

## What does a penetration test find that an audit misses?

The gap between the two shows up in predictable places. Common examples:

- **Chained weaknesses.** Three individually minor issues that combine into a path to sensitive data. Audits assess controls one at a time; attackers chain them.
- **Configuration drift.** The policy says MFA is enforced everywhere, but one legacy login path or forgotten account slipped through. A tester finds the exception, not the policy.
- **Application logic flaws.** A client portal that lets one authenticated user view another's documents can pass every checklist while leaking privileged information.
- **Credential weaknesses in practice.** Password policies can be compliant on paper while staff passwords remain guessable in ways a tester will demonstrate.
- **Exposed services left behind.** Old remote access, a forgotten test server, or a staging site indexed by search engines, none of which appear in an audit scoped to known systems.

An audit checks what you meant to build. A penetration test finds what you did build, including the parts that were never written down.

## Does passing an audit mean you are secure?

No, and treating it as proof of security is a false comfort. An audit result is a statement about conformance at a point in time, based largely on evidence you supplied. That is the scope of an audit, and it is a useful one. The reverse is also true: a clean penetration test does not mean you are compliant, because a tester is not checking your privacy obligations, retention policies or governance.

A compliance audit and a penetration test, side by side

| Topic | Compliance audit | Penetration test |
| --- | --- | --- |
| The question it answers | Do the controls a standard asks for exist and operate? | Do those controls stop an attacker? |
| How it works | Reviews policies, configurations and the evidence you supply | A skilled tester, with your authorisation, tries to break in, escalate access and reach sensitive data |
| What you get | A statement of conformance against a defined standard, at a point in time | A prioritised list of proven weaknesses, each demonstrated, with how to close it |
| What it cannot tell you | Whether the controls hold up against a determined, creative attacker | Whether you meet your privacy obligations, retention policies or governance requirements |
| Who it is for | Regulators, insurers and clients | You, privately and specifically |

Mature organisations treat the two as complementary. The audit demonstrates your posture to regulators, insurers and clients under frameworks like the Privacy Act and the Notifiable Data Breaches scheme, while the penetration test tells you, privately and specifically, where you would break.

## When does a penetration test make sense for a small or mid-sized organisation?

Timing matters more than frequency. A penetration test delivers the most value after your fundamentals are in place, once patching, MFA and access controls are enforced, because testing an environment with known basic gaps mostly proves what you already knew.

Sensible triggers:

- launching or significantly changing a client-facing portal;
- a merger or an office integration;
- due diligence from an insurer or a client;
- reaching a maturity level you want tested by attack as well as attested.

A common rhythm is a focused test once a year, with the scope rotating between external, internal and application targets as the environment changes.

One caution when choosing a provider: ask who performs the testing, what credentials the testers hold, and whether the people scoping your engagement are the people doing the work.

## Where to from here

If you are weighing up where testing fits alongside your compliance obligations, our [cyber risk management](https://techosity.au/cyber-risk-management/) work helps you sequence it, and [penetration testing](https://techosity.au/penetration-testing-melbourne/) sets out how a test is scoped to where your risk sits. techosity is an [ISO 27001 certified organisation](https://techosity.au/about/#iso-27001), with two [Certified Information Systems Security Professionals](https://techosity.au/about/#cissp) (CISSP), a [Certified Cloud Security Professional](https://techosity.au/about/#ccsp) (CCSP) and an [ISO 27001 Lead Auditor](https://techosity.au/about/#iso-27001-lead-auditor) on the team.

Call us on [1300 14 10 10](tel:1300141010) to talk through whether your organisation is ready for a penetration test, or better served by closing known gaps first.

## Sources and revision

1. [About the Notifiable Data Breaches scheme](https://www.oaic.gov.au/privacy/notifiable-data-breaches/about-the-notifiable-data-breaches-scheme) Office of the Australian Information Commissioner What the Notifiable Data Breaches scheme asks of an organisation.
2. [Essential Eight maturity model](https://www.cyber.gov.au/business-government/asds-cyber-security-frameworks/essential-eight/essential-eight-maturity-model) Australian Signals Directorate, November 2023 revision The Essential Eight as an audit standard.

Both are revised from time to time, so check the current versions. This is general information and not legal or compliance advice.

**Status**

Draft, awaiting technical review. It is dated when the review is done.

**Corrections**

Something wrong or out of date? Ring [1300 14 10 10](tel:1300141010) or [send us a message](https://techosity.au/contact/), and we fix it and say that we did.

[The techosity team](https://techosity.au/authors/techosity-team/)

[**ISO 27001**, Certified information security management system (ISMS)](https://techosity.au/about/#iso-27001) [**CISSP**, Certified Information Systems Security Professional, two on the team](https://techosity.au/about/#cissp) [**CCSP**, Certified Cloud Security Professional](https://techosity.au/about/#ccsp) [**ISO 27001 Lead Auditor**, Information security management systems lead auditor](https://techosity.au/about/#iso-27001-lead-auditor)

Our service for this

[Cyber Risk Management](https://techosity.au/cyber-risk-management/)

Where you stand, written in the same language as your other business risks, with the evidence kept as we go.

[Ring 1300 14 10 10](tel:1300141010)

## Where this shows up in what we do

![Illustration: four people around a round table going through a printed report together](https://techosity.au/images/cutout/enterprise-board.avif)

Also our service for this

### [Penetration Testing](https://techosity.au/penetration-testing-melbourne/)

Penetration testing is an authorised, simulated attack on your organisation's systems. Our Melbourne team scopes it and ranks each finding by what it would cost you.

[Book an assessment](https://techosity.au/contact/) [Ring 1300 14 10 10](tel:1300141010)

- ### [Managed IT Services Melbourne](https://techosity.au/managed-it-services-melbourne/)

  Support, security, planning and automation run under one agreement, for one monthly figure.
- ### [Technology Support](https://techosity.au/technology-support/)

  One number to ring, the person who answers stays with the problem, and the maintenance happens on a schedule.

## More insights for your organisation.

[All insights](https://techosity.au/insights/)

- [Someone has asked what maturity level we are at, and we do not know.](https://techosity.au/insights/essential-eight-practical-guide/)

  ### The Essential Eight: a practical guide

  24 March 2026, updated 30 September 2026 7 min read
- [We have an assessment booked and we are not sure what they will want.](https://techosity.au/insights/prepare-essential-eight-assessment/)

  ### How to prepare for an Essential Eight audit

  Draft, awaiting technical review 5 min read
- [Our IT provider keeps our systems running but does not know our obligations.](https://techosity.au/insights/it-provider-compliance-obligations/)

  ### Why your IT provider should understand your compliance obligations

  18 March 2026, updated 30 September 2026 5 min read
