APT
  • Home
  • Archive
  • About
  • Explore
Subscribe
APT
Subscribe
APT

Enabling ADCS Audit and Fix Bad Configs

APT
APT
May 6, 2022, 11:22 UTC

Enabling ADCS Audit and Fix Bad Configs
Enabling ADCS Audit and Fix Bad Configs β€” image 2

Auditing is not enabled by default in AD CS. For some mysterious reason, Microsoft has decided to not enable AD CS auditing OOB.

To find the issue, run this command on every one of your CAs:

certutil -getreg CA\AuditFilter

To enable all auditing, do this:
certutil –setreg CA\AuditFilter 127
net stop certsvc
net start certsvc

You'll also need to enable the Certificate Service advanced auditing subcategories in a GPO linked to the OU containing your CA host objects (Figure 1). Lastly, enforce the advanced auditing subcategories! All of your previous work will be for naught if you don't enforce (Figure 2).

Fix for AD CS Templates with Bad Configs:
https://github.com/trimarcjake/adcs-snippets#fix-1-for-templates-with-bad-configs---remove-ability-to-set-a-san

#adcs#audit#recommendations#blueteam
πŸ‘31,070 views
APT

Discuss this post in Telegram

React, comment and get new posts first in the APT channel β€” 17.7K subscribers.

Open post in TelegramSubscribe

More from APT

  • Bash Aliases for CrackMapExec Modules
    Nov 9, 2022 Β· 2.2K views
  • Detecting ADCS Web Services Abuse (ESC8)
    Oct 15, 2022 Β· 1.9K views
  • Certighost (CVE-2026-54121) β€” AD CS Domain Controller Impersonation
    Jul 24, 2026 Β· 32.3K views
  • DirtyClone β€” CVE-2026-43503
    Jun 26, 2026 Β· 29.9K views
← PreviousSharpHound Cheat Sheet
Next β†’Scheduled Task Tampering
πŸ‘31.1Kviews
APT
APT
17.7K subscribers
Subscribe

This channel discusses: β€” Offensive Security β€” RedTeam β€” Malware Research β€” OSINT β€” etc Disclaimer: t.me/APT_Notes/6 Chat Link: t.me/APT_Notes_PublicChat

Popular

See all
  • Certighost (CVE-2026-54121) β€” AD CS Domain Controller Impersonation
    32.3K views Β· Jul 24, 2026
  • APT
    DirtyClone β€” CVE-2026-43503
    29.9K views Β· Jun 26, 2026
  • PΒ³ β€” Shellcode Loader: Process Parameter Poisoning
    16.8K views Β· Jul 9, 2026
  • Citrix NetScaler Pre-Auth RCE (CVE-2026-8452)
    16.6K views Β· Aug 17, 2026
  • Certi-Bhai β€” IIS AppPool β†’ NT AUTHORITY\SYSTEM via AD CS RPC
    11.5K views Β· Sep 1, 2026

Topics

Explore
#redteam#ad#bugbounty#windows#tools#pentest#cve#rce#bypass#edr#evasion#blueteam#bugbountytips#maldev
AboutArchiveTopicsRSSTelegramΒ© 2026 APT