Sigma rule: Win Susp Computer Name Containing Samtheadmin

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-be8faa30f64a, updated 2023-01-04T00:00:00.000Z.

Rule

Title
Win Susp Computer Name Containing Samtheadmin
Status
test
Level
critical
Author
elhoim
Date
2022-09-09
Modified
2023-01-04
File
rules/windows/builtin/security/win_security_susp_computer_name.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects suspicious computer name samtheadmin-{1..100}$ generated by hacktool

Log source

product
windows
service
security

Detection

# Not adding an EventID on purpose to try to match on any event in security (including use of account), not just 4741 (computer account created)
selection1:
    SamAccountName|startswith: 'SAMTHEADMIN-'
    SamAccountName|endswith: '$'
selection2:
    TargetUserName|startswith: 'SAMTHEADMIN-'
    TargetUserName|endswith: '$'
condition: 1 of selection*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.initial-access
  • cve.2021-42278
  • cve.2021-42287
  • attack.persistence
  • attack.privilege-escalation
  • attack.stealth
  • attack.t1078

CVEs this rule names

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/security/win_security_susp_computer_name.yml

Sources and licences

  • SigmaHQ

    "Win Susp Computer Name Containing Samtheadmin" by elhoim (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/security/win_security_susp_computer_name.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Win Susp Computer Name Containing Samtheadmin",
entity page, dataset version ref-be8faa30f64a, updated 2023-01-04T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/39698b3f-da92-4bc6-bfb5-645a98386e45 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 39698b3f-da92-4bc6-bfb5-645a98386e45, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.