possible_spn_enumeration
Description
Detects Service Principal Name Enumeration used for Kerberoasting License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md.
Query · yara_l
events:
((re.regex($selection_image.target.process.file.full_path, `.*\\setspn\.exe`) or re.regex($selection_image.metadata.description, `.*Query or reset the computer.* SPN attribute.*`)) and re.regex($selection_image.target.process.command_line, `.*-q.*`))
condition:
$selection_image