How harshitaawantstocode/df_irti_neuromorphic works
NeuroForensics is a research-oriented DFIR pipeline for simulated neuromorphic SNN attacks. A user runs a scenario: the runner executes the network and attack, acquires and seals evidence, reconstructs events from that evidence, then evaluates findings against isolated ground truth and can produce incident-response and CTI outputs. Dataset ingestion, backend adapters, evidence-ablation studies, and a dashboard are meaningful supporting capabilities. The graph follows documented pipeline stages and indexed references; unsampled subsystem internals are represented only where the README or shown callers establish their role.
Main entry points: runner.py Pipeline Runner · server.py Dashboard API · evidence_ablation.py Evidence Ablation · base.py Dataset Registry
Components 26
SNN Simulation
- LIF Simulator
src/neuromorphic/simulator.py - Attack Injector
src/neuromorphic/attacks.py - Network Topology
src/neuromorphic/topology.py - Backend Adapters
src/backends
Evidence Handling
- Evidence Collector
src/acquisition/collector.py - NFD Containers
src/acquisition/dump_format.py - Merkle Integrity
src/acquisition/integrity.py
Forensic Reconstruction
- Evidence Parser
src/reconstruction/parser.py - Timeline Analysis
src/reconstruction/timeline.py - Attack Correlator
src/reconstruction/correlator.py - Causal Graph Builder
src/reconstruction/graph_builder.py
Evaluation and DFIR
- Pipeline Runner
src/eval/runner.py - Evidence Ablation
src/eval/evidence_ablation.py - Reconstruction Scorer
src/eval/reconstruction_score.py - Pipeline Metrics
src/eval/metrics.py - IR Playbooks
src/dfir_cti/ir_playbook.py - TTP Mapping
src/dfir_cti/ttp_mapper.py - STIX Export
src/dfir_cti/stix_exporter.py
Data and Interfaces
- Pipeline CLI
main.py - Dataset Registry
src/datasets/base.py - DVS128 Loader
src/datasets/dvs128_loader.py - SHD Loader
src/datasets/shd_loader.py - Synthetic Data
src/datasets/synthetic.py - Dashboard API
web/api/server.py - Dashboard UI
web/js/app.js
Other components
- Researcher
Connections 31
- Researcher → Pipeline CLI: runs pipeline
README.md - Pipeline CLI → Pipeline Runner: dispatches
main.py - Pipeline Runner → LIF Simulator: runs steps
src/eval/runner.py - Pipeline Runner → Evidence Collector: records evidence
src/eval/runner.py - LIF Simulator → Attack Injector: injects attacks
src/neuromorphic/simulator.py - LIF Simulator → Network Topology: uses topology
src/neuromorphic/simulator.py - Pipeline Runner → DVS128 Loader: loads dataset
src/eval/runner.py - DVS128 Loader → Dataset Registry: implements loader
src/datasets/dvs128_loader.py - SHD Loader → Dataset Registry: implements loader
src/datasets/shd_loader.py - Synthetic Data → Dataset Registry: implements loader
src/datasets/synthetic.py - Pipeline Runner → NFD Containers: exports dump
src/eval/runner.py - Evidence Collector → Merkle Integrity: seals evidence
src/acquisition/collector.py - Evidence Parser → NFD Containers: loads dump
src/reconstruction/parser.py - Evidence Parser → Merkle Integrity: verifies chain
src/reconstruction/parser.py - Pipeline Runner → Timeline Analysis: reconstructs timeline
src/eval/runner.py - Pipeline Runner → Attack Correlator: correlates evidence
src/eval/runner.py - Pipeline Runner → Causal Graph Builder: builds graph
src/eval/runner.py - Pipeline Runner → Evidence Ablation: runs ablation
src/eval/runner.py - Evidence Ablation → Timeline Analysis: reconstructs subsets
src/eval/evidence_ablation.py - Evidence Ablation → Attack Correlator: analyzes subsets
src/eval/evidence_ablation.py - Evidence Ablation → Reconstruction Scorer: scores findings
src/eval/evidence_ablation.py - Pipeline Runner → Pipeline Metrics: computes metrics
src/eval/runner.py - Pipeline Runner → IR Playbooks: generates response
src/eval/runner.py - Pipeline Runner → TTP Mapping: maps techniques
src/eval/runner.py - Pipeline Runner → STIX Export: exports indicators
src/eval/runner.py - Dashboard API → Dataset Registry: serves datasets
web/api/server.py - Dashboard API → Backend Adapters: reports capabilities
web/api/server.py - Dashboard API → Pipeline Runner: runs experiments
web/api/server.py - Dashboard UI → Dashboard API: uses API
- Researcher → Dashboard API: inspects results
README.md - Pipeline Runner → Reconstruction Scorer: scores reconstruction
README.md