Commit 5fcf7a00 by Marc Rivero López Committed by GitHub

Update APT17

Rules indented correctly
parent d7a5997e
...@@ -2,20 +2,21 @@ ...@@ -2,20 +2,21 @@
This Yara ruleset is under the GNU-GPLv2 license (http://www.gnu.org/licenses/gpl-2.0.html) and open to any user or organization, as long as you use it under this license. This Yara ruleset is under the GNU-GPLv2 license (http://www.gnu.org/licenses/gpl-2.0.html) and open to any user or organization, as long as you use it under this license.
*/ */
rule APT17_Sample_FXSST_DLL { rule APT17_Sample_FXSST_DLL
{
meta: meta:
description = "Detects Samples related to APT17 activity - file FXSST.DLL" description = "Detects Samples related to APT17 activity - file FXSST.DLL"
author = "Florian Roth" author = "Florian Roth"
reference = "https://goo.gl/ZiJyQv" reference = "https://goo.gl/ZiJyQv"
date = "2015-05-14" date = "2015-05-14"
hash = "52f1add5ad28dc30f68afda5d41b354533d8bce3" hash = "52f1add5ad28dc30f68afda5d41b354533d8bce3"
strings: strings:
$x1 = "Microsoft? Windows? Operating System" fullword wide $x1 = "Microsoft? Windows? Operating System" fullword wide
$x2 = "fxsst.dll" fullword ascii $x2 = "fxsst.dll" fullword ascii
$y1 = "DllRegisterServer" fullword ascii $y1 = "DllRegisterServer" fullword ascii
$y2 = ".cSV" fullword ascii $y2 = ".cSV" fullword ascii
$s1 = "GetLastActivePopup" $s1 = "GetLastActivePopup"
$s2 = "Sleep" $s2 = "Sleep"
$s3 = "GetModuleFileName" $s3 = "GetModuleFileName"
...@@ -24,6 +25,5 @@ rule APT17_Sample_FXSST_DLL { ...@@ -24,6 +25,5 @@ rule APT17_Sample_FXSST_DLL {
$s6 = "GetProcessHeap" $s6 = "GetProcessHeap"
$s7 = "GetCommandLine" $s7 = "GetCommandLine"
condition: condition:
uint16(0) == 0x5a4d and filesize < 800KB and uint16(0) == 0x5a4d and filesize < 800KB and ( 1 of ($x*) or all of ($y*) ) and all of ($s*)
( 1 of ($x*) or all of ($y*) ) and all of ($s*)
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment