Sigma rule: SMB Create Remote File Admin Share

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-df1f06abe655, updated 2025-10-17T00:00:00.000Z.

Rule

Title
SMB Create Remote File Admin Share
Status
test
Level
high
Author
Jose Rodriguez (@Cyb3rPandaH), OTR (Open Threat Research)
Date
2020-08-06
Modified
2025-10-17
File
rules/windows/builtin/security/win_security_smb_file_creation_admin_shares.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Look for non-system accounts SMB accessing a file with write (0x2) access mask via administrative share (i.e C$).

Log source

product
windows
service
security

Detection

selection:
    EventID: 5145
    ShareName|endswith: 'C$'
    AccessMask: '0x2'
filter_main_subjectusername:
    SubjectUserName|endswith: '$'
filter_optional_local_ip:
    IpAddress: '::1'
condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.lateral-movement
  • attack.t1021.002

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

Sources and licences

  • SigmaHQ

    "SMB Create Remote File Admin Share" by Jose Rodriguez (@Cyb3rPandaH), OTR (Open Threat Research) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/security/win_security_smb_file_creation_admin_shares.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: SMB Create Remote File Admin Share",
entity page, dataset version ref-df1f06abe655, updated 2025-10-17T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/b210394c-ba12-4f89-9117-44a2464b9511 (accessed 2026-11-03).
Underlying source: SigmaHQ rule b210394c-ba12-4f89-9117-44a2464b9511, 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.