Stephanio RAZARISON
EN (English)FR (Français)

CASE-02

Detection engineering and alert noise reduction

More than 60 custom Wazuh rules for mail, WAF, Microsoft 365 and Active Directory, and the tuning that removed thousands of useless alerts a day.

Status
In production
My role
Rule design, testing and tuning
Where
AVEOLYS, Antananarivo
When
2023 – present
Tools
Wazuh, MITRE ATT&CK, Sysmon, Microsoft 365
Screenshots
3, further down

The problem

Out of the box, a SIEM either misses what matters or floods the team. I wrote custom rules for the systems we actually run, and tuned the ones that produced noise.

What the rules cover

AreaExamples of what is detected
Zimbra mailBrute force on one account or from one IP, credential stuffing across many accounts, blocking attackers who target key mailboxes
Web application firewallBlocked attacks, repeated attacks from the same source, reconnaissance
Microsoft 365New inbox and forwarding rules, mailbox permission changes, mass sending, eDiscovery searches and exports
Active DirectoryPassword spraying, Kerberoasting, Golden Ticket, additions to admin groups, RDP sweeps, cleared security logs

Every rule carries its MITRE ATT&CK technique. That mapping flows into TheHive, so each case shows which attack technique it is about.

Cutting the noise

Windows event 4719 (audit policy changed) fired constantly, almost always from machine accounts. I split it into two rules: from a machine account it drops to level 4 and stays in the logs; from a person it rises to level 12 and reaches the team. That single change removed thousands of alerts a day.

I use the same approach for other frequent alerts: keep the log, lower the level, and only page the team when a person or an unusual source is involved.

Screenshots

Select a screenshot to see it full size, with its notes. Sensitive data is blurred.