ghacks Technology News

NTFS Alternate Data Streams

This article is going to explain NTFS Alternate Data Streams: what they are, where they are, how you can detect them, create them and how they are used by hackers. In short, NTFS Alternate Data Streams can be used by hackers to fork file data into existing files without altering the existing file’s function or size. You can guess where this is going, right ? They make it relatively easy to hide malicious code inside them which is much harder to detect.

Creating NTFS Alternate Data Streams is not complicated at all. You can use the “type” command to do that. To fork the file virus.exe into calc.exe you would use the command type virus.exe > calc.exe:virus:exe if they are in the same directory. Add the path if they are not. The size of the calculator does not change, the only indicator is that the file changed stamp is altered.

But executing those files must be harder, right ? Wrong again. To execute virus.exe you use the command “start”, in our example it would be start calc.exe:virus:exe.

A software like Stream Explorer can find those NTFS Alternate Data Streams on your hard drive. An alternative is List Alternate Data Streams

Enjoyed the article?: Then sign-up for our free newsletter or RSS feed to kick off your day with the latest technology news and tips, or share the article with your friends and contacts on Facebook or Twitter.

Related Articles:

Streamarmor Scans Your PC For Alternate Data Streams
NTFSWalker, Explore And Recover Data On NTFS Partitions
Manage NTFS Compression With NTFS Ratio
Still running Fat32 ? Time to convert to NTFS
Hide Information in Files



About the Author:Martin Brinkmann is a journalist from Germany who founded Ghacks Technology News Back in 2005. He is passionate about all things tech and knows the Internet and computers like the back of his hand. You can follow Martin on Facebook or Twitter.

Author: , Thursday January 24, 2008 -
Tags:, , , , ,


Responses so far:

  1. itoleck says:

    You can also use the TechNet Sysinternals streams application. Here is the link.
    http://www.microsoft.com/technet/sysinternals/FileAndDisk/Streams.mspx

  2. Joe Whitehead says:

    New url for Sysinternals Streams:
    http://technet.microsoft.com/en-us/sysinternals/bb897440.aspx

    Those dummies keep changing the links and don’t redirect. :/

Leave a Reply   Follow Ghacks   Subscribe To Comment Rss

Subscribe without commenting

© 2005-2012 Ghacks.net. All Rights Reserved. Privacy Policy - About Us