CmdID

CmdID / Techniques / T1021

T1021.002 Remote Services: SMB/Windows Admin Shares

Adversaries may use Valid Accounts to interact with a remote network share using Server Message Block (SMB). MITRE ATT&CK

1 program on CmdID 10 Sigma rules T1021.002 on attack.mitre.org

Part of

MITRE ATT&CK
T1021Remote Services

Programs for it

documented by LOLBAS and GTFOBins, or named by its rules

Sigma rules tagged with it

process creation, the highest levels first
criticalTurla Group Lateral MovementMarkus Neis · Windows
highHackTool - SharpMove Tool ExecutionLuca Di Bartolomeo (CrimpSec) · Windows
highRundll32 Execution Without ParametersBartlomiej Czyz, Relativity · Windows
highRundll32 UNC Path ExecutionNasreddine Bencherchali (Nextron Systems) · Windows
highWindows Internet Hosted WebDav Share Mount Via Net.EXENasreddine Bencherchali (Nextron Systems) · Windows
mediumCopy From Or To Admin Share Or Sysvol FolderFlorian Roth (Nextron Systems), oscd.community, Teymur Kheirkhabarov @HeirhabarovT, Zach Stanford @svch0st, Nasreddine Bencherchali · Windows
mediumPassword Provided In Command Line Of Net.EXETim Shelton (HAWK.IO) · Windows
mediumWindows Admin Share Mount Via Net.EXEoscd.community, Teymur Kheirkhabarov @HeirhabarovT, Zach Stanford @svch0st, wagga · Windows
lowNet.EXE ExecutionMichael Haag, Mark Woan (improvements), James Pemberton / @4A616D6573 / oscd.community (improvements) · Windows
lowWindows Share Mount Via Net.EXENasreddine Bencherchali (Nextron Systems) · Windows

Command lines CmdID reads as it

everyday examples from tldr-pages, CC BY 4.0

Start or stop a Windows service synchronously on the page for net

net start serviceIdentify

Make sure an SMB share is available in the current console on the page for net

net use \\smb_shared_folder /USER:usernameIdentify

Show the folders currently shared over SMB on the page for net

net shareIdentify

Show users in a local security group on the page for net

net localgroup "Administrators"Identify

To display a list of all user accounts for the local computer, run the following command on the page for net user

net userIdentify

To display information about the user account TommyH, run the following command on the page for net user

net user tommyhIdentify

To set the sign-in time from 8 AM to 5 PM for the username MikeD using 24-hour notation, run the following command on the page for net user

net user miked /time:M-F,08:00-17:00Identify

To set the sign-in time from 8 AM to 5 PM for MikeD using 12-hour notation, run the following command on the page for net user

net user miked /time:M-F,8AM-5PMIdentify

To specify sign-in hours of 4 AM to 12 PM on Monday, 12 PM to 8 PM on Tuesday, and 8 AM to 5 PM Wednesday through Friday for username AnibalS, run the following command on the page for net user

net user anibals /time:M,4AM-12PM;T,12PM-8PM;W-F,8AM-5PMIdentify

Copy a mandatory snippet from a folder to a destination folder on the page for New-IseSnippet

$path = "$HOME\Documents\WindowsPowerShell\Snippets\Mandatory.Snippets.ps1xml" $destination = "\\Server\Share" Copy-Item -Path $path -Destination $destinationIdentify

An example is here when CmdID’s reading of it names T1021.002: a Sigma rule it trips is tagged with it, or its abuse is documented as it.