Microsoft brings Sysmon tools to Linux
Sysmon (aka System Monitor) is a tool in Microsoft's SysInternals toolkit. Its function is to monitor the system for malicious activities and then log all detected behavior into system log files.
Sysmon is extremely flexible allowing Admins to create custom configuration files to monitor specific system events. From there, the Admin will easily detect dangerous activities on the system.
Sysmon for Linux will be released as an open source project on GitHub. Linux users will have to compile the program themselves and make sure they have all the required dependencies. Instructions for compiling the program are provided on the project's GitHub page here.
It should be noted that to compile Sysmon you must first install the SysinternalsEBP project.
After Sysmon is compiled, you can view the help file by entering the command: sudo ./sysmon -h. To use the program, you must first accept the permission agreement for the user by entering the command: sudo ./sysmon -accepteula.
You can then run Sysmon with or without the configuration file using one of the following commands:
No configuration file:
- sudo ./sysmon -i
There is an image level file:
- sudo ./sysmon -i CONFIG_FILE
To create your own Sysmon configuration file, you need to use the ./sysmon -s command to view the current instance's configuration graph and see what commands are available. To learn more about creating a Sysmon configuration file, please refer to the official Microsoft documentation here.
After starting Sysmon will start logging events to the file /var/log/syslog. So, if you don't configure it to restrict what is logged, you will find your log file size increasing.
Hope you have a "happy" time with Microsoft's new tool for Linux.
You should read it
- Microsoft Sysmon has added a feature to block the creation of EXE files
- Microsoft released Sysmon 10 with DNS query logging feature
- 8 easy tools to create your own Linux Distro
- For the first time, Microsoft developed a customized and integrated Linux version of its product after 45 years
- What's new in Linux Kernel 5.18?
- Microsoft is about to release Edge Linux version
- 5 best Linux distributions for Windows users
- How to check your Linux version
- 7 ways to run Linux software on Windows
- 6 best Linux distributions for Windows users
- Microsoft Teams is officially available on Linux
- What's new in Linux Kernel 5.9?