Multi_Hacktool_LinPEAS_ng_f3ab706d
Description
LinPEAS detection based on the systen information module
Query · yara
strings:
$cve_0 = "CVEs Check"
$cve_1 = "Vulnerable to CVE-2021-4034"
$cve_2 = "Vulnerable to CVE-2021-3560"
$cve_3 = "Potentially Vulnerable to CVE-2022-0847"
$cve_4 = "Potentially Vulnerable to CVE-2022-2588"
$cpu_0 = "Any sd*/disk* disk in /dev?"
$cpu_1 = "$(command -v diskutil)"
$cpu_2 = "Mounted disks information"
$cpu_3 = "$(command -v smbutil)"
$protections_0 = "grsecurity present?"
$protections_1 = "AppArmor enabled?"
$protections_2 = "User namespace?"
$protections_3 = "XProtectPlistConfigData"
condition:
(2 of ($cve_*) and 2 of ($cpu_*) and 2 of ($protections_*))