
Summary
The analytic rule identifies the execution of the `Get-DomainTrust` command utilizing PowerShell Script Block Logging, specifically targeting Event Code 4104. This approach captures the full command sent to PowerShell, which is pivotal for detailed analysis. Monitoring for this command is crucial as it can signify attempts to retrieve domain trust information, often a prelude to lateral movements or privilege escalations in the environment. If such activities are confirmed as malicious, they could enable an attacker to exploit trust relationships between domains, heightening the risk of further system compromises. Enabling Script Block Logging across endpoints is necessary for this detection to function effectively.
Categories
- Endpoint
Data Sources
- Pod
- Pod
- Pod
ATT&CK Techniques
- T1482
- T1059.001
Created: 2024-11-13