Update get_domaintrust_with_powershell_script_block.yml

This commit is contained in:
mhaag-spl
2021-09-07 18:12:08 -06:00
parent 3dd979609d
commit d80cee2e72
@@ -11,7 +11,7 @@ description: 'The following analytic utilizes PowerShell Script Block Logging (E
During triage, review parallel processes using an EDR product or 4688 events. It will be important to understand the timeline of events around this activity. Review the entire logged PowerShell script block.'
search: '`powershell` EventCode=4104 Message="*get-domaintrust*"
| stats count min(_time) as firstTime max(_time) as lastTime by Message ComputerName EventCode
| stats count min(_time) as firstTime max(_time) as lastTime by Message OpCode ComputerName User EventCode
| `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)`
| `get_domaintrust_with_powershell_script_block_filter`'