Repository navigation
v2026.09.26.001: Event 7045 allow-list for Claude, ChatGPT/Codex and Malwarebytes - #8
Open
cdburgess75 wants to merge 4 commits into
Open
cdburgess75 wants to merge 4 commits into
cdburgess75 wants to merge 4 commits into
Conversation
…Malwarebytes CustomerF's first run (HOST-F1) scored F (0/100) on 10 IOCs, 8 of them Event 7045 service installs by legitimate software that re-registers its services on every update: Claude's cowork-svc and OpenAI's Codex sandbox service (Microsoft Store packages) and three Malwarebytes kernel drivers. Allowed by what cannot be borrowed, never by service name: - Store apps by package folder, anchored at X:\Program Files\WindowsApps and ending in the publisher ID the signing certificate determines. - Malwarebytes drivers by service name AND exact driver file in the real system32\drivers directory (new $knownGoodSvcDrivers). Look-alikes (a service named "Claude", another publisher's package, a WindowsApps folder elsewhere, mbam.sys under another name or directory) still raise the IOC. New tests/Test-Svc7045Allowlist.ps1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-apps # Conflicts: # ShellKnight.ps1
…gess75/ShellKnight into fix/7045-allowlist-ai-apps # Conflicts: # docs/adr/0006-device-identity-and-site-assignment.md
cdburgess75
force-pushed
the
fix/7045-allowlist-ai-apps
branch
from
September 29, 2026 00:57
30f3c67 to
e39ed0a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Customer F's first ShellKnight run (HOST-F1, 2026-09-26) scored F (0/100) on 10 IOCs. Eight of them were Event 7045 service installs by legitimate software that re-registers its services on every update:
ClaudeC:\Program Files\WindowsApps\Claude_<ver>_x64__pzs8sxrjxfjjc\app\resources\cowork-svc.exeChatGPTC:\Program Files\WindowsApps\OpenAI.Codex_<ver>_x64__2p2nqsd0c76g0\app\resources\codex-windows-sandbox-service.exeMBAMProtection,MBAMWebProtection,Malwarebytes Anti-ExploitC:\WINDOWS\system32\drivers\mbam.sys,mwac.sys,mbae.sysEach IOC costs 15 points, capped at 50. The other two IOCs were a per-user ScreenConnect client under
AppData. They are left alone here, because a human needs to confirm whose it is.What changes
Everything is allowed by what cannot be borrowed, never by the service name:
X:\Program Files\WindowsApps\and must end in the publisher ID.WindowsAppsis writable only by the system, and the publisher ID suffix is determined by the package's signing certificate. A different publisher's package, or a folder namedWindowsAppsanywhere else, does not match.$knownGoodSvcDriverstable. They install to a baresystem32\driverspath with no vendor folder, so the table requires the service name and the exact driver file in the real Windows driver directory. It accepts theC:\WINDOWS\...,\SystemRoot\...,\??\C:\...and bareSystem32\...forms. That is stronger than the name-only entries used for the Avira drivers:mbam.syscopied toC:\evil\system32\drivers\, or registered under another service name, still alerts.Scoring
Tests
New
tests/Test-Svc7045Allowlist.ps1, in the style ofTest-EngineScope.ps1, runs the Event log IOC block verbatim under StrictMode 2 withGet-WinEventmocked. It has 29 checks:WindowsAppsfolder elsewhere or outside Program Files;mbam.sysunder another name;Results:
main, the new test fails 14 assertions. Each of these weakenings fails it too:Claude/ChatGPTallowedThis is a mock test, not a Windows run.
Before merging: one real run
On HOST-F1, through Datto, run the branch the same way PR #4 was tested on HOST-A3. The branch URL is
https://raw.githubusercontent.com/cdburgess75/ShellKnight/fix/7045-allowlist-ai-apps/ShellKnight.ps1.Then check the newest log:
Event log IOC skippedline.Event 7045 (Service Install) suspiciousline for Claude, ChatGPT or MBAM.SECURITY GRADErises accordingly.Battlefield should show the same device with those alerts resolved.
Left alone
🤖 Generated with Claude Code