---
title: "Cryptographic Discovery for File Shares: SMB & NFS | Quantum Sentinel"
description: "Agentless PQC discovery for SMB and NFS file shares: find encrypted files, keystores and quantum-vulnerable cryptography. Metadata-only, no file contents copied. Part of your CBOM."
url: "https://quantumsentinel.uk/solutions/use-cases/file-share-discovery/"
image: "https://quantumsentinel.uk/wp-content/uploads/2026/07/og-default-share-1.png"
date_modified: "2026-11-05"
publisher: "Quantum Sentinel Limited"
---

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.

File share scanning is one surface of Quantum Sentinel’s [agentless PQC discovery](https://quantumsentinel.uk/pqc-discovery/).

[Request a Demo](https://quantumsentinel.uk/contact/)  

[Explore the Platform](https://quantumsentinel.uk/product/)  

## 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](https://quantumsentinel.uk/harvest-now-decrypt-later-the-risk-that-has-already-started/) 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](https://quantumsentinel.uk/solutions/use-cases/migration-planning/) 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](https://quantumsentinel.uk/security-trust/). 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](https://quantumsentinel.uk/solutions/use-cases/cbom/) 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.

Related: [Cryptographic Discovery for Code Repositories →](https://quantumsentinel.uk/solutions/use-cases/repository-discovery/) · [All use cases](https://quantumsentinel.uk/solutions/use-cases/)

## 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.

[Request a Demo](https://quantumsentinel.uk/contact/)  

[Explore the Platform](https://quantumsentinel.uk/product/)

```json
{"@context":"https:\/\/schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"Does Quantum Sentinel read the contents of files on our shares?","acceptedAnswer":{"@type":"Answer","text":"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."}},{"@type":"Question","name":"What access does a file share scan need?","acceptedAnswer":{"@type":"Answer","text":"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."}},{"@type":"Question","name":"Do you support CIFS, or SMB1?","acceptedAnswer":{"@type":"Answer","text":"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."}},{"@type":"Question","name":"Which NFS version is supported?","acceptedAnswer":{"@type":"Answer","text":"NFS v3. NFS v4 exports are not currently scanned."}},{"@type":"Question","name":"Does it detect encrypted files by extension?","acceptedAnswer":{"@type":"Answer","text":"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."}},{"@type":"Question","name":"How does it handle very large shares?","acceptedAnswer":{"@type":"Answer","text":"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."}},{"@type":"Question","name":"Can it run in an air-gapped environment?","acceptedAnswer":{"@type":"Answer","text":"Yes. Quantum Sentinel deploys on-premises and supports fully air-gapped installation. No finding leaves your environment."}},{"@type":"Question","name":"Does it work on cloud object storage as well?","acceptedAnswer":{"@type":"Answer","text":"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."}}]}
{"@context":"https:\/\/schema.org","@type":"Organization","@id":"https:\/\/quantumsentinel.uk\/#organization","name":"Quantum Sentinel Limited","legalName":"Quantum Sentinel Limited","alternateName":"Quantum Sentinel","url":"https:\/\/quantumsentinel.uk\/","logo":"https:\/\/quantumsentinel.uk\/wp-content\/uploads\/2026\/07\/favicon-512.png","description":"Quantum Sentinel Limited, headquartered in London, UK, builds Quantum Sentinel, an agentless PQC discovery tool and Enterprise Cryptographic Exposure Management (ECEM) platform.","foundingDate":"2026-07-03","identifier":{"@type":"PropertyValue","propertyID":"Companies House company number","value":"17317113"},"address":{"@type":"PostalAddress","streetAddress":"71-75 Shelton Street, Covent Garden","addressLocality":"London","postalCode":"WC2H 9JQ","addressCountry":"GB"},"areaServed":"Worldwide","knowsAbout":["PQC discovery","Post-quantum cryptography","Cryptographic inventory","Cryptography Bill of Materials (CBOM)","Cryptographic exposure management"],"sameAs":["https:\/\/linkedin.com\/company\/quantum-sentinel-limited\/","https:\/\/find-and-update.company-information.service.gov.uk\/company\/17317113"]}
```
