kevmap

TechniquesT1690 › AN1557

AN1557 Analytic 1557

Windows · attack.mitre.org · ATT&CK Enterprise v19.2

<p>Detection of PowerShell history suppression using Set-PSReadLineOption with SaveNothing or altered HistorySavePath. Correlating these options with PowerShell usage highlights adversarial evasion attempts.</p>
Detects
T1690 Prevent Command History Logging
Part of
DET0563 Detection Strategy for Defense Impairment via Prevent Command History Logging across OS platforms.

Log sources and channels

Exactly as MITRE states them in x_mitre_log_source_references. Where a channel is vague, it is vague in the source; kevmap does not tidy it.

Log sourceChannelData component
WinEventLog:PowerShellEventCode=4103, 4104, 4105, 4106DC0064 Command Execution
WinEventLog:SysmonEventCode=1DC0032 Process Creation

Mutable elements

Parameters MITRE marks as environment-specific. These are the knobs you are expected to tune; they are why an analytic is not a rule.

FieldDescription
AllowedPathsList of acceptable PowerShell history save paths for baseline comparison.