Git Product home page Git Product logo

simeononsecurity / windows-defender-application-control-hardening Goto Github PK

View Code? Open in Web Editor NEW
30.0 3.0 5.0 427 KB

Harden Windows with Windows Defender Application Control (WDAC)

Home Page: https://simeononsecurity.com/github/Windows-Defender-Application-Control-Hardening

License: MIT License

PowerShell 100.00%
windows-defender wdac application-control windows hardening powershell-script powershell

windows-defender-application-control-hardening's Issues

BIN Errors

Describe the bug
The included WDAC_V1_Recommended_Enforced.bin throws these errors:

Importing WDAC Policy Option 1
Set-RuleOption: '', hexadecimal value 0x07, is an invalid character. Line 1, position 1.
Importing WDAC Policy Option 2
Set-RuleOption: '', hexadecimal value 0x07, is an invalid character. Line 1, position 1.
Importing WDAC Policy Option 3
Set-RuleOption: '', hexadecimal value 0x07, is an invalid character. Line 1, position 1.
Importing WDAC Policy Option 4
Set-RuleOption: '', hexadecimal value 0x07, is an invalid character. Line 1, position 1.
Importing WDAC Policy Option 5
Set-RuleOption: '', hexadecimal value 0x07, is an invalid character. Line 1, position 1.
Importing WDAC Policy Option 6
Set-RuleOption: '', hexadecimal value 0x07, is an invalid character. Line 1, position 1.
Importing WDAC Policy Option 7
Set-RuleOption: '', hexadecimal value 0x07, is an invalid character. Line 1, position 1.
Importing WDAC Policy Option 8
Set-RuleOption: '', hexadecimal value 0x07, is an invalid character. Line 1, position 1.
Importing WDAC Policy Option 9
Set-RuleOption: '', hexadecimal value 0x07, is an invalid character. Line 1, position 1.
Importing WDAC Policy Option 10
Set-RuleOption: '', hexadecimal value 0x07, is an invalid character. Line 1, position 1.
Performing Gpupdate
Updating policy...

Computer Policy update has completed successfully.
User Policy update has completed successfully.

WARNING: A reboot is required for all changed to take effect

To Reproduce
Steps to reproduce the behavior:

  1. On line 11, change .\Files\XML\* to .\Files\BIN\* along with the update line isntructions (to correctly copy the files)
  2. Open an Admin terminal on the cloned repo (unzipped)
  3. Run manual install instructions
  4. See error

*Expected behavior
Expected message output:

Importing WDAC Policy Option 1
Importing WDAC Policy Option 2
Importing WDAC Policy Option 3
Importing WDAC Policy Option 4
Importing WDAC Policy Option 5
Importing WDAC Policy Option 6
Importing WDAC Policy Option 7
Importing WDAC Policy Option 8
Importing WDAC Policy Option 9
Importing WDAC Policy Option 10
Performing Gpupdate
Updating policy...

Computer Policy update has completed successfully.
User Policy update has completed successfully.

WARNING: A reboot is required for all changed to take effect

Desktop (please complete the following information):

  • OS: Windows 11 Pro v. 21H2

Additional context
Trying the hardening script on a machine before applying it on a server.

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.