Giter VIP home page Giter VIP logo

ahwt's Introduction

AHWT - another hardening tool for Windows operating systems.

image

Description (on RUS)

Program is a script generator with collection of parameters and recommendations from CIS Benchmarks and DoD STIGs with some adjusments.

All parameters placed in databases with the names of the operating systems that are used to.

Parameters were checked and tested according to official MS documentation and researchers opinion.

Scripts generates in 2 modes - auto and manual.

All databases have profiles for each operating system min/med/full which corresponds with Minimum (only level 3 parameters (CIS lvl 2/STIG lvl 3)), Medium (level 2 & 3 parameters (CIS lvl 1 & 2/STIG lvl 2)) and Full (lvl 1-3 parameters).

image

For every operating system were made additional profiles that you can generate separate or after generating the general script:

  1. Windows XP
    • Windows Firewall (ShieldUp mode has separate confirmation)
  2. Windows Vista
    • Windows Firewall (ShieldUp mode has separate confirmation)
    • Windows Defender
  3. Windows 7
    • Windows Firewall (ShieldUp mode has separate confirmation)
    • Windows Defender
    • BitLocker
  4. Windows 8
    • Windows Firewall (ShieldUp mode has separate confirmation)
    • Windows Defender
    • BitLocker
  5. Windows 8.1
    • Windows Firewall (ShieldUp mode has separate confirmation)
    • Windows Defender
    • BitLocker
  6. Windows 10
    • Windows Firewall (ShieldUp mode has separate confirmation)
    • Windows Defender
    • BitLocker
    • MS Edge
    • Next Generation Security
  7. Windows 11
    • Windows Firewall (ShieldUp mode has separate confirmation)
    • Windows Defender
    • BitLocker
    • MS Edge
    • Next Generation Security

Warning

ShieldUp mode block all incoming connections, including those in the list of allowed apps setting found in either the Windows Settings app or Control Panel

In manual mode you can check every parameter with description. Description will be translated (Google Translate) to system language if you have internet connection.

image

Under the hood

Every generated script has command to create a system restore point (if it disabled, script will enable it (not addons)).

Applying parameters contains secedit template and db, auditpol parameters, disabling some services with powershell and parameters from dbs.

All scripts will be .bat files. I don't like Powershell syntax :)

All additional files like secedit templates and others placed in Templates folder.

Note

For using EMET parameters for Windows 7 - 8.1 you need to install EMET 5.52 (zip file in release contains it)

Usage

  1. Download files

  2. Start with python AHWT.py

  3. Choose OS

    image

  4. Enter the name to your script

    image

  5. Choose mode

    image

  6. Choose the level of hardening

    image

  7. Add parameters of additional profiles if you need

    image

  8. Get additional files from Templates and place it with generated script

    image -> image -> image

  9. Run it on targeted PC

Caution

Before applying scripts on real PC test your configurations on VMs

Feel free to post any issues

Roadmap

  • Enrich DBs with new parameters for every OS
  • Optimize code (for now its shitty code, i know :))
  • Add support for third party software, Server editions and everything that relates to Windows operating systems
  • Anything else...

Made with desire to help all Blue Teamers ❤️

ahwt's People

Contributors

n0rthl1ght 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.