NixDaemon

NixOS pentest workstation as one flake — IceBreaker's successor
git clone https://git.daemon-sec.xyz/NixDaemon.git
Log | Files | Refs | README

c2.nix (904B)


      1 # modules/features/pentest/c2.nix — command-and-control frameworks.
      2 # Off by default. `daemon.pentest.c2.enable = true;`
      3 #
      4 # Metasploit (msfconsole, msfvenom) is NOT here: it is in shells.nix, because
      5 # it is the thing you reach for on nearly every box, C2 or not. This category
      6 # is the frameworks you stand up deliberately — they want a listener on a
      7 # routable address, a profile, and a team server.
      8 #
      9 # Nothing here starts a service. A C2 listener is something you bring up by
     10 # hand, for one engagement, on a port you chose.
     11 { lib, ... }:
     12 (import ./_sets.nix { inherit lib; }) {
     13   name = "c2";
     14   description = "C2 frameworks: havoc, villain (metasploit is in shells)";
     15   default = false;
     16 
     17   packages = pkgs: with pkgs; [
     18     havoc # team server + client; Demon agent
     19     villain # lightweight: upgrades netcat shells, shares them between sessions
     20   ];
     21 
     22   expectedBins = [ "havoc" "villain" ];
     23 }