CrushMFT Documentation

SIEM formats: CEF, LEEF, ECS, OCSF#

A SIEM is the system in which a security team collects the events of all its machines, to search them together and to raise an alarm on patterns. It wants events, not log lines: "user alex logged in from 203.0.113.9 over SFTP and it worked", with each of those as a field.

CrushMFT 27 sends exactly that, in four formats that SIEM products read without a parser written for CrushMFT. This page is about choosing the format and the way of sending. The settings are in Preferences, Logging, Log Targets.

The formats#

Format Is Read by
CEF (ArcSight) one line of key=value pairs behind a fixed header ArcSight, Splunk, Microsoft Sentinel, QRadar, LogRhythm, Elastic, Exabeam, Securonix
LEEF 2.0 (QRadar) the same idea, IBM's form IBM QRadar
JSON, Elastic Common Schema one JSON object per line, in the field names of ECS 8.11 Elastic, OpenSearch, Splunk, Datadog, Graylog, Loki
JSON, OCSF one JSON object per line, in OCSF 1.3 AWS Security Lake, Splunk, CrowdStrike, Microsoft Sentinel

When in doubt: CEF over syslog is understood by nearly everything. JSON is what newer pipelines prefer, ECS if yours is built on Elastic, OCSF if it is built on a security data lake.

The events#

The same five kinds whatever the format, and whatever the protocol: an upload by SFTP and one in the browser are the same event.

Kind Events
Logins, logouts, password changes every login that worked or failed, every logout, every changed password
Uploads, downloads and file changes upload, download, delete, rename, move, new folder, share, and each of them failing
Admin changes and access audit every admin command that changes something; roles saved, tokens issued
Bans, kicks, alerts, refused access banned addresses, ended sessions, alerts that fired, actions the access rules refused
Server and port starts and stops the server and each listener going up and down

A target sends the kinds that are ticked under Events. A security team usually wants all five. For a team that is charged by volume, the file events are the many ones: a busy server makes a login event per session and a file event per file.

Also send the server log lines, one event each adds every line of CrushMFT.log as an event of the kind log. That is for a SIEM that is your only log store. It multiplies the volume.

What an event holds#

CEF LEEF ECS OCSF
when rt devTime @timestamp time
what the event class, cat, act EventID, cat, action event.category, event.action class_uid, activity_id
how it ended outcome outcome event.outcome status_id
how serious, 0 to 10 the severity sev event.severity severity_id
who suser usrName user.name user / actor.user
from where src, spt src, srcPort source.ip, source.port src_endpoint
on which port of the server dpt dstPort destination.port dst_endpoint.port
by which protocol app appProto network.protocol service.name
which file filePath, fname, fsize resource, fileName, fileSize file.path, file.name, file.size file
its old name, for a rename oldFilePath, oldFileName oldResource crushftp.old_path
the session cs1 sessionId crushftp.session_id session.uid
an id of the event externalId eventUid event.id metadata.uid

The session id ties a login to everything that session did and to its logout. The event id is unique, so a record that arrives twice can be recognised.

In OCSF the events are of the classes Authentication (3002), Account Change (3001), File Hosting Activity (6006), API Activity (6003) for admin changes, Detection Finding (2004) for bans, kicks, alerts and refusals, and Application Lifecycle (6002).

The test record of a target, as it arrived by syslog in CEF on a test server:

<134>1 2026-11-20T15:04:36.727+02:00 files CrushMFT - - - CEF:0|CrushFTP|CrushMFT|27.0.0_0|server.test|Test|3|rt=1795179876718 externalId=mwozqxym-1 dvchost=files cat=server act=test outcome=success msg=Test record from CrushMFT on files (Preferences, Logging, Log Targets)

Behind CEF:0 come the maker, the product and its version, the event class (server.test; a login is auth.login), a name, and the severity. Then the fields of the table above.

The full maps, field by field: Log formats and field maps.

Ways of sending#

By syslog#

The usual way: a target with Send to Syslog, over TCP or TLS, in CEF, LEEF or JSON. See Syslog.

  • For Splunk, Sentinel (through its CEF or syslog connector), ArcSight, LogRhythm: CEF.
  • For QRadar: LEEF. QRadar recognises it without a parser of its own.
  • For Graylog and Elastic with a syslog input: JSON, ECS.

By file#

A target with Send to File writes the events to a file of their own, one per line, and rolls it: ./logs/siem/crushftp_events.log, rolled at 100 MB, ten files kept, unless you change it. An agent of the SIEM on the server machine, such as Filebeat, the Splunk forwarder or the Azure Monitor agent, reads the file and sends it on.

This is the most robust way: the file is a buffer on disk, and the agent catches up after an outage of the SIEM. Use JSON for it.

In a container#

A target with Send to Console writes one event per line to the output of the process. Docker and Kubernetes collect that by themselves, and the platform's log pipeline takes it from there. Use JSON.

By database#

Possible, and rarely what a SIEM wants: Logging to a database.

Setting one up#

  1. Add a target. Choose Send to, the Format, the Events.
  2. Send Test Record. It sends a test event of the kind server.test. Find it in the SIEM, and check that the SIEM shows it with its fields, not as one long text. If it is one text, the SIEM's input is set to the wrong format.
  3. Save.
  4. Log in once with a wrong password, and look for the failed login in the SIEM with the right user and address.

What to alarm on#

The events are made for rules like these:

Rule Events
many failed logins from one address, or on one account auth login with outcome=failure
a login that worked after many that failed the same, then success
a login from a new country, or at an unusual hour auth login
an admin change outside a change window admin
a role saved, a token issued admin
a mass download or delete file
an address banned, an action refused by the access rules security
the server or a listener stopping server

The server's own Reports have ready reports for most of these, for those without a SIEM.

Things to know#

  • Nothing is held back for a SIEM format. The switches under What is logged and the log's filter shape the log lines; events are sent regardless of them.
  • Secrets are not in events. Passwords are never a field. An admin change is named by its command and target; values that are secrets are masked.
  • Admin events say what was tried. For a command that the access rules refused, the outcome is failure. For others it is unknown: the event says the command was given, not what it answered.
  • Volume. Events are small, some hundred bytes. A server with a million transfers a day sends about a million file events.
  • When the SIEM is down, a target's queue holds 10,000 records; after that, records for that target are dropped and counted. Use the file way where nothing may be lost. See Syslog.
  • Several targets can run side by side: CEF to the SIEM, the plain log to a log server.