f

forensix

@preview

Render hex dumps, MACB timelines, IOC tables, and TTP references for forensics reports.

v0.1.0
MIT

Package Information

Last Updated
Authors
teismar
Categories
visualizationcomponentsreport
Disciplines
computer-science

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/forensix:0.1.0

2. Import in your Typst file

Add this to your .typ file:

#import "@preview/forensix:0.1.0": *

Version History

0.1.0
42d2f19ba454...

Forensix

A professional Typst package for digital forensics, incident response, and malware analysis reports.

Features

Module Description
Hex Dump Canonical hex dumps with highlighting, annotations, themes
MACB Timeline File tree with MACB timestamps for forensic analysis
IOC Table Auto-defanging indicators of compromise
TTP References Inline MITRE ATT&CK technique cards

Examples

Installation

#import "@preview/forensix:0.1.0": *

Quick Start

// Hex dump with highlighting
#hexdump(
  file: "/evidence/malware.bin",
  highlight: (0x4d, 0x5a),
  theme: "dracula",
)

// MACB timeline
#macb-timeline(entries: (
  folder-entry("C:\\Users\\Admin\\", depth: 0,
    modified: "2023-10-27 02:00:00", accessed: "2023-10-27 02:01:15",
    changed: "2023-10-27 02:00:00", birth: "2023-10-27 02:00:00"),
  file-entry("malware.exe", depth: 1, highlight: rgb("#fecaca"),
    modified: "2023-10-27 02:00:00", accessed: "2023-10-27 02:01:15",
    changed: "2023-10-27 02:00:00", birth: "2023-10-27 02:00:00"),
))

// IOC table (auto-defangs!)
#ioc-table(indicators: (
  "http://evil.com/payload.exe",
  "192.168.1.55",
  "44d88612fea8a8f36de82e1278abb02f",
))

// Inline TTP references
The attacker used #ttp("T1059.001") for execution.

Documentation

The full documentation is available online at teismar.github.io/typst-forensix/.

License

MIT