EG Information

Main Index
EG Manual
Disclaimer
Legal Information
Hall of Fame
Hall of Shame
Member Rankings
Members List
Meet the Staff

Training Missions

Read Me First New
Basic Skills
Realistic Scenarios
Cryptography
Software Cracking
Linux ELF Binary Cracking
Logical Thinking
Programming
Patching
Steganography
Deface This Wall
/dev/null
/dev/urandom

Knowledge Bank

Discussion Forums
Enigma Chat New
RSS Feeds RSS
Articles / Tutorials
Videos
Online EG MP3 Player Radio
Enigma Zine
Downloads
Tools New

Code Resources

Submit Code
Ajax
ASM
Bash
C
CPP
Csharp
Delphi
Haskell
Java
Javascript
Jython
Lisp
mIRC
MySQL
Perl
PHP
Python
QBASIC
VisualBasic

Hakipedia: An open collaborative for all your information security needs.

The Urinal

Click Here To Vote For EG!

Has Enigma Group Helped You? Then Help Us By Advertising For Us. Place One Of The Following Images On Your Site.

enigma group

enigma group

enigma group

enigma group

Enigma Group's Articles


Alternate Data Stream - Submitted By: p2501 2009-02-27 07:19:06
First of all I have not "discovered" this feature. I read about it on some Czech server and author was a guy called .cCuMiNn.. There was also citation from Hakin9 by RubberDuck, so past your gratitude there and not to me, I just share the knowledge :-) Nevertheless I found it very interesting and I did not found it here, so... and it's useful for "us", heh Cheesy

So let's begin! (This is shortened version with basic info, you can google for more if you wish)

-= Alternate Data Stream =-

1) What it is ?
It's a "feature" of NTFS file system. It allows user to "hide" his files behind others.

2) Hide ?
Yes. If you look at the file you'll see it has the same size as before, but there is something else also. Windows itself has no tools to detect these files. No one can see this file except some third party softwares.

3) So what can I do with this hidden file ?
It can by any file. Such as EXE, VBS,... You can RUN IT. And proccess that will shows will look like anything but not the EXE file you ran.

4) Sounds interesting, how to use it ?

It's very simple:
a) open your command line

b) copy some exe file to C: (for example notepad.exe

c) create new text file (behind which you will hide the exe file) by typing:
ECHO "This is a test" > testfile.txt

d) HIDING OF EXE FILE: Type to command line:

TYPE C:notepad.exe > testfile.txt:notepad.exe

e) now when you look at the listing of files, you will see that the testfile.txt has not changed at all! But now, RUN YOUR HIDDEN FILE:

START C:testfile.txt:notepad.exe

now the new notepad proces should appear.
With this "feature" you can hide anything and run it directly (EXE) or with proper program.

5) Nice, Does it have any "disadvanteges" ?
Yes. This "feature" is on NTFS only. So when you copy the file from NTFS to FAT32 and back the alternate file is not copyied. Also unhiding is little bit tricky. You have to use third party software such as lads.exe (www.heysoft.de). But still you can hide your porn behind the recipe for apple pie Wink


I hope you liked it!
    p2501


Internet sources:
http://www.windowsecurity.com/pages/article_p.asp?id=1314
http://www.infosecwriters.com/texts.php?op=display&id=53
http://www.addict3d.org/index.php?page=viewarticle&type=security&ID=243

Return to Windows Hacking category list

 

Who's Online

483 Guests, 101 Users
ckryptix, viper0i0, Diznablo, rabbidmind, asapong, Nasrudin, CollapsingWalls, mehtaparag, bitstrike, jnony, C, Nicid1, Nusquam-Redono-Sapientia, bazcrown, saifulfaizan, The End, Ultraminor, psychomarine, st3alth, themastersinner, pgmrlink, login, lionaneesh, ishkur88, mahraja, Mac, chekifr, gandalf88, Vap0r, t0ast, tantrum6226, BnE, Distorted, Psiber_Syn, Ausome1, invas10n, oldgoat, freedaysbecumei, BinaryShinigami, Rex_Mundi, Red_beard, Strobeflux, s0m3nak3dguy, Descent, teehee, machupicchu, Genetix, Anandarl, NotMyOwn, thegamerdude, Godzila, popo12341234, RedEvolution, velocity_b, myne17, teto111, aVoid, Central-Gsm, 1101, JackalReborn, InjectioN, h4lted, c0re, DisPater, markt4death, splatta, Jackowacko, saint556, Pyron2312, Azerion, howsens, white.hat.gone.bad, vazzilly, pwunkz, Ios, Inverted, QuarterCask, Infernoe11, deskata, cr4ck3rj4ck, Blizer, jasonmax, j0sh, gwenwavor, N4g4c3N, spizeyboy, Network X, Uino59, Jae Cee, ianFDK, saykov, medhaavee, zofy, demonkiller410, Stumble, SaMTHG, kishore, Raze, helasraizam, Venom1019, Jakabo