-
Notifications
You must be signed in to change notification settings - Fork 512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux Shell Evasion Rule Tuning #1878
Conversation
license = "Elastic License v2" | ||
name = "Interactive Terminal Spawned via Python" | ||
risk_score = 73 | ||
rule_id = "d76b02ef-fc95-4001-9297-01cb7412232f" | ||
severity = "high" | ||
tags = ["Elastic", "Host", "Linux", "Threat Detection", "Execution"] | ||
timestamp_override = "event.ingested" | ||
type = "query" | ||
type = "eql" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no type changes in rules - can we revert this change #1730
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do I revert it?
@@ -11,19 +11,20 @@ interactive tty after obtaining initial access to a host. | |||
""" | |||
from = "now-9m" | |||
index = ["auditbeat-*", "logs-endpoint.events.*"] | |||
language = "kuery" | |||
language = "eql" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we revert this - #1730
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be failing due to #1855 ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix in #1880 - which will cause this PR to fail (as expected) until type changes are reverted
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
failed test
ValueError: cannot change "type" in locked rule: Interactive Terminal Spawned via Perl from query to eql
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do I revert it?
Co-authored-by: Justin Ibarra <[email protected]>
Co-authored-by: Justin Ibarra <[email protected]>
Co-authored-by: Justin Ibarra <[email protected]>
Co-authored-by: Justin Ibarra <[email protected]>
Co-authored-by: Justin Ibarra <[email protected]>
Co-authored-by: Justin Ibarra <[email protected]>
Co-authored-by: Justin Ibarra <[email protected]>
Co-authored-by: Justin Ibarra <[email protected]>
Co-authored-by: Justin Ibarra <[email protected]>
Co-authored-by: Justin Ibarra <[email protected]>
Changes with GTFOBin rules looks good. Approving the PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the changes 👍
* Linux Shell Evasion Rule Tuning * Update execution_python_tty_shell.toml * Update rules/linux/execution_apt_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_apt_binary.toml * Update rules/linux/execution_awk_binary_shell.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_awk_binary_shell.toml * Update rules/linux/execution_c89_c99_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_c89_c99_binary.toml * Update rules/linux/execution_cpulimit_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_cpulimit_binary.toml * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml * Update rules/linux/execution_find_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_find_binary.toml * Update rules/linux/execution_gcc_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_gcc_binary.toml * Update rules/linux/execution_mysql_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_mysql_binary.toml * Update rules/linux/execution_nice_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_nice_binary.toml * Update rules/linux/execution_ssh_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_ssh_binary.toml * Update execution_perl_tty_shell.toml * Update execution_python_tty_shell.toml * Update rules/linux/execution_apt_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_awk_binary_shell.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_c89_c99_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_cpulimit_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_find_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_gcc_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_mysql_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_nice_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_ssh_binary.toml Co-authored-by: Justin Ibarra <[email protected]> Co-authored-by: Justin Ibarra <[email protected]>
* Linux Shell Evasion Rule Tuning * Update execution_python_tty_shell.toml * Update rules/linux/execution_apt_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_apt_binary.toml * Update rules/linux/execution_awk_binary_shell.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_awk_binary_shell.toml * Update rules/linux/execution_c89_c99_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_c89_c99_binary.toml * Update rules/linux/execution_cpulimit_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_cpulimit_binary.toml * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml * Update rules/linux/execution_find_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_find_binary.toml * Update rules/linux/execution_gcc_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_gcc_binary.toml * Update rules/linux/execution_mysql_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_mysql_binary.toml * Update rules/linux/execution_nice_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_nice_binary.toml * Update rules/linux/execution_ssh_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_ssh_binary.toml * Update execution_perl_tty_shell.toml * Update execution_python_tty_shell.toml * Update rules/linux/execution_apt_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_awk_binary_shell.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_c89_c99_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_cpulimit_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_find_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_gcc_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_mysql_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_nice_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_ssh_binary.toml Co-authored-by: Justin Ibarra <[email protected]> Co-authored-by: Justin Ibarra <[email protected]>
* Linux Shell Evasion Rule Tuning * Update execution_python_tty_shell.toml * Update rules/linux/execution_apt_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_apt_binary.toml * Update rules/linux/execution_awk_binary_shell.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_awk_binary_shell.toml * Update rules/linux/execution_c89_c99_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_c89_c99_binary.toml * Update rules/linux/execution_cpulimit_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_cpulimit_binary.toml * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml * Update rules/linux/execution_find_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_find_binary.toml * Update rules/linux/execution_gcc_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_gcc_binary.toml * Update rules/linux/execution_mysql_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_mysql_binary.toml * Update rules/linux/execution_nice_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_nice_binary.toml * Update rules/linux/execution_ssh_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_ssh_binary.toml * Update execution_perl_tty_shell.toml * Update execution_python_tty_shell.toml * Update rules/linux/execution_apt_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_awk_binary_shell.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_c89_c99_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_cpulimit_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_find_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_gcc_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_mysql_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_nice_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_ssh_binary.toml Co-authored-by: Justin Ibarra <[email protected]> Co-authored-by: Justin Ibarra <[email protected]>
* Linux Shell Evasion Rule Tuning * Update execution_python_tty_shell.toml * Update rules/linux/execution_apt_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_apt_binary.toml * Update rules/linux/execution_awk_binary_shell.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_awk_binary_shell.toml * Update rules/linux/execution_c89_c99_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_c89_c99_binary.toml * Update rules/linux/execution_cpulimit_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_cpulimit_binary.toml * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml * Update rules/linux/execution_find_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_find_binary.toml * Update rules/linux/execution_gcc_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_gcc_binary.toml * Update rules/linux/execution_mysql_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_mysql_binary.toml * Update rules/linux/execution_nice_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_nice_binary.toml * Update rules/linux/execution_ssh_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_ssh_binary.toml * Update execution_perl_tty_shell.toml * Update execution_python_tty_shell.toml * Update rules/linux/execution_apt_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_awk_binary_shell.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_c89_c99_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_cpulimit_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_find_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_gcc_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_mysql_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_nice_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_ssh_binary.toml Co-authored-by: Justin Ibarra <[email protected]> Co-authored-by: Justin Ibarra <[email protected]>
* Linux Shell Evasion Rule Tuning * Update execution_python_tty_shell.toml * Update rules/linux/execution_apt_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_apt_binary.toml * Update rules/linux/execution_awk_binary_shell.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_awk_binary_shell.toml * Update rules/linux/execution_c89_c99_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_c89_c99_binary.toml * Update rules/linux/execution_cpulimit_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_cpulimit_binary.toml * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml * Update rules/linux/execution_find_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_find_binary.toml * Update rules/linux/execution_gcc_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_gcc_binary.toml * Update rules/linux/execution_mysql_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_mysql_binary.toml * Update rules/linux/execution_nice_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_nice_binary.toml * Update rules/linux/execution_ssh_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_ssh_binary.toml * Update execution_perl_tty_shell.toml * Update execution_python_tty_shell.toml * Update rules/linux/execution_apt_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_awk_binary_shell.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_c89_c99_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_cpulimit_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_find_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_gcc_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_mysql_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_nice_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_ssh_binary.toml Co-authored-by: Justin Ibarra <[email protected]> Co-authored-by: Justin Ibarra <[email protected]>
* Linux Shell Evasion Rule Tuning * Update execution_python_tty_shell.toml * Update rules/linux/execution_apt_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_apt_binary.toml * Update rules/linux/execution_awk_binary_shell.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_awk_binary_shell.toml * Update rules/linux/execution_c89_c99_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_c89_c99_binary.toml * Update rules/linux/execution_cpulimit_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_cpulimit_binary.toml * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml * Update rules/linux/execution_find_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_find_binary.toml * Update rules/linux/execution_gcc_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_gcc_binary.toml * Update rules/linux/execution_mysql_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_mysql_binary.toml * Update rules/linux/execution_nice_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_nice_binary.toml * Update rules/linux/execution_ssh_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_ssh_binary.toml * Update execution_perl_tty_shell.toml * Update execution_python_tty_shell.toml * Update rules/linux/execution_apt_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_awk_binary_shell.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_c89_c99_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_cpulimit_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_find_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_gcc_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_mysql_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_nice_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_ssh_binary.toml Co-authored-by: Justin Ibarra <[email protected]> Co-authored-by: Justin Ibarra <[email protected]>
* Linux Shell Evasion Rule Tuning * Update execution_python_tty_shell.toml * Update rules/linux/execution_apt_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_apt_binary.toml * Update rules/linux/execution_awk_binary_shell.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_awk_binary_shell.toml * Update rules/linux/execution_c89_c99_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_c89_c99_binary.toml * Update rules/linux/execution_cpulimit_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_cpulimit_binary.toml * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml * Update rules/linux/execution_find_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_find_binary.toml * Update rules/linux/execution_gcc_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_gcc_binary.toml * Update rules/linux/execution_mysql_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_mysql_binary.toml * Update rules/linux/execution_nice_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_nice_binary.toml * Update rules/linux/execution_ssh_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_ssh_binary.toml * Update execution_perl_tty_shell.toml * Update execution_python_tty_shell.toml * Update rules/linux/execution_apt_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_awk_binary_shell.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_c89_c99_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_cpulimit_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_find_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_gcc_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_mysql_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_nice_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_ssh_binary.toml Co-authored-by: Justin Ibarra <[email protected]> Co-authored-by: Justin Ibarra <[email protected]>
* Linux Shell Evasion Rule Tuning * Update execution_python_tty_shell.toml * Update rules/linux/execution_apt_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_apt_binary.toml * Update rules/linux/execution_awk_binary_shell.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_awk_binary_shell.toml * Update rules/linux/execution_c89_c99_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_c89_c99_binary.toml * Update rules/linux/execution_cpulimit_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_cpulimit_binary.toml * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml * Update rules/linux/execution_find_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_find_binary.toml * Update rules/linux/execution_gcc_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_gcc_binary.toml * Update rules/linux/execution_mysql_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_mysql_binary.toml * Update rules/linux/execution_nice_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_nice_binary.toml * Update rules/linux/execution_ssh_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_ssh_binary.toml * Update execution_perl_tty_shell.toml * Update execution_python_tty_shell.toml * Update rules/linux/execution_apt_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_awk_binary_shell.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_c89_c99_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_cpulimit_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_find_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_gcc_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_mysql_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_nice_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_ssh_binary.toml Co-authored-by: Justin Ibarra <[email protected]> Co-authored-by: Justin Ibarra <[email protected]>
* Linux Shell Evasion Rule Tuning * Update execution_python_tty_shell.toml * Update rules/linux/execution_apt_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_apt_binary.toml * Update rules/linux/execution_awk_binary_shell.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_awk_binary_shell.toml * Update rules/linux/execution_c89_c99_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_c89_c99_binary.toml * Update rules/linux/execution_cpulimit_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_cpulimit_binary.toml * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml * Update rules/linux/execution_find_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_find_binary.toml * Update rules/linux/execution_gcc_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_gcc_binary.toml * Update rules/linux/execution_mysql_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_mysql_binary.toml * Update rules/linux/execution_nice_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_nice_binary.toml * Update rules/linux/execution_ssh_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_ssh_binary.toml * Update execution_perl_tty_shell.toml * Update execution_python_tty_shell.toml * Update rules/linux/execution_apt_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_awk_binary_shell.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_c89_c99_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_cpulimit_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_expect_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_find_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_gcc_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_mysql_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_nice_binary.toml Co-authored-by: Justin Ibarra <[email protected]> * Update rules/linux/execution_ssh_binary.toml Co-authored-by: Justin Ibarra <[email protected]> Co-authored-by: Justin Ibarra <[email protected]>
Summary
Tuning these shell evasion rules to increase accuracy and performance by taking multi match selections from ":" to "in", taking single match selection from ":" to "==" and by removing sequencing where possible and using entity_id to sequence where necessary. Each of these rules has been tested and validated to ensure they work as expected.