1- rule yum_installer : suspicious {
1+ rule yum_installer : notable {
22 meta :
33 description = " Installs software using yum "
44 strings :
@@ -7,7 +7,7 @@ rule yum_installer : suspicious {
77 $ val
88 }
99
10- rule dnf_installer : suspicious {
10+ rule dnf_installer : notable {
1111 meta :
1212 description = " Installs software using dnf "
1313 strings :
@@ -16,7 +16,7 @@ rule dnf_installer : suspicious {
1616 $ val
1717 }
1818
19- rule rpm_installer : suspicious {
19+ rule rpm_installer : notable {
2020 meta :
2121 description = " Installs software using rpm "
2222 strings :
@@ -25,7 +25,7 @@ rule rpm_installer : suspicious {
2525 $ val
2626 }
2727
28- rule apt_installer : suspicious {
28+ rule apt_installer : notable {
2929 meta :
3030 description = " Installs software using apt "
3131 strings :
@@ -34,7 +34,7 @@ rule apt_installer : suspicious {
3434 $ val
3535 }
3636
37- rule apt_get_installer : suspicious {
37+ rule apt_get_installer : notable {
3838 meta :
3939 description = " Installs software using apt-get "
4040 strings :
@@ -45,7 +45,7 @@ rule apt_get_installer : suspicious {
4545 $ val and not $ foo
4646 }
4747
48- rule apk_installer : suspicious {
48+ rule apk_installer : notable {
4949 meta :
5050 description = " Installs software using APK "
5151 strings :
@@ -62,18 +62,3 @@ rule pip_installer_regex : notable {
6262 condition :
6363 any of them
6464 }
65-
66- rule pip_installer : suspicious {
67- meta :
68- description = " Installs software using pip from python "
69- strings :
70- $ pip_install = " os.system('pip install "
71- $ pip_install_spaces = " 'pip', 'install' "
72- $ pip_install_args = " 'pip','install' "
73- $ pip3_install = " os.system('pip3 install "
74- $ pip3_install_spaces = " 'pip3', 'install' "
75- $ pip3_install_args = " 'pip3','install' "
76- condition :
77- any of them
78- }
79-
0 commit comments