ATT&CK coverage › Technique

Remote Services: SSH T1021.004

Adversaries may use Valid Accounts to log into remote machines using Secure Shell (SSH). The adversary may then perform actions as the logged-on user.

Events covered

3 catalog events are tagged with this technique by at least one rule.

ProviderEvent IDTitle
Sysmon1Process creation
Security-Auditing4688A new process has been created.
OpenSSH4process: payload.

Authoring guide

Patterns shared across the 4 rules above: which fields they filter on, what specific values they look for, and what they exclude. Field names are normalized across vendors so Sigma's Image, Elastic's process.name, and Splunk's process_name collapse into one row. Each rule contributes at most once per row.

Fields filtered most (4 distinct)

The fields most rules look at when detecting this technique. The How column shows the operators authors use (eq, wildcard, regex_match, match) and how often each appears. Sample values are concrete examples to start from, not an exhaustive list.

FieldRulesHowSample values
CommandLine3match 2, eq 1pwsh, cmd, bash, sshd, -R
Image2ends_with 2\ssh-shellhost.exe, \ssh.exe
ParentImage1ends_with 1\ITSMService.exe
payload1starts_with 1Server listening on

Top indicator values (11 distinct)

Specific (field, operator, value) combinations the rules check for, ranked by how many rules under this technique use each one. The Corpus reach column counts how many rules across the entire catalog (any technique) check the same combination. High numbers point to widely-used indicators that are likely noisy on their own; combine them with another condition for useful signal. Blank means the combination is specific to rules under this technique.

FieldKindValueRules (here)Corpus reach
CommandLinematch--pty1
Imageends_with\ssh-shellhost.exe1
CommandLinematchpwsh15
CommandLinematchcmd15
CommandLinematchbash1
CommandLinematchpowershell116
ParentImageends_with\ITSMService.exe1
payloadstarts_withServer listening on 1
CommandLineeqsshd1
CommandLinematch -R 14
Imageends_with\ssh.exe13

Rules under this technique

Every rule in the catalog tagged with this technique, grouped by vendor. Click a rule title for its full predicates, exclusions, and indicators.

Sigma 3 rules

Kusto Query Language 1 rule