A quick PowerShell script to deploy Sysmon with the SwiftOnSecurity configuration.
- Downloads Sysmon from Microsoft Sysinternals
- Downloads the SwiftOnSecurity sysmon-config ruleset
- Installs Sysmon as a service with the config applied
- Windows (tested on Windows 10/11, Server 2016+)
- PowerShell 5.1+
- Administrator privileges
- Internet connectivity
Run PowerShell as Administrator:
.\deploy-sysmon.ps1Get-Service Sysmon64
Get-WinEvent -LogName "Microsoft-Windows-Sysmon/Operational" -MaxEvents 5Event Viewer → Applications and Services Logs → Microsoft → Windows → Sysmon → Operational
To update the config without reinstalling:
Sysmon64.exe -c C:\Sysmon\sysmonconfig.xmlSysmon64.exe -u- Sysmon - Microsoft Sysinternals
- sysmon-config - SwiftOnSecurity# Deploy-Sysmon-PowerShell