infrastructure tier

infrastructure-memory-forensics

Thin bounded wrapper around Volatility3: cited Observations from process/network/injected-memory/command-line analysis, no verdicts

Thin bounded wrapper around Volatility3: cited Observations from process/network/injected-memory/command-line analysis, no verdicts

Tierinfrastructure
Roleunclassified (baselined)
Pathcrates/infrastructure/memory-forensics
Edition2021
Targetsinfrastructure_memory_forensics
Public items7 across 0 modules
Tests6

What it is for

Thin bounded wrapper around Volatility3 (vol): cited Observations from process, network, injected-memory, and command-line analysis of a RAM capture. No verdicts — Volatility3's own field values are cited verbatim.

The wire format below (leading blank line, one JSON object per line for -r jsonl, every row carrying a __children key) was verified against Volatility3 2.28.0's own JsonRenderer/JsonLinesRenderer source (volatility3/cli/text_renderer.py), not assumed. Exact column names per plugin were NOT verified against a live memory image (none was available), so to_observations cites every column generically (key=value, sorted) rather than selecting specific fields by name.

Capabilities

crate root

Thin bounded wrapper around Volatility3 (vol): cited Observations from process,

Item
fn parse_vol_jsonl(stdout : & str) -> Vec <Map <String, Value>>
fn to_observations(rows : & Map <String, Value>, rule_id : & str) -> Vec <Observation>

MemoryError

Thin bounded wrapper around Volatility3 (vol): cited Observations from process,

Item
pub enum MemoryError
async fn process_list(vol_bin : impl Into <PathBuf>, image_path : & str, limits : ExecLimits,) -> Result <Vec <Observation>, MemoryError>
async fn network_connections(vol_bin : impl Into <PathBuf>, image_path : & str, limits : ExecLimits,) -> Result <Vec <Observation>, MemoryError>
async fn injected_memory(vol_bin : impl Into <PathBuf>, image_path : & str, limits : ExecLimits,) -> Result <Vec <Observation>, MemoryError>
async fn command_lines(vol_bin : impl Into <PathBuf>, image_path : & str, limits : ExecLimits,) -> Result <Vec <Observation>, MemoryError>

How to use it

No examples/ target and no doctest in this crate's rustdoc. The tests listed under Verification are the closest executable usage.

Module structure

No public modules: the crate root is its whole surface.

Public surface

`crate root`

ItemWhat it is
pub enum MemoryErrorEvery way a memory-analysis run can fail.
fn parse_vol_jsonl(stdout : & str) -> Vec <Map <String, Value>>Parse Volatility3 -r jsonl stdout into one map per row, in order
fn to_observations(rows : & Map <String, Value>, rule_id : & str) -> Vec <Observation>Lift parsed rows into cited Observations
async fn process_list(vol_bin : impl Into <PathBuf>, image_path : & str, limits : ExecLimits,) -> Result <Vec <Observation>, MemoryError>vol -f <image> -r jsonl windows.pslist — process list at capture time.
async fn network_connections(vol_bin : impl Into <PathBuf>, image_path : & str, limits : ExecLimits,) -> Result <Vec <Observation>, MemoryError>vol -f <image> -r jsonl windows.netscan — network connections at capture time.
async fn injected_memory(vol_bin : impl Into <PathBuf>, image_path : & str, limits : ExecLimits,) -> Result <Vec <Observation>, MemoryError>vol -f <image> -r jsonl windows.malfind — injected / unbacked executable memory.
async fn command_lines(vol_bin : impl Into <PathBuf>, image_path : & str, limits : ExecLimits,) -> Result <Vec <Observation>, MemoryError>vol -f <image> -r jsonl windows.cmdline — command line per process.

No pub use re-exports: every item above is declared in this crate.

Boundary

Reaches into foundation.

Shares tier infrastructure with 82 other crates: infrastructure-acquire, infrastructure-adapters-google-calendar, infrastructure-adapters-google-gmail, infrastructure-adapters-google-places, infrastructure-adapters-google-trends, infrastructure-adapters-shodan, infrastructure-adapters-yelp, infrastructure-agent, … (82 total).

_What this crate deliberately does NOT own is a judgment. No committed registry records one for it, so none is stated here._

Where it sits

Tier (ontology)infrastructure
Architectural role (taxonomy)unclassified (baselined)
Locationcrates/infrastructure/memory-forensics
Vocabulary in force (lexicon)current

Tier flow. Which tiers this crate's own edges cross.

flowchart LR
  n_infrastructure["infrastructure"] --> n_foundation["foundation"]

Dependencies

Runtime, in this workspace.

CrateTierOptionalOnly on
`foundation-bounded-io`foundationnoalways
`infrastructure-host-forensics`infrastructurenoalways

Runtime, from outside the workspace.

CrateRequirementFeaturesOptionalOnly on
serde_json^1noalways
thiserror^2noalways

Development, from outside the workspace.

CrateRequirementFeaturesOptionalOnly on
tokio^1fullnoalways

Build. None.

Depended on by. Nothing in this workspace.

Signal flow — what reaches this crate, and what it reaches.

flowchart LR
  SELF["infrastructure-memory-forensics"]
  SELF -->|runtime| n_foundation_bounded_io["foundation-bounded-io"]
  SELF -->|runtime| n_infrastructure_host_forensics["infrastructure-host-forensics"]
  classDef self fill:#1f883d,stroke:#1f883d,color:#fff;
  class SELF self;

Feature flags

No Cargo features are defined: every capability is unconditional, so no consumer can receive a half-wired crate.

Targets

KindNameSource
libinfrastructure_memory_forensics`src/lib.rs`

Error model

Error typeNamed by
MemoryErrorcommand_lines, injected_memory, network_connections, process_list

Operational characteristics

PropertyEvidence
async public surfaceyes
async runtimenone detected
database accessnone detected
network I/Onone detected
unsafe codenone detected
environment variablesyes

No unsafe block, unsafe fn, unsafe impl or unsafe trait was found by the parser anywhere in this crate's source.

Configuration

VariableRead in
CARGO_MANIFEST_DIRsrc/lib.rs

No workspace crate depends on this one.

Verification

KindCount
Unit tests6
Integration tests0
Examples0
Doctests0

Evidence by module. How often each public module is named by something executable.

ModuleTestsExamplesConsumers
crate root700

What the tests establish, by name:

Documentation coverage

MeasureDocumentedTotal
Public items with rustdoc77
Public modules with a //! block00
pie showData
    title Public items with rustdoc
    "Documented" : 7
    "No rustdoc detected" : 0

Metrics

MetricValue
Rust source files1
Source lines228
Code lines172
Public API items7
Public modules0
Tests6
Examples0
Cargo features0
Direct runtime dependencies4
Workspace reverse dependencies0
pie showData
    title Public API by kind
    "enum" : 1
    "function" : 6
pie showData
    title Rust source composition
    "Code" : 172
    "Blank or comment" : 56

Generation

Rendered by tools-corpus corpus readme from repository evidence alone, renderer schema 2, lexicon current. No model, network service or database was consulted. Regenerate with tools-corpus corpus readme --write; verify with --check.

All infrastructure · Manual