rule_EmbedInHTML_offensive_tool_keyword
YARA detection rule by @mthcht · NOASSERTION
Detection patterns for the tool 'EmbedInHTML' taken from the ThreatHunting-Keywords github project
rule rule_EmbedInHTML_offensive_tool_keyword
{
meta:
description = "Detection patterns for the tool 'EmbedInHTML' taken from the ThreatHunting-Keywords github project"
author = "@mthcht"
reference = "https://github.com/mthcht/ThreatHunting-Keywords"
tool = "EmbedInHTML"
rule_category = "offensive_tool_keyword"
strings:
$string1_EmbedInHTML_offensive_tool_keyword = /\.py\s\s\-k\s.{0,1000}\s\-f\s.{0,1000}\.bat\s\-o\s.{0,1000}\.html/ nocase ascii wide
$string2_EmbedInHTML_offensive_tool_keyword = /\.py\s\s\-k\s.{0,1000}\s\-f\s.{0,1000}\.docm\s\-o\s.{0,1000}\.html/ nocase ascii wide
$string3_EmbedInHTML_offensive_tool_keyword = /\.py\s\s\-k\s.{0,1000}\s\-f\s.{0,1000}\.docx\s\-o\s.{0,1000}\.html/ nocase ascii wide
$string4_EmbedInHTML_offensive_tool_keyword = /\.py\s\s\-k\s.{0,1000}\s\-f\s.{0,1000}\.exe\s\-o\s.{0,1000}\.html/ nocase ascii wide
$string5_EmbedInHTML_offensive_tool_keyword = /\.py\s\s\-k\s.{0,1000}\s\-f\s.{0,1000}\.js\s\-o\s.{0,1000}\.html/ nocase ascii wide
$string6_EmbedInHTML_offensive_tool_keyword = /\.py\s\s\-k\s.{0,1000}\s\-f\s.{0,1000}\.pps\s\-o\s.{0,1000}\.html/ nocase ascii wide
$string7_EmbedInHTML_offensive_tool_keyword = /\.py\s\s\-k\s.{0,1000}\s\-f\s.{0,1000}\.ppsx\s\-o\s.{0,1000}\.html/ nocase ascii wide
$string8_EmbedInHTML_offensive_tool_keyword = /\.py\s\s\-k\s.{0,1000}\s\-f\s.{0,1000}\.ppt\s\-o\s.{0,1000}\.html/ nocase ascii wide
$string9_EmbedInHTML_offensive_tool_keyword = /\.py\s\s\-k\s.{0,1000}\s\-f\s.{0,1000}\.ps1\s\-o\s.{0,1000}\.html/ nocase ascii wide
$string10_EmbedInHTML_offensive_tool_keyword = /\.py\s\s\-k\s.{0,1000}\s\-f\s.{0,1000}\.xll\s\-o\s.{0,1000}\.html/ nocase ascii wide
$string11_EmbedInHTML_offensive_tool_keyword = /\.py\s\s\-k\s.{0,1000}\s\-f\s.{0,1000}\.xls\s\-o\s.{0,1000}\.html/ nocase ascii wide
$string12_EmbedInHTML_offensive_tool_keyword = /\.py\s\s\-k\s.{0,1000}\s\-f\s.{0,1000}\.xlsb\s\-o\s.{0,1000}\.html/ nocase ascii wide
$string13_EmbedInHTML_offensive_tool_keyword = /\.py\s\s\-k\s.{0,1000}\s\-f\s.{0,1000}\.xlsm\s\-o\s.{0,1000}\.html/ nocase ascii wide
$string14_EmbedInHTML_offensive_tool_keyword = /\.py\s\s\-k\s.{0,1000}\s\-f\s.{0,1000}\.xlsx\s\-o\s.{0,1000}\.html/ nocase ascii wide
$string15_EmbedInHTML_offensive_tool_keyword = /\.py\s\-k\s.{0,1000}\s\-f\s.{0,1000}\.doc\s\-o\s.{0,1000}\.html/ nocase ascii wide
$string16_EmbedInHTML_offensive_tool_keyword = /\/agent\/stagers\/dropbox\.py/ nocase ascii wide
$string17_EmbedInHTML_offensive_tool_keyword = /\/EmbedInHTML\.git/ nocase ascii wide
$string18_EmbedInHTML_offensive_tool_keyword = "/EmbedInHTML/" nocase ascii wide
$string19_EmbedInHTML_offensive_tool_keyword = "36ff05fc406bf6a2e677374028ba00cb622b2219e44c198d5dd6efae4ae963c3" nocase ascii wide
$string20_EmbedInHTML_offensive_tool_keyword = "809f540f580fc0e192a1c0432ec04105a3faf51f9d7c20f5e15423b78774052d" nocase ascii wide
$string21_EmbedInHTML_offensive_tool_keyword = "Arno0x/EmbedInHTML" nocase ascii wide
$string22_EmbedInHTML_offensive_tool_keyword = /embedInHTML\.html/ nocase ascii wide
$string23_EmbedInHTML_offensive_tool_keyword = /embedInHTML\.py/ nocase ascii wide
$string24_EmbedInHTML_offensive_tool_keyword = "EmbedInHTML-master" nocase ascii wide
$string25_EmbedInHTML_offensive_tool_keyword = /\-f\spayloads_examples\/calc\./ nocase ascii wide
$string26_EmbedInHTML_offensive_tool_keyword = /payloads_examples.{0,1000}calc\.js/ nocase ascii wide
$string27_EmbedInHTML_offensive_tool_keyword = /payloads_examples.{0,1000}calc\.xll/ nocase ascii wide
condition:
any of them
}