Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aslefhewqiwbepqwefbpqsciwueh/fe2078dc9e0f4a3b64968db0ce4c6353 to your computer and use it in GitHub Desktop.
Save aslefhewqiwbepqwefbpqsciwueh/fe2078dc9e0f4a3b64968db0ce4c6353 to your computer and use it in GitHub Desktop.
A Yara rule that detects an obfuscated Autoit script, usually used for injection.
rule obfuscated_autoit_injector
{
meta:
author = "MhicRoibin"
date = "2024-01-09"
description = "Detects Obfuscated Autoit script, usually used for injection"
sample = "aae989743dddc84adef90622c657e45e23386488fa79d7fe7cf0863043b8acd4"
strings:
$a = "FileExists"
$b = "ACos("
$c = "Func"
$d = "AutoItX64"
$e = "PixelGetColor"
$f = "ASin("
$g = "Dec("
$h = "Chr("
$i = "ATan("
$j = "DriveStatus("
$k = "Execute("
$l = "Sqrt("
condition:
all of them
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment