-
Notifications
You must be signed in to change notification settings - Fork 71
Add extensions ecosystem support for Guarddog #589
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
Changes from 3 commits
64d915d
4bce5bd
8e2cd4a
2564a61
1fdda88
54b72e3
e39c0ec
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| rule DETECT_FILE_powershell_policy_bypass | ||
| { | ||
| meta: | ||
| author = "T HAMDOUNI, Datadog" | ||
| credits = "" | ||
|
||
| description = "Detects suspicious read access to /etc/passwd file, which is often targeted by malware for credential harvesting" | ||
|
|
||
| strings: | ||
| $cli = /(cat|less|more|head|tail)\s+.{0,100}\/etc\/passwd/ nocase | ||
| $read = /(readFile|readFileSync)\(\s*['"]\/etc\/passwd/ nocase | ||
| condition: | ||
| $cli or $read | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| rule DETECT_FILE_suspicious_passwd_access_linux | ||
| { | ||
| meta: | ||
| author = "T HAMDOUNI, Datadog" | ||
| credits = "" | ||
|
||
| description = "Detects suspicious read access to /etc/passwd file, which is often targeted by malware for credential harvesting" | ||
|
|
||
| strings: | ||
| $cli = /(cat|less|more|head|tail)\s+.{0,100}\/etc\/passwd/ nocase | ||
| $read = /(readFile|readFileSync)\(\s*['"]\/etc\/passwd/ nocase | ||
| condition: | ||
| $cli or $read | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.