Ethical Hacking Training at InfoSec Institute

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Computer Forensics Computer-Forensics
[Top] [All Lists]

Search Registry files offline

Subject: Search Registry files offline
Date: Mon, 12 Sep 2005 04:02:05 -0700 (PDT)
All,

I've released a Perl script that performs parsing of
raw Registry 
files.  The script doesn't use any MS API calls...it
opens the file in 
binary mode, and parses through the Registry a byte
(well, actually...two to 
four bytes, depending on where you are in the code) at
a time.

The code has been updated since I first released it,
as I felt that I 
needed to clean up the code, make it more modular,
document it a little 
better, and add small tweaks like automagically
translating the 
UserAssist key value names (ie, the ones that are
ROT-13 "encrypted").

The code is available here:
http://www.windows-ir.com/regparse.zip

The archive also contains a JPG image of a PPT slide
that I put 
together.  I felt that once I had the basic code
working, it would be easier 
for me to understand what I'd learned about the
Registry structure if I 
had a picture.  There's no explanation associated with
the image, but I 
can provide one if there's enough interest.

The code provides the basis for other scripts, one of
which I'm close 
to completing.  Rather than parsing completely through
the entire raw, 
binary Registry file, the investigator may be
interested in only certain 
values or keys...so I'm putting together a script that
will allow her 
to do just that.

The script was written in Perl on Windows, and has had
admittedly 
limited testing, though with great success.  It does a
great job at parsing 
the NTUSER.DAT, system32\config\SYSTEM, and
system32\config\SOFTWARE 
files (though SOFTWARE will take a few minutes due to
the number of 
CLASSES subkeys).

Thanks,

H. Carvey
"Windows Forensics and Incident Recovery"
http://www.windows-ir.com
http://windowsir.blogspot.com


<Prev in Thread] Current Thread [Next in Thread>
  • Search Registry files offline, Harlan Carvey <=