feat(detection-pipeline): harden chain1 correlation under degraded telemetry#1
Open
Bobby-Okafor wants to merge 1 commit into
Open
feat(detection-pipeline): harden chain1 correlation under degraded telemetry#1Bobby-Okafor wants to merge 1 commit into
Bobby-Okafor wants to merge 1 commit into
Conversation
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.
Summary
This change validates and hardens the PowerShell EncodedCommand -> C2 beacon correlation workflow against degraded real-world telemetry.
Problem
A replay of the chain1_c2_beacon validation dataset successfully produced correlation chains but failed to generate detections.
Validation output showed:
Root Cause
Investigation identified inconsistent ProcessGuid values between Sysmon EID 1 process creation telemetry and Sysmon EID 3 network connection telemetry.
Example:
EID1:
{282c4705-ea32-6a0e-2412-00000005c00}
EID3:
{282c4705-448c-6a0c-d909-00000005c00}
The original detection logic required strict ProcessGuid equality, causing valid attack chains to be missed despite successful correlation.
Engineering Changes
Validation Dataset
telemetry/raw/chain1_c2_beacon
Validation Results
Before:
After:
ATT&CK Mapping
Lessons Learned
Detection validation against replayed telemetry exposed a real correlation failure mode that synthetic testing did not reveal.
Detection logic must tolerate degraded telemetry while maintaining sufficient context to preserve detection fidelity.