Hiding User Account Via SpecialAccounts Registry Key - CommandLine

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects changes to the registry key "HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\SpecialAccounts\\Userlist" where the value is set to "0" in order to hide user account from being listed on the logon screen.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND PROCESSNAME endswith "\reg.exe" AND (COMMANDLINE contains "\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" AND COMMANDLINE contains "add" AND COMMANDLINE contains "/v" AND COMMANDLINE contains "/d 0") select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

@Kostastsale, @TheDFIRReport