Skip to content

Commit

Permalink
Merge pull request Yara-Rules#371 from utkonos/patch-1
Browse files Browse the repository at this point in the history
Add detection for hex encoded text PEs
  • Loading branch information
Xumeiquer authored Feb 24, 2020
2 parents 00994cb + 6d3fa17 commit 10baa7e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions utils/suspicious_strings.yar
Original file line number Diff line number Diff line change
Expand Up @@ -1324,3 +1324,17 @@ rule BITS_CLSID
condition:
any of them
}

rule HexEncodedTextPE
{
meta:
author = "Malware Utkonos"
date = "2020-01-28"
reference = "https://blog.reversinglabs.com/blog/rats-in-the-library"
description = "Text string with hexadecimal encoded MZ/PE and comma+ separation"
strings:
$mz = /4D,.{0,6}5A/ nocase
$pe = /50,.{0,6}45/
condition:
all of them
}

0 comments on commit 10baa7e

Please sign in to comment.