SUSP_BAT_OBFUSC_Jul24_3
Description
Detects indicators of obfuscation in Windows Batch files
Query · yara
strings:
$s1 = "% \\\\%" // part of the UNC path for the SMB connection
// It detects the set pattern with a single character value in front of the %%
// we use ?? to wildcard the character
// =?&&set
$s2 = { 3D ?? 26 26 73 65 74 20 }
condition:
filesize < 300KB
and all of them