infrastructure capa

infrastructure-host-forensics

Pure rule engine over already-parsed Windows registry/event-log records: cited observations for known physical-access compromise patterns, no verdicts

Pure rule engine over already-parsed Windows registry/event-log records: cited observations for known physical-access compromise patterns, no verdicts

Tierinfrastructure
Roleunclassified (baselined)
Pathcrates/infrastructure/host-forensics
Edition2021
Targetsinfrastructure_host_forensics
Public items10 across 0 modules
Tests11

What it is for

Pure rule engine over already-parsed Windows registry/event-log records.

Each rule takes records produced by some other parser (out of scope here — see the crate README) and emits Observations: a fact plus the exact source citation, never a verdict. Interpretation ("is this malicious") happens outside the crate, by a human or an AI reading the citations — see docs/reference/STYLE.md in the workspace root for why that split is enforced.

Capabilities

crate root

Pure rule engine over already-parsed Windows registry/event-log records.

Item
fn ifeo_debugger_present(records : & RegistryRecord) -> Vec <Observation>
fn credential_enrollment(records : & RegistryRecord) -> Vec <Observation>
fn usbstor_history(records : & RegistryRecord) -> Vec <Observation>
fn logon_events(events : & LogonEventRecord) -> Vec <Observation>

ArtifactKind

Pure rule engine over already-parsed Windows registry/event-log records.

Item
pub enum ArtifactKind

LogonEventRecord

Pure rule engine over already-parsed Windows registry/event-log records.

Item
pub struct LogonEventRecord

Observation

Pure rule engine over already-parsed Windows registry/event-log records.

Item
pub struct Observation

RegValue

Pure rule engine over already-parsed Windows registry/event-log records.

Item
pub enum RegValue
RegValue :: fn fmt(& self, f : & mut std::fmt::Formatter <'_>) -> std::fmt::Result

RegistryRecord

Pure rule engine over already-parsed Windows registry/event-log records.

Item
pub struct RegistryRecord

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 RegValueA single registry value as read from a hive, independent of which parser produced it.
RegValue :: fn fmt(& self, f : & mut std::fmt::Formatter <'_>) -> std::fmt::Result
pub struct RegistryRecordOne registry key/value pair, as read from a hive by any adapter.
pub struct LogonEventRecordOne Windows event-log record relevant to logon activity.
pub enum ArtifactKindWhich artifact family an Observation was drawn from.
pub struct ObservationA fact plus its exact source citation
fn ifeo_debugger_present(records : & RegistryRecord) -> Vec <Observation>AC 1: an IFEO Debugger value set on an accessibility binary — the sticky-keys-class undocumented access path (works via IFEO hijack, not only the binary-swap variant).
fn credential_enrollment(records : & RegistryRecord) -> Vec <Observation>AC 2: enrolled alternate sign-in credentials (NGC PIN, Windows Hello biometrics, PassportForWork) — a way to sign in without ever knowing the account's password.
fn usbstor_history(records : & RegistryRecord) -> Vec <Observation>AC 3: USB storage device history — corroborates physical access.
fn logon_events(events : & LogonEventRecord) -> Vec <Observation>AC 4: logon events (4624 success / 4625 failure), classified by logon type

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

Boundary

Depends on no other workspace tier.

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/host-forensics
Vocabulary in force (lexicon)current

Dependencies

Runtime, from outside the workspace.

CrateRequirementFeaturesOptionalOnly on
serde^1derivenoalways

Development, from outside the workspace.

CrateRequirementFeaturesOptionalOnly on
serde_json^1noalways

Build. None.

Depended on by. 9 workspace crates.

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

flowchart LR
  n_infrastructure_bitlocker_forensics["infrastructure-bitlocker-forensics"] -->|uses| SELF
  n_infrastructure_firmware_forensics["infrastructure-firmware-forensics"] -->|uses| SELF
  n_infrastructure_hardware_forensics["infrastructure-hardware-forensics"] -->|uses| SELF
  n_infrastructure_memory_forensics["infrastructure-memory-forensics"] -->|uses| SELF
  n_infrastructure_registry_forensics["infrastructure-registry-forensics"] -->|uses| SELF
  n_infrastructure_write_blocker["infrastructure-write-blocker"] -->|uses| SELF
  n_operations_net_scan["operations-net-scan"] -->|uses| SELF
  n_operations_net_trace["operations-net-trace"] -->|uses| SELF
  n_tools_ir_triage["tools-ir-triage"] -->|uses| SELF
  SELF["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_host_forensics`src/lib.rs`

Error model

No public error type was detected: no public item declares a type named *Error, and no public signature returns one.

Operational characteristics

PropertyEvidence
async public surfacenone detected
async runtimenone detected
database accessnone detected
network I/Onone detected
unsafe codenone detected
environment variablesnone detected

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

Configuration

No environment variable is read with a literal name anywhere in this crate. A variable whose key is computed at run time cannot be listed here, and is not claimed to be absent.

9 workspace crates depend on this one: infrastructure-bitlocker-forensics, infrastructure-firmware-forensics, infrastructure-hardware-forensics, infrastructure-memory-forensics, infrastructure-registry-forensics, infrastructure-write-blocker, operations-net-scan, operations-net-trace, tools-ir-triage.

Verification

KindCount
Unit tests11
Integration tests0
Examples0
Doctests0

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

ModuleTestsExamplesConsumers
crate root9027

What the tests establish, by name:

Documentation coverage

MeasureDocumentedTotal
Public items with rustdoc910
Public modules with a //! block00
pie showData
    title Public items with rustdoc
    "Documented" : 9
    "No rustdoc detected" : 1

Metrics

MetricValue
Rust source files1
Source lines326
Code lines275
Public API items10
Public modules0
Tests11
Examples0
Cargo features0
Direct runtime dependencies1
Workspace reverse dependencies9
pie showData
    title Public API by kind
    "enum" : 2
    "function" : 4
    "method" : 1
    "struct" : 3
pie showData
    title Rust source composition
    "Code" : 275
    "Blank or comment" : 51

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.

Todas las infrastructure · Manual