Table of Contents
- 1 Security Principles
- 1.1 Data Confinement Through Encryption
- 1.2 Public-Key Cryptography
- 1.2.1 Quantum Computing Considerations
- 1.3 End-to-End Encryption
- 2 Combined Security Model
- 3 Attack Scenarios and Mitigations
- 3.1 Server Misconfiguration
- 3.2 Insider Threats
- 3.3 Authentication Attacks
- 3.4 Zero-Day Exploits
- 4 Advanced Security Features
- 4.1 Public Key Signing and Chain of Trust
- 4.2 Crowd Security
- 4.3 Secure JavaScript Delivery
- 4.4 Key Escrow
- 5 Secure Virtual Machines
- 5.1 Access Model
- 5.2 Encrypted Drives
- 5.3 Data Store Access
- 5.4 Secure Tunnels
- 5.5 Outbound Access
- 5.6 Boot Images
- 6 Combining tiCrypt with Traditional Defenses
- 6.1 Multi-Factor Authentication
- 6.2 Perimeter and Server Defense
- 7 Auditing and Compliance
- 7.1 Secure Audit Logs
- 7.2 Audited Events
- 8 Infrastructure and Scalability
- 8.1 System Architecture
- 8.1.1 Audit System Isolation
- 8.1.2 Data Ingress Boundary
- 8.1.3 VM Network Isolation
- 8.2 Storage
- 8.2.1 Vault Storage
- 8.2.2 Encrypted VM Drives
- 8.2.3 Non-Secure Storage: ISOs and NFS
- 9 Data Migration
- 10 Conclusion
- A Appendix: CMMC Level 2 Compliance Mapping
Every file, drive, and communication channel is encrypted with keys that never exist on the server. A breached server yields ciphertext, computationally indistinguishable from random noise without the user-controlled keys needed to read it. This is not a secondary defense layer. It is the architecture.
tiCrypt is built on a principle we call zero-knowledge infrastructure: the server operates on data it cannot read, manages keys it cannot use, and authenticates users without ever learning their credentials. Traditional security mechanisms (perimeter defenses, network segmentation, access control lists) assume the server is trustworthy. When that assumption fails, the data is exposed. tiCrypt eliminates the assumption entirely.
Traditional Infrastructure: Threat Status Critical
- Server breach exposes all data in plaintext
- Rogue admin can read, copy, or exfiltrate any file
- Stolen backup = complete data breach
- Database dump contains readable records
- Encryption keys stored alongside data on server
- Security depends on perimeter integrity
Zero-Knowledge Infrastructure: Threat Status Neutralized
- Server breach exposes only ciphertext
- Admins are cryptographically excluded from data
- Stolen backup = encrypted blobs, no keys
- Database holds RSA-wrapped keys and metadata, no file content
- Decryption keys exist only on user endpoints
- Security is intrinsic to the data itself
1 Security Principles
tiCrypt is built on three foundational principles: data confinement through encryption, public-key cryptography, and end-to-end encryption. Every security feature in the platform derives from the combination of these principles.
1.1 Data Confinement Through Encryption
Traditional data confinement relies on access control lists (ACLs). The problem with ACLs is that administrators control them, and attackers who compromise an administrator account inherit that same power. This is the root cause behind privilege-escalation breaches (CWE-269: Improper Privilege Management).
tiCrypt enforces data confinement cryptographically, the foundation of its zero-knowledge infrastructure. Each file is encrypted at creation with a unique, randomly generated AES-256 key (FIPS 197). That key is then encrypted with the public keys of authorized users and stored on the server. Encryption occurs on the client before data leaves the application; decryption occurs only on the recipient's client. This architecture satisfies CMMC Level 2 practices SC.L2-3.13.16 (protecting CUI at rest) and SC.L2-3.13.8 (protecting CUI in transit).
File sharing involves no server-side decryption. The entire key-transfer process executes in the file owner's client application:
- The encrypted file key is retrieved from the server.
- The owner decrypts the key using their private key.
- The key is re-encrypted with the recipient's public key.
- The re-encrypted key is deposited on the server.
The private key never leaves the owner's client. Only public keys are available to other parties.
1.2 Public-Key Cryptography
Public-key cryptography uses a key pair: a public key known to everyone, and a private key known only to its owner. Data encrypted with the public key can only be decrypted with the corresponding private key, and vice versa. This asymmetry enables both secure data exchange and digital signatures without requiring pre-shared secrets.
tiCrypt uses RSA-2048 key pairs to wrap per-file AES-256 keys and to produce digital signatures: keys are wrapped with RSA-OAEP (SHA-256), and signatures are RSA-PSS (SHA-256). RSA key generation, signing and key wrapping happen on the user's client and in the VM controller, and are performed by the FIPS-validated cryptographic module operating in FIPS mode (the OpenSSL 3.1.2 FIPS provider, CMVP certificate #4985); tiCrypt implements no cryptography of its own, so these operations run only in the module's approved modes. The backend only verifies signatures, which it does with the Java runtime's cryptography libraries. RSA-2048 provides 112 bits of security strength. The signatures are approved for government use under FIPS 186-5 (Digital Signature Standard), key transport follows NIST SP 800-56B, Rev. 2, and the module is validated per FIPS 140-3 (Security Requirements for Cryptographic Modules). Key management follows the guidelines in NIST SP 800-57 Part 1, Rev. 5 (Recommendation for Key Management), which approves 112-bit security strength through 2030.
Each user generates a key pair at account creation. This single key pair powers all of tiCrypt's core security functions:
- Authentication: The user decrypts their private key with a key derived from their password by PBKDF2, signs a server-issued nonce (challenge-response protocol), and the server verifies the signature against the stored public key. No password is ever sent to or stored by the server. This satisfies CMMC Level 2 practices IA.L2-3.5.2 (authenticate identities), IA.L2-3.5.4 (replay-resistant authentication), and IA.L2-3.5.10 (cryptographically-protected passwords).
- File Sharing: Files are shared by encrypting the per-file AES-256 key with the recipient's RSA-2048 public key. No passwords or shared secrets need to change hands.
- Certificates: Digitally signed instructions (using the owner's RSA private key) authorize other users to perform operations on the owner's behalf, providing non-repudiation.
1.2.1 Quantum Computing Considerations
A sufficiently large quantum computer running Shor's algorithm could factor RSA-2048 in polynomial time, rendering the integer factorization problem tractable. AES-256 faces a lesser quantum threat: Grover's algorithm halves the effective key length to 128 bits, which remains computationally infeasible. tiCrypt's architecture is designed for cryptographic agility. Because file encryption and key wrapping are performed in the client application through the OpenSSL FIPS module, the cryptographic primitives can be upgraded to NIST post-quantum standards (ML-KEM for key encapsulation, ML-DSA for digital signatures) without changes to the server infrastructure, the storage layer, or the zero-knowledge security model. The server never interprets cryptographic material; it stores and forwards opaque ciphertext regardless of the underlying algorithm.
1.3 End-to-End Encryption
End-to-end encryption means data is encrypted as early as possible and decrypted as late as possible, only by the intended recipient and only at the moment of use. No intermediate party, including system administrators and the tiCrypt backend, can access the data in transit or at rest.
This is strictly stronger than encryption-in-transit (TLS), which protects data only between endpoints: the server terminates the session and sees plaintext. Even if tiCrypt's TLS certificate were compromised, end-to-end encryption would keep the data secure independently, eliminating the entire class of man-in-the-middle attacks (CWE-300) against data confidentiality.
Encryption occurs on the client side with keys controlled exclusively by the user. If a file is accessed or shared multiple times, it is decrypted each time from the ciphertext. No unencrypted copies persist in intermediate storage, satisfying CMMC Level 2 practice SC.L2-3.13.16 (protecting CUI at rest).
All data in tiCrypt is encrypted at a uniform level: AES-256 (FIPS 197), providing 256 bits of symmetric security strength per NIST SP 800-57 Part 1, Rev. 5. There are no tiers of security. Since the performance difference between AES-128 and AES-256 is minor (roughly 20% on modern hardware with AES-NI instruction support), there is no practical reason to accept weaker protection for any resource. The net result of these three principles is that every resource is encrypted with a unique key before it leaves the user's device, and the server never holds a key capable of decrypting anything.
2 Combined Security Model
Each file in tiCrypt is protected under a hybrid encryption scheme: AES-256 encrypts the file data using a randomly generated per-file symmetric key, while RSA-2048 encrypts that key under each authorized user's public key. This hybrid approach, recommended by NIST SP 800-175B, Rev. 1 (Guideline for Using Cryptographic Standards in the Federal Government: Cryptographic Mechanisms), combines the performance of symmetric encryption with the key-distribution advantages of asymmetric cryptography.
An attacker must break at least one of two independent hardness problems: the integer factorization problem to recover the file key from its RSA-encrypted form, or the AES block cipher to recover plaintext without the key. No known attack achieves either at the key lengths tiCrypt uses. Because the two problems are mathematically independent, progress against one provides no leverage against the other.
3 Attack Scenarios and Mitigations
Zero-knowledge infrastructure produces the same outcome regardless of how the system is compromised. The following scenarios demonstrate this property.
3.1 Server Misconfiguration
3.2 Insider Threats
3.3 Authentication Attacks
3.4 Zero-Day Exploits
4 Advanced Security Features
4.1 Public Key Signing and Chain of Trust
Public-key cryptography introduces one notable vulnerability: an attacker with server access could substitute a user's public key with one they control, then intercept future file shares encrypted to the fraudulent key (a variant of man-in-the-middle attack, CWE-300).
tiCrypt mitigates this through a hierarchical chain of digital signatures:
- A site key, signed by a hardwired Tera Insights private key, bootstraps the trust root of the entire deployment.
- The site key signs the first super-administrator key; that key signs subsequent administrator keys; and so on, forming a signature chain analogous to X.509 certificate hierarchies.
- Every new user account is approved by an administrator, whose private key signs the new account's public key, cryptographically binding it to the chain of trust.
- Any user can independently verify the full chain of signatures on the client side, without trusting the server.
An attacker cannot inject a fraudulent key without controlling an administrator's private key.
4.2 Crowd Security
To further protect key integrity, tiCrypt's frontend locally stores SHA-256 fingerprints (per FIPS 180-4) of every public key it has previously interacted with. When a file is shared with a user, the frontend fetches the user's public key and compares it against the stored fingerprint. Any discrepancy triggers an immediate alert.
This fingerprint data is stored client-side, outside the server's reach. Even with a fully compromised server, an attacker cannot swap keys without detection by any client that has previously interacted with the target user. This mechanism provides a form of key-pinning that does not rely on any centralized certificate authority or server-side trust store.
4.3 Secure JavaScript Delivery
Since tiCrypt's frontend is delivered as a standalone desktop application built on Wails, a natural attack vector is injecting malicious code to exfiltrate private keys (CWE-506: Embedded Malicious Code; CWE-829: Inclusion of Functionality from Untrusted Control Sphere). tiCrypt addresses this through three layers of defense:
- Dependency isolation. All dependencies are bundled into the tiCrypt frontend at build time. No external JavaScript, CSS, or HTML resources are referenced at runtime. Compromised third-party CDNs or supply-chain attacks against open-source packages cannot affect a packaged tiCrypt deployment.
- Code signing. The frontend bundle is delivered as a digitally signed ZIP archive, with signing keys controlled by two senior Tera Insights executives under dual-control procedures.
- Local delivery via tiCrypt Connect. tiCrypt Connect serves the frontend locally, automatically verifies and applies updates on new releases, and authenticates all VM traffic, locking sessions if unauthenticated connections are detected.
4.4 Key Escrow
Loss of a private key means permanent loss of data access. tiCrypt's key escrow mechanism enables recovery without creating a single point of failure, satisfying the key recovery provisions of NIST SP 800-57 Part 1, Rev. 5.
Recovery requires one member from each escrow group, three groups by default, each member holding an escrow key pair signed by the site key and usable only for escrow operations. Escrow works as follows:
- A random AES-256 key part is generated for each escrow group.
- The key parts are combined into a single AES-256 recovery key, the user's private key is encrypted with it, and the recovery key is discarded.
- Each group's key part is encrypted with the escrow public key (RSA-2048) of every member of that group, and the encrypted private key and key parts are stored on the server.
No individual escrow key holder, and no single group, can recover the user's private key alone. Recovery needs the key part of every group, and any one member of a group can supply that group's part. If any group's part is missing, recovery is cryptographically impossible. This multi-party escrow design enforces separation of duties (CMMC Level 2 practice AC.L2-3.1.4) and prevents any single administrator from unilaterally accessing user keys. Across the full set of advanced security features, the common thread is that key substitution, malicious code injection, and key loss are all addressed through mechanisms that do not require trusting the server.
5 Secure Virtual Machines
tiCrypt extends its zero-knowledge infrastructure into the compute layer through encrypted virtual machines (VMs) with a fundamentally different access model from conventional cloud infrastructure.
5.1 Access Model
VMs cannot be accessed through console connections, direct SSH logins, or standard remote access tools, all of which could be exploited by a compromised administrator. The only access path is through a secure, mutually authenticated channel within tiCrypt:
- When a VM starts, it receives the owner's public key.
- The user and VM authenticate each other with their RSA-2048 key pairs. The VM signs its side of the handshake and the user signs the whole handshake transcript, both with RSA-PSS. The transcript includes both ephemeral elliptic-curve public keys and the values the VM generated for this connection, so a recorded handshake cannot be replayed and a party that relays it cannot alter it.
- The two sides agree on a shared secret with ephemeral ECDH on curve P-256 and derive AES-256-GCM session keys from it with HKDF (NIST SP 800-56C), one per direction. These keys protect all subsequent communication and provide forward secrecy for the session.
The result is a double-encrypted channel: data is encrypted with the AES-256-GCM session keys at the application layer and transmitted over an encrypted WebSocket (TLS) transport. The backend is involved only in the initial handshake and never participates in ongoing communication between the user and their VM.
5.2 Encrypted Drives
VMs use encrypted drives. Each drive has a random 256-bit drive key that is generated on the user's client and wrapped with the user's RSA-2048 public key, so only the holder of the private key can recover it. The encrypted user-VM channel carries the drive key to the VM controller, which uses it to unlock the drive; even system administrators with root access to the hypervisor host cannot access drive contents.
5.3 Data Store Access
VMs access the main data store through secure sub-sessions, with file keys passed through the encrypted user-VM channel.
5.4 Secure Tunnels
tiCrypt Connect establishes a TLS 1.2+ tunnel using FIPS-approved cipher suites (e.g., TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) between the user's computer and the VM, with exclusively public-key authentication and ephemeral session keys providing forward secrecy. No commands can be run on the remote machine through this protocol. It is more restrictive than SSH by design, limiting the tunnel to data transport only.
5.5 Outbound Access
VMs have strictly limited outbound network access. Only the tiCrypt backend and explicitly allowlisted licensing servers are reachable. This prevents both accidental and intentional data exfiltration, satisfying CMMC Level 2 practice SC.L2-3.13.6 (network communication denial by default). Even a hijacked VM can only route data through the audited tiCrypt Vault.
5.6 Boot Images
VM boot images are immutable and reset automatically on each boot, eliminating persistent malware, rootkits, and other forms of internal compromise. This ensures that each VM session starts from a known-good state. Taken together, the session between a user and a VM is encrypted end to end: the hypervisor host, the backend, and the network infrastructure relay and store only ciphertext for it. This is a confidentiality property, not a scope boundary. The hypervisor hosts run the VMs and hold their encrypted drives, so they remain inside the assessment scope. The Department of Defense CIO's CMMC Frequently Asked Questions (July 2026 edition) state that encryption alone does not create logical separation (question F-Q3), so the firewall rules described under VM Network Isolation provide that separation.
6 Combining tiCrypt with Traditional Defenses
tiCrypt's encryption-first architecture is designed to complement, not replace, traditional security measures. Defense in depth requires that an attacker must defeat both layers to achieve a data breach.
6.1 Multi-Factor Authentication
tiCrypt's primary authentication mechanism, private-key signing, is strong on its own. However, a stolen private key used from an unfamiliar machine represents a real risk. MFA addresses this as an independent, additional layer, satisfying CMMC Level 2 practices IA.L2-3.5.3 (multi-factor authentication) and IA.L2-3.5.4 (replay-resistant authentication).
Rather than integrating MFA into the backend (which would create a single point of failure), tiCrypt treats MFA providers as external, independent proof-providers. Tera Insights requires MFA and split credentials for every production deployment. With them enabled, the server holds the salt and initialization vector of the user's encrypted private key and returns them only after MFA succeeds, so a stolen key file cannot be opened without also passing MFA. A successful MFA check yields a token that is valid for a configurable period, two days by default, and is reused until shortly before it expires, so users are not asked for every factor at every login. The token is kept only while the application window is open unless the deployment allows it to persist. A login without a valid token must pass MFA again, so a stolen key alone is refused.
6.2 Perimeter and Server Defense
tiCrypt's deployment minimizes the server-side attack surface by design:
- Regular user accounts are not required on the hosting server, eliminating most local privilege-escalation vectors at the source.
- Four network entry points are required: HTTPS (port 443) for the tiCrypt interface, the proxy's VM tunnel ports (6000-6100 in the standard installation), SSH (port 22) for host administration, and port 2020 on the SFTP host where SFTP inboxes are offered. All other ports should be blocked at the host firewall, consistent with CMMC Level 2 practice SC.L2-3.13.6 (deny by default).
- SSH public-key authentication should be enforced for all administrative access, disabling password-based login entirely and rendering brute-force and credential-stuffing attacks ineffective.
- All existing security tools, including firewalls, intrusion detection/prevention systems (IDS/IPS), and host-based auditing, are fully compatible with tiCrypt and provide meaningful additional layers of defense.
7 Auditing and Compliance
tiCrypt is built to meet NIST SP 800-171 and CMMC Level 2 compliance requirements, with particular strength in the AU (Audit and Accountability), SC (System and Communications Protection), and IA (Identification and Authentication) control families. CMMC Level 2 is assessed against Revision 2 of the standard until the Department of Defense adopts Revision 3 through rulemaking (CMMC FAQ question B-Q3); the NIST SP 800-171 Rev 3 control guide maps the same capabilities to Revision 3. Its audit engine is designed for high-throughput log analysis, making large-scale deployments practical without sacrificing query performance.
7.1 Secure Audit Logs
Log entries are cryptographically chained using SHA-512 hashing (FIPS 180-4), forming an append-only, tamper-evident structure similar to a hash chain. Any modification to a log entry, including insertion, deletion, or alteration, produces a hash conflict detectable upon audit. Administrators and attackers alike cannot alter the log history without leaving forensic evidence. The audit system is deployed independently from the tiCrypt backend, ensuring that neither administrators nor attackers can alter the record without detection. This satisfies CMMC Level 2 practices AU.L2-3.3.8 (protect audit information), AU.L2-3.3.1 (system-level auditing), and AU.L2-3.3.4 (alert on audit process failure).
7.2 Audited Events
tiCrypt tracks over 200 distinct event types across six categories at millisecond precision with UTC timestamps, satisfying AU.L2-3.3.1 (system-level auditing) and AU.L2-3.3.2 (user accountability). Tracked event categories include:
| Category | Events |
|---|---|
| Sessions & Authentication | Certificate requests, challenges, lookups, and deletions |
| File System | Directory creation, deletion, renaming, and modification |
| Virtual Machines | Creation, deletion, and proxy registration |
| Virtual Drives | Attachment, detachment, creation, deletion, and key operations |
| Files | Creation, deletion, key operations, and chunk-level read/write events |
| Access Control | Group and user permission creation, deletion, and modification |
8 Infrastructure and Scalability
8.1 System Architecture
tiCrypt's backend is composed of ten loosely coupled microservices, each with its own MongoDB database and configuration. Services communicate exclusively over TCP and maintain no shared state. This architecture enforces the principle of least privilege at the service level: a failure or compromise of one service does not grant access to the data or keys held by any other, satisfying CMMC Level 2 practice SC.L2-3.13.2 (architectural design).
| Service | Role |
|---|---|
ticrypt-rest |
HTTPS entry point for all client requests; reverse-proxied behind Nginx |
ticrypt-auth |
Authentication, authorization, and global coordination across all services |
ticrypt-file-manager |
File and directory management |
ticrypt-batch |
Slurm batch integration: job submission and tracking against the Slurm controller |
ticrypt-vm |
Virtual machine lifecycle, scheduling, and realm coordination |
ticrypt-proxy |
Secure tunnel mediation between users and VMs |
ticrypt-logger |
Tamper-resistant, append-only audit log |
ticrypt-stats |
Statistical data collection |
ticrypt-notifications |
User and system notifications |
ticrypt-maintenance |
Background maintenance tasks |
All client requests enter through ticrypt-rest and are authenticated and authorized by ticrypt-auth before any service acts on them. No service is reachable directly from outside the backend network boundary.
8.1.1 Audit System Isolation
tiCrypt Audit is a dedicated, separately deployed system for log processing, alerting, and ad hoc queries. The backend pushes log data to Audit over a one-way TCP connection on port 25000. There is no return path; Audit cannot issue commands to or query the backend. This unidirectional architecture means security and compliance teams can be granted full access to Audit without receiving any access to the tiCrypt backend, its data, or its user keys. The audit record cannot be altered by anyone with access to the tiCrypt backend; doing so would produce a detectable hash conflict in the cryptographically chained log. This separation satisfies CMMC Level 2 practice AU.L2-3.3.8 (protect audit information and audit logging tools).
8.1.2 Data Ingress Boundary
The data ingress services, ticrypt-sftp and ticrypt-mailbox, are intentionally deployed outside the secure infrastructure perimeter in a DMZ-like configuration. External collaborators can deposit data into the enclave without being granted any access to the backend, the Vault, or user accounts. Files deposited through either channel are encrypted on arrival using the recipient's RSA-2048 public key. The ingress services require only a one-way network path to ticrypt-rest; the backend has no network path back to them. This unidirectional design limits the blast radius of a compromised ingress service. This placement is a network-architecture decision, not a scoping one: encrypted CUI is still CUI (CMMC FAQ question B-Q8), so when the deposited files are CUI, the ingress hosts receive and hold CUI and belong in the assessment scope.
8.1.3 VM Network Isolation
VMs do not accept direct inbound connections. All ports are blocked at the host firewall and internally within the VM except port 22, which does not run SSH; it is controlled exclusively by the VM controller (ticrypt-vmc) for encrypted tunnel traffic. All VM communication is mediated by ticrypt-proxy over mutually authenticated WebSocket connections with Diffie-Hellman key negotiation. No component between the user and the VM, including ticrypt-proxy itself, can read the session traffic after the initial handshake completes.
Outbound traffic from VMs is fully blocked by default (deny-all policy). The only permitted exception is access to licensing servers configured explicitly through ticrypt-allowedlist, which requires SuperAdmin authorization and operates by manipulating iptables firewall rules and DNS replies on the backend host, not within the VM itself. The VM has no ability to modify its own network policy.
8.2 Storage
8.2.1 Vault Storage
Vault file content is divided into 8 MB chunks, each encrypted independently using the file's unique AES-256 key with a per-chunk initialization vector (IV). Each full chunk is stored as 8 MB + 32 bytes on disk: the 16-byte IV used for AES-CBC encryption of that chunk, plus 16 bytes of PKCS#7 padding. The backend accepts up to 64 bytes of per-chunk overhead. Chunks are numbered from zero and stored in a directory structure keyed to the file ID, accessible only to the tiCrypt backend process, not to VM hosts or any other service.
All metadata, including file properties, directory entries, access control information, and per-file encrypted decryption keys, is stored in MongoDB, physically separated from the chunk data. An attacker with access to the raw chunk files has no path to plaintext without the per-file decryption keys, which only authorized users can recover via their RSA private keys.
A practical consequence of this design is that a backup of Vault chunks needs no encryption of its own: whatever tool makes the copy, the copy is already ciphertext, and the keys are never in it. The encryption is inherent to the data, not dependent on the storage medium. This protects the confidentiality of the backup. It does not take the backup out of the compliance boundary. The Department of Defense CIO's CMMC Frequently Asked Questions (July 2026 edition) state that "encrypted CUI data retains the control designation given to the plain text counterpart" (question B-Q8), so a backup of encrypted CUI is still CUI. The system that holds the backup belongs in the assessment scope, and a cloud service that holds it must meet the FedRAMP Moderate baseline or its equivalent (question E-Q2). tiCrypt places no requirement on the underlying filesystem for Vault storage, but access to the storage directory should be restricted to the tiCrypt backend service account following the principle of least privilege (CMMC Level 2 practice AC.L2-3.1.1).
8.2.2 Encrypted VM Drives
VM encrypted drives are stored as files in a distributed filesystem accessible to all Libvirt host servers, organized into disk pools (separate pools for disk images, encrypted drives, and ISOs). A newly created drive is intentionally left blank and unformatted. Formatting is deferred until the drive's first attachment to a tiCrypt VM for a critical security reason: the drive key, a random 256-bit value, is generated on the user's client at that moment and passed to the VM controller over the encrypted session, not to the infrastructure. It is stored only wrapped with the user's RSA-2048 public key, so it is recoverable only with the private key. The tiCrypt backend, Libvirt, and the underlying VM host are all excluded from access to this key. Drive encryption inside VMs is performed by LUKS or BitLocker on the operating system's own validated cryptographic modules, with the operating system's FIPS mode enabled in the VM image; those modules carry the operating system vendor's certificates. The VM controller runs its own cryptography in FIPS mode by default; the FIPSModeOff option in the controller configuration disables it and must stay at its default of false where FIPS is required.
On Windows, the drive is formatted as NTFS and BitLocker full-volume encryption (AES-256) is enabled immediately, before the drive is made available to the user. All subsequent writes, including filesystem metadata, are encrypted. An external tool inspecting the backing file can determine the drive is NTFS-formatted but can read no content beyond what was written before BitLocker activation, which is minimal. The VM controller detects the Windows FIPS policy and uses FIPS-compatible BitLocker protectors when it is set.
On Linux, LUKS (Linux Unified Key Setup) encryption with AES in XTS mode (aes-xts-plain64) and a 512-bit volume key, which is AES-256, is applied at the block layer, beneath the filesystem (typically EXT4). All data written to the drive, including filesystem structure, metadata, and file content, is encrypted at the block level. An external tool inspecting the backing file can only determine which disk blocks have been written; it cannot derive any information about their content or the filesystem type.
8.2.3 Non-Secure Storage: ISOs and NFS
ISOs are attached as read-only CD-ROM devices and are always safe to mount in a tiCrypt VM. They are useful for distributing software packages and public datasets without introducing a writable external channel.
NFS shares require careful handling. An NFS share mounted read-write inside a secure VM creates a direct data exfiltration path that bypasses tiCrypt's encryption and audit controls entirely, rendering the deployment non-compliant with CMMC Level 2 practices AC.L2-3.1.3 (control CUI flow) and SC.L2-3.13.16 (protect CUI at rest). All NFS shares mounted in tiCrypt VMs must be exported read-only.
The NFS server itself must also reside within the tiCrypt security boundary. An NFS server outside the controlled infrastructure extends the authorization boundary to a system that may not meet tiCrypt's security requirements. The recommended approach is to run a local NFS server inside the boundary and replicate data into it from external sources, so VMs access only the controlled copy. Across every data path in the system, from storage to ingress to VM communication, data is encrypted before it leaves the user's control, and the infrastructure handles ciphertext exclusively.
9 Data Migration
tiCrypt supports several secure methods for importing data:
- Browser upload: Direct upload of files into the user's Vault via the tiCrypt web interface. Files are encrypted client-side before transmission.
- SFTP / Inbox credentials: External parties can send files directly to a user's Vault. Files are encrypted using the recipient's RSA-2048 public key on arrival, so only the intended user can decrypt them. The SFTP/Inbox server can be hosted separately from the tiCrypt backend, in a DMZ outside the backend perimeter; it remains inside the assessment scope when it receives CUI.
- VM SFTP via tiCrypt Connect: With tiCrypt Connect running, users can generate ephemeral SFTP credentials to transfer data directly into a VM through the encrypted tunnel. Proxy connections are managed by the application.
- External Drive Builder: The Drive Builder tool allows users to create and encrypt virtual drives externally, sign them with their private key for integrity verification, and copy them into the tiCrypt drive pool.
- External cloud services: Box, Dropbox, Google Drive, and OneDrive integrations allow one-way, secure data transfer into a user's Vault.
Every import method encrypts data in transit and leaves it encrypted where it comes to rest in tiCrypt, in the Vault or on an encrypted drive. Files sent over SFTP are encrypted on arrival, so they pass through the SFTP service in plaintext before that step, which is one reason the host stays in the assessment scope. A cloud service used as a source of CUI must itself meet the FedRAMP Moderate baseline or its equivalent (CMMC FAQ question E-Q1).
10 Conclusion
The prevailing model of data security assumes that if the perimeter is strong enough, the data inside is safe. tiCrypt rejects this assumption entirely. Perimeters can be breached. Administrators can be compromised. Authentication servers can be spoofed. The question is not whether an attacker can reach the server, but what they find when they do.
That is the defining guarantee of zero-knowledge infrastructure. By grounding every security property in user-controlled, end-to-end encryption (AES-256, FIPS 197) and RSA-2048 public-key cryptography (FIPS 186-5), tiCrypt ensures that a breach of the server is a breach of infrastructure, not a breach of data. Decryption keys never reside on the server. Passwords are never transmitted or stored. Administrators are cryptographically isolated from user data. Every file, drive, and communication channel is independently encrypted, and access to one reveals nothing about any other.
Layered on top of this cryptographic foundation are the mechanisms that address sophisticated, targeted attacks: a hierarchical chain of trust that makes key substitution detectable, crowd security that catches irregularities client-side, MFA integration that treats identity providers as independent proof-providers rather than trusted insiders, and tamper-evident audit logs that surface rogue activity within minutes.
The result is a system where the attack surface is dramatically reduced, the value of a successful breach is radically diminished, and the security guarantee rests on the mathematical hardness of integer factorization and AES key recovery. These are the only mechanisms that insider threats, zero-day exploits, and compromised infrastructure alike cannot quietly bypass.
tiCrypt is not a harder wall. It is zero-knowledge infrastructure: a fundamentally different architecture where the server never holds the keys to decrypt the data it stores.
A Appendix: CMMC Level 2 Compliance Mapping
The following table maps key CMMC Level 2 practices (NIST SP 800-171 Revision 2, the revision CMMC Level 2 is assessed against) to the specific tiCrypt architectural features that satisfy them. Most practices listed here are directly addressed by the platform; MP.L2-3.8.1 and MP.L2-3.8.3 are shared with the deploying organization, and organizational controls (Personnel Security, Physical Protection, and others) require institution-specific implementation.
| Control | Requirement | How tiCrypt Satisfies It |
|---|---|---|
| SC.L2-3.13.16 | CUI Protection at Rest | Every file and drive encrypted with a unique AES-256 key; decryption keys exist only on user endpoints. Infrastructure never possesses file or drive content in plaintext, or the keys to decrypt it. File and directory metadata is not encrypted at rest, so CUI must be kept out of file and directory names. |
| SC.L2-3.13.8 | Transmission Encryption | Data encrypted client-side before transmission (end-to-end); TLS 1.2+ with FIPS-approved cipher suites for transport. |
| SC.L2-3.13.11 | FIPS-Validated Cryptography | Every cryptographic operation that protects CUI, on the user's client and in the VM controller, uses the OpenSSL 3.1.2 FIPS 140-3 module (CMVP certificate #4985) in approved mode: AES-256 (FIPS 197), RSA-2048 with RSA-PSS signatures (FIPS 186-5) and RSA-OAEP key wrapping (NIST SP 800-56B), SHA-256 and SHA-512 (FIPS 180-4). Drive encryption inside VMs is performed by LUKS or BitLocker on the operating system's own validated modules, with the operating system's FIPS mode enabled in the VM image; those modules carry the operating system vendor's certificates. |
| SC.L2-3.13.2 | Security Architecture | Three-layer architecture (physical infrastructure, tiCrypt security layer, work layer in encrypted VMs), each with independent security controls and isolated microservices. |
| SC.L2-3.13.6 | Default-Deny Network Policy | All traffic denied by default. Inbound openings are port 443 (HTTPS), ports 6000-6100 (VM tunnels through the proxy, in the standard installation), port 22 (host administration), and port 2020 on the SFTP host where SFTP inboxes are offered; VMs have deny-all outbound policy with explicit allowlist exceptions requiring SuperAdmin authorization. |
| SC.L2-3.13.10 | Cryptographic Key Management | Client-side RSA-2048 key pair generation at account creation. Multi-person escrow recovery requires one member from each escrow group, three groups by default; no single holder can recover a key alone. |
| SC.L2-3.13.4 | Unauthorized Transfer Prevention | VMs logically isolated with encrypted drives and no cross-project network paths. Data export requires explicit authorization from project members. |
| IA.L2-3.5.2 | Identity Authentication | Challenge-response protocol: server issues random nonce, user signs with RSA private key, server verifies against stored public key. No password transmitted or stored on server. |
| IA.L2-3.5.3 | Multifactor Authentication | Tera Insights requires MFA for every production deployment. MFA integrated as independent proof-provider (Duo, Shibboleth). MFA certificate verified alongside digital signature; both must pass for session establishment. |
| IA.L2-3.5.4 | Replay-Resistant Authentication | Server-issued nonces are cryptographically random and non-reusable, preventing replay of previous authentication events. |
| IA.L2-3.5.7 | Password Complexity | Enforced for the password protecting the user's RSA private key. The server stores no information that enables offline brute-force attacks against this password. |
| IA.L2-3.5.10 | Cryptographic Password Protection | Authentication uses public-key cryptography; no passwords transmitted to the server. Password used only to decrypt the user's private key on the client. |
| AU.L2-3.3.1 | Audit Log Creation & Retention | 200+ event types tracked at millisecond precision (UTC, NTP-synchronized). SHA-512 hash chain provides tamper-evident, append-only integrity. |
| AU.L2-3.3.2 | User Action Traceability | Every file access, key request, sharing action, and VM operation logged with authenticated user identity, session ID, source IP, and success/failure status. |
| AU.L2-3.3.4 | Audit Processing Failure Alerts | Fail-safe design: all backend services stop if the logging service fails. Capacity alerts at configurable thresholds; key manager stops at 90% utilization. |
| AU.L2-3.3.8 | Audit Information Protection | SHA-512 hash chaining detects any record modification. One-way TCP push to isolated audit system on port 25000; no return path from audit to backend. |
| AC.L2-3.1.1 | Authorized Access Only | Accounts created in deactivated state; administrator must activate and assign team and permission profile. All access routed through encrypted tiCrypt channels. |
| AC.L2-3.1.3 | CUI Flow Enforcement | Project tags confine data to certified project members, and export from a project requires explicit authorization. Inbound traffic is denied by default except on ports 443, 6000-6100, 22, and 2020 (see SC.L2-3.13.6), and VMs deny outbound traffic by default. Per-resource AES-256 keys controlled by the data owner's RSA key pair keep system administrators cryptographically excluded from user data. |
| AC.L2-3.1.4 | Separation of Duties | Multiple administrator levels (Sub-Admin, Admin, Super Admin, infrastructure root) with distinct privileges. Cryptographic separation ensures no admin level grants plaintext access. |
| AC.L2-3.1.5 | Least Privilege | Granular permission profiles restrict users to minimum necessary access. Data owners control cryptographic access through PKI key sharing. |
| MP.L2-3.8.1 | Media Protection | FIPS 140-3 AES-256 encryption of file content and drive data before it reaches storage, so physical possession of the media that hold it yields only ciphertext; decryption requires the data owner's RSA private key. Shared practice: the deploying organization physically controls and securely stores the media, which still hold CUI. |
| MP.L2-3.8.3 | Media Sanitization | Cryptographic erasure: destroying every copy of the per-resource AES-256 key, including the wrapped copies in the platform database and its backups, renders the ciphertext permanently unrecoverable. Accepted for sanitization when implemented in accordance with NIST SP 800-88 (CMMC FAQ question B-Q8). Shared practice: the deploying organization confirms that escrowed and backed-up key copies are destroyed and sanitizes unencrypted metadata and physical media through its own procedures. |
| MP.L2-3.8.9 | Backup CUI Protection | All backup data is end-to-end encrypted. Backup systems see only encrypted blobs; decryption requires the data owner's RSA private key. Encrypted CUI is still CUI, so the backup location remains in the assessment scope. |