Improve company productivity with a Business Account.Sign Up

x
?
Solved

I would like to create a forensic script for windows

Posted on 2011-02-11
2
Medium Priority
?
521 Views
Last Modified: 2012-11-09
Hi,

I am trying to create two forensic scripts, one for physical access to the machine, but the more important one is a network based script. FYI have admin rights to the computers on the network. I would like this to be more of a helping  situation and not just here is the answer.

I have found this article from IronGeek that gives certain locations in windows that should contain relevant information, but can't find the folders or reg keys he mentions:
http://www.irongeek.com/i.php?page=security/windows-forensics-registry-and-file-system-spots

Here is a brief description of the script i want to write:
input for users username
input for hostname
Menu asking if the machine is windows 7,XP
Menu asking what to pull, such as Web, recent files, ALL, etc...

From there I would want the script to collect the data and then map a drive and transfer it to my machine and delete the files created on the users machine.


If you know of any good spots in windows 7 or XP(more XP since we are currently 99% XP but will be moving to 7 soon) please let me know where to get the information and what it pertains to.

Thank you everybody for your help.
0
Comment
Question by:m_travis
2 Comments
 
LVL 5

Assisted Solution

by:ChopOMatic
ChopOMatic earned 800 total points
ID: 34875745
http://accessdata.com/technical

I would in particular recommend the Registry QuickFind charts on that page.
0
 
LVL 66

Accepted Solution

by:
btan earned 1200 total points
ID: 34877452
may want to check out Regripper, the extensibility comes from perl plugin that can be loaded into the engine to perform the desired tasks. There are already some ready script. However, it works off with Hives files extracted from targeted machine. More of offline analysis though

@ http://www.pentestit.com/2009/06/30/regripper-windows-registry-data-extrator-corelator/
@ http://regripper.net/?page_id=150

This reference would be useful read as well to understand the various Hives
@ http://eptuners.com/forensics/A%20Windows%20Registry%20Quick%20Reference.pdf

But since most of the task is Windows based, the script may be in term of WMI (mostly vbs) or Powershell instead. You can get WMI Administrative Tools
download from Microsoft. There are good tutorial on the scripting as well e.g.

a) looking for machine OS - see OSInfo Function
b) looking for hostname - see SysInfo Function

Powershell Tutorial @ http://www.powershellpro.com/powershell-tutorial-introduction/powershell-scripting-with-wmi/
WMI VBS Sample @ http://msdn.microsoft.com/en-us/library/aa394585%28v=vs.85%29.aspx
Tools @ http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6430f853-1120-48db-8cc5-f2abdc3ed314&DisplayLang=en&pf=true

But for retrieval of history of web browser, I will suggest looking at NirSoft offering (they may not be scripts but more of commandline based though, I supposed not all)
@ http://www.nirsoft.net/computer_forensic_software.html
@ http://www.nirsoft.net/system_tools.html

0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

606 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question