Created
October 24, 2019 14:39
-
-
Save itsreallynick/5fb125d217997c39618ed7b8f913b68e to your computer and use it in GitHub Desktop.
Workflow.Compiler rules from August 2018
This file contains hidden or 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
// Background: | |
rule Hunting_Workflow_Collection_XOML { | |
meta: | |
author = "Nick Carr - @itsreallynick" | |
strings: | |
$workflow1 = "<SequentialWorkflowActivity" nocase ascii wide | |
$workflow2 = "Code" nocase ascii wide | |
condition: | |
uint16(0) != 0x5A4D and all of ($workflow*) and new_file | |
} | |
rule Hunting_Workflow_Collection_Compiler { | |
meta: | |
author = "Nick Carr - @itsreallynick" | |
strings: | |
$workflow1 = "<CompilerInput" nocase ascii wide | |
$workflow2 = "<parameters" nocase ascii wide | |
$options1 = "<coreAssemblyFileName" nocase ascii wide | |
$options2 = "<generate" nocase ascii wide | |
$options3 = "languageToUse>CSharp" nocase ascii wide | |
$options4 = "<win32Resource" nocase ascii wide | |
$options5 = "<embeddedResources" nocase ascii wide | |
$options6 = "<assemblyNames" nocase ascii wide | |
$options7 = "/System.CodeDom.Compiler" nocase ascii wide | |
condition: | |
uint16(0) != 0x5A4D and all of ($workflow*) and 4 of ($options*) and new_file | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment