Share And Session Enumeration Using Net.EXE

Last updated on:

Applies to: Log360Log360 Cloud

About the rule

Rule Type

Standard

Rule Description

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

Severity

Attention

Rule Requirement

Criteria

Action1: actionname = "Process started" AND ((PROCESSNAME endswith "\net.exe,\net1.exe" OR ORIGINALFILENAME = "net.exe,net1.exe") AND COMMANDLINE contains "view") AND COMMANDLINE notcontains "\" select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME,Action1.DOMAIN,Action1.ORIGINALFILENAME,Action1.PARENTPROCESSID,Action1.PROCESSID,Action1.PRODUCT_NAME,Action1.SECURITYID

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Endgame, JHasenbusch (ported for oscd.community)