Security
Security
How Emona MFT and the jFiltra core protect your files, and their technical limits.
Versions: Emona MFT 1.8.0 and jFiltra 1.1.12 (source-available). This page lists what each one does and its technical limits. We would rather be precise than impressive.
Built into the jFiltra core
- Self-hosted. Files go from your clients to your own server. Nothing is sent to BLUEGEM or any cloud service.
- Integrity check. Every file gets a SHA-256 hash; the server verifies it after decryption, and the client deletes the original or moves it to sent/ only after a confirmed, verified delivery.
- Compression and content encryption. File content is GZIP-compressed and AES-encrypted with a key that is unique to each client.
- Separation per client. The server stores each client's files in that client's own directory. It rejects unknown client labels and any file name containing a path (such as
../), so a client cannot write outside its directory. - Connection limits. Header and transfer timeouts, a per-IP connection limit and a maximum file size stop a single connection from holding the server.
- Database rows, safely. Since jFiltra 1.1, a separate DB client sends the result of an SQL query as a CSV, TSV or JSON Lines file and runs your post-transfer SQL only after the server has confirmed the file; any failure rolls the transaction back. Passwords in JDBC URLs and error messages are masked in the logs.
- Runs almost anywhere. Java 8 or newer (any OpenJDK build, tested on 8, 11, 17, 21 and 25) on Linux, macOS or Windows, with Apache Log4j 2 as the only dependency.
- Source code you can review. The core is source-available on GitHub under PolyForm Noncommercial 1.0.0, so you can inspect exactly what it does.
Not in the jFiltra core
- The connection is not encrypted with TLS, so client labels, file names, sizes and hashes travel in plain text. jFiltra keeps this out by design to stay simple.
- File content uses AES in ECB mode, not authenticated encryption, and keys are derived from a passphrase without a slow, salted key-derivation function.
- Clients are not authenticated with certificates, and there is no protection against replayed transfers.
Recommendation: run the jFiltra core only inside a trusted network, a VPN or an SSH tunnel (the jFiltra README shows how), and do not expose its port to the internet.
Added in Emona MFT: protocols 2 and 3
- Mutual authentication. Client and server prove they know the client's key before any file data is sent; the client deletes a file only after a reply only the real server can produce.
- Authenticated encryption. File names and content are encrypted with AES-256-GCM in numbered 64 KB records, so changes, reordering and truncation are detected.
- Replay protection. Fresh session keys for every connection (HKDF-SHA256 over random nonces), so a recorded transfer cannot be sent again.
- Protocol 2 by default. New installations use protocol 2. The original protocol 1 is refused unless it is explicitly allowed. A mismatch is refused, reported to the client and logged. Only the client label is visible on the network.
- Protocol 3: hybrid post-quantum key exchange. Optional since 1.7.0. Each connection adds a new X25519 and ML-KEM-768 (NIST FIPS 203; about the vulnerability) key exchange, bound to a hash of the whole handshake. The session keys need the client's key and both exchanged secrets, and the private keys of the exchange exist only in memory, so recorded traffic can't be decrypted later even with the client's key (forward secrecy).
- No downgrade. A server can accept protocols 2 and 3 at the same time, so clients move one by one, but a client set to protocol 3 never falls back to protocol 2, so an attacker on the network can't force a weaker protocol.
- Key rotation without downtime. During a key change the server accepts the new and the previous key of a client, re-reads its key file without a restart, logs which key each connection used, and reports clients still on the old key.
| Protocol 2 (default) | Protocol 3 (optional) | |
|---|---|---|
| Client and server authenticated | Yes, before any file data is sent | Yes, as protocol 2 |
| Encryption | AES-256-GCM per 64 KB record | As protocol 2 |
| Session keys from | The client's key and both nonces (HKDF-SHA256) | The client's key, both nonces and a new X25519 + ML-KEM-768 (about the vulnerability) exchange per connection |
| Forward secrecy | No | Yes |
| Against a future quantum computer | Symmetric only, with keys of at least 32 characters: considered resistant to known quantum attacks, but without forward secrecy | Hybrid: the exchange stays secure as long as X25519 or ML-KEM-768 (about the vulnerability) holds, and the client's key is still needed |
| Visible on the network | Only the client label | Only the client label and the public keys of the exchange |
| Extra data per connection | – | 2,336 bytes |
Emona MFT does not use TLS for transfers. With protocols 2 and 3, an observer still sees client labels, approximate file sizes and timing; a VPN or SSH tunnel hides those too. Anyone who knows a client's key can send files as that client, so protect the keys. A protocol 3 handshake costs the server more CPU than protocol 2 (about 1.4 times in a test with a flood of connections), so keep the connection limits and a firewall rule for the port. Symbolic links are never sent and file size limits are configurable in both jFiltra and Emona MFT.
The server also keeps a configurable amount of free space on each storage disk (min.free.space.mb) and refuses files that would fill it with Insufficient storage, so a full disk cannot stop other clients or corrupt stored files.
Isolation from the internet
Vulnerabilities are found faster than ever, increasingly with AI tools, and attackers use the same tools. No software is free of vulnerabilities, Emona MFT included. What lowers the risk is less that can be reached, fewer dependencies and updates you can check yourself. Emona MFT is built for that:
- Works without internet access. Servers, clients and the dashboard need only your own network and also run in a fully isolated (air-gapped) network. There is no telemetry and no update check, nothing is sent to BLUEGEM, and the dashboard licence is checked offline.
- Only the connections you configure. Clients connect to the server's transfer port, and servers and clients to the dashboard's agent port if you use the dashboard. E-mail alerts, syslog and SIEM forwarding and single sign-on stay off until you set them up.
- Nothing has to face the internet. The server can listen only on 127.0.0.1 and be reached through an SSH tunnel or VPN, and the dashboard web interface listens only on 127.0.0.1 unless you configure otherwise.
- One-way monitoring. Servers and clients only push events to the dashboard; it can't send them commands or change their settings.
- Little third-party code. Two libraries, Apache Log4j 2 and, for protocol 3, Bouncy Castle, pinned by version and SHA-256 and checked every week for new releases. A CodeQL workflow analyses the code.
- Updates you check offline. Copy a release into the isolated network and verify its signed
SHA256SUMSthere before you install it. The ML-DSA-65 signature needs Java 24 or newer or OpenSSL 3.5; with an older Java, the ECDSA signature is checked.
Isolation lowers the risk; it does not remove it. A compromised machine or a person inside the network can still attack the system. Install security updates, protect the client keys, keep the connection limits and a firewall rule for the port, and send the logs to a SIEM copy that the server's operators can't change.
Stored files
- Optional encryption at rest. The server can store the files of some or all clients encrypted with AES-256-GCM. Each file gets its own random key, wrapped with a master key; changed bytes, cut-off files, moved or swapped chunks, renamed files and wrong keys are all detected. It is off by default, because programs that pick up the files must decrypt them first, with the included
emonamft-decrypttool or a Java API. - Master key rotation. A new master key is picked up without a restart, and older files can be re-wrapped to it without decrypting their data.
- Retention. Received files of a client can be deleted automatically after a set number of days, with a dry run that only reports what would be deleted. Every deletion is logged as an event.
- Permissions. Files with keys, passwords or personal data that Emona MFT writes are created owner-only, logs owner and group only, and received files can get restricted permissions. Key and password files that other users can read are reported at start; Emona MFT doesn't change the permissions of files you edit. In the release packages, the configuration files are owner-only.
Encryption at rest does not hide a file's size, and the event log keeps the size and SHA-256 of the plaintext, so protect the event log like the files. Back up the master key file separately: without it, nobody can decrypt the files, including BLUEGEM. Disk encryption of the operating system remains a good idea for stolen disks and backups.
Logs and monitoring
- Tamper-evident logs. Event logs of servers and clients, and the dashboard's audit log and incident register, are hash-chained and sealed at regular intervals. They are checked every hour, and a broken chain raises a critical alert.
- SIEM forwarding. Every event and audit line can be sent to your SIEM or log server as RFC 5424 syslog over UDP, TCP or TLS, from servers and clients directly or from the dashboard. Lines written during an outage are sent afterwards.
- Verification against the copy. The command-line verifier compares logs with the SIEM copy by run and day, detecting missing leading or trailing lines, missing seals and changed agent names. Use
--agent NAMEto select the copy’s agent explicitly. - Personal data. File names can be written to the event log as keyed HMAC-SHA256 hashes (pseudonymisation). Keys and file contents are never logged; key fingerprints are logged instead.
- Buffered forwarding, with limits. Lines written during an outage are forwarded afterwards from the local log files. TCP/TLS uses a requested 16 KB send buffer and detects stalled or too-slow receivers. TCP acknowledgement is not proof of SIEM storage: at low traffic, a hung receiver can appear healthy until its buffers fill, and lines provisionally marked delivered can be missing from its copy permanently.
Tamper-evident means that changes are detected, reliably when the files are compared with a copy kept elsewhere; it does not stop someone with write access from changing the files. Keep the SIEM copy where the server's operators can't reach it.
Dashboard
Every Emona MFT installation includes at least one web dashboard instance, and all licensed Emona MFT servers connect to it. Servers and clients push events to it over their own AES-256-GCM link with a key per agent; the dashboard never sends them commands. Sign-in supports two-factor authentication (TOTP) and single sign-on with OpenID Connect, sign-ins are locked per user and address, every sign-in and change goes to a hash-chained audit log, and the web interface listens only on 127.0.0.1 unless you configure otherwise. See the dashboard page for details and limits.
- Client-scoped access. Admins and auditors limited to specific clients cannot open or download the global audit log (HTTP 403), because it contains all clients. Their incident register and exports remain filtered to their allowed clients.
Releases and supply chain
- Signed releases. Every release has a
SHA256SUMSfile signed offline with ML-DSA-65 (FIPS 204, post-quantum) and ECDSA P-256. It covers every package by its SHA-256, and a release without both signatures is not an official release. The private keys are never on GitHub; the fingerprints of the public keys are listed in the SECURITY.md file of every release. - SBOM. Each release includes a CycloneDX software bill of materials with the version, licence and SHA-256 of every component.
- Two libraries, pinned. Emona MFT uses only Apache Log4j 2 (2.26.1 in version 1.8.0) and, for protocol 3, Bouncy Castle
bcprov-jdk18on(1.87). Both are included in the release packages; their versions and hashes are pinned and checked every week against Maven Central. - Automated checks. GitHub workflows for CodeQL static analysis, Dependabot, and smoke tests of protocols 1, 2 and 3 and of the dashboard on Java 8, 11, 17, 21 and 25.
Reporting a security issue
If you find a security problem in Emona MFT, jFiltra or on this website, please report it privately rather than in a public issue: e-mail rumanko@bluegem.sk with a subject starting [Emona MFT security], or contact BLUEGEM through bluegem.sk. For Emona MFT we acknowledge a report within 3 working days and give a first assessment within 10 working days. Critical and high severity problems are fixed within 30 days of confirmation, sooner when actively exploited. We agree the disclosure date with you and credit you unless you prefer not to be named.
This website
emonamft.com is a static site with a strict Content Security Policy and no third-party fonts. Google Analytics is the only third-party script, and it loads only after you accept analytics cookies. Orders are written to a file on our own server and emailed to BLUEGEM; see the privacy notice.