Giter Site home page Giter Site logo

yamato-security / enablewindowslogsettings Goto Github PK

View Code? Open in Web Editor NEW
444.0 11.0 46.0 1.17 MB

Documentation and scripts to properly enable Windows event logs.

License: GNU General Public License v3.0

Batchfile 100.00%
auditing dfir event forensics hayabusa logs monitoring security sigma sysmon

enablewindowslogsettings's People

Contributors

andrewrathbun avatar fukusuket avatar hitenkoku avatar yamatosecurity 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  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  avatar  avatar

enablewindowslogsettings's Issues

gpupdate vs. auditpol?

Please ignore/delete this ...

After testing around with "Detection Lab", I am pretty sure that there MUST be a setting in some policy ... though I cannot find it at the moment.

Suggestion: clear policy

Hello again

Since I stumbled upon the need to make changes to the audit policy today, I would like to suggest the following:

To easily and quickly import configuration changes, one should insert the command "auditpol /clear /y" before the actual definitions are made. This will reset all previous policies and then you can initiate again.

Extract from the code

:: ...
:: Configure Security log 
:: Note: subcategory IDs are used instead of the names in order to work in any OS language.
:: Clear
:: Before configuring (new) audit policies we reset them to default values
auditpol /clear /y 
:: Account Logon
:: ...

At least, it does no harm. ;-)

Best regards,
Lasse

Inconsistence

Hello,

I have noticed the following "inconsistence" in the batch file:

:::: Detailed File Share (disabled due to noise)
auditpol /set /subcategory:{0CCE9244-69AE-11D9-BED3-505054503030} /success:enable /failure:enable

:::: Filtering Platform Packet Drop (disabled due to noise)
auditpol /set /subcategory:{0CCE9225-69AE-11D9-BED3-505054503030} /success:enable /failure:enable

:::: Registry (currently disabled due to noise)
auditpol /set /subcategory:{0CCE921E-69AE-11D9-BED3-505054503030} /success:enable /failure:enable

:::: MPSSVC Rule-Level Policy Change (currently disabled while testing)
auditpol /set /subcategory:{0CCE9232-69AE-11D9-BED3-505054503030} /success:enable /failure:enable

So maybe you just forgot to disable the command or to modify the comment.
These are not "issues" of course, but I just wanted to report it.

Thank you VERY MUCH for this amazing script!
Lasse

Check Japanese translations

document translate to japanese

2022/09/29 TOC

Batch file: category or subcategory?

Hello,

Just starting to take a deeper look at this amazing project, but stumbled about this:
Is it possible, that you have to change the following commands in your batch file form "/category" to "/subcategory"?
At least I receive corresponding error messages when I try to run them ...

:: Account Management
:::: Computer Account Management
auditpol /set /category:{0CCE9236-69AE-11D9-BED3-505054503030} /success:enable /failure:enable
:::: Other Account Management Events
auditpol /set /category:{0CCE923A-69AE-11D9-BED3-505054503030} /success:enable /failure:enable
:::: Security Group Management
auditpol /set /category:{0CCE9237-69AE-11D9-BED3-505054503030} /success:enable /failure:enable
:::: User Account Management
auditpol /set /category:{0CCE9235-69AE-11D9-BED3-505054503030} /success:enable /failure:enable

Great work anyway! ;-)
Greetings from Germany,
Lasse

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.