Skip to content

Drongo analytical engine

Drongo is the analytical engine built into Suricatavel. There is nothing to install: turn it on in Settings > DRONGO. It works on the alerts your sensors already send:

  • Classifies every alert into a behavior cluster and flags the anomalous ones.
  • Learns from your verdicts: when you confirm an incident as a true positive, it extracts the indicators behind it (attacker IPs, malicious destinations and domains).
  • Delivers those indicators to the sensors as one rule package, so Suricata alerts as soon as the same actors come back.
  • Proposes or applies containment on your firewalls, always within the safeguards you set.

  1. The sensors send alerts. Drongo classifies each one and gives it an anomaly score.
  2. Anomalous alerts are correlated into incidents.
  3. An analyst reviews the incident and gives a verdict: true positive or false positive.
  4. With a true positive, Drongo learns the incident’s indicators and adds them to its rule package. The package is deployed to every sensor.
  5. When a learned indicator shows up again, the sensor raises an alert, and the cycle starts over.

Nothing is learned without an analyst’s verdict: a person always decides what the engine watches.


Each alert falls into one of these clusters:

Cluster What it means
Command and control (C2) High-entropy beaconing and tunnels to a control server.
Data exfiltration Anomalous volumetric transfer out of the network.
Exploit attempt Exploitation attempts and remote code execution.
Network scan Reconnaissance and port scanning.
Baseline Habitual, benign behavior.

Anomaly detection sensitivity (high, balanced or low) sets how anomalous an alert must be to stand out. Before changing it, the live impact simulation in the same tab projects the effect over your recent alerts: anomaly rate, alert volume, incidents per day, and how many past verdicts it would keep or suppress.

Until a trained model is available, Drongo classifies with a heuristic baseline. Your verdicts become labeled samples that retrain the model; Model governance and lifecycle shows the active model, the training runs and the progress towards the next retraining.

A newly trained model replaces the active one only if it was trained on at least Minimum alerts to activate a model and its centroids moved no further from the active model’s than Maximum drift to activate a model (empty: no limit). Otherwise its run shows as Held for review with the reason, and an administrator may activate it from the same list. Running workers pick up a newly activated model within a minute.


Verdicts and feedback scope sets which incidents ask for a verdict: only those Drongo created (recommended) or all of them.

Verdict What Drongo does
True positive Asks for the threat category (it starts with the one most of the incident’s alerts were classified with), stores the alerts as samples of that category and learns the incident’s indicators.
False positive Takes the incident’s alerts out of the training samples, withdraws the indicators the incident held, and lifts the containment applied to its source IPs.
Verdict removed Takes the alerts out of the training samples and withdraws the indicators, as with a false positive.

Every change of a sample’s label, from a verdict or edited by hand, is kept with who made it. A sample relabeled by hand stays as the administrator left it, whatever later verdicts say.

An indicator is withdrawn only when no other confirmed incident holds it.


When an incident is confirmed as a true positive, Drongo extracts from its alerts:

  • The source IP of alerts in the C2, data exfiltration, exploit attempt and network scan clusters, when the anomaly score reaches 0.70.
  • Destination IPs and domains with bad reputation.

These indicators detect the same actors coming back, not similar behavior: spotting similar behavior is what the classification above does for every alert.

State When
Active While a confirmed incident holds it and its validity has not run out. Each new confirmation renews the validity.
Retired: expired It was not confirmed again within the default validity.
Retired: by hand An administrator retired it from its incident.
Retired: verdict withdrawn No confirmed incident holds it any more.

The validity is the default validity of the IOC database (Settings > General > IOC database, 30 days by default), the same one IOCs use. A retired indicator becomes active again if another incident confirms it, or if an administrator reactivates it.

  • In the incident: the Learned indicators section lists what the engine learned from it, with each indicator’s detection, confidence, origin alerts and validity. Administrators retire or reactivate them from here.
  • In the rules list: the Analytical engine tab of Rules lists the package’s rules. Details on each rule explains what it matches and lists its indicators with links to their incidents, read only.

Learned indicators reach the sensors as one rule package, deployed with the rest of your rules and rebuilt after every change.

List rules check traffic against a list of indicators (a Suricata dataset), so matching costs a single lookup whatever the number of indicators:

SID Matches
9899901 Source IPs of C2 traffic.
9899902 Source IPs of data exfiltration (only in list mode).
9899903 Source IPs of exploit attempts (only in list mode).
9899904 Source IPs of network scans.
9899910 Destination IPs with bad reputation.
9899911 to 9899913 Domains with bad reputation in DNS queries, TLS server names and HTTP hosts.

Exfiltration and exploit rules also check the destination port, so by default each of those indicators gets a rule of its own (SIDs 9800000 to 9899899). Settings > DRONGO > Exfiltration and exploit rules can deliver them as lists instead: cheaper with many indicators, but they then match any destination port.

When a list has no active indicators, its rule is disabled and leaves the sensors on the next deployment. It comes back on its own when the list has indicators again; a rule an operator disabled stays disabled. A rule of its own leaves the sensors when its indicator expires or is retired.

The package’s rules cannot be edited by hand: Drongo rebuilds them. To rebuild and deploy the package at once, run suricatavel drongo sync-rules.


For each incident, Drongo proposes which IP to block on the firewalls linked by the incident’s policy (the policy must have the firewall block action enabled). Mitigation mode sets what happens with that proposal:

Mode Behavior
Forensic advisory only The proposal is shown for reference; it cannot be applied from Drongo.
Semi-automated assistance (default) An analyst applies the proposal from the incident.
Automatic only for critical incidents Applied on its own for critical incidents; for the rest, as in semi-automated assistance.

Every containment is temporary and checked against the safeguards:

  • Strict critical infrastructure safeguard: domain controllers, DNS servers, gateways and protected databases are never isolated.
  • Protected service ports: traffic to these ports is only proposed for review, never contained automatically.
  • Containment whitelist: IPs and ranges no block may cover, whatever its origin.
  • Minimum prefix: blocks of broader ranges are refused.
  • Automated blocks per minute: blocks above this rate are refused (manual blocks are not limited).
  • TTL: a default expiration, and a maximum no containment may exceed.

When an incident is marked as a false positive, the containment applied to its source IPs is lifted. All containment actions are recorded under Firewalls > History.


With autodiscovery on, Drongo maps the hosts of your internal subnets from the traffic it sees and watches the lateral movement ports you list (for example 445, 135, 3389 and 22).


Terminal window
# Integration status, machine learning, safeguards and rule package
suricatavel drongo status
# Rebuild the analytical engine rule package and deploy it to the sensors
suricatavel drongo sync-rules
# Evaluate sensor configuration recommendations (--notify alerts administrators)
suricatavel drongo recommendations --notify
# Manage the dedicated Drongo queue worker
suricatavel drongo restart
suricatavel drongo logs

See the drongo command reference for every action.