T1552 Unsecured Credentials
Adversaries may search compromised systems to find and obtain insecurely stored credentials. MITRE ATT&CK
4 Sigma rules T1552 on attack.mitre.org
Its sub-techniques
Sigma rules tagged with it
Command lines CmdID reads as it
Display the three most recent events from the Application log in textual format on the page for wevtutil
wevtutil qe Application /c:3 /rd:true /f:textIdentifyConvert the PowerShell event log to CSV on the page for ConvertTo-Csv
(Get-Culture).TextInfo.ListSeparator
Get-WinEvent -LogName 'Windows PowerShell' | ConvertTo-Csv -UseCulture -NoTypeInformationIdentifyCreate a web page to display PowerShell events on the page for ConvertTo-Html
Get-EventLog -LogName "Windows PowerShell" | ConvertTo-Html | Out-File pslog.htmIdentifyCreate a web page to display PowerShell events on the page for ConvertTo-Html
Get-EventLog -Log "Windows PowerShell" | ConvertTo-Html -Property Id, Level, TaskIdentifyOperate on the most recent System events on the page for ForEach-Object
Get-EventLog -LogName System -Newest 1000 |
ForEach-Object -Begin {Get-Date} -Process {
Out-File -FilePath Events.txt -Append -InputObject $_.Message
} -End {Get-Date}IdentifyGet event logs on the local computer on the page for Get-EventLog
Get-EventLog -ListIdentifyGet recent entries from an event log on the local computer on the page for Get-EventLog
Get-EventLog -LogName System -Newest 5IdentifyFind all sources for a specific number of entries in an event log on the page for Get-EventLog
$Events = Get-EventLog -LogName System -Newest 1000
$Events | Group-Object -Property Source -NoElement | Sort-Object -Property Count -DescendingIdentifyGet error events from a specific event log on the page for Get-EventLog
Get-EventLog -LogName System -EntryType ErrorIdentifyGet events from an event log with an InstanceId and Source value on the page for Get-EventLog
Get-EventLog -LogName System -InstanceId 10016 -Source DCOMIdentifyGet events from multiple computers on the page for Get-EventLog
Get-EventLog -LogName System -ComputerName Server01, Server02, Server03IdentifyGet all events that include a specific word in the message on the page for Get-EventLog
Get-EventLog -LogName System -Message descriptionIdentifyAnd 33 more examples on CmdID’s program pages.
An example is here when CmdID’s reading of it names T1552: a Sigma rule it trips is tagged with it, or its abuse is documented as it.