I built an Essential Eight ML2 audit environment from scratch. Here is what I found.

A technical case study documenting the OzCorp E8 Audit Lab, an independently built Windows Server 2022 domain environment, custom PowerShell audit tooling, and three verified ML2 findings that demonstrate what evidence-first compliance actually looks like.

SS

Sam Sultan

Enact Cyber

23 March 2026

6 min read

The ASD Essential Eight Maturity Model is the Australian government's primary cybersecurity baseline. ML2 is where most Australian organisations are expected to sit. Most of them do not know exactly where their gaps are.

I built a lab to find out what those gaps actually look like, in a real domain environment, interrogated by a script that cannot produce a finding it has not observed.

Why I built it

There are two problems with Essential Eight training in Australia right now.

The first is access. The ASD assessment toolkit is restricted to ASD-certified partner organisations. If you are not a partner, you do not get the tooling. If you are a student or an independent practitioner trying to understand how ML2 assessment actually works at a technical level, the official path is expensive and gated.

The second is honesty. A lot of compliance content describes controls at the policy level. It tells you what ML2 requires without showing you what a gap actually looks like in a live system: what registry key is wrong, what value it holds, what it should hold, and how you know the difference.

I wanted to build something that showed all of that, from first principles, using only public ACSC documentation.

The environment

OzCorp E8 Audit Lab is a simulated enterprise domain built on Windows Server 2022 with Active Directory configured for the ozcorp.local domain.

The GPO configuration uses the open source wagov Essential8-GPOs repository, publicly available, well-documented, and aligned to ACSC guidance. I configured the environment with intentional ML2 misconfigurations representing the kinds of gaps that appear in real organisations: incomplete GPO application, legacy software left enabled, and privileged account hygiene failures.

The audit is performed by Invoke-E8AuditCheck.ps1, a custom PowerShell script I wrote that interrogates live system state via registry queries, DISM feature checks, and Active Directory queries. It produces output only from what it observes. There is no mechanism by which it can generate a finding that does not correspond to an actual system state.

This matters. An audit tool that produces pre-written findings based on assumptions is not an audit tool. It is a template. The structural distinction (observed state drives output, not the other way around) is the entire point.

The three findings

Finding 1: AMSI Runtime Scan Scope disabled

Control: Malware Defence — Macro Security
Maturity level: ML2

The ASD Essential Eight ML2 requirement for macro security includes that AMSI (Antimalware Scan Interface) scanning is enabled for macro runtime. AMSI allows Windows Defender to inspect macro content before it executes.

In the OzCorp domain, the following registry value was found:

Key:   HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender\MpEngine
Value: MacroRuntimeScanScope
Data:  0

MacroRuntimeScanScope = 0 means AMSI scanning for macros is disabled. The expected value for ML2 compliance is 1.

Why this matters: A macro that contains malicious code executes without interception by the Windows Defender scanning engine. AMSI is one of the primary mechanisms for detecting malicious macro behaviour before it reaches the host.

Evidence method: Get-ItemProperty PowerShell cmdlet against the registry path above. The value is directly observed — not inferred from policy documentation.

Finding 2: Internet Explorer 11 enabled on domain controller

Control: Application Hardening
Maturity level: ML2

ASD Essential Eight ML2 application hardening requires that browsers not supporting current security standards are blocked or removed. Internet Explorer 11 reached end-of-life on 15 June 2022. Microsoft explicitly recommends its removal.

In the OzCorp environment, IE11 was found enabled:

# DISM feature state query
Feature Name : Internet-Explorer-Optional-amd64
State        : Enabled

Why this matters: IE11 is an unsupported, unpatched browser with a documented attack surface. Its presence on a domain controller — a high-value target — is particularly significant. It does not receive security updates. Known vulnerabilities are not remediated.

Evidence method: Get-WindowsFeature and DISM command-line query. Feature state is directly observed from the operating system.

Finding 3: Domain Admin account inactive for 45+ days

Control: Privileged Access Management
Maturity level: ML2

ASD Essential Eight ML2 requires that privileged access to systems and applications is disabled after 45 days of inactivity. The purpose is to eliminate persistent attack paths via abandoned or forgotten privileged accounts.

In the OzCorp Active Directory, the following account was found:

# Get-ADUser query
SamAccountName : svc.legacy
MemberOf       : Domain Admins
Enabled        : True
LastLogonDate  : [45+ days prior to audit date]

svc.legacy is a member of the Domain Admins group. It is enabled. It has not been used in over 45 days. It does not meet the ML2 requirement.

Why this matters: An adversary who obtains credentials for svc.legacy — through credential dumping, password spray, or any other technique — gains Domain Admin rights to ozcorp.local. The account exists as an attack path that the organisation has forgotten about.

Evidence method: Get-ADUser with LastLogonDate and Enabled properties queried directly from Active Directory.

What this demonstrates

Three findings. All produced by direct system interrogation. All traceable to a specific registry path, feature state, or directory attribute.

This is what the ASD Assessment Process Guide calls "good evidence", evidence that is specific, accurate, and verifiable. A finding supported by a screenshot of a registry value, the exact path, and the PowerShell command that produced it is a finding that can be defended. A finding supported by an interview or a policy review is a different category of assertion entirely.

The gap between those two things is the gap between compliance that holds up and compliance theatre.

What is available

The OzCorp E8 Audit Lab demonstrates the methodology. If you want to:

  • Understand what ML2 assessment looks like technically before pursuing ASD certification
  • Assess whether your own environment has similar gaps
  • Discuss Essential Eight compliance for your organisation

The Research & Labs page documents the full environment, all three findings with complete evidence detail, and the methodology behind the audit script.

The script itself is available on request, get in touch.

This lab was built for educational and methodology demonstration purposes using public ACSC documentation and open source tooling. The OzCorp environment is simulated. All findings are from intentionally misconfigured controls in a lab environment.

Essential EightPowerShellWindows ServerActive DirectoryML2ACSCASDaudit
SS

Sam Sultan

Founder, Enact Cyber

Building evidence-first compliance methodology at Enact Cyber. Every report grounded in real findings, never pre-written, never fabricated.

Ready to work differently?

Compliance that closes the gap, not just reports it.