Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

2.1 KB
Raw Blame
id: splunk-security-content-41bbb371-28ba-439c-bb5c-d9930c28365d
name: Windows AD Cross Domain SID History Addition
description: The following analytic detects changes to the sIDHistory attribute of
  user or computer objects across different domains. It leverages Windows Security
  Event Codes 4738 and 4742 to identify when the sIDHistory attribute is modified.
  This activity is significant because the sIDHistory attribute allows users to inherit
  permissions from other AD accounts, which can be exploited by adversaries for inter-domain
  privilege escalation and persistence. If confirmed malicious, this could enable
  attackers to gain unauthorized access to resources, maintain persistence, and escalate
  privileges across domain boundaries.
severity: medium
enabled: false
tags:
  mitre:
  - T1134.005
  categories:
  - endpoint
references:
- https://adsecurity.org/?p=1772
- https://learn.microsoft.com/en-us/windows/win32/adschema/a-sidhistory?redirectedfrom=MSDN
- https://learn.microsoft.com/en-us/defender-for-identity/security-assessment-unsecure-sid-history-attribute
logsource:
  product: splunk
detection:
  splunk_spl: '`wineventlog_security` (EventCode=4742 OR EventCode=4738) NOT SidHistory
    IN ("%%1793", -) | rex field=SidHistory "(^%{|^)(?P<SidHistoryMatch>.*)(\-|\\\)"
    | rex field=TargetSid "^(?P<TargetSidmatch>.*)(\-|\\\)" | where SidHistoryMatch!=TargetSidmatch
    AND SidHistoryMatch!=TargetDomainName | rename TargetSid as userSid | table _time
    action status host user userSid SidHistory Logon_ID src_user dest | `windows_ad_cross_domain_sid_history_addition_filter`'
provenance:
  source: splunk/security_content
  source_id: 41bbb371-28ba-439c-bb5c-d9930c28365d
  source_commit: 4d4c7ee
  license: Apache-2.0
  license_url: https://github.com/splunk/security_content/blob/develop/LICENSE
  imported_at: '2026-05-04'
  imported_by: splunk_importer
  upstream_path: detections/endpoint/windows_ad_cross_domain_sid_history_addition.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema