Tuning Procedures
Pre-Deployment Tuningβ
The /opt/tfplenum/agent_pkgs/sysmon/sysmonconfig.xml base config only exists on DIP Controllers configured IAW 262COS-DIP-SOP-001. This is the file deployed to hosts when using the TFPlenum host agent deployer.
-
Retrieve the base config from the DIP Controller:
scp root@controller:/opt/tfplenum/agent_pkgs/sysmon/sysmonconfig.xml ./sysmonconfig.xml -
Review intelligence and mission planning to identify known software in the environment that will generate noise:
- Endpoint Detection and Response (EDR) tools (CrowdStrike, Carbon Black, SentinelOne, Defender for Endpoint, etc.)
- Antivirus solutions
- Backup agents
- Monitoring or management agents (SCCM, Tanium, Rapid7, etc.)
-
Add exclusion rules for identified software. See Config Reference and Common Exclusions sections for syntax and patterns.
-
Test the modified config on a local Windows host before deploying:
sysmon.exe -n -l -i .\sysmonconfig.xml -accepteulaWhat-n -ldo-nenables network connection logging.-lenables image (DLL) load logging. Including both during testing ensures the config is evaluated against the noisiest event types. -
Review the Windows Event Viewer (
Microsoft-Windows-Sysmon/Operational) to confirm expected events are being generated and known-good noise is suppressed. -
Push the tuned config back to the DIP Controller for deployment:
scp ./sysmonconfig.xml root@controller:/opt/tfplenum/agent_pkgs/sysmon/sysmonconfig.xml
Post-Deployment Tuningβ
If TFPlenum was used to deploy Sysmon, updating the config requires following the Pre-Deployment workflow above β TFPlenum performs a full uninstall and reinstall of agents, so the master config on the controller must be updated.
-
Identify noise sources from Kibana. Query the
nmapor Winlogbeat indices for high-frequency Sysmon events and identify patterns in theImage,DestinationIp,TargetFilename, or other fields that represent known-good activity. -
Using the config currently deployed to the host, add exclusion rules for the identified noise. See Config Reference and Common Exclusions for syntax.
-
Test the modified config locally:
sysmon.exe -n -l -i .\sysmonconfig.xml -accepteula -
Apply the updated config to a single host first to validate:
sysmon.exe -c .\sysmonconfig.xmlThis applies the new config without reinstalling Sysmon. EventID 16 will be logged confirming the update.
-
Confirm the expected reduction in noise in Kibana before pushing the config to all hosts IAW 262COS-HA-SOP-001.
Verifying Applied Configurationβ
To check what configuration is currently active on a host:
sysmon.exe -c
To dump the current schema (useful for checking supported event types and fields in the installed version):
sysmon.exe -s