Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 60 guests and 5 members online
EH-Net News Feeds
Latest Additions
 
Advertisement

You are here: Home arrow Forum arrow Columnsarrow Wilsonarrow [Article]-Alternate Data Streams (ADS): Hiding In Plain Site
EH-Net
February 08, 2012, 09:56:59 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Advertise on EH-Net!! - Reasonable Rates, Highly Targeted Audience.
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: [Article]-Alternate Data Streams (ADS): Hiding In Plain Site  (Read 15404 times)
0 Members and 1 Guest are viewing this topic.
don
Editor-In-Chief
Administrator
Hero Member
*****
Offline Offline

Posts: 3842


Editor-In-Chief


View Profile WWW
« on: February 27, 2007, 11:27:15 PM »

Quote
By Brian Wilson, CCNA, CCSE, CCAI, MCP, Network+, Security+, JNCIA

In this little article I am going to show you how Alternate Data Streams (ADS) work and show you a small example of how to make one. ADS is a feature in the NTFS file systems to make a compatibility with HFS, or the old Macintosh Hierarchical File System. ADS has been a function of NTFS since NT 4.0 and is still available in Windows XP (and yes even Windows Vista). ADS gives you the ability to inject/add file data into existing files without affecting their functionality, size, or display in utilities like Windows Explorer or even "dir" under command line.

Permanent Link: [Article]-Alternate Data Streams (ADS): Hiding In Plain Site

Offer your thoughts and experiences,
Don

PS - ADS is covered in many of the ethical hacking certification exams. This is a good introductory article that shows you exactly how it works.
Logged

CISSP, MCSE, CSTA, Security+ SME
CadillacGolfer
Newbie
*
Offline Offline

Posts: 36


View Profile
« Reply #1 on: February 28, 2007, 09:23:56 AM »

Why MSFT includes this in NTFS, yet provides no native tools to work with ADS is completely beyond me.
Logged
don
Editor-In-Chief
Administrator
Hero Member
*****
Offline Offline

Posts: 3842


Editor-In-Chief


View Profile WWW
« Reply #2 on: February 28, 2007, 11:13:06 AM »

ADS was originally created for compatability with Macs. Macs by nature don't have file extensions in the file name. The data that tells a Mac the file association was held in a seperate "fork" of the file as opposed to the file name itself. This has been changes since Mac OSX, but ADS has taken on additional duties for Windows such as the Summary feature. Google for more details.

As with most things, hackers find a unique way of making a feature do something it was not initially meant to do. This is not a bad thing. But "crackers" do the same thing for bad purposes. Thus the difference between a hacker and a cracker (just threw that in for those about to take a cert exam).

Hope this helps,
Don

PS - digg this story!
« Last Edit: February 28, 2007, 11:17:11 AM by don » Logged

CISSP, MCSE, CSTA, Security+ SME
ChrisG
EH-Net Columnist
Hero Member
*****
Offline Offline

Posts: 1166


View Profile WWW
« Reply #3 on: February 28, 2007, 04:08:28 PM »

good article, cool stealth fighter....

actually like Don said you'll probably catch a couple of ADS question on either the CEH or CPTS exam, good info to have.
Logged

...tests i took go here...

http://carnal0wnage.attackresearch.com/
p0et
Full Member
***
Offline Offline

Posts: 197



View Profile
« Reply #4 on: March 21, 2007, 11:01:12 PM »

Great work, Brian!  Cheesy

It's a fun topic and am glad you brought me in on the project.   Cool
Logged

GCIH, Security+, Network+, A+, MCP, DCSE
jimbob
Sr. Member
****
Offline Offline

Posts: 414



View Profile WWW
« Reply #5 on: March 22, 2007, 03:28:23 AM »

Quick question, is there any legitimate uses for ADS other than the summary metadata attached to some files? If there was a way of disabling ADS would this break windows?

Jim
Logged
slimjim100
EH-Net Columnist
Sr. Member
*****
Offline Offline

Posts: 385



View Profile WWW
« Reply #6 on: March 22, 2007, 08:44:37 AM »

I know alot of other programs now use ADS. I think the "Thumbs.db" file uses ADS It's used for picture icons in windows folders also some PDF's use the ADS file space. I am unaware of anyway to disable ADS but if you convert your file system to FAT32 you will drop all ADS streams from the drive. I guess if you had a lot of spare time on your hands you could convert your drive to FAT32 and then convert it back to NTFS to kill all the ADS streams. There are tools freely avaible on the net to find and ID ADS streams on you harddrvie. I like using a tool called LNS.exe (http://ntsecurity.nu/toolbox/lns/) it free and is command line driven so it's very light weight to use and works very fast.

Brian
Logged

CISSP, CCSE, CCNA, CCAI, Network+, Security+, JNCIA, & MCP
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.145 seconds with 23 queries.
 

gk_static-ad_feb2012.jpg
Global Knowledge Training: Build Security Skills to Protect and Defend

offsec_130x200-2_jan-feb2012.png
Offensive Security
AWE Live in the Caribbean!
March 5 - 9, 2012

SANS Deals 4 EH-Netters
$150 OFF Any SANS Course in Any Format!
Coupon Code: Refer_EHN
Including SANS Phoenix 2012, SANS 2012
Recent Forum Topics

cbtnuggets_logo_125.jpg
Try CBT Nuggets Free!

Vote For EH-Net

Add to Technorati Favorites
technorati fave

 
         
Advertisement

© 2012 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.