Git Product home page Git Product logo

adcs-snippets's Introduction

Hi. I'm Jake! ๐Ÿ‘‹

  • ๐Ÿ”ญ Iโ€™m currently maintaining Locksmith and developing BlueTuxedo.
  • ๐ŸŒฑ Iโ€™m currently learning AD & AD CS security, DNS security, and Scrum/Agile basics.
  • ๐Ÿค” Iโ€™m looking for help with Active Directory remediation tool testing.
  • ๐Ÿ“ซ How to reach me: LinkedIn or infosec.exchange.
  • ๐Ÿ˜„ Pronouns: he/him.

adcs-snippets's People

Contributors

jakehildreth avatar trimarcjake 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

Watchers

 avatar  avatar  avatar

adcs-snippets's Issues

Missing files?

The README mentions two subdirectories and files that are not included in this repo. Is that by design or mistake?
โ€ข CA\AuditFilter
โ€ข policy\EditFlags

Get-ADRootDSE : The server has rejected the client credentials.

Hi,
I ran into a small issue when running the PowerShell commands. I received the following error โ€œGet-ADRootDSE : The server has rejected the client credentials.โ€. We have hardened our AD environment, which I suspect is why the commands did not work. After digging around and testing, modified the code as below to get things working.

$auth = Get-Credential
$ADRoot = (Get-ADRootDSE -Credential $auth).rootDomainNamingContext
$Safe_Owners = "Enterprise Admins|Domain Admins|Administrators"
$ADCS_Objects = Get-ADObject -Credential $auth -Filter * -SearchBase "CN=Public Key Services,CN=Services,CN=Configuration,$ADRoot" -SearchScope 2 -Properties *
$ADCS_Objects | Where-Object {
$_.nTSecurityDescriptor.Owner -notmatch $Safe_Owners
} | Format-Table Name,DistinguishedName

I hope this helps someone who had the same issue.

Regards
Stephen

MsPKI-Certificate-Name-Flag

Hi. I might be wrong and I didn't test it yet, but you are filtering the above setting for a 1 in "Find Templates with Bad Configs". Wouldn't a 9 be equally critical? I mean for renewals, it seems to be locked by this option, but isn't it the same risk for new certs as with a 1?

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.