NTFS Alternate Data Streams: How Files Hide Inside Other Files
Every file on an NTFS volume has at least one data stream — the unnamed one, which is what you see when you open the file. NTFS also permits additional named streams attached to the same file. Their contents do not appear when the file is opened, do not affect the size shown in Explorer, and survive an ordinary copy within NTFS. That combination makes alternate data streams a durable hiding place, and knowing they exist is the difference between finding data during an investigation and missing it entirely. How They Work The syntax is a colon: filename.txt:hidden refers to a stream named hidden on the file filename.txt . Reading filename.txt returns only the default stream. The named stream is reachable only by asking for it specifically. Consequences that matter in practice: Explorer shows the default stream's size. A one-kilobyte text file can carry a fifty-megabyte alternate stream and still look like a one-kilobyte text file. Disk free space changes; the file...