-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Teach malcontent about more Python maliciousness (#639)
* Teach malcontent about more Python maliciousness * refresh testdata * rule tuning * Update third-party rules as of 2024-11-18 (#641) Co-authored-by: Update third-party rules <41898282+github-actions[bot]@users.noreply.github.com> * Don't consider .mdiff or .sdiff files in discoverTestData (#637) Signed-off-by: egibs <[email protected]> * update sample commit * update testdata * rule tuning --------- Signed-off-by: egibs <[email protected]> Co-authored-by: octo-sts[bot] <157150467+octo-sts[bot]@users.noreply.github.com> Co-authored-by: Update third-party rules <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Evan Gibler <[email protected]>
- Loading branch information
1 parent
16cfd8b
commit 24e39d3
Showing
175 changed files
with
1,207 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
rule b64_as_int: critical { | ||
meta: | ||
description = "hides term 'base64' within an integer array" | ||
|
||
strings: | ||
$f_decode = "decode" | ||
$f_ord = "ord" | ||
$ib = "98," | ||
$ia = "97," | ||
$is = "115," | ||
$ie = "101," | ||
$i6 = "54," | ||
$i4 = "52" | ||
condition: | ||
any of ($f*) and all of ($i*) and @ia > @ib and @is > @ia and @ie > @is and @i6 > @ie and @i4 > @i6 and @i6 - @ib <= 48 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.