Detectionmediumtest

Windows Admin Share Mount Via Net.EXE

Detects when an admin share is mounted using net.exe

Open in Detection LabConvert ruleBuild Package
oscd.community, Teymur Kheirkhabarov, Zach Stanford, waggaCreated 2020-10-05Updated 2023-02-213abd6094-7027-475f-9630-8ab9be7b9725windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic2 selectors
detection:
    selection_img:
        - Image|endswith:
              - '\net.exe'
              - '\net1.exe'
        - OriginalFileName:
              - 'net.exe'
              - 'net1.exe'
    selection_cli:
        CommandLine|contains|all:
            - ' use '
            - ' \\\\*\\*$'
    condition: all of selection_*
False Positives

Administrators

Rule Metadata
Rule ID
3abd6094-7027-475f-9630-8ab9be7b9725
Status
test
Level
medium
Type
Detection
Created
2020-10-05
Modified
2023-02-21
Path
rules/windows/process_creation/proc_creation_win_net_use_mount_admin_share.yml
Raw Tags
attack.lateral-movementattack.t1021.002
View on GitHub