CyberKit

Alternate Data Streams

Also called ADS.

Hidden NTFS streams that stash data behind a normal-looking file.

What it is

NTFS lets a file carry additional named data streams beyond its main content. These Alternate Data Streams are not shown by default directory listings.

Why it matters

Attackers use ADS to hide payloads or scripts behind innocuous files, while the "Zone.Identifier" stream (mark-of-the-web) records that a file came from the internet, useful both ways.

In practice

Malware hidden in "report.docx:evil.exe": invisible to a normal file listing but still executable.

What to look for

  • Streams other than Zone.Identifier on executables or documents.
  • Large streams attached to small or empty files.
  • Command lines that reference a file name followed by a colon.

Common mistake

Ignoring every stream because Zone.Identifier is so common. Filter it out, then look hard at what is left.

Practice it nearby

CyberKit has no tool for this term itself. These are the closest places to practice it.

In the field

Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.

  • Autopsy Open source

    A graphical forensics platform that parses file systems and common artifacts. Our notes.

  • Eric Zimmerman's tools Free

    Command line parsers for Windows artifacts such as the MFT, Prefetch and the Registry. Our notes.

  • Plaso Open source

    Builds a super timeline from many artifacts in one image. Our notes.

  • Velociraptor Open source

    Collects the same artifacts remotely, without pulling a full disk image. Our notes.

ATT&CK techniques

Read next

  • Master File Table: The NTFS index of every file, and a goldmine of timestamps.
  • Living off the Land: Attackers abuse built-in, trusted tools instead of dropping malware.
  • Timestomping: Forging file timestamps to hide when something really happened.

Sources