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 48 guests and 1 member online
EH-Net News Feeds
Latest Additions
 
Advertisement

You are here: Home arrow Forum arrow Ethical Hacking Discussions and Related Certificationsarrow Forensicsarrow Helix and Cygwin
EH-Net
May 25, 2012, 09:31:25 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: Helix and Cygwin  (Read 8507 times)
0 Members and 1 Guest are viewing this topic.
jimbob
Guest
« on: September 22, 2009, 04:29:31 AM »

Hi all,
I noticed some interesting behaviour when playing with Helix recently. It ships with a number of cygwin tools including netcat for gathering evidence and sending it to remote systems. I started a netcat listener on my local PC and tried using Helix to capture evidence from the same PC using IRCR. Status: FAIL. Cause: the cygwin DLL loaded into memory by my bash shell and netcat listener clashed with the one on Helix so the script would not run sucessfully.

It strikes me that loading a copy of the cygwin DLL into memory can effectively break some forensics tools and could even subvert them to alter the results. Loading a poisoned cygwin DLL could  be an effective anti-forensic technique if cygwin tools are used. This is also worth knowing if you plan to use Helix or similar tools to do live examination on Windows.

Jimbob
Logged
Ketchup
Hero Member
*****
Offline Offline

Posts: 1006



View Profile
« Reply #1 on: September 22, 2009, 07:22:34 AM »

Thanks jimbob.  I hadn't seen that behavior before.  I have had issues with RAM acquisition and just general compatibility issues with certain machines.   Which version of Helix did you run your test on?
Logged

~~~~~~~~~~~~~~
Ketchup
jimbob
Guest
« Reply #2 on: September 22, 2009, 08:06:42 AM »

I first noticed this running a locally-installed cygwin netcat listener (latest and greatest) on my laptop and then running IR\IRCR-NC.bat script on Helix. A simple way to reproduce this is to start a cygwin bash shell and then run one of the tools from IR\Cygwin on the Helix CD. You should see errors like this:

Quote
      9 [main] ? (6104) e:\IR\Cygwin\nc.exe: *** fatal error - system shared memory version mismatch detected - 0x8A88009C/0x2D1E009C.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.

Pretty self explanatory.

Jimbob
Logged
Ketchup
Hero Member
*****
Offline Offline

Posts: 1006



View Profile
« Reply #3 on: September 22, 2009, 10:50:38 AM »

Jombob, that looks interesting.   I will have to try this out.   I am reading the error message as an issue with the version of the cygwin1.dll as well as it's location.   I am guessing that if the versions on the Helix disc and your laptop match, it will take care of the error, but it's only a guess.
Logged

~~~~~~~~~~~~~~
Ketchup
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.176 seconds with 23 queries.
 

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

els_130x200fixed2.gif
eLearnSecurity Student Course Now Live!
5% Off with Code
ELS-EH-5

SANS Deals 4 EH-Netters
$150 OFF Any SANS Course in Any Format!
Coupon Code: EHN_Connect Including SANS Security West 2012 & SANSFIRE 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.