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

Address false positives for remaining public packages #378

Merged
merged 6 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions rules/combo/stealer/password.yara
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ rule password_finder_mimipenguin : critical {
$extra_finder = /\bFinder\b/
$extra_password = /\b[Pp]assword\b/
$extra_password2 = /.[^\s]{0,32}-password/
$ignore_basic_auth_example = /\w{0,32}\:[Pp]assword/
$not_basic_auth_example = /\w{0,32}\:[Pp]assword/
$not_caddy = "//starting caddy process"
$not_datadog = /[Dd]ata[Dd]og/
condition:
2 of ($base_*) and (any of ($extra_*) and none of ($ignore_*))
2 of ($base*) and (any of ($extra*) and none of ($not*))
}
6 changes: 4 additions & 2 deletions rules/evasion/fake-process-name.yara
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ rule fake_kworker_val : critical {
$kworker2 = "kworker" fullword
$kworker3 = "[kworker"
// datadog process-agent
$ignore_datadog = /[Dd]ata[Dd]og/
$not_datadog = /[Dd]ata[Dd]og/
$not_datadog2 = /\*{0,1}is_kworker/
$not_datadog3 = /is_current_kworker_dying\({0,1}\){0,1}/
condition:
any of ($kworker*) and not $ignore_datadog
any of ($kworker*) and none of ($not*)
}

rule fake_syslogd : critical {
Expand Down
Loading
Loading