You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Windows New EventLog ChannelAccess Registry Value Set: second path has single backslashes #4417
detections/endpoint/windows_new_eventlog_channelaccess_registry_value_set.yml (id 16eb11bc-ef42-42e8-9d0c-d21e0fa15725, version 8) has this path list in its search:
Registry.registry_path IN ("*\\Microsoft\\Windows\\CurrentVersion\\WINEVT\\Channels\\*", "*\Microsoft\Windows\EventLog\*")
The first pattern has doubled backslashes. The second has single backslashes. In a tstatsWHERE value, the second pattern matches nothing.
I loaded the test recording of the rule, datasets/attack_techniques/T1562.002/eventlog_sddl_tampering/eventlog_sddl_tampering_sysmon.log in attack_data (9 Sysmon events, 3 of them ChannelAccess), into Splunk Enterprise 9.3.14 and ran tstats on the Endpoint.Registry data model with Registry.registry_value_name=ChannelAccess:
Pattern
Distinct registry paths matched
*\\Microsoft\\Windows\\CurrentVersion\\*
2
*\Microsoft\Windows\CurrentVersion\*
0
*MicrosoftWindowsCurrentVersion* (the same text without the backslashes)
0
*\\Microsoft\\Windows\\EventLog\\*
1
*\Microsoft\Windows\EventLog\*
0
The three ChannelAccess events (Sysmon event 13) are:
The search of the rule, as it is in release v6.10.0 and unchanged, returns the two WINEVT\Channels rows and not the Policies\Microsoft\Windows\EventLog\Setup\ChannelAccess row. With the backslashes of the second pattern doubled, "*\\Microsoft\\Windows\\EventLog\\*", the same search returns all three. The search returns rows in both cases, so a test that needs at least one result does not show the gap.
Expected behavior
The second pattern matches the Group Policy location of the same value (...\Policies\Microsoft\Windows\EventLog\<channel>\ChannelAccess), as the third event above shows. It should be written like the first pattern.
Thanks for the clear write-up and the test results. I'd be happy to send a fix for this if you aren't planning to yourself: doubling the backslashes in the second pattern ("*\\Microsoft\\Windows\\EventLog\\*") and bumping the version to 9. I've made the change locally and contentctl-ng build passes.
While checking for the same problem elsewhere, I found six other detections that mix single and double backslashes in Windows path patterns (Registry Keys Used For Persistence, Windows Known Abused DLL Created, Windows Snake Malware Service Create, Windows Defender MpClient DLL Loaded By Non Defender Process, Windows Unusual FileZilla XML Config Access, Windows Unusual Process Load Mozilla NSS Mozglue Module). I haven't tested those against data yet, so I'd keep this PR to #4417 and can open a separate issue for them if that's useful.
Activity
Varunpoojari commentedon Nov 15, 2026
Thanks for the clear write-up and the test results. I'd be happy to send a fix for this if you aren't planning to yourself: doubling the backslashes in the second pattern (
"*\\Microsoft\\Windows\\EventLog\\*") and bumping the version to 9. I've made the change locally andcontentctl-ng buildpasses.While checking for the same problem elsewhere, I found six other detections that mix single and double backslashes in Windows path patterns (Registry Keys Used For Persistence, Windows Known Abused DLL Created, Windows Snake Malware Service Create, Windows Defender MpClient DLL Loaded By Non Defender Process, Windows Unusual FileZilla XML Config Access, Windows Unusual Process Load Mozilla NSS Mozglue Module). I haven't tested those against data yet, so I'd keep this PR to #4417 and can open a separate issue for them if that's useful.
TT5H commentedon Nov 16, 2026
Thanks. I opened #4426 for this and five of the six you listed.