Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create proc_creation_win_reg_add_AutoAdminLogon_key.yml #5053

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Mahir-Ali-khan
Copy link
Contributor

Summary of the Pull Request

Detects the modification of registry values DefaultUserName,DefaultPassword and AutoAdminLogon to enable automatic logon. Attacker use this technique to achieve persistence.

Changelog

Example Log Event

Process Create:
RuleName: -
UtcTime: 2024-10-16 11:02:12.493
ProcessGuid: {c419c85b-9d34-670f-8328-000000004700}
ProcessId: 12348
Image: C:\Windows\System32\reg.exe
FileVersion: 10.0.22621.1 (WinBuild.160101.0800)
Description: Registry Console Tool
Product: Microsoft® Windows® Operating System
Company: Microsoft Corporation
OriginalFileName: reg.exe
CommandLine: reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /t REG_SZ /d 1 /f
CurrentDirectory: C:\Users\user
User: XXXXXXXXXX\XXXXXXXX
LogonGuid: {c419c85b-9d89-670c-8fed-187f00000000}
LogonId: 0xF17ED8F
TerminalSessionId: 2
IntegrityLevel: Medium
Hashes: MD5=CDB58D0BCABE76AFC60428F364834463,SHA256=411AE446FE37B30C0727888C7FA5E88994A46DAFD41AA5B3B06C9E884549AFDE,IMPHASH=1085BD82B37A225F6D356012D2E69C3D
ParentProcessGuid: {c419c85b-8ebb-670f-4827-000000004700}
ParentProcessId: 21116
ParentImage: C:\Windows\System32\cmd.exe
ParentCommandLine: "C:\WINDOWS\system32\cmd.exe"
ParentUser: XXXXXXXXXX\XXXXXXXX

Fixed Issues

SigmaHQ Rule Creation Conventions

  • If your PR adds new rules, please consider following and applying these conventions

@github-actions github-actions bot added Rules Windows Pull request add/update windows related rules labels Oct 16, 2024
…n_reg_add_autoadminlogon_key.yml

Co-authored-by: frack113 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Rules Windows Pull request add/update windows related rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants