Published on
 // 5 min read

Measuring Essential Eight Assessment Activity

Authors

In the last article I looked at automating some of the tests available for Windows servers and desktops in the Australian Cyber Security Centre's (ACSC) Essential Eight assessment guide. This article looks at how we can measure assessment activity - how often are we assessing systems, and are they passing the tests?

Specifically, in the last article I looked at automating application control assessments by pulling down a benign binary to a Windows desktop, and seeing if it executes. If it executes, the test fails; if it is blocked, the test passes. For this article I want to look at measuring this assessment activity. I want to provide insights into how often we're performing these Essential Eight verification tests against Windows servers / desktops, and how often these tests are passing or failing.

Metrics collection

Ansible already provides automation metrics through Automation Analytics, part of the Ansible Automation Platform. Automation Analytics can be accessed via the Red Hat Hybrid Cloud Console, and you can see a screen grab here of the Automation Analytics dashboard.

Ansible Automation Analytics

Exploring Automation Analytics

Let's see if we can answer our Essential Eight assessment questions from the Automation Analytics data - how often are we assessing systems, and are they passing the tests?

Inside Automation Analytics there is a report available - Job Template Run Rate. If we select this report we can start to see Ansible jobs broken down by how often they are run.

Job Template run rate report
Job template run rate report - detailed

From the filter options we can select Template and Windows app control test, and start to look at metrics over the last two weeks.

Job template run rate report - Windows app control test

Ok, we're starting to get some useful information. If we look only at our "Windows App Control test" job, we can see that it was run 12 times on Dec 20, another 10 times Dec 21, and then 1 time Dec 22.

We can start to understand more about automation in this environment from these metrics:

  • We are running application control assessments across the Windows desktops and servers in this environment - this is a great start
  • The test frequency is inconsistent. This could mean that the test is being triggered manually, and not being run on a schedule.

This is great! We've been able to use these metrics to answer our first question - how often are we assessing systems?

Let's explore these metrics a little further. There's another report available on the dashboard - "Templates explorer". This lets us look at template success/failure, and even look down to the level of tasks.

Templates explorer

From the filter options we can again select Template and Windows app control test, and start to look at metrics over the last two weeks. At the outset this screen doesn't look too useful...

Templates explorer - detailed

At the bottom of this screen there is a small arrow next to our job template. Expanding this out reveals a wealth of information.

Templates explorer - failures

From this data we can see:

  • Our application control tests only pass approximately 50% of the time
  • The most failed tasks are Collect a file to execute (passed 50% of the time) and Unarchive the tar-ball (passed 64% of the time).

This give us some more valuable information we can use to understand Essential Eight assessment in this environment. We can see that our issue may not actually be the host configuration - the issue is actually collecting and unpacking the files to execute on the system. This could be intermittent network connectivity, DNS issues, or other issues not related directly to the application control configuration for the hosts.

While there's certainly more to investigate here, at a high-level we've answered the second question - how often are we passing Essential Eight verification tests?

Wrapping up

In this article I looked at some of the ways we can start to measure Essential Eight assessment activity, and building this into an automated assessment workflow.

I showed how Ansible Automation Analytics can be used to assess how often Windows servers and desktops are being assessed against Essential Eight controls, and how often they're passing these tests. Further, we showed that the failures possibly weren't directly linked to host configuration - it could have been issues with our environment leading to test failure. While there's certainly further investigation here, this provided us a quick way to verify how often Essential Eight assessments were being performed against Windows servers and desktops, and importantly, we didn't have to setup and configure any metrics and analysis infrastructure ourselves.

Happy automating!