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.7 KB
Raw Blame
id: mitre-car-car-2020-08-001
name: NTFS Alternate Data Stream Execution - System Utilities
description: NTFS Alternate Data Streams (ADSs) may be used by adversaries as a means
  of evading security tools by storing malicious data or binaries in file attribute
  metadata. ADSs are also powerful because they can be directly executed by various
  Windows tools; accordingly, this analytic looks at common ways of executing ADSs
  using system utilities such as powershell.
severity: medium
enabled: false
tags:
  mitre:
  - T1564
  categories:
  - endpoint
references:
- Oddvar Moe has created an excellent NTFS ADS execution reference [here on github](https://gist.github.com/api0cradle/cdd2d0d0ec9abb686f0e89306e277b8f),
  which was used as the basis for many of these analytics.
- The [LOLBAS project](https://lolbas-project.github.io/) is an amazing resource for
  anything LOLBAS.
logsource:
  category: Process
detection:
  implementations:
  - name: NTFS ADS - pseudocode
    type: pseudocode
    code: 'processes = search Process:Create

      ads_processes = filter processes where (

      exe == "powershell.exe OR rundll32.exe OR wmic.exe OR wscript.exe OR cscript.exe"
      and command_line.matches("__some_regex__")

      )

      output ads_processes'
  - name: NTFS ADS - powershell
    type: splunk
    code: index=__sysmon_index__ EventCode=1 Image=C:\\Windows\\*\\powershell.exe|regex
      CommandLine="Invoke-CimMethod\s+-ClassName\s+Win32_Process\s+-MethodName\s+Create.*\b(\w+(\.\w+)?):(\w+(\.\w+)?)|-ep
      bypass\s+-\s+<.*\b(\w+(\.\w+)?):(\w+(\.\w+)?)|-command.*Get-Content.*-Stream.*Set-Content.*start-process
      .*(\w+(\.\w+)?)"
  - name: NTFS ADS - wmic
    type: splunk
    code: index=__sysmon_index__ EventCode=1 Image=C:\\Windows\\*\\wmic.exe | regex
      CommandLine="process call create.*\"(\w+(\.\w+)?):(\w+(\.\w+)?)"
  - name: NTFS ADS - rundll32
    type: splunk
    code: index=__sysmon_index__  EventCode=1 Image=C:\\Windows\\*\\rundll32.exe |
      regex CommandLine="\"?(\w+(\.\w+)?):(\w+(\.\w+)?)?\"?,\w+\|(advpack\.dll\|ieadvpack\.dll),RegisterOCX\s+(\w+\.\w+):(\w+(\.\w+)?)\|(shdocvw\.dll\|ieframe\.dll),OpenURL.*(\w+\.\w+):(\w+(\.\w+)?)"
  - name: NTFS ADS - wscript/cscript
    type: splunk
    code: index=__sysmon_index__ EventCode=1 (Image=C:\\Windows\\*\\wscript.exe OR
      Image=C:\\Windows\\*\\cscript.exe) | regex CommandLine="(?<!\/)\b\w+(\.\w+)?:\w+(\.\w+)?$"
provenance:
  source: mitre-attack/car
  source_id: CAR-2020-08-001
  source_commit: 1b922fe
  license: Apache-2.0
  license_url: https://github.com/mitre-attack/car/blob/master/LICENSE.txt
  imported_at: '2026-05-04'
  imported_by: car_importer
  upstream_path: analytics/CAR-2020-08-001.yaml
notes:
  car_status: needs_implementation