repositories

NixDaemon

NixOS pentest workstation as one flake — IceBreaker's successor

clonegit clone https://git.daemon-sec.xyz/NixDaemon.git
dfir.nixNix30 lines910 Braw download
# modules/features/pentest/dfir.nix — forensics and incident response.
# Off by default: not CPTS material. `daemon.pentest.dfir.enable = true;`
{ lib, ... }:
(import ./_sets.nix { inherit lib; }) {
  name = "dfir";
  description = "memory, disk, log and artefact forensics";
  default = false;

  packages = pkgs: with pkgs; [
    volatility3 # `vol`, `volshell`
    sleuthkit # fls, icat, blkls, fsstat, …
    yara
    capa
    chainsaw # Windows event log hunting
    hayabusa # Sigma over EVTX
    exiftool
    foremost
    testdisk # testdisk, photorec
    chntpw # offline SAM / registry editing
    binwalk
    steghide stegseek zsteg # stego: jpg/wav, steghide brute force, png/bmp
  ];

  expectedBins = [
    "vol" "volshell" "fls" "icat" "fsstat" "yara" "capa"
    "chainsaw" "hayabusa" "exiftool" "foremost" "testdisk" "photorec"
    "chntpw" "binwalk"
    "steghide" "stegseek" "zsteg"
  ];
}