Skip to main content

Inspect cryptographic libraries in one Linux process

SECTIGO QUANTUM READY · PLATFORM TRAINING

Inspect cryptographic libraries in one Linux process

Loading video…

2:39 · English narration and captionsTranscriptDownload lesson

After native agent setup, use this workflow when you need evidence of recognized cryptographic libraries mapped into an explicitly approved Linux process. Pin the process locally, authorize the collector, run a managed job, and interpret the library and optional socket observations without claiming that they prove encryption.

Recorded scope: this lesson uses a real native Linux collector and real hosted job/evidence handling. The selected process is a temporary process created for this lesson under the same non-root user. It loads an SSL library and binds a loopback TCP listener. It does not create a TLS connection. No provider or workspace responses are mocked. Package preparation and creation of the temporary process happen before recording; the video demonstrates pinning, local scope, local collection/readiness, managed job submission and evidence review.

Establish permission before collection​

  1. Identify the application's process through your normal service tooling. Obtain approval to inspect that specific process.
  2. Use the same non-root operating-system account that owns it. Do not run the collector as root or add tracing capabilities to defeat a refusal.
  3. Download and verify the current Linux native package. The recording uses native collector 0.27.4 from unified Linux package 0.51.512.
  4. Keep an existing agent's unrelated configuration intact. The examples below describe a separate, bounded collector configuration for this task.

Pin the current process instance​

From the verified package, substitute the approved PID:

./agent/runtime/quantum-ready runtime --pid 1234 --pin

The output contains allowedRuntimeProcesses. Each value binds a PID to process start ticks and a hash of the host boot identity. Copy the exact returned value. It is a target identifier, not an authentication credential. Do not invent it from a PID alone.

If the application restarts or the host reboots, generate and approve a fresh pin. This binding prevents a reused PID from silently selecting a different process.

Save bounded local scope​

Set allowedRuntimeProcesses to the returned list in your protected local agent configuration. Use a stable host-specific source name so evidence can be attributed correctly.

Socket collection is a separate opt-in:

{
"source": "approved-app-host",
"allowedRuntimeProcesses": ["COPY_THE_LOCALLY_GENERATED_TARGET"],
"runtimeSocketMetadata": true
}

The placeholder above must be replaced with a real local pin before use. Omit runtimeSocketMetadata or leave it false when endpoint metadata is not authorized. Cloud configuration may narrow the local process scope; it cannot enable this local socket permission.

For a local report before managed collection:

./agent/runtime/quantum-ready runtime --pid 1234 \
--source approved-app-host --include-sockets \
--output runtime-report.json

Omit --include-sockets if not approved. Choose a new output filename; existing reports are preserved. Review analysisComplete, processesInspected, observations and diagnostics. This local command does not upload the report.

Use the native diagnostics with your configuration and protected token file. Keep credential values out of shell history and screen recordings. A successful initial heartbeat establishes contact, not successful discovery.

Run the managed task​

  1. Enroll the agent with the Linux process libraries capability and start it under the approved non-root account using the local configuration.
  2. In Discovery scans, choose New agent scan.
  3. Enter a useful job name and select Linux process libraries.
  4. Enter the exact locally generated process target.
  5. Find and select the intended agent. Check its name and host association.
  6. Queue the scan, follow the job to completion, then open the matching inventory evidence.

The agent enforces local scope when executing the job. Incomplete process reports are not uploaded as successful partial inventory. A complete report with zero recognized mappings can produce zero observations; that does not prove the application contains no cryptography.

Interpret the two kinds of evidence​

ObservationWhat it supportsWhat it does not prove
Recognized mapped libraryA recognized library mapping was observed in the approved process instance.Runtime use, the binary's identity, an algorithm choice, or negotiated TLS.
Associated TCP/UDP socketMatching process socket metadata was observed within the collector's bounds.That a mapped library used the socket, that traffic was encrypted, or that a handshake completed.

The recording produces two OpenSSL mapping observations and one loopback socket observation. Algorithm, key establishment and authentication remain unknown. The library evidence explicitly retains false verification flags for runtime use, binary identity and algorithm use. Keep those limitations when assessing risk.

Socket metadata can contain addresses and ports; treat it as operational inventory. The collector does not read process memory, arguments, environment, packet payloads or other processes' endpoints. Collection is not an atomic snapshot, so rapid process/socket changes can affect completeness.

For negotiated cryptographic evidence, use an authorized endpoint scan or saved network capture.

Recover from common problems​

SymptomNext step
Process pin is rejectedCheck for a restart or reboot. Obtain fresh local approval and generate a new pin.
Permission is refusedRun as the approved non-root process owner. Do not loosen procfs protections or add tracing privileges.
Setup rejects allowedRuntimeProcessesUse the current verified scanner; older versions before 0.24.2 rejected this valid setting during diagnostics. Do not delete the allowlist to bypass the check.
No libraries are recognizedReview completeness and diagnostics. An empty result is not proof of no cryptography.
Socket metadata is absentCheck the explicit local opt-in and collection bounds. Do not infer the absence of network activity.
A socket has unknown cryptographyThat is expected for socket metadata alone. Gather separate handshake evidence if authorized.

The recording demonstrates a successful collection on one owned process. It does not execute every refusal or race condition described above.

Recap and cleanup​

You approved a process instance, preserved least privilege, ran a real job, and distinguished observed mappings from cryptographic behavior. The temporary process and files are removed after the lesson; the temporary agent is revoked and archived. Its accepted evidence remains available for review. No VM or system service is created.

Narration transcript​

Read the complete narration. Captions are available in the player.

See Linux process library discovery for supported mappings, collection bounds and source-distribution instructions.