Question

Forensics

Asked by: buyer

OK, I get a call today about an employee who has been viewing porno during working hours. They wanted me to come down and get some evidence in case it went legal. The guy deleted most everything that he could (left a few log files around but for the most part deleted everything). At that point I broke out a copy of Hex Workshop, installed it, and proceeded to look for the deleted files. My question is 1: How do you go about looking for the deleted files? I think they are the ones with the .lnk extension but I could be wrong. The second quesion is: how do I restore these files? If there is a better hex editor out there (that is as easy to use, that is) then please let me know. I also dont care about the legal issues that are involved with this (I already know about that part), we just want the files. Thanks.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2002-11-19 at 10:49:54ID20402452
Topic

Windows Network Security

Participating Experts
9
Points
200
Comments
23

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Removing popup porno adds
    I made the mistake of clicking on an porno email, and now when ever I turn on my comp, I get the pop up porno adds. I have cleared history, temporary files, temp files, downloaded program files, and it will not stop. The popups will even appear when NOT on the internet, even ...
  2. legality of port scanning
    i was just wondering, as i have had my ports scanned a couple times recently (not that it does them any good, my router doesn't allow any info to go out for that sort of thing, and i have blackICE as well), but i wanted to know if this was technically legal or not. I know tha...
  3. Legal or not
    According to privacy law: it is legal to read staff's email by Boss at work place because Boss owns that computer and network. Is it still exits, or it applies according to countires rules and regultaion. Is it legal to track people what they are doing online?.

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: buyerPosted on 2002-11-19 at 11:17:45ID: 7470041

Oh yeah. The system is a Windows NT system with NTFS.

 

by: HousenetPosted on 2002-11-19 at 11:23:19ID: 7470059

Hello,
-Use an undelete utility..  Here is a list of several of them...

http://www.google.ca/search?q=NT+undelete+files&ie=UTF-8&oe=UTF-8&hl=en&meta=

File Rescue seems great because you get a 30day full functional copy to evaluate..

http://www.file-rescue.com/

 

by: MishouPosted on 2002-11-19 at 11:26:26ID: 7470072

Hello,

first I will try to make an image of that disk and do all the work on the copy that you created. Keep the original in pristine state as much as you can. Even a read of the files will change the last access time.

Then you need some tools that can read the data from disk no matter what's on the disk.
I can think of a program like GetDataBack ( www.runtime.org ) that can go through all the pointers in all the blocks on your disk and reconstitute all the links between them making the files to be ready for recovery.
So use something like this (I'm not saying that this is the only one but I used few times and is working fine) and look for all the files that you can recover from temp folder and cookies.

Also you might cross check the use of his computer and Internet connection in your proxy , In DHCP server .

I also sugest that in the future make a list (or use a proxy , or config your firewall) to block access to specific sites.
Not that this will deter the users to look for porn but it will make it harder for them and will expose less your company to this sort of things.

Mishou

 

by: buyerPosted on 2002-11-19 at 11:51:03ID: 7470154

The reason Im using Hex Workshop was because its free. The job Im at right now doesnt spend money on a lot of tools. That why I have to know how to do it with an editor. Hence the 2 questions above. All those look like good tools but unfortunatly I cant get the money. You know. I know you can do it from a hex editor because I sat through a forensics demo once. Probably should have stayed awake.

 

by: Mal-TechPosted on 2002-11-19 at 11:58:15ID: 7470189

I'm not sure if this is exactly what you need, but Restorer2000 has a free download version that recovers deleted files and is supoosed to be really easy to use.

http://www.bitmart.net/download.shtml

 

by: MishouPosted on 2002-11-19 at 12:05:24ID: 7470224

C'mon buyer GetDataBack is 130$ US.
The other tools mentioned By Housenet cost in the same range (some are free or offered as a trial full features for 14 days maybe). The company want to fire him and be covered from a legal point but doesn't buy a recovery tool ? 1 hours in legal fees cost more than that.

You can do it from the HexWorkshop but unless there is an option (or function on it ) you will have to go through all the block on the disks ,look at the link on each one were is pointing for the next data and so on.

Considering that based on this recovery work the guy will be fired and considering that it will take some time to recover few files I think that the company will end up paying for your time more than what was costing a software to do this.

If they want to be covered for legal actions then they should use a tool (or a recovery service) that can be held liable for what they found/delivered. You want to be held responsable for this ? I'm not advocating to not take responsabilty for your work but be sure that you know the implications.

Mishou

 

by: buyerPosted on 2002-11-19 at 12:38:20ID: 7470358

Yeah, if it comes down to it Ill use some of that "other" software but I still do want to know how to find the files using a hex editor and how to restore them.

 

by: tim_holmanPosted on 2002-11-20 at 05:45:37ID: 7473148

Take a mirror image of his disk as is, and store it somewhere safe.
I wouldn't bother doing anything else with it until any legal action / evidence is required.
You will also need to prove that he was actually using his PC at the time of the alleged offence - only 2 factor authentication would stand up in court (eg SecurID), but single factor (eg domain logon / password) is not sufficient to prove it was actually him using the PC at the time....
Undeletes are all very well, but the police forensics department would need a pristine disk.  Undeletes could be used against you, ie saying the disk had been tampered with by an administrator after the alleged offence, so in effect, a possibility of evidence planting...
All very interesting stuff - be extremely careful with the evidence and let the professionals do the job !

 

by: buyerPosted on 2002-11-20 at 08:49:10ID: 7474049

Thanks for the info. I do already know about all the legal issues though. All that Im concerned with is how to use a hex editor to find and restore the files.

 

by: dlenoxPosted on 2002-11-20 at 15:11:01ID: 7475832

Another option to consider is to do some real-time forensics and catch the person in the actual act. You can use a network traffic analyzer like Iris (www.eeye.com) or even Sniffer Pro to do this and have complete tracking of what happened on the network.

If you want to get real in-depth in terms of your forensics, you can get software called EnCase. Gov't agencies use it and it basically facilitates all the disk mirroring and forensics you'd need. However, it may be overkill (and pricey) for what you need.

Good luck!

Don Lenox, MCSE

 

by: SysExpertPosted on 2002-11-20 at 16:22:28ID: 7475998

I think that the Norton Utilities had a hex editor diskfix progam that made the work much easier, as it could identify FAT entries, direcories and files, and would let you piece them together.

 I hope this helps !

 

by: buyerPosted on 2002-11-21 at 05:33:42ID: 7478091

OK, again, thanks all for the information. I am very familar with Encase but like you said it is very pricy. I am also looking at the TCT and TASK tools. Anyway, my question again is, how do I look for deleted files  and restore them with a hex editor? Keep in mind that this is a NTFS drive.

 

by: buyerPosted on 2002-11-22 at 13:01:07ID: 7485376

Im also looking at a program WinHex that looks pretty good. Its along the same lines as HexWorkshop but it has tools for recovery. I talked to the powers that be and asked for a budget. I do have a couple hundered dollars to spend so is this tool worth it or are they anymore that are better and have more features? Thanks. If anyone can give me an answer on this (let me know what more the tool that you mention can do though) Ill give them the 200 points.

 

by: Ghost96Posted on 2002-11-22 at 23:33:16ID: 7486629

I posted this nice message for you and then the site had a login error on my account.  Lovely...

I have been down this road and successfully sent someone to prison for trying to steal my customer database and erasing his steps.

He obviously didn't cover his tracks well enough.

I used Lost and Found to get the data back (from Powerquest)

Gave it to the cops, and he was convicted.  

At any rate, there's a lot of utilities out there for this, and you can't use that one because of your NTFS situation.

I would check this one out:
http://winternals.com/products/repairandrecovery/filerestore.asp

I use it and it works great.  Only 40 bucks if you choose to buy it.  It tells you every file it sees, and then if you want to restore, you have to pay the price.  40 bucks is no big deal though.

I have recovered securely deleted files with this program.  Works great for me.  I can speak from first-hand experience on this stuff.

I still have to recover data from Windows 2000 servers and XP machines, etc.

I use the registered version of this and I rarely have a problem recovering what I need.

Get back to me on this if you need some direction what what to do or any follow-up questions.  I'd love to see how this works out for you.

When you start the install, you can do it on a separate PC and just copy the EXE file on a floppy to transfer to the PC you want to get the data back on.

Then when the screen loads, do this:

Search for files named *.*
Check the box that says Search for files in deleted directories.

Give it a go and you should see a whole lotta files come up.

I have done data recovery for a lot of people and can help you out with any problems you may have.

Just shoot me an update to see how you're doing on your problem here.

Thanx!

Ghost96

 

by: Ghost96Posted on 2002-11-22 at 23:42:55ID: 7486641

Also, don't worry about tampering with the disk or anything.

Using a utility to recover files, any officer of the law who knows anything about computers would see that the files being recovered were when the PC was in his posession.

Conviction is actualy very easy and loose on something like this.

You'd think it would have to be handled so careful and what-not, but it doesn't.

The disk is yours, and by recovering the data with old file dates and such, you can prove to a jury that the data came off that disk, and that the files could be recovered again.  His cookies would be there, as well as his temp internet files and the like.

It depends on how good you are with getting data back and linking the crime to the criminal.  I did it and it sure wasn't that hard.  

Remember, you have the power to convict him.  All he's got going for him (or her) is the hopes that you didn't find anything on the drive from what was deleted.

Looks like the ball's in your court with the advantage to the home team...it's easier for you to prove the files are there than for him to prove that he never looked at anything.

Ghost96

 

by: buyerPosted on 2002-11-25 at 06:08:42ID: 7493806

What do you mean "I cant use that one". Are you talking about WinHex. Maybe your thinking of another program but WinHex can be used on NTFS systems.

 

by: Ghost96Posted on 2002-11-25 at 06:38:43ID: 7493945

Sorry I confused you.  You cannot use PowerQuest's "Lost & Found" (like I did) to get data back from NTFS volumes.  I mentioned it a couple lines on top of that comment.

WinHex works on every version of Windows - I totally agree it will support NTFS volumes  My comment was simply that there were plenty of better tools out there than that to perform the overall goal of your investigation.

Ghost96

 

by: ViRoyPosted on 2002-11-29 at 16:10:15ID: 7513135



i hope you guys are logging your access through the server(s) and firewall(s)... otherwise your never gonna be able to hold anyone accountable for illegal web/network activity without solid evidence.
with those logs you should be able to easily trace all network access to a user id.

windows clients keep history of recently viewed pictures, webpages and documents in the registry i believe under the 'RecentRun' key in HKEY-Current-Users.

also, maybe he is unsubscribing from porn spam in email?
i have had the firewall generate alerts from myself doing this, to unsubscribe most will need you to goto the 'unsubscribe' portion of the porn page.

------------------

i do know how to use hex workshop to view deleted information. not very easy or the reccomended thing to do.


im not sure how familiar you are with how FAT works, but a hard disk is basically like a sandy beach... you can put anything you want anywhere on this beach, then we create a index of the exact location of every item on this beach. this index is the FAT.

like i say there are 2 copies of this index... now if you choose to remove something from this beach, what happens is we remove the location of this item from the index ONLY.
so it is actually still on the beach, theres just no real way of knowing where it really is! so you will have to walk over every spot on the entire beach looking for this particular item.

you can use hex workshop to view the entire contents of the partition, look in the binary conversion window and you will see the ascii names of everything on the drive including 8.3 filenames...

now since the location of a file was removed from the FAT, nothing is holding the computer from writing new data to that spot on the hard drive. which means it can be overwritten and permanently lost. a defrag would definatley scramble the contents of the drive making deleted files incomplete or just plain impossible to determine.

there are 2 copies of the FAT table, only one is used, the other is for redundancy and does not delete old file entries, it will however append new files to the 2nd FAT overwriting the file in that specific location on the hard disk..


i would look for a program that compares FAT tables to the actual drive data. sorry i do not have any specific programs to reccomend as ive never actually had to go any farther than using a 'undelete' program.

either way i would track network access through a username, that person in court could claim that since he is not at that computer 24/7 it is possible that someone else used the computer to view porn. for instance, just cause you are caught in posession of stolen property, dosent mean you can be convicted of 'possesion of stolen property' unless you admit you accepted the property knowing it was stolen...

if you were to say "we have detailed logs proving that your userid, logged onto your designated work machine during regular business hours did infact viewed explicit images that are against company policy."  you can trap him.
it HAS to be him, how else could someone log on as him unless he gave his password away wich im sure is also against company policy... and you can track it to which computer he logged in on.
 
hope ive been informative :)
good luck

 

by: buyerPosted on 2002-12-02 at 07:12:45ID: 7520381

Ghost96, what are some of the tools that are better than WinHex that you mentioned?

I do know how FAT works but we were talking about NTFS. Thanks.

 

by: Ghost96Posted on 2002-12-02 at 11:26:13ID: 7521604

I have used the filerecover from Winternals.

And...

Recover4All Professional:
http://www.recover4all.com/

Forensic Utility Suite:
http://www.lc-tech.co.uk/forensicsuite.htm

There's more, but these 2 are what I normally start out with and I never have much of a reason to use more than this.

These are nice because the are stand-alone .exe files that you can use to scan your system with.

I use them hand-in-hand with each other.

If one doesn't find something, the other normally does.

Ghost96

 

by: bcastaldoPosted on 2002-12-11 at 05:46:47ID: 7565797

if you are using some form of a proxy server you should easily be able to see where he has been

 

by: buyerPosted on 2002-12-11 at 06:17:38ID: 7565989

Sorry it took so long for me to accept but it was hard to get an answer out of anyone. Plus the Holidays and all. Thanks and Merry Christmas.

 

by: bcastaldoPosted on 2002-12-11 at 10:29:55ID: 7567533

if you are using some form of a proxy server you should easily be able to see where he has been

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...