Possible Share And Session Enumeration Via Net.EXE (via process_creation)

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

SigmalowWindowsv1
sigma
title: Possible Share And Session Enumeration Via Net.EXE (via process_creation)
id: 5665c824-1fec-54b5-be44-5a37712f98d8
status: stable
description: This rule detects attempts to enumerate file shares, printer shares and sessions using "net.exe" with the "view" flag.
references:
    - https://attack.mitre.org/techniques/T1018/
    - https://eqllib.readthedocs.io/en/latest/analytics/b8a94d2f-dc75-4630-9d73-1edc6bd26fff.html
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1018/T1018.md
author: Huntrule Team
date: 2026-04-13
tags:
    - attack.discovery
    - attack.t1018
logsource:
    category: process_creation
    product: windows
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
falsepositives:
    - Unknown
level: low

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.