signature-base/yara/vul_cve_2020_0688.yar
2021-03-10 18:51:06 +01:00

15 lines
561 B
Plaintext

rule VUL_Exchange_CVE_2020_0688 {
meta:
description = "Detects static validation key used by Exchange server in web.config"
author = "Florian Roth"
reference = "https://www.thezdi.com/blog/2020/2/24/cve-2020-0688-remote-code-execution-on-microsoft-exchange-server-through-fixed-cryptographic-keys"
date = "2020-02-26"
score = 60
strings:
$h1 = "<?xml "
$x1 = "<machineKey validationKey=\"CB2721ABDAF8E9DC516D621D8B8BF13A2C9E8689A25303BF\"" ascii wide
condition:
filesize <= 300KB and $h1 at 0 and $x1
}