Alerts & SIEM
This manual explains how to make it so that, when someone touches a decoy, the alert leaves your node and reaches where you work: your email, Microsoft Teams, Slack, a webhook of your own, your SIEM or your incident tracker. Everything that informs is in "Alerts & SIEM"; "Response" is only what acts against the attacker, and what it does can also reach you here.
Quick vocabulary, no jargon:
- Decoy (honeypot): a fake service (an SSH, an SMB, a login web page…) deployed for attackers to touch. When they touch it, an event is generated.
- Event: something that happened on a decoy (a connection, a username and password attempt, a command…).
- Alert: a message from the console itself about its state (for example, a sensor that has stopped sending heartbeats, or an output that isn't sending).
- Output: each delivery you configure. One output = one place to send things to (an email, a Teams channel, your SIEM…). You can have several.
- Channel: the type of output (email, Teams, Slack, webhook, syslog, Sentinel, ticket…).
- SIEM: the program where your security team centralizes and reviews all the company's alerts. If you don't have one, use email, Teams or Slack.
- Node: your Sugardaddy installation (the console and its sensors) running on your network.
What alerts and SIEM are, and which edition includes them
Alerts and the SIEM are the "actuators": what takes what happens on your decoys to where your team works. Without them, you have to open the console's web UI to find out; with them, the alert reaches you on its own by email, in Teams, in Slack, on a webhook or in your SIEM.
It is a Sugardaddy Cloud feature. In Community, the free, open-source edition, events are only seen in the console's own web UI (who connected, which passwords they tried, what they did), and the "Alerts & SIEM" page only explains what Cloud adds. The engine that actually sends through each channel comes with the Cloud license.
To get it, contact SeguridadSI. Cloud is installed with its own installation line, which SeguridadSI gives you when you subscribe. This manual covers the most commonly used channels: email, Microsoft Teams, Slack, signed webhook, syslog (CEF/LEEF), Microsoft Sentinel and the ticket in your incident tracker.
Important privacy note: your attack data never goes through SeguridadSI in any case. Everything runs on your node, on your network. The only thing that leaves is what you send to the channel you configured.
Create a channel (an output)
The steps are the same for any channel:
- In the console, open "Alerts & SIEM" (you need the settings permission).
- Click "Add output".
- Choose the type of output (the channel). When you choose it, a help panel appears above the form telling you where to get each value.
- Give it a name you will recognize (for example "SOC by email" or "Company SIEM").
- Fill in the channel details (below is what each one asks for).
- Choose whether it is enabled and adjust the rules (section 4) and the grouping (immediate or a digest every X minutes).
- Save with "Add output".
The data is stored in two groups:
- Parameters: the ordinary stuff (server, port, addresses…). They can be viewed and changed.
- Secrets: passwords, keys and signed addresses. They are stored
encrypted with your node's key and are never shown again: if there is
an error when saving, the form is redrawn with everything except the secret, which is
left blank. To store secrets, your node needs its key
(
CLAVE_SECRETOS); if it is missing, the console tells you.
Next, what each type asks for and what it is for.
Graylog (GELF)
One POST per event to your Graylog GELF HTTP input (usually port 12201). Each field arrives as a Graylog field of its own, with the syslog level and the timestamp already set.
- GELF HTTP address (parameter, required): your input's address, with
https. Without a path,/gelfis used. - Your Graylog CA (optional): only if the certificate comes from a private CA or is self-signed; that CA in PEM format.
- Authorization header (secret, optional): the GELF input does not ask for credentials; if a proxy with a token sits in front of it, the full value of the header.
- Body format: Event contract v1 fields (proposed for new outputs) sends the
event contract v1 message with one GELF field per contract
field (
_schema_version,_classification,_confidence,_source_ip,_attack_technique_id…). Legacy fields (_accion,_origen_ip…) is what outputs created before the contract keep.