Sigma rule: Share And Session Enumeration Using Net.EXE

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

Rule

Title
Share And Session Enumeration Using Net.EXE
Status
stable
Level
low
Author
Endgame, JHasenbusch (ported for oscd.community)
Date
2018-10-30
Modified
2023-02-21
File
rules/windows/process_creation/proc_creation_win_net_view_share_and_sessions_enum.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects attempts to enumerate file shares, printer shares and sessions using "net.exe" with the "view" flag.

Log source

product
windows
category
process_creation

Detection

selection_img:
    - Image|endswith:
          - '\net.exe'
          - '\net1.exe'
    - OriginalFileName:
          - 'net.exe'
          - 'net1.exe'
selection_cli:
    CommandLine|contains: 'view'
filter:
    CommandLine|contains: '\\\\'
condition: all of selection_* and not filter

False positives (as the rule lists them)

  • Legitimate use of net.exe utility by legitimate user

Tags

  • attack.discovery
  • attack.t1018

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/process_creation/proc_creation_win_net_view_share_and_sessions_enum.yml

Sources and licences

  • SigmaHQ

    "Share And Session Enumeration Using Net.EXE" by Endgame, JHasenbusch (ported for oscd.community) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_net_view_share_and_sessions_enum.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: Share And Session Enumeration Using Net.EXE",
entity page, dataset version ref-a0804f32beac, updated 2023-02-21T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/62510e69-616b-4078-b371-847da438cc03 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 62510e69-616b-4078-b371-847da438cc03, 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.