Skip to content
tears-mysthralaPublic

About

Educational Volatility 3 wrapper for teaching memory forensics — CLI, TUI and GUI

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

161 Commits

Folders and files

Repository files navigation

Oroitz

Oroitz ("memory" in Basque) is an educational wrapper around Volatility 3 built to lower the initial friction for students who are learning memory forensics. It provides a shared Python core plus CLI, Textual TUI, and PySide6 GUI front-ends that run guided Volatility 3 workflows and normalize their output.

Status: learning project, not production software. Oroitz is a teaching tool for labs and coursework. It is not a production forensics platform, not an incident-response tool, and its output must never be treated as a substitute for analyst judgment or forensic methodology.

What Oroitz automates

  • Launching common Volatility 3 plugins (process listing, network scan, malfind, SID enumeration, and similar) from simple commands or guided interfaces, so beginners can focus on reading results instead of memorizing CLI flags.
  • Symbol-table / OS detection — delegated entirely to Volatility 3's automagic.
  • Normalizing plugin output into JSON (and CSV for some workflows) for easier inspection in class.
  • Analysis sessions with persistence, a result cache, and automatic retries with backoff for transient Volatility failures.

What Oroitz does NOT automate

  • It does not analyze memory by itself. Every result comes from Volatility 3. Understanding what each plugin shows — and where it can be fooled — is the student's job, and Oroitz deliberately does not hide that.
  • It does not decide whether a system is compromised. There is no verdict, scoring, or automated detection logic.
  • It does not replace forensic methodology (acquisition, chain of custody, documentation, peer review).
  • It does not ship memory samples. See Memory samples below.
  • It is not a multi-user or enterprise tool: no roles, no evidence management, no chain-of-custody guarantees.

Important caveat: mock-data fallback

When a Volatility plugin fails to execute, Oroitz falls back to deterministic mock data for non-sensitive plugins so the interfaces can still be explored without a working setup (see docs/adrs/ADR-0004-retry-and-fallback.md). Results produced this way are flagged (used_mock) in the ExecutionResult model. Credential-related plugins (windows.hashdump, windows.cachedump, windows.lsadump) never fall back — they report the failure instead. When working with Oroitz, always verify that results came from a real execution before drawing conclusions.

Attribution and licenses

All memory analysis in Oroitz is performed by Volatility 3, developed and maintained by the Volatility Foundation (https://www.volatilityfoundation.org/, https://github.com/volatilityfoundation/volatility3). Volatility 3 is distributed under its own license — consult the Volatility 3 repository for terms. Oroitz itself is released under the MIT License (see LICENSE).

Compatibility

Only versions pinned by pyproject.toml are claimed as supported:

  • Python: >=3.11, <3.13 (Python 3.11 recommended; some Volatility 3 plugins have known issues on 3.12)
  • Volatility 3: ^2.26.2 (i.e. >=2.26.2, <3.0.0)
  • GUI (optional dependency group): PySide6 ^6.7.0

Anything outside these ranges is untested.

Telemetry and logging — honest description

"Telemetry" in this codebase means local structured logging only. oroitz/core/telemetry.py emits JSON log events to stdout (plugin start/success/failure, retries, durations). No data leaves the machine: there is no analytics backend, no remote endpoint, and no usage tracking.

The OROITZ_TELEMETRY_ENABLED setting (and the corresponding checkbox in the GUI/TUI settings) currently only stores a preference — it does not enable any remote reporting, because no reporting exists. Treat it as a placeholder.

Traceability

For coursework and lab reproducibility, Oroitz currently provides:

  • Command logging: the exact Volatility 3 command line is logged on the CLI execution path (oroitz/core/executor.py).
  • Structured events: plugin name, duration, retry attempts, and errors are emitted as JSON log events.
  • Result export: normalized results can be exported to JSON/CSV.
  • Session persistence: sessions are stored under ~/.oroitz/sessions.

Not yet implemented (tracked in ROADMAP.md):

  • Recording the Volatility 3 / plugin versions inside exported results.
  • A per-session audit file (command + result + environment) suitable for coursework submission.

Getting Started

  1. Install Python 3.11 or 3.12 and ensure python --version reports 3.11.x or 3.12.x. Python 3.11 is recommended for maximum compatibility with Volatility 3 plugins.

  2. Install Poetry per the instructions at https://python-poetry.org/docs/#installation.

  3. From the repository root, run poetry install to create the virtual environment and pull dependencies. For the GUI, run poetry install --with gui.

  4. Activate the Poetry shell with poetry shell, or prefix commands with poetry run.

  5. Run the quality checks: poetry run pytest for tests and poetry run ruff check . for linting.

  6. (Optional) Install the Volatility community plugin pack so hash-extraction plugins are available:

    poetry run python scripts/setup_volatility_plugins.py --dest vendor/volatility_plugins --update-env

    This downloads the community3 bundle into vendor/volatility_plugins and writes OROITZ_PLUGIN_DIRS into .env. If the download fails (for example, offline environment), fetch the archive manually from https://github.com/volatilityfoundation/community3 and point OROITZ_PLUGIN_DIRS at the extracted directory.

Memory samples

No memory images are included in this repository — they are large and may contain sensitive data. To obtain approved teaching samples, use assets/samples.json together with the helper script:

# List available samples
python scripts/fetch_samples.py --list

# Download one sample into the local (git-ignored) samples/ directory
python scripts/fetch_samples.py --id samsclass-memdump

See samples/README.md for provenance and licensing guidance. Verify the license and terms of use of any sample you download, and never commit memory images to git.

Running Oroitz

  • CLI: poetry run python -m oroitz.cli --help
  • Quick triage: poetry run python -m oroitz.cli quick-triage samples/your-image.mem --output results.json
  • Account enumeration: poetry run python -m oroitz.cli accounts samples/your-image.mem --output accounts.json
  • TUI: poetry run python -m oroitz.ui.tui
  • GUI: poetry run python -m oroitz.ui.gui (requires the gui dependency group)

The workflow registry (oroitz/core/workflow.py) defines additional workflow specs (process_deepdive, network_focus, malware_hunt, timeline_overview, ...), but today only quick_triage and account_enumeration are wired to the CLI and to output normalization. The rest are reachable from the UI layer but produce unnormalized results — see ROADMAP.md.

Building and Packaging

Oroitz can be packaged as standalone executables using PyInstaller for classroom distribution.

On Windows:

.\build.ps1 install
.\build.ps1 build

On Linux/macOS:

make install
make build

Built executables are placed in dist/. When a version tag (e.g., v1.0.0) is pushed, the GitHub Actions release workflow builds executables for Windows, macOS, and Linux and attaches them to a GitHub release (see .github/workflows/release.yml).

Repository Layout

  • oroitz/core/: engine that orchestrates Volatility 3 execution, output normalization, sessions, cache, and local logging
  • oroitz/cli/: command-line interface (quick-triage, accounts, tui, gui)
  • oroitz/ui/gui/: PySide6 desktop application
  • oroitz/ui/tui/: Textual terminal interface
  • oroitz/bindings/: language SDK experiments (Python only; a Node.js binding is an idea, not an implementation)
  • samples/: local, git-ignored directory for memory images fetched with scripts/fetch_samples.py
  • tests/: automated tests for core, CLI, and UI components
  • docs/: specifications, ADRs, and contributor-facing guides (also mirrored on the GitHub Wiki)

Documentation Index

User Guides

Technical Documentation

Contributing

See CONTRIBUTING.md. Issues and discussion topics are welcome, especially around teaching use cases and lab exercises.

Security

See SECURITY.md for vulnerability reporting guidance.

License

MIT — see LICENSE. Volatility 3 retains its own license; see Attribution and licenses.

Release Prep & CI

The CI pipeline at .github/workflows/ci.yml runs the test suite and a lightweight benchmark. Use tools/benchmark.py to run a local benchmark and generate results/benchmark_report.json. Before tagging a release, consult the Release Checklist.

About

Educational Volatility 3 wrapper for teaching memory forensics — CLI, TUI and GUI

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages