Skip to content

Instantly share code, notes, and snippets.

@githubfoam
Created May 29, 2025 12:02
Show Gist options
  • Save githubfoam/4f29225b1127a38bc454a8884e3dfef9 to your computer and use it in GitHub Desktop.
Save githubfoam/4f29225b1127a38bc454a8884e3dfef9 to your computer and use it in GitHub Desktop.
wazuh cheat sheet
#======================================================================
Part 2: Simulated Detection Scenarios
✅ Wazuh – File Integrity Monitoring
Scenario: Someone modifies /etc/passwd.
Simulate:
echo "#TEST123" >> /etc/passwd
Detect:
Wazuh will log it under:
"rule": {
"level": 7,
"description": "Integrity checksum changed."
}
#======================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment