Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Share Post: Reddit Facebook
Microsoft Sysmon now logs data copied to the Windows Clipboard
#1
Quote:Microsoft has released Sysmon 12, and it comes with a useful feature that logs and captures any data added to the Windows Clipboard.

This feature can help system administrators and incident responders track the activities of malicious actors who compromised a system.

Those not familiar with Sysmon, otherwise known as System Monitor, it is a Sysinternals tool that monitors Windows systems for malicious activity and logs it to the Windows event log.

Sysmon 12 adds clipboard capturing:

With the release of Sysmon 12, users can now configure the utility to generate an event every time data is copied to the Clipboard. The Clipboard data is also saved to files that are only accessible to an administrator for later examination.

As most attackers will utilize the Clipboard when copying and pasting long commands, monitoring the data stored in the Clipboard can provide useful insight into how an attack was conducted.

To get started, download Sysmon 12 from its dedicated Sysinternal's page or https://live.sysinternals.com/sysmon.exe.

Once downloaded, run it from an elevated command prompt, as it needs administrative privileges to run.

Simply running Sysmon.exe without any arguments will display a help screen, and for more detailed information, you can go to the Sysinternals' Sysmon page.

[Image: ovcm2rd.jpg]

Without any configuration, Sysmon will monitor basic events such as process creation and file time changes.

It is possible to configure it to log many other types of information by creating a Sysmon configuration file, which we will do to enable the new 'CaptureClipboard' directive.

For a very basic setup that will enable Clipboard logging and capturing, you can use the configuration file below:

To start Sysmon and direct it to use the above configuration file, you would enter the following command from an elevated command prompt:

Code:
sysmon -i sysmon.cfg.xml

Once started, Sysmon will install its driver and begin collecting data quietly in the background.

All Sysmon events will be logged to 'Applications and Services Logs/Microsoft/Windows/Sysmon/Operational' in the Event Viewer.

With the CaptureClipboard feature enabled, when data is copied into the Clipboard it will generate an 'Event 24 - Clipboard Changed' entry in Event Viewer, as shown below.

The event log entry will display what process stored the data in the clipboard, the user who copied it, and when it was done. It will not, though, show the actual data that was copied.

The copied data is instead saved to the protected C:\Sysmon C:\Sysmon folder in files named clip-SHA1_HASH, where the hash is provided in the event above.

For example, the event displayed above would have the Clipboard contents stored in the C:\Sysmon\CLIP-CC849193D18FF95761CD8A702B66857F329BE85B file.


Continue reading HERE
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Update Microsoft is bringing Linux’s sudo command to Windows 11 Imran 0 1,645 02-09-2024 , 07:32 AM
Last Post: Imran
  Microsoft PowerToys: Free extensions for Windows tarekma7 0 1,535 03-13-2023 , 11:11 AM
Last Post: tarekma7
  Windows 12 could be Microsoft’s big AI update as the company bets big on ChatGPT Imran 0 1,812 01-31-2023 , 02:10 PM
Last Post: Imran
  Better than the Microsoft Store: Ingenious software hub for Windows tarekma7 0 1,706 01-26-2023 , 07:20 PM
Last Post: tarekma7
  Microsoft stops selling Windows 10: You can still get it here tarekma7 1 1,806 01-20-2023 , 08:35 AM
Last Post: Imran



Users browsing this thread: 3 Guest(s)