Skip to content
Please update to the latest release 0.77.3 to address Multiple CVEs.
Windows.Triage.SDS

Windows.Triage.SDS

Extracts the $Secure:$SDS NTFS stream from a specified drive volume using raw MFT parsing.

The $Secure stream is both a directory (it has I30 stream) and a file (it has a $DATA stream) and therefore confuses the Windows.KapeFiles.Target artifact which relies on globbing. Use this artifact to collect the $SDS stream.


name: Windows.Triage.SDS
description: |
  Extracts the $Secure:$SDS NTFS stream from a specified drive volume
  using raw MFT parsing.
  
  The $Secure stream is both a directory (it has I30 stream) and a
  file (it has a $DATA stream) and therefore confuses the
  `Windows.KapeFiles.Target` artifact which relies on globbing. Use
  this artifact to collect the $SDS stream.

parameters:
  - name: Drive
    description: The Drive letter to analyze
    default: "C:"

sources:
  - precondition:
      SELECT OS From info() where OS = 'windows'

    query: |
      LET Device <= pathspec(parse=Drive)

      SELECT *, upload(accessor="mft",
                       file=Device + Inode,
                       name=pathspec(Path=Name)) AS Upload
      FROM foreach(row=parse_ntfs(device=Device, mft=9).Attributes, column="_value")
      WHERE Name =~ "\\$S" AND TypeId IN (128, 160)