SOLUTIONS · USE CASE
Cryptographic Discovery for File Shares
Cryptographic discovery for file shares is the process of finding encrypted files, key containers and quantum-vulnerable cryptography sitting at rest on SMB and NFS shares, and adding them to a cryptographic inventory. Quantum Sentinel does this agentlessly, reading only the first 512 bytes of each file to identify what it is, and never copying file contents.
Your file shares are the blind spot in every quantum risk assessment
Most cryptographic discovery stops at the network. It inventories TLS endpoints, certificates and PKI, and produces a respectable picture of cryptography in motion.
Meanwhile, decades of encrypted material sits on file shares. Password-protected spreadsheets. PGP-encrypted exports from a system nobody has touched in years. Java keystores dropped next to an application’s config. LUKS volume images in a backup folder. Encrypted archives that somebody sent, somebody saved, and nobody has thought about since.
This is exactly the material that harvest-now-decrypt-later targets. An attacker copying an encrypted archive today does not need to break it today. They need to keep it until the key-wrapping around it is breakable. Data with a ten or twenty year confidentiality requirement, sitting in a file nobody is tracking, is the clearest example of the problem there is.
You cannot put it on a migration roadmap if you do not know it exists.
What Quantum Sentinel finds
The file share scanner walks SMB and NFS shares and identifies encrypted material by content signature, not by file extension. A .dat file that is actually a PGP message is found. A .enc file that is actually plaintext is not reported.
Detected at present:
| What it finds | Detected as |
|---|---|
| PGP and GPG encrypted data | ASCII-armored and binary OpenPGP, restricted to session-key packets so signed-only messages are not misreported |
| OpenSSL encrypted files | The Salted__ header |
| age encrypted files | The age-encryption.org header |
| Java keystores | JKS magic bytes |
| PKCS#12 key containers | DER structure inspection |
| Password-protected Office documents | OLE2/CFB container, then confirmed by looking for the EncryptionInfo or EncryptedPackage stream |
| Encrypted ZIP archives | The general-purpose bit flag, so ordinary ZIPs and .docx files are discarded |
| Encrypted RAR and 7-Zip archives | Format signature |
| LUKS encrypted volumes | LUKS magic bytes |
| S/MIME enveloped messages | Both MIME-wrapped and raw DER, restricted to enveloped-data |
| Encrypted databases | High-entropy fallback at a conservative 7.5 bits per byte, which catches SQLCipher and SQLite SEE files where even the header is encrypted |
Files that are not encrypted are discarded and never recorded. The output is an inventory of cryptographic material, not a file listing.
Every finding carries a risk position, not just a label
Finding an encrypted file is the easy part. Knowing what it means for your migration is the point.
Each finding is scored for quantum risk and flagged for harvest-now-decrypt-later exposure with a stated rationale. A PKCS#12 or JKS key container is treated as high risk and quantum-vulnerable, because key containers overwhelmingly hold RSA and ECC key material and that cannot be confirmed from metadata alone. A password-protected Office document is high risk, because the document key is wrapped. An encrypted archive is medium, because whether it is genuinely exposed depends on how its data key is wrapped, and the finding says so rather than guessing.
That rationale travels with the finding into the CBOM, so the team doing the remediation can see why something was prioritised.
How it works
Agentless. Nothing is installed on the file server. For SMB the scanner connects using NTLM authentication with a username, password and domain, and mounts the named share; dialects SMB 2.0.2 through 3.1.1 are supported. For NFS it resolves the service through the portmapper and mounts the export using AUTH_SYS with a UID and GID you specify, which means no NFS password is stored at all. Either way you can point it at a subtree rather than the whole share.
Metadata only. The scanner reads the first 512 bytes of each file to identify its format, and nothing else. File contents are never read in full, never transmitted and never stored. For password-protected Office documents it reads a little further into the compound-file directory to confirm the EncryptionInfo stream is present, because the container magic alone cannot distinguish an encrypted document from a legacy binary one. That is the only case where it looks past the header, and it is looking at a stream name, not at your document.
What is recorded for each finding is the share, the path, the file size, the detected format and the risk rationale. Nothing else leaves the share.
Bounded. A scan walks to a maximum depth of 25 directories and stops at 200,000 files, so it cannot run away on a share nobody has measured. Unreadable directories are skipped rather than failing the scan.
Deployable where the data is. Quantum Sentinel runs on-premises and in air-gapped environments. File shares are frequently the most sensitive thing an organisation has, and a discovery tool that requires them to be reachable from a vendor cloud is not a discovery tool most security teams can use.
It feeds the same CBOM as everything else
File share findings are not a separate report. They enter the same Cryptography Bill of Materials as your network TLS, PKI, HSM, cloud KMS, database and code repository findings, addressed as smb://host/share/path or nfs://host/export/path so every finding is traceable to exactly where it lives.
That matters because the question a regulator asks is not "what is on your file shares". It is "where is your quantum-vulnerable cryptography, all of it, and what is your plan". One inventory answers that. Six tools producing six spreadsheets does not.
One thing worth knowing
If your Active Directory Certificate Services team exports certificate data to a share with certutil -view, the scanner recognises those CSV exports and turns each issued certificate into its own finding. It exists because some organisations will not enable SSH on a certificate authority, and a file drop is a route to the same data. If that is your situation, it is worth knowing the route exists.
Frequently asked questions
Does Quantum Sentinel read the contents of files on our shares?
No. The scanner reads the first 512 bytes of each file to identify its format, and discards everything it does not need. File contents are never read in full, never copied off the share and never transmitted. The only exception is a narrow one: for compound-file Office documents it checks the container’s directory for an EncryptionInfo stream name to confirm the document is genuinely encrypted, which is a structural check and not a read of the document.
What access does a file share scan need?
Read access. For SMB, a username, password and domain with permission to read the share you want scanned; a read-only service account is the right way to run it. For NFS, a UID and GID that the export will accept. NFS uses AUTH_SYS, so no NFS password is created or stored.
Do you support CIFS, or SMB1?
The scanner speaks SMB dialects 2.0.2 through 3.1.1. SMB1, the dialect properly called CIFS, is not supported. It has been deprecated for years and is disabled by default on current Windows Server releases, so in practice the shares people describe as "CIFS shares" are SMB2 or SMB3 shares and are scanned normally. If you are genuinely still running SMB1, that is a finding in its own right before it is a discovery problem.
Which NFS version is supported?
NFS v3. NFS v4 exports are not currently scanned.
Does it detect encrypted files by extension?
No, and that is deliberate. Detection is based on the file’s content signature. Files with misleading extensions are found; files with alarming extensions that turn out to be plaintext are not reported.
How does it handle very large shares?
A scan is bounded at 200,000 files and a directory depth of 25, and you can scope it to a subtree rather than an entire share. Directories the service account cannot read are skipped rather than failing the scan.
Can it run in an air-gapped environment?
Yes. Quantum Sentinel deploys on-premises and supports fully air-gapped installation. No finding leaves your environment.
Does it work on cloud object storage as well?
The file share scanner covers SMB and NFS shares. Cloud key management and cloud environments are covered by separate Quantum Sentinel integrations that feed the same CBOM.
See what is sitting on your shares.
Most organisations are surprised by the first file share scan. Request a demo and see your cryptographic exposure.