sudo cscli postoverflows install crowdsecurity/auditd-nix-wrappers-whitelist-processThen reload CrowdSec: sudo systemctl reload crowdsec
Sign in to see which of your engines run it →Hover a line or a note to see what each field does.
name: crowdsecurity/auditd-nix-wrappers-whitelist-processdescription: "Whitelist wrapped binaries in the Nix store"whitelist:reason: "Nix wrapped binaries"expression:- |evt.Overflow.Alert.GetScenario() == 'crowdsecurity/auditd-sus-exec' && all(evt.Overflow.Alert.Events, {.GetMeta('exe') matches '^\\/nix\\/store\\/[^\\/]+\\/bin\\/\\.[^\\/]+-wrapped$'})
Sign in to see the Security Engines that run this postoverflow, the version they run and whether it was modified locally.
With the Nix package manager, certain executables are wrapped, meaning the executable in PATH is just a symlink to an executable named in the following way /nix/store/<hash>/bin/.<program>-wrapped. This will trigger the suspicious process detection because the name of the binary starts with a . character.
This postoverflow will whitelist processes that follow the .<program>-wrapped pattern if they are executed from /nix/store.