Giter VIP home page Giter VIP logo

ad-acl-audit's Introduction

AD-ACL-Audit

A PowerShell Script and documentation to do a full AD ACL audit of your own or a clients Active Directory.

When I set this up Microsoft Access was used to do the analytics however any database could be used.

Requirements

PowerShell v3 (For Export-csv -Append) Active Directory Module Read Only Access To Active Directory

Following variables in the AD ACL Report Script:

  • $Domain - The Domain that you want to get permissions from
  • $ExportDirectory - A Directory that the user account running has access to to create new files

What Does It Do?

This process only requires Read Only Active Directory Access and retieves the following and outputs to multiple CSV files from PowerShell:

  • All Active Directory Schema Names and GUIDS
  • All Active Directory Rights Names, ObjectGUIDS and RightsGUIDs
  • All Non-Inherited Permissions for All Active Directory Objects in the specificed domain

Importing Files Into Access

Import each of the following CSV files into their own tables in a Database:

  • SchemaGUIDS
  • RightsGUIDS
  • DirectACLs
  • AllACLs (If uncommenting the AllACLs section at the bottom)

Create a relationship between the following fields

Table Field Relationship Table Relationship Field
RightsGUID rightsguid DirectACLs ObjectType
SchemaGUIDS SchemaGUID DirectACLs InheritedObjectType

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.