Multi_Hacktool_LinPEAS_ng_62eff03d
Description
LinPEAS detection based on the User info module
Query · yara
strings:
$user_0 = "Current user Login and Logout hooks"
$user_1 = "/var/db/SystemKey"
$user_2 = "Do I have PGP keys?"
$user_3 = "$(xclip -o -selection clipboard"
$user_4 = "timeout 1 sudo -S -l"
$user_5 = "You can create a file in /etc/sudoers.d/"
$user_6 = "The escalation didn't work..."
$user_7 = "$(command -v doas)"
$user_8 = "UserShell RealName RecordName Password NFSHomeDirectory"
$user_9 = "^PASS_MAX_DAYS\\|^PASS_MIN_DAYS\\|^PASS_WARN_AGE\\|^ENCRYPT_METHOD"
condition:
5 of them