detection rulehost
SafeNetv2 filesystem, process, and spool hunt
- First seen
- 2026-10-21
- Last seen
- 2026-10-21
- Used in
- 1 post
# 1. Search temporary directories and process working directories for SafeNetv2 files (read-only)
find -H /tmp /var/tmp /dev/shm /proc/[0-9]*/cwd -maxdepth 2 \( -name 'safenet-client*' -o -name '.safenet-client.pid' -o -name '.safenet-redl.*' -o -name 'safenet-spool.jsonl' \) -ls 2>/dev/null
# 2. Identify processes with SAFENET_* environment variables (prints PID and variable name only, never values)
grep -azoE 'SAFENET_(SUPERVISOR|HOST|AUTH|SPOOL|INTRUSIVE|LOG_MARKERS|VERBOSE)=' /proc/[0-9]*/environ 2>/dev/null | tr '\0' '\n'
# 3. Check active TCP connections to the controller IP or port 10001
ss -tnp 'dst 209.38.27.144 or dport = :10001' 2>/dev/nullPosts using this rule
Linux web & application hosts
Run from a root shell in the host PID and mount namespaces (or inside each web-application container's filesystem namespace). Copy `safenet-spool.jsonl` first, then terminate the parent supervisor (PID in `.safenet-client.pid`) and child worker (`SAFENET_SUPERVISOR=1`) with `kill -9`.