GAGBOX is your one source to humor and fun

27 June, 2008

Hiding Files Using Alternative Data Streams

-Taken from my post at http://forums.educationd.info (I am the original author, go check)...

Okay, so why would we want to hide files using alternative data streams? Well, for example, you could hide a .exe file in a text file and send it through gmail or whatever.

So, first things first, we create a new text file. Inside the text file we type "blah blah blah", type whatever you want, it really doesn't matter. Save the text file as "test.txt" (or whatever you want).

Next, copy the .exe (or whatever file you wish to hide) to the same directory in which you saved "text.txt". In this case, my file will be "server.exe".

Now open up you command prompt, and navigate to the directory in which you saved the "test.txt" and enter the following command...

Code:
type server.exe > test.txt:server.exe
"server.exe" should have been successfully hidden in an alternative data stream within "test.txt". (if you open up "test.txt", you'll see that it looks exactly the same, even the file size )

You can now delete the original "server.exe".

To run the hidden "server.exe", open up the command prompt and enter the following...

Code:
start ./test.txt:server.exe
Aaand, thats it!

-Phate

Share Your Thoughts!

0 comments:

Post a Comment

Copyright © 2013 GagBox™ is a registered trademark.

Designed by GagBox Inc. Desiged By Templateism.com. Blogger Hosting by Blogger.