Sigma rule: Potential Hidden Directory Creation Via NTFS INDEX_ALLOCATION Stream - CLI

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-108320cca29c, updated 2023-10-09T00:00:00.000Z.

Rule

Title
Potential Hidden Directory Creation Via NTFS INDEX_ALLOCATION Stream - CLI
Status
test
Level
medium
Author
Nasreddine Bencherchali (Nextron Systems), Scoubi (@ScoubiMtl)
Date
2023-10-09
File
rules/windows/process_creation/proc_creation_win_susp_hidden_dir_index_allocation.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects command line containing reference to the "::$index_allocation" stream, which can be used as a technique to prevent access to folders or files from tooling such as "explorer.exe" or "powershell.exe"

Log source

product
windows
category
process_creation

Detection

selection:
    # Note: Both Sysmon and ETW are unable to log the presence of such stream in the CommandLine. But EDRs such as Crowdstrike are able to using for example CMD console history. Users are advised to test this before usage
    CommandLine|contains: '::$index_allocation'
condition: selection

False positives (as the rule lists them)

  • Unlikely

Tags

  • attack.stealth
  • attack.t1564.004

MITRE ATT&CK ids this rule names

Related rules

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_hidden_dir_index_allocation.yml

Sources and licences

  • SigmaHQ

    "Potential Hidden Directory Creation Via NTFS INDEX_ALLOCATION Stream - CLI" by Nasreddine Bencherchali (Nextron Systems), Scoubi (@ScoubiMtl) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_hidden_dir_index_allocation.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Potential Hidden Directory Creation Via NTFS INDEX_ALLOCATION Stream - CLI",
entity page, dataset version ref-108320cca29c, updated 2023-10-09T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/0900463c-b33b-49a8-be1d-552a3b553dae (accessed 2026-11-03).
Underlying source: SigmaHQ rule 0900463c-b33b-49a8-be1d-552a3b553dae, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.