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-3fc16961-97e5-4a5b-a079-e4ab0d9763eb
name: Windows PowerShell Add Module to Global Assembly Cache
description: The following analytic detects the addition of a DLL to the Windows Global
  Assembly Cache (GAC) using PowerShell. It leverages PowerShell Script Block Logging
  to identify commands containing "system.enterpriseservices.internal.publish". This
  activity is significant because adding a DLL to the GAC allows it to be shared across
  multiple applications, potentially enabling an adversary to execute malicious code
  system-wide. If confirmed malicious, this could lead to widespread code execution,
  privilege escalation, and persistent access across the operating system, posing
  a severe security risk.
severity: medium
enabled: false
tags:
  mitre:
  - T1505.004
  categories:
  - endpoint
references:
- https://www.microsoft.com/en-us/security/blog/2022/12/12/iis-modules-the-evolution-of-web-shells-and-how-to-detect-them/
- https://www.microsoft.com/en-us/security/blog/2022/07/26/malicious-iis-extensions-quietly-open-persistent-backdoors-into-servers/
logsource:
  product: splunk
detection:
  splunk_spl: "`powershell` EventCode=4104 ScriptBlockText IN(\"*system.enterpriseservices.internal.publish*\"\
    )\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  | `security_content_ctime(lastTime)`\n\
    \  | `windows_powershell_add_module_to_global_assembly_cache_filter`"
provenance:
  source: splunk/security_content
  source_id: 3fc16961-97e5-4a5b-a079-e4ab0d9763eb
  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_powershell_add_module_to_global_assembly_cache.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema