Code Monkey home page Code Monkey logo

o7s8r6 / windows_event_logging Goto Github PK

View Code? Open in Web Editor NEW

This project forked from australiancybersecuritycentre/windows_event_logging

0.0 0.0 0.0 70 KB

Windows Event Forwarding subscriptions, configuration files and scripts that assist with implementing ACSC's protect publication, Technical Guidance for Windows Event Logging.

Home Page: https://www.cyber.gov.au/acsc/view-all-content/publications/windows-event-logging-and-forwarding

License: BSD 3-Clause "New" or "Revised" License

PowerShell 100.00%

windows_event_logging's Introduction

ACSC's Windows Event Logging repository

This repository contains Windows Event Forwarding subscriptions, configuration files and scripts that are referenced by ACSC's protect publication, Technical Guidance for Windows Event Logging.

The repository is structured with a matching folder per event category from the publication. This contains the subscriptions, and as required other configuration files or scripts.

Subscriptions

Subscriptions are added to the log collection server and determine which events are forwarded. They are named with a consistent suffix, _sub.xml, to make it easier to programmatically add subscriptions.

Subscriptions in this repository are created with the following configuration:

  • they are designed to forward valuable telemetry but reduce noise if possible
  • since wildcards are not supported by subscriptions, some paths need to be hard-coded - this should be modified for environments that do not use standard paths
  • set to be enabled by default unless the event log may not always exist or if it has the potential to bring back large volumes of data
  • set to use the content format of Events as opposed to RenderedText which reduces the volume of data being transferred
  • set to read existing events as opposed to only new events
  • set that the output goes to the ForwardedEvents log

Helper Scripts

There are two small PowerShell scripts that simplify the process of adding subscriptions:

  • events/add_subscriptions.ps1 - Adds all subscriptions. For each event category folder, it adds subscription files based on the _sub.xml naming.
  • events/set_subscriptions_sources.ps1 - Sets all subscriptions to have the source computer groups of Domain Computers and Domain Controllers by default, or if the command line argument -SourceSDDL is specified then a custom Security Descriptor Definition Language (SDDL).

Sysmon

Sysmon provides greater visibility of system activity than standard Windows logging. The sysmon configuration file and subscriptions are included in events/sysmon.

The Sysmon configuration, events/sysmon/sysmon_config.xml should suit many environments but may need to be modified to your use cases, or as new symon features and versions are released. The file contains comments and links that may help in doing this.

WMI

Windows Management Instrumentation (WMI) requires additional configuration, which is enabled by running the PowerShell script events/wmi_auditing/wmi_auditing.ps1. This script sets auditing records (SACLs) on sensitive WMI nodes, and when these nodes are accessed and the Audit Other Object Access option is enabled, WMI auditing logs are produced.

Copyright and License

© Commonwealth of Australia 2017

See License.

windows_event_logging's People

Contributors

acscuser1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.