Giter Club home page Giter Club logo

update-sysmon's People

Contributors

jokezone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

update-sysmon's Issues

Add a new parameter to update Active Directory

This would be useful for detecting any of these issues by querying Active Directory:

  • PowerShell scripting engine failures
  • Failures running scheduled tasks
  • Failures performing WMI queries
  • Failures detecting the Sysmon service/driver name
  • Failures importing a Sysmon configuration
  • Sysmon installation/upgrade failures

The parameter would allow for choosing a custom attribute not actively being used in your AD environment. You would need to grant the SELF principal write access to this attribute on all AD computer objects:

-UpdateAD "<attribute name>"

The attribute content could contain the following semicolon delimited fields. The data can be ingested into a SIEM or simply queried using PowerShell/LDAP for quick analysis.

  • Date/timestamp of the script runtime
  • System up-time
  • Sysmon service/driver name/status
  • Sysmon configuration status
  • Sysmon version
  • Detected OS version / domain role
  • Any other useful system details

The attribute update should occur at next script run-time, at most once per day, or when the system up-time is within a few hours. This will reduce the number of AD writes, while allowing an AD query to show up-to-date results. The up-time check is key, because when a system boots up for the first time, it will report Sysmon was installed, and the next run will report if the services are successfully running or not.

Add support for Sysmon v11 copy-on-delete

The latest version of Sysmon added the ability to copy deleted/shredded files to a system root ArchiveDirectory. This archive directory is protected with a SYSTEM ACL which prevents users from accessing the contents. Since Update-Sysmon is intended to run as the SYSTEM account, it could be used to synchronize files in this directory with a central file share for analysis by threat hunters.

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.