Logo

github Download
Security features

Security features #

Acra delivers different layers of defence for different parts and stages of the data lifecycle. This is what defence in depth is – an independent set of security controls aimed at mitigating multiple risks in case an attacker crosses the outer perimeter.

If you look at Acra from a security architecture perspective, it covers data security from different angles – providing proactive, reactive and detective security controls.

Acra’s security assumptions, threats and security guarantees are described in Security design section.

Proactive controls #

Proactive controls prevent risks from happening. The main goals of these Acra features are to provide protection “by default” no matter what.

  • Encryption — application-level encryption is performed by either AcraServer (transparent encryption on a proxy) or AcraTranslator (encryption-as-a-service). Acra allows you to encrypt only chosen subset of your data to attain optimal performance/security guarantees. Acra encrypts data into cryptographic containers to ensure it can only be decrypted with a proper key stored in a secure place.

  • Searchable encryption — encrypt data in a way that it’s searchable without decryption. Acra encrypts data securely and builds a special hash (“blind index”) for search.

  • Masking — similar to encryption but leaves a part of plaintext unencrypted. The database stores masked data (annXXXXX@acme.com), your application controls how to show data – in plaintext for trusted connections, as a mask for untrusted ones.

  • Tokenization — substitute sensitive data with a token and match it to the original only when needed. To provide additional security, encrypt sensitive data when stored and decrypt only when a token is requested.

  • Transport security — Acra prevents unauthorized connections, uses only the latest transport security protocols, and provides additional modules for infrastructures deployed in hostile environment.

Reactive controls #

Reactive controls detect suspicious behaviour and prevent incidents from happening by limiting their damage. The main goals of these Acra features are to react to connections, errors, application behaviour and provide controls to triage and stop it.

  • Intrusion detection — Acra puts special data blocks (honeytokens / honeypots) in database tables that look like regular encrypted records, but once they’re requested through Acra, it raises security alarm and halts decryption.

  • SQL firewall — Acra’s Request Firewall enables verification of all queries to the database against a set of rules and reactions. Acra can be used as conventional DLP for the database, ensuring that chosen patterns or data blocks never pass Acra without an alarm.

  • Programmatic reactions on security events — Acra allows configuring particular behaviour on security events. When triggered, they alert the Ops team and define a wide gamut of reactions - from shutting down or rejecting the request to providing forged data instead of actual database response.

Detective controls #

Detective controls help restore the history of events and detect if the system’s behaviour has tampered with. The main goals of these Acra features are to provide enough proof for auditors, regulators, or the IR team. We recommend performing ongoing monitoring, verification, and alerting for risky environments, not just using these controls after incidents.

  • SQL query logging — Acra’s Request Firewall allows logging all incoming SQL queries from clients in AcraServer to validate them later. It’s often combined with “deny” rules (when suspicious queries are blocked) and programmatic events (when specific queries trigger alerts).

  • Security logging — technical logging and security events that are useful to analyse anomalies of your system’s behaviour.

  • Audit logging — cryptographically-signed audit logs help to restore the history and validate that logs were not tampered.

  • SIEM/SOC integration — link a stream of security logs and security events from Acra to your SIEM/SOC and analyse behaviour of your whole system at once.

Acra’s own internal security #

To learn more about how we protect Acra while it protects your system, refer to On Acra security section.