Windows AD Rogue Domain Controller Network Activity

Original Source: [splunk source]
Name:Windows AD Rogue Domain Controller Network Activity
id:c4aeeeef-da7f-4338-b3ba-553cbcbe2138
version:3
date:2024-10-17
author:Dean Luxton
status:experimental
type:TTP
Description:The following analytic identifies unauthorized replication RPC calls from non-domain controller devices. It leverages Zeek wire data to detect specific RPC operations like DrsReplicaAdd and DRSGetNCChanges, filtering out legitimate domain controllers. This activity is significant as it may indicate an attempt to introduce a rogue domain controller, which can compromise the integrity of the Active Directory environment. If confirmed malicious, this could allow attackers to manipulate directory data, escalate privileges, and persist within the network, posing a severe security risk.
Data_source:
search:`zeek_rpc` DrsReplicaAdd OR DRSGetNCChanges
| where NOT (dest_category="Domain Controller") OR NOT (src_category="Domain Controller")
| fillnull value="Unknown" src_category, dest_category
| table _time endpoint operation src src_category dest dest_category
| `windows_ad_rogue_domain_controller_network_activity_filter`


how_to_implement:Run zeek on domain controllers to capture the DCE RPC calls, ensure the domain controller categories are defined in Assets and Identities.
known_false_positives:None.
References:
  -https://adsecurity.org/?p=1729
drilldown_searches:
  :
tags:
  analytic_story:
    - 'Sneaky Active Directory Persistence Tricks'
  asset_type:Endpoint
  confidence:100
  impact:100
  message:Rogue DC Activity Detected from $src_category$ device $src$ to $dest$ ($dest_category$)
  mitre_attack_id:
    - 'T1207'
  observable:
    name:'src'
    type:'IP Address'
    - role:
      - 'Attacker'
    name:'dest'
    type:'IP Address'
    - role:
      - 'Victim'
  product:
    - 'Splunk Enterprise'
    - 'Splunk Enterprise Security'
    - 'Splunk Cloud'
  required_fields:
    - '_time'
    - 'src'
    - 'dest'
  risk_score:100
  security_domain:network

tests:
  :
manual_test:None