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-70803451-0047-4e12-9d63-77fa7eb8649c
name: Remote System Discovery with Adsisearcher
description: The following analytic detects the use of the `[Adsisearcher]` type accelerator
  in PowerShell scripts to query Active Directory for domain computers. It leverages
  PowerShell Script Block Logging (EventCode=4104) to identify specific script blocks
  containing `adsisearcher` and `objectcategory=computer` with methods like `findAll()`
  or `findOne()`. This activity is significant as it may indicate an attempt by adversaries
  or Red Teams to perform Active Directory discovery and gain situational awareness.
  If confirmed malicious, this could lead to further reconnaissance and potential
  lateral movement within the network.
severity: medium
enabled: false
tags:
  mitre:
  - T1018
  categories:
  - endpoint
references:
- https://attack.mitre.org/techniques/T1018/
- https://devblogs.microsoft.com/scripting/use-the-powershell-adsisearcher-type-accelerator-to-search-active-directory/
logsource:
  product: splunk
detection:
  splunk_spl: "`powershell` EventCode=4104 ScriptBlockText = \"*adsisearcher*\" AND\
    \ ScriptBlockText = \"*objectcategory=computer*\" AND ScriptBlockText IN (\"*findAll()*\"\
    ,\"*findOne()*\")\n  | fillnull\n  | stats count min(_time) as firstTime max(_time)\
    \ as lastTime\n    BY dest signature signature_id\n       user_id vendor_product\
    \ EventID\n       Guid Opcode Name\n       Path ProcessID ScriptBlockId\n    \
    \   ScriptBlockText\n  | `security_content_ctime(firstTime)`\n  | `remote_system_discovery_with_adsisearcher_filter`"
provenance:
  source: splunk/security_content
  source_id: 70803451-0047-4e12-9d63-77fa7eb8649c
  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/remote_system_discovery_with_adsisearcher.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema