-
Notifications
You must be signed in to change notification settings - Fork 612
[Rule Tuning] Linux DR Tuning - 2 #5481
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
base: main
Are you sure you want to change the base?
Conversation
Rule: Tuning - GuidelinesThese guidelines serve as a reminder set of considerations when tuning an existing rule. Documentation and Context
Rule Metadata Checks
Testing and Validation
|
|
⛔️ Test failed Results
|
| query = ''' | ||
| process where host.os.type == "linux" and event.type == "start" and event.action in ("exec", "exec_event", "start", "ProcessRollup2", "executed", "process_started") | ||
| and process.name == "proxychains" | ||
| process where host.os.type == "linux" and event.type == "start" and |
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.
is this just a format change ?
| process.parent.name like~ ("privsep-helper", "platform-python*", "init.ipv6-global", "wsl-bootstrap") or | ||
| ?process.parent.executable == "/usr/sbin/sshd" or | ||
| ?process.parent.args in ( | ||
| "/usr/lib/pritunl/usr/bin/pritunl", "/usr/bin/dockerd-rootless.sh", "/etc/rc.d/init.d/network", "/etc/rc0.d/K90network" |
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.
For "/usr/bin/dockerd-rootless.sh", from the docker docs (from Docker, and from VMware) it looks like this can also be invoked at setup not just in the ExecStart in the Docker service definition.
|
Looks good, minor comment, but not a blocker. Happy to approve when https://github.com/elastic/detection-rules/pull/5481/changes#r2626499614 is resolved 👍 |
Summary
Misc. Linux DR Tunings