Prevent Command History Logging T1690

Tactic: Defense Impairment

Adversaries may impair command history logging to hide commands they run on a compromised system. Various command interpreters keep track of the commands users type in their terminal so that users can retrace what they have done.

Events covered

1 catalog event is tagged with this technique by at least one rule.

ProviderEventTitle
Sysmon-for-LinuxEvent ID 1Process Create

Authoring guide

Patterns shared across the 3 rules above: which fields they filter on, what specific values they look for, and what they exclude. The catalog normalizes field names 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
Message2contains 2, in 1*local*, *remote*, esxcli, esxcli system auditrecords, syslog config set
sourcetype2in 2vmw-syslog, vmware:esxlog*
CommandLine1contains 1 set, config, syslog
Image1ends_with 1/esxcli

Top indicator values (12 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. Click a value to expand the rules under this technique that use it.

FieldKindValueRules (here)Corpus reach
sourcetypein
vmw-syslog
223
sourcetypein
vmware:esxlog*
223
CommandLinecontains
set
12
CommandLinecontains
config
116
CommandLinecontains
syslog
1
CommandLinecontains
system
17
Imageends_with
/esxcli
19
Messagecontains
esxcli
12
Messagecontains
esxcli system auditrecords
1
Messagecontains
syslog config set
1
Messagein
*local*
1
Messagein
*remote*
1

Exclusions (1 distinct)

Field/operator/value combinations excluded by rules under this technique (top-level not() clauses), sorted by how many rules exclude each. These are the false-positive paths the community has learned to filter out. A new rule that ignores the high-count entries here will likely fire on the same noisy paths. Click a value to expand the rules under this technique that exclude it.

FieldKindValueRules excluding
Messagecontains
[shell
1

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.

Platform (all)
Domain (all)

Sigma 1 rule

Splunk 2 rules