Forensic Focus - Computer Forensics, Computer Forensic Training, Digital Forensics
LoginRegisterForumsColumnistsPapersEducationGraduatesReviewsInterviewsNewsletterJobsEventsBlogAdvertise
Search Forensic Focus
Custom Search

Find us on Facebook
Follow Forensic Focus on Twitter
Columnists
"I erred." "I was mistaken."
Craig Ball
Single Sign On
Simon Biles
Copyright and games console modification
Dan Gaskell
To GUI or not to GUI?
Chris Hargreaves
'Web 2.0' as evidence
Sean McLinden
Sometimes it’s all about timing
Sam Raincock
Avoiding common job application errors
David Sullivan
Scalability: A Big Headache
Dominik Weber
Graduate Recruitment

computer forensics graduate jobs

Main Menu
MY ACCOUNT
COMMUNITY
EMPLOYMENT
EDUCATION
RESOURCES
MISC
Follow Forensic Focus

Join newsletter

Join LinkedIn group

Follow on Twitter

Subscribe to news

Subscribe to forums

Subscribe to blog

Subscribe to tweets

Members' blogs

External feeds

Bookmark & share: Bookmark and Share

Computer Forensics Newsletter
Newsletter

You must be a
registered user
to receive our newsletter

Register Now!

Searching for Alternate Data Streams
Go to page 1, 2  Next
Post new topic   Reply to topic   Printer Friendly Page     Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
spirovskib
Newbie


Joined: Nov 07, 2009
Posts: 6
Location: Skopje, Macedonia

PostPosted: Wed Dec 02, 2009 4:05 pm    Post subject: Searching for Alternate Data Streams Reply with quote

I've been working on Alternate Data Streams for a while now. They seem to be a lost and forgotten art of information hiding, but they are far from useless.

First, it's extremely easy to create an Alternate Data Stream on any Windows with NTFS filesystem. Then, all it takes is a little bit of social engineering to persuade someone to give you the host file with the ADS file on an appropriate medium (Ntfs USB or through network via SMB)

A siezed computer where the data is hidden in ADS may be missed by some analysts, simply because it's a forgotten art Smile

I did a simple example on how the attacker may try to steal data via ADS.
www.shortinfosec.net/2...reams.html

From what i found, it's not difficult to find the ADS, with appropriate tools:
Streams.exe from SysInternals:
www.sysinternals.com/n...ml#streams

ADS Spy GUI Scanner:
www.spywareinfo.com/~m...loads.html

But these files work on the live filesystem. Anyone have experience with forensic type tools that discover ADS?

Regards
Bozidar Spirovski
Back to top
View user's profile Visit poster's website
keydet89
Senior Member


Joined: Oct 19, 2004
Posts: 2378
Location: NoVA

PostPosted: Wed Dec 02, 2009 4:36 pm    Post subject: Re: Searching for Alternate Data Streams Reply with quote

spirovskib wrote:

But these files work on the live filesystem. Anyone have experience with forensic type tools that discover ADS?

I'm not sure what you mean by "discover". GUI-based tools such as ProDiscover will display the filename as is...PD will do so in red. Tools such as TSK fls.exe will output the filename, all you need to do is grep() for any filename with a colon in it.
Back to top
View user's profile Visit poster's website AIM Address
Fab4
Senior Member


Joined: Sep 26, 2007
Posts: 101
Location: UK

PostPosted: Thu Dec 03, 2009 3:01 am    Post subject: Re: Searching for Alternate Data Streams Reply with quote

LADS from Frank Heyne
Back to top
View user's profile
keydet89
Senior Member


Joined: Oct 19, 2004
Posts: 2378
Location: NoVA

PostPosted: Thu Dec 03, 2009 6:36 am    Post subject: Re: Searching for Alternate Data Streams Reply with quote

Fab4 wrote:
LADS from Frank Heyne

LADS runs on a live system.
Back to top
View user's profile Visit poster's website AIM Address
Wardy
Senior Member


Joined: Oct 14, 2005
Posts: 134
Location: South West UK

PostPosted: Thu Dec 03, 2009 6:46 am    Post subject: Re: Searching for Alternate Data Streams Reply with quote

Encase clearly shows Alternate Data Stream files. I know for a fact Helix Pro finds them - I wrote the NTFS parser.

I cannot comment on whether FTK does - I simply don't remember.

I wouldn't call it a dying art at all to be honest.

_________________
Black Bag Technologies, Inc.
Back to top
View user's profile Yahoo Messenger
Rich2005
Senior Member


Joined: Dec 12, 2006
Posts: 191
Location: UK

PostPosted: Thu Dec 03, 2009 7:15 am    Post subject: Re: Searching for Alternate Data Streams Reply with quote

As Wardy says, they're clearly visible/searchable etc in EnCase (and things like xways as well no doubt - though havent really tried that myself), can't off they top of my head say that i've had a case where someone has used them to hide stuff yet either.
Back to top
View user's profile
Fab4
Senior Member


Joined: Sep 26, 2007
Posts: 101
Location: UK

PostPosted: Thu Dec 03, 2009 7:43 am    Post subject: Re: Searching for Alternate Data Streams Reply with quote

keydet89 wrote:


LADS runs on a live system.

That'll teach me to read the initial post properly!

Can always run the 'live system' ADS tools on a mounted image of the drive under examination.
Back to top
View user's profile
ForensicRob
Newbie


Joined: Apr 20, 2005
Posts: 12
Location: Indiana, USA

PostPosted: Thu Dec 03, 2009 8:46 am    Post subject: Re: Searching for Alternate Data Streams Reply with quote

The 2nd and 3rd links didn't get me to the information described. Can you fix them?

I agree, tools designed to catch criminals either already have ADS support, or they should add it. Here's one more Windows tool that supports ADS: FI TOOLS (http://www.forensicinnovations.com/fitools.html). It treats them like regular files and provides Text and Hexadecimal previews of them.

I'm not sure I see the point in highlighting them. They are about as common as files with wrong file extensions. Most are not maliciously created. So many files in a Windows installation have creative file extensions that don't exactly match what they are. Most ADS streams are added by the operating system, when properties and metadata are aadded by the user or when files are downloaded through Internet Explorer. To highlight and hunt down all wrong extensions and/or all ADS would typically be a waste of time. Unless you filtered them intelligently, like a search for all files that the user recently downloaded from the Web.

_________________
Rob Zirnstein
President
Forensic Innovations, Inc.
www.ForensicInnovations.com
Rob.Zirnstein @ ForensicInnovations.com
Back to top
View user's profile Send e-mail Visit poster's website
keydet89
Senior Member


Joined: Oct 19, 2004
Posts: 2378
Location: NoVA

PostPosted: Thu Dec 03, 2009 9:23 am    Post subject: Re: Searching for Alternate Data Streams Reply with quote

ForensicRob wrote:

I'm not sure I see the point in highlighting them. They are about as common as files with wrong file extensions. Most are not maliciously created. So many files in a Windows installation have creative file extensions that don't exactly match what they are. Most ADS streams are added by the operating system, when properties and metadata are aadded by the user or when files are downloaded through Internet Explorer. To highlight and hunt down all wrong extensions and/or all ADS would typically be a waste of time. Unless you filtered them intelligently, like a search for all files that the user recently downloaded from the Web.

I agree that in most cases, ADS are not maliciously created, and I'm aware of a number of file types and applications that create or utilize ADSs.

Can you describe instances in which the operating system adds ADSs? I ask only because I'm not familiar with this, and having written on ADSs for...wow...almost 10 yrs now, I'm curious to see something new in this area.

Thanks.
Back to top
View user's profile Visit poster's website AIM Address
Rich2005
Senior Member


Joined: Dec 12, 2006
Posts: 191
Location: UK

PostPosted: Thu Dec 03, 2009 10:33 am    Post subject: Re: Searching for Alternate Data Streams Reply with quote

Can't/doesn't XP add a stream called encryptable to its thumbs.db's?
Then there's the favicon stream for url's. (although whether thats IE and not considered part of the OS i haven't looked into)
The zone identifier stream when you download files?
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum Index -> General Discussion All times are GMT - 6 Hours
Go to page 1, 2  Next
Page 1 of 2


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Use of this website signifies your agreement to the Terms of Use/Privacy Policy available here.

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2010 Forensic Focus


Interactive software released under GNU GPL, Code Credits, Privacy Policy
.: fisubsilver shadow phpbb2 style by Daz :: CPG-Nuke port by norseman :: ported to CPG-Dragonfly by jamin :.