Skip to content
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

Resolve datadog-agent kworker false positives #300

Merged
6 changes: 3 additions & 3 deletions rules/evasion/fake-process-name.yara
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

rule fake_kworker_val : critical {
meta:
description = "Pretends to be a kworker kernel thread"
Expand All @@ -7,10 +6,11 @@ rule fake_kworker_val : critical {
hash_2023_Unix_Downloader_Rocke_6107 = "61075056b46d001e2e08f7e5de3fb9bfa2aabf8fb948c41c62666fd4fab1040f"
strings:
$kworker = /\[{0,1}kworker\/[\d:\]]{1,5}/
$kworker2 = "kworker" fullword
$kworker2 = /\b[Kk]worker\b/
egibs marked this conversation as resolved.
Show resolved Hide resolved
egibs marked this conversation as resolved.
Show resolved Hide resolved
$kworker3 = "[kworker"
$ignore_ref = /\w+\_kworker/
egibs marked this conversation as resolved.
Show resolved Hide resolved
egibs marked this conversation as resolved.
Show resolved Hide resolved
condition:
any of them
any of ($kworker*) and not $ignore_ref
}

rule fake_syslogd : critical {
Expand Down