Sneed-Reactivity/yara-Neo23x0/generic_dumps.yar
Sam Sneed 08e8d462fe OMG ISTG PLS WORK
RED PILL 🔴 💊
2024-07-25 12:43:35 -05:00

60 lines
2 KiB
Text

/* Disabled due to Benjamin Delphys sig overlap
rule LSASS_memory_dump_file {
meta:
description = "Detects a LSASS memory dump file"
license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE"
author = "Florian Roth (Nextron Systems)"
date = "2015/03/31"
memory = 0
score = 50
strings:
$s1 = "lsass.exe" ascii fullword
$s2 = "wdigest.DLL" wide nocase
condition:
uint32(0) == 0x504D444D and all of them
} */
rule NTLM_Dump_Output {
meta:
description = "NTML Hash Dump output file - John/LC format"
license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE"
author = "Florian Roth (Nextron Systems)"
date = "2015-10-01"
score = 75
id = "d17ee473-317b-57d4-8ea8-7c89e8f2b2ed"
strings:
$s0 = "500:AAD3B435B51404EEAAD3B435B51404EE:" ascii
$s1 = "500:aad3b435b51404eeaad3b435b51404ee:" ascii
condition:
1 of them
}
rule Gsecdump_password_dump_file {
meta:
description = "Detects a gsecdump output file"
license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE"
author = "Florian Roth (Nextron Systems)"
reference = "https://t.co/OLIj1yVJ4m"
date = "2018-03-06"
score = 65
id = "c7c8ab61-f728-5eb2-a5e3-b3dd84980870"
strings:
$x1 = "Administrator(current):500:" ascii
condition:
uint32be(0) == 0x41646d69 and filesize < 3000 and $x1 at 0
}
rule SUSP_ZIP_NtdsDIT : T1003_003 {
meta:
description = "Detects ntds.dit files in ZIP archives that could be a left over of administrative activity or traces of data exfiltration"
author = "Florian Roth (Nextron Systems)"
score = 50
reference = "https://pentestlab.blog/2018/07/04/dumping-domain-password-hashes/"
date = "2020-08-10"
id = "131ed73d-bb34-5ff6-b145-f95e4469d7f9"
strings:
$s1 = "ntds.dit" ascii
condition:
uint16(0) == 0x4b50 and
$s1 in (0..256)
}