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