rule MAL_Metasploit_Framework_UA {
meta:
description = "Detects User Agent used in Metasploit Framework"
license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE"
author = "Florian Roth (Nextron Systems)"
reference = "https://github.com/rapid7/metasploit-framework/commit/12a6d67be48527f5d3987e40cac2a0cbb4ab6ce7"
date = "2018-08-16"
score = 65
hash1 = "1743e1bd4176ffb62a1a0503a0d76033752f8bd34f6f09db85c2979c04bbdd29"
id = "e5a18456-3a07-5b58-ad95-086152298a1f"
strings:
$s3 = "Mozilla/4.0 (compatible; MSIE 6.1; Windows NT)" fullword ascii
condition:
uint16(0) == 0x5a4d and filesize < 400KB and 1 of them
}