query_credentials_in_registry
Description
Query Credentials in Registry License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md.
Query · yara_l
events:
($selection.principal.process.file.full_path = "C:\\Windows\\System32\\cmd.exe" and $selection.target.process.file.full_path = "C:\\Windows\\System32\\reg.exe" and ($selection.target.process.command_line = "reg query HKCU /f password /t REG_SZ /s" or $selection.target.process.command_line = "reg query HKLM /f password /t REG_SZ /s"))
condition:
$selection