Sigma rule: Suspicious Remote Logon with Explicit Credentials

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-e62ee864e401, updated 2022-08-03T00:00:00.000Z.

Rule

Title
Suspicious Remote Logon with Explicit Credentials
Status
test
Level
medium
Author
oscd.community, Teymur Kheirkhabarov @HeirhabarovT, Zach Stanford @svch0st, Tim Shelton
Date
2020-10-05
Modified
2022-08-03
File
rules/windows/builtin/security/win_security_susp_logon_explicit_credentials.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects suspicious processes logging on with explicit credentials

Log source

product
windows
service
security

Detection

selection:
    EventID: 4648
    ProcessName|endswith:
        - '\cmd.exe'
        - '\powershell.exe'
        - '\pwsh.exe'
        - '\winrs.exe'
        - '\wmic.exe'
        - '\net.exe'
        - '\net1.exe'
        - '\reg.exe'
filter1:
    TargetServerName: 'localhost'
filter2:
    SubjectUserName|endswith: '$'
    TargetUserName|endswith: '$'
condition: selection and not 1 of filter*

False positives (as the rule lists them)

  • Administrators that use the RunAS command or scheduled tasks

Tags

  • attack.privilege-escalation
  • attack.persistence
  • attack.initial-access
  • attack.stealth
  • attack.t1078
  • attack.lateral-movement

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_logon_explicit_credentials.yml

Sources and licences

  • SigmaHQ

    "Suspicious Remote Logon with Explicit Credentials" by oscd.community, Teymur Kheirkhabarov @HeirhabarovT, Zach Stanford @svch0st, Tim Shelton (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/security/win_security_susp_logon_explicit_credentials.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: Suspicious Remote Logon with Explicit Credentials",
entity page, dataset version ref-e62ee864e401, updated 2022-08-03T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/941e5c45-cda7-4864-8cea-bbb7458d194a (accessed 2026-11-03).
Underlying source: SigmaHQ rule 941e5c45-cda7-4864-8cea-bbb7458d194a, 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.