-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address critical false positives for systemd, redpanda, various Pytho…
…n packages, and yarn (#757) * Address critical false positives for systemd, redpanda, various Python packages, and yarn Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * Keep clean samples <= 2 severity Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> --------- Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
- Loading branch information
Showing
15 changed files
with
188 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
rule wireshark: override { | ||
meta: | ||
BlackTech_Hipid_str = "low" | ||
|
||
strings: | ||
$wireshark = "wireshark" | ||
condition: | ||
filesize < 200MB and #wireshark > 25 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
rule xdg_open: override { | ||
meta: | ||
description = "open" | ||
SECUINFRA_SUSP_Powershell_Download_Temp_Rundll = "low" | ||
|
||
strings: | ||
$comment = "Utility script to open a URL in the registered default application." | ||
$else = "rundll32.exe url.dll,FileProtocolHandler \"$1\"" | ||
$local = "local win_path" | ||
$open = "xdg-open" | ||
$wsl = "open_wsl()" | ||
condition: | ||
// Unfortunately, the redpanda console is about 900MB in size | ||
filesize < 1024MB and all of them | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# javascript/clean/yarn-3.8.7.cjs: medium | ||
anti-static/obfuscation/bitwise: medium | ||
anti-static/obfuscation/hex: medium | ||
anti-static/obfuscation/js: medium | ||
c2/addr/ip: medium | ||
c2/tool_transfer/arch: low | ||
c2/tool_transfer/github: medium | ||
c2/tool_transfer/os: medium | ||
collect/databases/mysql: medium | ||
collect/databases/postgresql: medium | ||
collect/databases/sqlite: medium | ||
credential/password: low | ||
data/compression/gzip: low | ||
data/compression/zlib: low | ||
data/embedded/base64: medium | ||
data/embedded/base64_terms: medium | ||
data/embedded/html: medium | ||
data/encoding/base64: low | ||
data/encoding/json_decode: low | ||
data/encoding/json_encode: low | ||
discover/network/interface_list: medium | ||
discover/process/parent: low | ||
discover/process/working_directory: low | ||
discover/system/platform: medium | ||
discover/user/USER: low | ||
discover/user/USERPROFILE: low | ||
discover/user/name_get: medium | ||
evasion/file/location/dev_shm: medium | ||
exec/plugin: low | ||
exec/program: medium | ||
exec/shell/TERM: low | ||
exec/shell/exec: medium | ||
fs/directory/create: low | ||
fs/directory/list: low | ||
fs/directory/remove: low | ||
fs/file/copy: medium | ||
fs/file/delete: low | ||
fs/file/delete_forcibly: medium | ||
fs/file/read: low | ||
fs/file/stat: low | ||
fs/file/times_set: medium | ||
fs/file/truncate: low | ||
fs/file/write: low | ||
fs/link_read: low | ||
fs/lock_update: low | ||
fs/mount: low | ||
fs/node_create: low | ||
fs/path/home: low | ||
fs/path/usr_bin: low | ||
fs/permission/chown: low | ||
fs/permission/modify: medium | ||
fs/symlink_resolve: low | ||
impact/remote_access/reverse_shell: medium | ||
net/dns/txt: low | ||
net/http/accept: medium | ||
net/http/auth: low | ||
net/http/cookies: medium | ||
net/http/form_upload: medium | ||
net/http/post: medium | ||
net/http/proxy: low | ||
net/ip/host_port: medium | ||
net/resolve/hostname: low | ||
net/socket/listen: medium | ||
net/socket/send: low | ||
net/tcp/ssh: medium | ||
net/url/embedded: low | ||
net/url/encode: medium | ||
net/url/parse: low | ||
net/url/request: medium | ||
os/env/get: low | ||
os/fd/read: low | ||
os/fd/write: low | ||
process/chdir: low |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# linux/clean/TEST-07-PID1.main-PID-change.sh: medium | ||
evasion/file/location/dev_shm: medium | ||
exec/system_controls/systemd: medium | ||
fs/file/make_executable: medium | ||
fs/path/tmp: medium | ||
fs/path/usr_bin: low | ||
fs/permission/modify: medium | ||
fs/watch: low |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# python/clean/hopper/setup.py: medium | ||
c2/tool_transfer/arch: low | ||
c2/tool_transfer/download: medium | ||
discover/system/platform: medium | ||
discover/user/HOME: low | ||
exec/imports/python: low | ||
exec/program: medium | ||
fs/directory/create: low | ||
fs/file/exists: low | ||
fs/file/open: low | ||
net/url/embedded: low | ||
net/url/parse: low | ||
net/url/request: medium | ||
os/fd/read: low |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# python/clean/numcodecs/base64.py: medium | ||
data/base64/decode: medium | ||
data/base64/encode: medium | ||
data/encoding/base64: low | ||
exec/imports/python: low |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# python/clean/open_clip_train/data.py: medium | ||
exec/imports/python: low | ||
exec/remote_commands/code_eval: medium | ||
fs/file/exists: low | ||
fs/file/read: low | ||
net/download: medium | ||
net/url/embedded: low | ||
os/fd/read: low | ||
process/multi: medium |