ryuk_ransomware_persistence_mechanism_detection
Description
Ryuk adds the following registry key so it will execute at every login. It uses the command below to create a registry key License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md.
Query · yara_l
events:
($selection.target.process.command_line = "C:\\Windows\\System32\\cmd.exe\" /C REG ADD \"HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run\"" or re.regex($selection.target.process.command_line, `/v \"svchos\" /t REG_SZ /d \"C:\\Users\\Public.*\.exe\" /f`))
condition:
$selection