diff --git a/includes/jiami-010119.yar b/includes/jiami-010119.yar new file mode 100644 index 0000000..8ce474e --- /dev/null +++ b/includes/jiami-010119.yar @@ -0,0 +1,44 @@ +/* + Yara Rule Set + Author: Brian Laskowski + Date: 2019-01-03 + Identifier: shell + Reference: https://github.com/Hestat/lw-yara/ +*/ + +/* Rule Set ----------------------------------------------------------------- */ + +rule _home_hawk_infected_01_03_19_shell_jiami { + meta: + description = "shell - file jiami.php" + author = "Brian Laskowski" + reference = "https://github.com/Hestat/lw-yara/" + date = "2019-01-03" + hash1 = "96361377d3b4d593397fdbe193af550dd94086c0990cc59c471d449cbf2aa315" + strings: + $s1 = "8?D:;' */ + $s20 = "Q1REN2FTL1Z" fullword ascii /* base64 encoded string 'CTD7aS/V' */ + condition: + ( uint16(0) == 0x3f3c and + filesize < 300KB and + ( 2 of them ) + ) or ( all of them ) +} diff --git a/lw-rules_index.yar b/lw-rules_index.yar index 477449b..c74a5b3 100644 --- a/lw-rules_index.yar +++ b/lw-rules_index.yar @@ -154,3 +154,4 @@ include "./includes/ninoseki-phishing-actors2.yar" include "./includes/ninoseki-phishing-actors3.yar" include "./includes/maersk-phishing-121318.yar" include "./includes/wso-encoded-123118.yar" +include "./includes/jiami-010119.yar"