Multi_Hacktool_LinPEAS_ng_46488ab2
Description
LinPEAS detection based on the Processes & Cron & Services & Timers module
Query · yara
strings:
$cron_0 = "Looks like ps is not finding processes"
$cron_1 = "(ps fauxwww || ps auxwww | sort ) 2>/dev/null | grep -v \"\\[\" | grep -v \"%CPU\""
$cron_2 = "/dev/null | grep CapEff | awk"
$cron_3 = "awk '!x[$0]++' 2>/dev/null | grep -v \" root root \""
$cron_4 = "Files opened by processes belonging to other users"
$cron_5 = "gdm-password process found (dump creds from memory as root)"
$cron_6 = "-name \"cron*\" -or -name \"anacron\" -or -name \"anacrontab\""
$cron_7 = "/Library/LaunchDaemons/MonitorHelper.plist ProgramArguments"
$cron_8 = "SPStartupItemDataType"
$cron_9 = "Unix Sockets Listening"
condition:
5 of them