Detectionhightest
Suspicious Interactive PowerShell as SYSTEM
Detects the creation of files that indicator an interactive use of PowerShell in the SYSTEM user context
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Florian Roth (Nextron Systems)Created Tue Dec 07Updated Sat Aug 135b40a734-99b6-4b98-a1d0-1cea51a08ab2windows
Log Source
WindowsFile Event
ProductWindows← raw: windows
CategoryFile Event← raw: file_event
Events for file system activity including creation, modification, and deletion.
Detection Logic
Detection Logic1 selector
detection:
selection:
TargetFilename:
- 'C:\Windows\System32\config\systemprofile\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt'
- 'C:\Windows\System32\config\systemprofile\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-Interactive'
condition: selectionFalse Positives
Administrative activity
PowerShell scripts running as SYSTEM user
References
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
5b40a734-99b6-4b98-a1d0-1cea51a08ab2
Status
test
Level
high
Type
Detection
Created
Tue Dec 07
Modified
Sat Aug 13
Path
rules/windows/file/file_event/file_event_win_susp_system_interactive_powershell.yml
Raw Tags
attack.executionattack.t1059.001