Getting Started¶
This guide gets Rustinel running and verifies it is producing alerts.
Requirements¶
- Windows 10/11 or Server 2016+
- Administrator privileges
- Rust 1.92+ and Visual Studio Build Tools if building from source
Option 1: Download Release (Recommended)¶
- Download the latest release from GitHub Releases.
- Extract the archive to a folder such as
C:\Rustinel. - Open an elevated PowerShell in that folder.
- Run
.\rustinel.exe run --console.
Option 2: Build from Source¶
For an optimized binary:
Verify Operation¶
- Confirm the log file exists:
logs\rustinel.log.YYYY-MM-DD. - Trigger a Sigma example by running
whoami /all. - Confirm an alert exists in
logs\alerts.json.YYYY-MM-DD.
Verify Hot Reload (Optional)¶
- Keep Rustinel running in one terminal.
- In another elevated terminal, append a harmless comment to a rule file, for example:
Add-Content rules\sigma\example_whoami.yml "n# hot reload smoke test"` - Wait a few seconds and confirm the runtime log reports
Sigma rules hot-reloaded.
Run as a Service (Optional)¶
Service commands must be run from the final install directory. The service uses
its working directory to resolve config.toml and relative rule paths, so prefer
absolute paths in configuration for service deployments.
.\rustinel.exe service install
.\rustinel.exe service start
.\rustinel.exe service stop
.\rustinel.exe service uninstall
Troubleshooting¶
- If you see an Administrator privilege error, reopen PowerShell as Administrator.
- If no alerts are produced, confirm rules exist under
rules\sigmaorrules\yara.