Hey guys,
I am back :) Sorry for delay, but times are hard...
Well, yesterday I encountered nice feature in Vista`s dir command - it have new /r switch, that will show you data streams in files! Finally some built in tools, however I am missing ability to use filter (/a) to show ALL files with data streams... I will post this as feature request probably...
However what are data streams (ADS)? They allows you to write additional informations to files - this informations wont be visible and wont change the size of file. I use them sometimes, when I want to add comment to some files on my HDD, also some antivirus (etrust) use them.
Lets show some examples:
1.) Run CMD :)
2.) Now create file ADSHide.txt
Echo. > ADSHide.txt
3.) Check file size. As you can see, it is empty file. Now we will add calculator and notepad to ADSHide.txt:
Type %WinDir%\System32\Calc.exe > .\ADSHide.txt:Calc.exe
Type %WinDir%\System32\Notepad.exe > .\ADSHide.txt:Notepad.exe
4.) Ok, now check the size of ADSHide.txt again - as you can see, it didnt change :)
5.) And are the ADS for ADSHide.txt really created? Lets check it:
Start .\ADSHide.txt:calc.exe
Start .\ADSHide.txt:Notepad.exe
As you can see ADSs are really powerfull and dangerous - that is why I am really glad we finally have a way to look on them built into OS.