signature-base/yara/gen_gpp_cpassword.yar
2016-02-15 12:31:27 +01:00

20 lines
637 B
Plaintext

rule Groups_cpassword {
meta:
description = "Groups XML contains cpassword value, which is decrypted password - key is in MSDN http://goo.gl/mHrC8P"
author = "Florian Roth"
reference = "http://www.grouppolicy.biz/2013/11/why-passwords-in-group-policy-preference-are-very-bad/"
date = "2015-09-08"
score = 50
strings:
$s1 = / cpassword=\"[^\"]/ ascii
$s2 = " changeLogon=" ascii
$s3 = " description=" ascii
$s4 = " acctDisabled=" ascii
condition:
uint32be(0) == 0x3C3F786D /* <?xm */
and filesize < 1000KB
and all of ($s*)
}