Linux process library discovery
Inspect explicitly selected Linux processes for recognized mapped cryptographic libraries. Open Integrations > Linux process libraries to find this guide. Download and verify the Linux binary or source bundle. The binary includes its runtime; the source collector needs Python 3.12 or newer.
Run managed discovery jobs
Use Linux binary or source scanner 0.24.2 or newer. This release fixes setup diagnostics rejecting the valid allowedRuntimeProcesses field. If an older build reports an unknown configuration field, keep your scoped configuration and install the current verified release; do not remove the process allowlist to bypass diagnostics. In the wizard, choose Linux and the binary distribution for setup without Python. Follow its download and verification steps before approving a process.
-
On the Linux host, approve a process instance as its non-root owner. Replace 1234 with the approved PID:
"$HOME/verified-agent/quantum-ready" runtime --pid 1234 --pin -
Open Getting started > Linux process libraries, enroll an agent with the runtime capability, and paste the returned target value into the scope field. Choose Linux and download
agent.local.json. The target binds the PID, process start ticks and a hash of the boot identity. It is an identifier, not a credential. -
Follow the hidden-token connect command for your selected distribution. Run under the same non-root account as the selected process.
-
Create the first scan from the wizard, then inspect its job status and evidence. Scans and schedules also offer Linux process libraries and use the same pinned target. A process restart or host reboot requires fresh local approval and an updated local configuration; the service does not automatically follow a reused PID.
For the source distribution, pin with python3.12 scanner/runtime_linux.py --pid 1234 --pin. Runtime scanning currently runs in the foreground as the process owner. The standard service uses its own restricted account and cannot inspect processes belonging to another account.
For cloud-managed scope, explicitly add "managedConfiguration": true to your local
configuration. Agents > Configure can publish a subset of allowedRuntimeProcesses.
An empty list disables runtime discovery; the control plane cannot widen the local list.
New claims wait for configuration acknowledgement. Cancel a running job or revoke the
agent to stop its upload/completion path. A bounded procfs read already in progress can
finish before the next cancellation checkpoint.
Incomplete process reports are not uploaded. Jobs that find no recognized libraries can complete with zero observations; this does not establish that the process has no crypto.
Optional process socket metadata
Scanner 0.25.0+ can also report TCP and UDP endpoints associated with the selected process. In guided setup, enable Include TCP/UDP socket metadata before downloading the local configuration. This adds "runtimeSocketMetadata": true; it is off by default. Cloud configuration can narrow process scope but cannot enable this local permission.
For a local report with the compiled agent:
"$HOME/verified-agent/quantum-ready" runtime --pid 1234 --source app-host-01 --include-sockets --output runtime-sockets.json
Use python3.12 scanner/runtime_linux.py in place of the executable for the source distribution. Socket observations include transport, IPv4/IPv6 family, local/remote IP addresses and ports, and the kernel state code. These are operational network metadata: review the report before explicit upload, or approve their upload by enabling the local setting for managed jobs. No payload, packet capture, process memory, command line or environment is read.
The collector matches socket inodes from the pinned process's file descriptors to its network namespace's TCP/UDP tables. It exports only matching sockets whose descriptor and inode still match on a second check. It does not export inodes or other processes' endpoints. Shared/inherited sockets can belong to more than one process; co-presence does not prove which process sent traffic or which library used a socket. Rapid descriptor reuse, short-lived connections and changes during collection can be missed. This is not an atomic snapshot.
Each socket becomes a runtime observation with unknown cryptographic posture. librarySocketUseVerified and encryptedTrafficVerified remain false. A mapped TLS library and a socket in the same process do not prove a TLS connection or an algorithm choice. Use endpoint scans or saved network captures for handshake evidence.
Collection is bounded to 8,192 descriptors, 128 matched socket rows and 4 MiB per socket table per selected process. Exceeding a limit or failing a required read makes the report incomplete; managed jobs do not upload partial reports. Socket reads respect existing procfs permissions and need no root or tracing capability. Kernel state codes are preserved rather than interpreted as application protocol state.
Collect a local report
Run as the same non-root operating-system user who owns the selected processes. Identify the approved process IDs using your application's service tooling. Substitute those IDs below; the example IDs are placeholders. Choose a stable source label unique to this host.
python3.12 scanner/runtime_linux.py --pid 1234 --pid 5678 --source app-host-01 --output runtime-report.json
The command only reads selected procfs entries. It never enumerates all processes, reads process memory, arguments or environment variables, attaches a debugger, or starts packet capture. It refuses root execution and processes owned by another user. Do not add tracing capabilities or relax procfs protections to make it succeed. Existing output files are preserved; choose a new report filename when running again.
Exit code 0 means every requested process was inspected. Exit code 2 means setup or at
least one process failed. Review analysisComplete, processesInspected, observations
and diagnostics. An empty observation list does not mean the process uses no
cryptography. Diagnostics refer to the zero-based order of the requested PIDs and omit
raw exception text and local paths. Reports are created with owner-only file permissions.
Send the findings to your workspace
After reviewing a complete report, configure the workspace endpoint and a scoped ingestion credential through the protected environment described in SDK setup. Then use the existing upload command:
python3.12 scanner/qr.py upload runtime-report.json
Incomplete reports are rejected before uploading. An empty complete report uploads zero observations. Successful observations appear as runtime inventory assets and can be included in workspace evidence and CBOM exports. The uploader batches results and uses idempotency keys for transport retries. Collection itself makes no network requests.
Interpret coverage accurately
Recognized mappings include OpenSSL, libsodium, GnuTLS, Nettle, Mbed TLS, wolfSSL, NSS, Libgcrypt and liboqs library filenames. The report retains the recognized library family, PID and process start ticks. It does not retain library paths, memory addresses, process names, binary contents or kernel boot identifiers. Asset identifiers bind the source label, boot instance, process instance and library family to avoid combining unrelated processes.
A mapped filename is not an authenticated binary identity or a verified version. A program can rename a file. Loaded libraries do not establish algorithm execution, key strength or quantum safety; algorithm, authentication and key-establishment posture remain unknown. Static linking, language-specific crypto, unloaded libraries and short-lived mappings can be missed. Mapping reads are bounded to 4 MiB per process, and the process identity is checked before and after reading. This is a point-in-time observation, not an atomic snapshot of all selected processes.
This release provides local collection, explicit ingestion and managed Python and compiled Linux agent jobs and schedules. Optional process socket metadata provides co-presence evidence only. Verified library-to-connection attribution, eBPF, Windows and macOS runtime observation remain unfinished. Existing native TLS/SSH/code/capture workflows are separate.
The Linux procfs documentation describes mapping access permissions and process-lifetime behavior.
Socket matching follows the Linux file-descriptor interface and kernel TCP table format.