|
1 | 1 | # sysmon-config | A Sysmon configuration file for everybody to fork #
|
2 | 2 |
|
3 |
| -This is a Microsoft Sysinternals Sysmon configuration file template with default high-quality event tracing. |
| 3 | +This Sysmon configuration is forked from https://github.com/SwiftOnSecurity/sysmon-config , with an added focus on detecting ransomware artifacts. |
4 | 4 |
|
5 |
| -The file should function as a great starting point for system change monitoring in a self-contained and accessible package. This configuration and results should give you a good idea of what's possible for Sysmon. Note that this does not track things like authentication and other Windows events that are also vital for incident investigation. |
| 5 | +**N.B.** There may be false positives generated by files created for non-malicious reasons, so the best approach is to generate an alert in your SIEM or detection tool if there are a number of Sysmon events created for unusual file creation events. |
6 | 6 |
|
7 |
| - **[sysmonconfig-export.xml](https://github.com/SwiftOnSecurity/sysmon-config/blob/master/sysmonconfig-export.xml)** |
8 |
| - |
9 |
| -Because virtually every line is commented and sections are marked with explanations, it should also function as a tutorial for Sysmon and a guide to critical monitoring areas in Windows systems. |
10 |
| - |
11 |
| -- For a far more exhaustive and detailed approach to Sysmon configuration from a different approach, see also **[sysmon-modular](https://github.com/olafhartong/sysmon-modular)** by [@olafhartong](https://twitter.com/olafhartong), which can act as a superset of sysmon-config. |
12 |
| - |
13 |
| -- Sysmon is a compliment to native Windows logging abilities, not a replacement for it. For valuable advice on these configurations, see **[MalwareArchaeology Logging Cheat Sheets](https://www.malwarearchaeology.com/cheat-sheets)** by [@HackerHurricane](https://twitter.com/hackerhurricane). |
14 |
| - |
15 |
| -Note: Exact syntax and filtering choices in the configuration are highly deliberate in what they target, and to have as little performance impact as possible. Sysmon's filtering abilities are different than the built-in Windows auditing features, so often a different approach is taken than the normal static listing of paths. |
16 |
| - |
17 |
| - **[See other forks of this configuration](https://github.com/SwiftOnSecurity/sysmon-config/network)** |
18 |
| - |
19 |
| -## Use ## |
20 |
| -### Install ### |
21 |
| -Run with administrator rights |
22 |
| -~~~~ |
23 |
| -sysmon.exe -accepteula -i sysmonconfig-export.xml |
24 |
| -~~~~ |
25 |
| - |
26 |
| -### Update existing configuration ### |
27 |
| -Run with administrator rights |
28 |
| -~~~~ |
29 |
| -sysmon.exe -c sysmonconfig-export.xml |
30 |
| -~~~~ |
31 |
| - |
32 |
| -### Uninstall ### |
33 |
| -Run with administrator rights |
34 |
| -~~~~ |
35 |
| -sysmon.exe -u |
36 |
| -~~~~ |
37 |
| - |
38 |
| -## Required actions ## |
39 |
| - |
40 |
| -### Prerequisites ### |
41 |
| -Highly recommend using [Notepad++](https://notepad-plus-plus.org/) to edit this configuration. It understands UNIX newline format and does XML syntax highlighting, which makes this very understandable. I do not recommend using the built-in Notepad.exe. |
42 |
| - |
43 |
| -### Customization ### |
44 |
| -You will need to install and observe the results of the configuration in your own environment before deploying it widely. For example, you will need to exclude actions of your antivirus, which will otherwise likely fill up your logs with useless information. |
45 |
| - |
46 |
| -The configuration is highly commented and designed to be self-explanatory to assist you in this customization to your environment. |
47 |
| - |
48 |
| -### Design notes ### |
49 |
| -This configuration expects software to be installed system-wide and NOT in the C:\Users folder. Various pieces of software install themselves in User directories, which are subject to extra monitoring. Where possible, you should install the system-wide version of these pieces of software, like Chrome. See the configuration file for more instructions. |
0 commit comments