Giter Club home page Giter Club logo

puppet-windows_applocker's Introduction

windows_applocker

Manage Windows Applocker policy.

Overview of Windows AppLocker

Available options

rule_type

  • path
  • hash
  • wildcard

action

  • Allow (default)
  • Deny

rule_id

  • Rule id MUST be uniq. Is used to check rule presence

identity

  • Everyone (default)
  • NT Identity name like: All, Administrator etc

app_path

  • Path

app_name

  • Application name, calculator.exe

app_sha256

  • Precalculated sha256 checksum

app_length

  • Precalculated app length in bytes

How to use

  windows_applocker { 'Default Rule Windows':
    rule_type => 'wildcard',
    rule_id => 100,
    app_path => '%WINDIR%\*',
  }
  windows_applocker { 'Default Rule Program Files':
    rule_type => 'wildcard',
    rule_id => 200,
    app_path => '%PROGRAMFILES%\*',
  }

  windows_applocker { 'Unlock WABMIG':
    rule_type => 'path',
    rule_id => 300,
    app_path => 'C:\Program Files\Windows Mail\wabmig.exe',
    app_name => 'wabmig.exe'
  }

  windows_applocker { 'Unlock WABMIG by hash':
    rule_type => 'hash',
    rule_id => 400,
    app_path => 'C:\Program Files\Windows Mail\wabmig.exe',
    app_name => 'wabmig.exe'
  }

  windows_applocker { 'Unlock WABMIG by PATH Mask':
    rule_type => 'wildcard',
    rule_id => 500,
    app_path => 'C:\Program Files\Windows Mail\*'
  }

  windows_applocker { 'Unlock WABMIG by KNOWN Hash':
    rule_type => 'hash',
    rule_id => 600,
    app_name => 'test.exe',
    app_sha256 => '6c383b5b1c396bdd1484d77d479ca5cb7ac30d8b8352b1975f8c9c59132562ac',
    app_length => '202020'
  }

  windows_applocker { 'Lock Regedit':
    rule_type => 'hash',
    rule_id => 600,
    app_path => '%WINDIR%\regedit.exe',
    app_name => 'regedit.exe',
    action => 'Deny'
  }

puppet-windows_applocker's People

Contributors

noma4i avatar

Stargazers

 avatar

Watchers

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