One binary, one chmod +x, go
Until now the masstin-macos asset on each release was a single Intel x86_64 binary. On an Apple Silicon Mac (M1, M2, M3, M4) that meant Rosetta 2 translation on every run — functional, but 20-30% slower than native and a small friction point for anyone who cared. The release pipeline now produces two separate binaries:
| Platform | Binary | Runs natively on |
|---|---|---|
| Apple Silicon (M1 / M2 / M3 / M4) | masstin-macos-arm64 |
macOS arm64 |
| Intel Mac | masstin-macos-x86_64 |
macOS x86_64 |
Both are standalone. Download, make executable, run. No Homebrew. No libewf. No libesedb. Nothing.
Not sure which Mac you have? Apple menu › “About This Mac”. If it shows an Apple chip (M1, M2, M3, M4) it is Apple Silicon; if it shows an Intel processor, it is Intel. From the terminal, uname -m answers arm64 or x86_64. The commands below are for Apple Silicon: on an Intel Mac, change arm64 to x86_64 in the file name.
# Apple Silicon
# replace v1.4.4 with the latest version on the releases page
curl -LO https://github.com/jupyterj0nes/masstin/releases/download/v1.4.4/masstin-v1.4.4-macos-arm64
chmod +x masstin-v1.4.4-macos-arm64
./masstin-v1.4.4-macos-arm64 -a parse -d /evidence/logs -o timeline.csv
Why “zero dependencies” is an actual guarantee, not a wish
This section and the next one (“The CI change”) are for people who build or maintain software. If you only want to use masstin on your Mac, keep the conclusion: the binary does not need you to install anything else. You can skip to “The Gatekeeper note”.
Masstin reads forensic formats that are traditionally C-backed: E01 (EnCase/libewf), ESE (UAL databases via libesedb), NTFS, VMDK, ext4. The usual way a Rust tool consumes those is to bind to the system-installed C library (libewf.dylib, libesedb.dylib) and expect the user to brew install them first. That model ruins “download and run” on macOS because every machine needs a setup step.
The dependency tree masstin ships with avoids that at every node:
ewf0.2 — pure Rust, no wrapper aroundlibewf. A Rust E01 reader written from scratch.libesedb-sys0.2.1 — vendors the full C source oflibesedb 20230824inside the crate and builds it statically viacc::Buildin itsbuild.rs. No systemlibesedb.dylibis ever read, at any point.ntfs,ext4-view,vshadow— pure Rust.vmdkreader,polars,tokio,evtx— pure Rust.systemd-journal-reader— pure Rust, reads the.journalbinary format directly withoutlibsystemd.
The only dynamic dependencies the linker emits on macOS are three of the system’s own libraries, present on every macOS install. Running otool -L masstin-macos-arm64 confirms it:
masstin-macos-arm64:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1351.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1700.255.5)
/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
All three are OS-guaranteed. Same binary on any Mac running macOS 11+.
The CI change
The release.yml workflow matrix previously compiled only x86_64-apple-darwin on whichever macos-latest was available. Since October 2024 macos-latest is itself arm64, so the Intel target was being cross-compiled — fine for pure-Rust crates but fragile for libesedb-sys, which has to invoke cc::Build with the right target triple and sometimes didn’t.
The new matrix splits the two architectures onto native runners:
- target: x86_64-apple-darwin
os: macos-13 # real Intel runner, no cross-compile for libesedb-sys
mac_arch: x86_64
- target: aarch64-apple-darwin
os: macos-latest # native Apple Silicon
mac_arch: arm64
Each tag push now produces four release assets: windows.exe, linux, macos-arm64, macos-x86_64.
The Gatekeeper “cannot verify” note
macOS Gatekeeper tags files downloaded from a browser with the com.apple.quarantine extended attribute, and refuses to execute unsigned binaries on first run. Signing + notarizing a Rust CLI tool costs $99/year on an Apple Developer account for a small forensic utility we can’t justify, so the pragmatic workaround is in the README: strip the attribute once and run normally.
chmod +x masstin-v1.4.4-macos-arm64
xattr -d com.apple.quarantine masstin-v1.4.4-macos-arm64
./masstin-v1.4.4-macos-arm64 --version
Good news for anyone using curl / wget: the quarantine attribute is only applied by Safari, the Finder UI, and AirDrop. Downloads via curl, wget, or git clone are never tagged. If your team fetches the binary from a script, Gatekeeper doesn’t enter the picture.
End-to-end verification on a real macOS arm64 runner
Another section for the curious: it tells how the binary was checked. Three words to follow it: a runner is a machine GitHub lends for building and testing, tmate gives a remote terminal inside it, and fixtures are sample files a project uses in its tests.
The usual way to convince yourself a binary actually works on a platform you don’t own is to spin up a hosted runner and check. Because GitHub Actions gives free macOS minutes to public repositories, this is cheap. I set up a small manual-only workflow (mac-debug.yml) that builds masstin and opens an SSH-accessible shell via mxschmitt/action-tmate@v3, then dropped in the canonical test fixtures from github.com/omerbenamram/evtx — the repository of the evtx parser masstin builds on — and ran masstin on them.
Input: 27 EVTX fixtures from omerbenamram/evtx/samples/ (intentionally dirty chunks, broken string cache, post-security, big security, renamed Security files, RdpCoreTS, forwarded events).
Output on macOS arm64 (native build from main):
[2/3] Processing artifacts...
[+] Lateral movement events grouped by source (1 sources):
=> [FOLDER] /private/tmp/evtx-upstream/samples (14660 events total)
- 2-system-Security-dirty.evtx (2985)
- 2-vss_0-Microsoft-Windows-RemoteDesktopServices-RdpCoreTS%4Operational.evtx (126)
- Archive-ForwardedEvents-test.evtx (618)
- Security_short_selected.evtx (2)
- Security_with_size_t.evtx (272)
- post-Security.evtx (27)
- security.evtx (675)
- security_bad_string_cache.evtx (675)
- security_big_sample.evtx (9280)
[3/3] Generating output...
2841 duplicate events removed (live + VSS overlap)
Artifacts parsed: 9
Events collected: 11819
Completed in: 1.48s
11,819 events extracted in 1.48 seconds on a free GitHub runner, over EVTX deliberately designed to stress-test a parser. Same CSV schema as the Windows and Linux builds — a timeline.csv produced on macOS has the same columns, in the same order, as one produced on Windows or Linux.
For symmetry, I re-ran the same dataset with the v0.14.0 release binary (Intel, run under Rosetta on the same arm64 runner):
| Binary | Events | Notes |
|---|---|---|
| v0.14.0 release (Intel + Rosetta) | 0 | Hit the Provider.Name dispatch bug — see separate post |
| main on macos-13 runner (Intel native) | 11,819 | The same in the versions released since |
| main on macos-latest runner (arm64 native) | 11,819 | Same numbers, native, 20-30% faster wall clock |
The Intel release binary also ran fine under Rosetta 2 — no dyld errors, no Gatekeeper friction (since it came from curl) — just didn’t extract any events because of an unrelated dispatcher bug, now fixed in main. Rosetta compatibility for anyone on Intel transitioning to Apple Silicon is confirmed, but the new native arm64 binary skips the translation layer entirely.
For MSP / consultancy workflows
- Drop-in in triage kits: one binary per arch, no installer, no post-install steps. Copy to
/usr/local/bin/or run in-place. - CI pipelines on Apple Silicon runners (increasingly the default on Mac build farms):
curl -LOthe arm64 binary, done. Nobrew updatescaffolding, noHOMEBREW_NO_AUTO_UPDATEtweaks. - Air-gapped analysis labs: the binary needs nothing from the internet after download. All forensic parsers are statically linked.
- Signed execution: if your org requires notarized binaries, the rebuild path is documented — fork the repo, install Xcode command line tools,
cargo build --release --target aarch64-apple-darwin, codesign yourself. The only external input isrustup.
macOS as evidence
At the time the parsers were Windows and Linux. macOS as an investigation target is covered today by parse, which reads the Unified Log, as a .logarchive or a log show JSON export, for SSH and Screen Sharing logons. This release was only about platform parity, running masstin from a macOS workstation.
Related documentation
| Topic | Link |
|---|---|
| Masstin — main page | masstin |
| Archived EVTX / Provider.Name dispatch | Archived EVTX |
| EVTX carving from unallocated | EVTX carving |
| CSV format | CSV format |
$ comments