Sysmon 13.01 - possible bug in ClipboardChange behavior

ZeArioch 31 Reputation points
2021-02-12T12:06:08.667+00:00

As long as there is one ClipboardChange rule active, Sysmon seems to log all clipboard activity to the Archive folder.

Tested version: noticed in Sysmon64 12.02, same behavior in Sysmon64 13.01

Sample config:

        <RuleGroup name="" groupRelation="or">
            <ClipboardChange onmatch="include">
                <Image condition="image">windowsterminal.exe</Image>
            </ClipboardChange>
        </RuleGroup>

With this config, Sysmon logs EventIDs 24 as expected when I copy data from a Terminal window, and nothing outside of that. However, the Archive folder gets filled with all kinds of clipboard events happening outside of Terminal.

Playing with the "CaptureClipboard" configuration entry doesn't seem to change anything.

Is this expected behavior?

Beyond that, would it be possible to have a configuration setting where clipboard events get logged to the evtx log, without writing the actual data to the Archive directory?

Sysinternals
Sysinternals

Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.


Answer accepted by question author
Alex Mihaiuc 736 Reputation points
2021-03-19T14:53:46.657+00:00

This also happens with FileDelete rules and support for distinguishing between what gets archived and what just gets dropped is planned for a future release.

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.