Skip to content

Add CertLog tools#7

Merged
Schamper merged 9 commits into
fox-it:mainfrom
william-billaud:add_certlog_tools
Nov 1, 2025
Merged

Add CertLog tools#7
Schamper merged 9 commits into
fox-it:mainfrom
william-billaud:add_certlog_tools

Conversation

@william-billaud

Copy link
Copy Markdown
Contributor

Add a new tools relate to AD CS database processing, (located in C:\Windows\System32\CertLog\)
Sample was generated by me.
For some enumeration that I found of interest, I have added mapping to human readable value, for the one I was able to identify (full list of value may required more work/reverse).
I have preferred the json.dumps instead of print, as it allows to manipulate output using jq.

Goal is mainly to integrate C:\Windows\System32\CertLog\ processing in dissect.target, but I'm unsure of where enumeration/data related information should be located.

@Schamper

Copy link
Copy Markdown
Member

I'm sorry, I completely missed this PR somehow. I'll put it on my TODO list!

@Schamper
Schamper self-requested a review October 29, 2025 09:11
Comment thread dissect/database/ese/tools/certlog.py
Comment thread pyproject.toml Outdated
Comment thread dissect/database/ese/tools/certlog.py Outdated
Comment thread dissect/database/ese/tools/certlog.py Outdated
Comment thread dissect/database/ese/tools/certlog.py Outdated
Comment thread dissect/database/ese/tools/certlog.py Outdated
Comment thread dissect/database/ese/tools/certlog.py Outdated
Comment thread dissect/database/ese/tools/certlog.py Outdated
Comment thread dissect/database/ese/tools/certlog.py Outdated
Comment thread tests/ese/tools/test_certlog.py Outdated
william-billaud and others added 4 commits October 31, 2025 14:23
Co-authored-by: Erik Schamper <1254028+Schamper@users.noreply.github.com>
Co-authored-by: Erik Schamper <1254028+Schamper@users.noreply.github.com>
Comment thread dissect/database/ese/tools/certlog.py Outdated
@codecov

codecov Bot commented Oct 31, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 67.21311% with 20 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.71%. Comparing base (7b76faf) to head (fa05864).

Files with missing lines Patch % Lines
dissect/database/ese/tools/certlog.py 67.21% 20 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #7      +/-   ##
==========================================
- Coverage   80.00%   79.71%   -0.30%     
==========================================
  Files          29       30       +1     
  Lines        2221     2282      +61     
==========================================
+ Hits         1777     1819      +42     
- Misses        444      463      +19     
Flag Coverage Δ
unittests 79.71% <67.21%> (-0.30%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Schamper
Schamper merged commit 14741f8 into fox-it:main Nov 1, 2025
twiggler pushed a commit to twiggler/dissect-monorepo-test that referenced this pull request May 26, 2026
Co-authored-by: Erik Schamper <1254028+Schamper@users.noreply.github.com>
twiggler pushed a commit to twiggler/dissect-monorepo-test that referenced this pull request Jun 4, 2026
Co-authored-by: Erik Schamper <1254028+Schamper@users.noreply.github.com>
twiggler pushed a commit to twiggler/dissect-monorepo-test that referenced this pull request Jun 5, 2026
Co-authored-by: Erik Schamper <1254028+Schamper@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New tools : CertLog database

2 participants