CodeCommitsIssuesPull requestsActionsInsightsSecurity
master

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

Detections/ASimProcess/NewEXEdeployedviaDefaultDomainorDefaultDomainControllerPolicies(ASIMVersion).yaml

41lines · modecode

1id: 0dd2a343-4bf9-4c93-a547-adf3658ddaec
2name: New EXE deployed via Default Domain or Default Domain Controller Policies (ASIM Version)
3description: |
4 'This detection highlights executables deployed to hosts via either the Default Domain or Default Domain Controller Policies. These policies apply to all hosts or Domain Controllers and best practice is that these policies should not be used for deployment of files.
5 A threat actor may use these policies to deploy files or scripts to all hosts in a domain.
6 This query uses the ASIM parsers and will need them deployed before usage - https://docs.microsoft.com/azure/sentinel/normalization'
7severity: High
8requiredDataConnectors:
9 - connectorId: SecurityEvents
10 dataTypes:
11 - SecurityEvents
12queryFrequency: 1d
13queryPeriod: 14d
14triggerOperator: gt
15triggerThreshold: 0
16tactics:
17 - Execution
18 - LateralMovement
19relevantTechniques:
20 - T1072
21 - T1570
22query: |
23 let known_processes = (
24 imProcess
25 // Change these values if adjusting Query Frequency or Query Period
26 | where TimeGenerated between(ago(14d)..ago(1d))
27 | where Process has_any ("Policies\\{6AC1786C-016F-11D2-945F-00C04fB984F9}", "Policies\\{31B2F340-016D-11D2-945F-00C04FB984F9}")
28 | summarize by Process);
29 imProcess
30 // Change these values if adjusting Query Frequency or Query Period
31 | where TimeGenerated > ago(1d)
32 | where Process has_any ("Policies\\{6AC1786C-016F-11D2-945F-00C04fB984F9}", "Policies\\{31B2F340-016D-11D2-945F-00C04FB984F9}")
33 | where Process !in (known_processes)
34 | summarize FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated) by Process, CommandLine, DvcHostname
35entityMappings:
36 - entityType: Host
37 fieldMappings:
38 - identifier: HostName
39 columnName: DvcHostname
40version: 1.0.2
41kind: Scheduled