We start talking about what is and how it works. Essentially, the "Alternate Data Streams" (ADS) are files within another file. You can think of a file as an ordered sequence of bytes accessed by a name. In NTFS System (New Technology File System) this is the data stream that comes from opening the file normally. However, NTFS has the ability to save alternative flows next to the main data by specifying a name for themselves.
Now let's do a simple test. To begin, go to command prompt and run the following commands:
Echo text1> file.txt
Echo text2> final.txt
(Create 2 files with the given text)
Type final.txt> file.txt: final.txt
(The file file.txt contains the file final.txt)
More <file.txt: final.txt
(We see the contents of final.txt)


