Skip to content

Commit cd90b87

Browse files
authored
Merge pull request #2 from phantinuss/master
Process Access Config für lsass.exe and CobaltStrike BOF
2 parents 17836fd + def0883 commit cd90b87

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

sysmonconfig-export.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,13 +472,17 @@
472472

473473
<!--SYSMON EVENT ID 10 : INTER-PROCESS ACCESS [ProcessAccess]-->
474474
<!--EVENT 10: "Process accessed"-->
475-
<!--COMMENT: Can cause high system load, disabled by default.-->
475+
<!--COMMENT: Can cause high system load.-->
476476
<!--COMMENT: Monitor for processes accessing other process' memory.-->
477477

478478
<!--DATA: UtcTime, SourceProcessGuid, SourceProcessId, SourceThreadId, SourceImage, TargetProcessGuid, TargetProcessId, TargetImage, GrantedAccess, CallTrace-->
479479
<RuleGroup name="" groupRelation="or">
480480
<ProcessAccess onmatch="include">
481-
<!--NOTE: Using "include" with no rules means nothing in this section will be logged-->
481+
<CallTrace condition="begin with">UNKNOWN</CallTrace> <!-- CobaltStrike BOF using NtOpenProcess Ref: https://medium.com/falconforce/falconfriday-direct-system-calls-and-cobalt-strike-bofs-0xff14-741fa8e1bdd6 -->
482+
<Rule groupRelation="and">
483+
<TargetImage name="lsass.exe access" condition="end with">lsass.exe</TargetImage>
484+
<GrantedAccess condition="contains any">0x40,0x1000,0x1010,0x1038,0x1410,0x1418,0x1438,0x143a,0x100000,0x1f0fff,0x1f1fff,0x1f2fff,0x1f3fff,0x1fffff</GrantedAccess> <!--0x1400 too noisy-->
485+
</Rule>
482486
</ProcessAccess>
483487
</RuleGroup>
484488

0 commit comments

Comments
 (0)