Penetration testing: what an audit misses

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

Illustration: two people going through a report together at a round table

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.

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 maturity model, ISO 27001, 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

TopicCompliance auditPenetration test
The question it answersDo the controls a standard asks for exist and operate?Do those controls stop an attacker?
How it worksReviews policies, configurations and the evidence you supplyA skilled tester, with your authorisation, tries to break in, escalate access and reach sensitive data
What you getA statement of conformance against a defined standard, at a point in timeA prioritised list of proven weaknesses, each demonstrated, with how to close it
What it cannot tell youWhether the controls hold up against a determined, creative attackerWhether you meet your privacy obligations, retention policies or governance requirements
Who it is forRegulators, insurers and clientsYou, 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 work helps you sequence it, and penetration testing sets out how a test is scoped to where your risk sits. techosity is an ISO 27001 certified organisation, with two Certified Information Systems Security Professionals (CISSP), a Certified Cloud Security Professional (CCSP) and an ISO 27001 Lead Auditor on the team.

Call us on 1300 14 10 10 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 schemeOffice of the Australian Information CommissionerWhat the Notifiable Data Breaches scheme asks of an organisation.
  2. Essential Eight maturity modelAustralian Signals Directorate, November 2023 revisionThe 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 or send us a message, and we fix it and say that we did.