Jump to content
Nytro

Recycle Bin Forensics

Recommended Posts

Posted

Recycle Bin Forensics

An icon on the Windows desktop represents a directory in which deleted files are temporarily stored. This enables you to retrieve files that you may have accidentally deleted. From time to time, you’ll want to purge the recycle bin to free up space on your hard disk. You can also configure Windows so that it doesn’t use the recycle bin at all, but then you won’t be able to retrieve accidentally deleted files.

When a file is deleted in the Microsoft Windows operating system, it doesn’t delete it permanently; it is stored in the recycle bin. If a user wants to restore the deleted file from the recycle bin, it can be done. If the user holds the shift key at the time of deleting a file, then the file will be deleted permanently without being stored in the recycle bin. In this case, the file is moved to a hidden, system folder where it is renamed and stored until further instructions are given as to what is to happen to the file.

From the forensic point of view, the recycle bin is a gold mine for gathering evidence, clues, etc. By analyzing the recycle bin, we can recover useful data.

To understand how the information files are structured and how the naming convention works, there must first be an understanding of how the recycle bin works. When a user “deletes” a file in Windows, the file itself is not actually deleted. The file at this point is copied into the recycle bin’s system folder, where it is held until the user gives further instructions on what to do with the file. This location varies, depending on the version of Windows the user is running. The table below shows locations from both past versions of Windows as well as Windows Vista.

021014_1652_RecycleBinF1.png

Here we will see how to analyze the INFO2 file for the Windows XP operating system. First check out the Recycler folder on C drive. The Recycler folder is a hidden directory, so we have to make some changes in the folder options to view that directory.

021014_1652_RecycleBinF2.png

Open “Folder Options,” then select “Show hidden files and folders” under the “Hidden files and folders” section. Uncheck “Hide protected operating system files” and you are done.

Once the changes have been made, browse the C drive and you can see the Recycler folder clearly.

021014_1652_RecycleBinF3.png

Inside the Recycler folder, there’ll be a another folder with a name like “S-1-5-21-1078081533-1957994488-1343024091-1003? or similar. This will be generated for every separate user. In our case, we have only one user in this system; that’s why we have only one.

021014_1652_RecycleBinF4.png

Now navigate to this directory via the command prompt and type dir /a to view all files and folders. In the below figure we can see there is an INFO2 file.

021014_1652_RecycleBinF5.png

Just extract that file to the different location. We can’t normally open that file, so we will use a tool called Rifiuti.

Rifiuti is a recycle bin forensic analysis tool. Rifiuti, the Italian word meaning “trash,” was developed to examine the contents of the INFO2 file in the recycle bin.

Next put the INFO2 file inside the Rifiuti folder and run rifiuti.exe via the command prompt.

021014_1652_RecycleBinF6.png

We can see the Rifiuti usage command after running the rifiuti.exe. Now type in rifiuti.exe INFO2 >result.txt

021014_1652_RecycleBinF7.png

After running the command, the program will create a result.txt file in the rifuiti folder.

021014_1652_RecycleBinF8.png

Open the result.txt file.

021014_1652_RecycleBinF9.png

Now we can clearly see the details of every files. The deleted time of the file, from which drive it was deleted, the drive number and the file size.

References:

McAfee—Antivirus, Encryption, Firewall, Email Security, Web Security, Risk & Compliancedownloads/free-tools/rifiuti.aspx

What is INFO2 File Hidden in Recycled or Recycler Folder? • Raymond.CC

By Rohit Shaw|February 12th, 2014

Sursa: Recycle Bin Forensics - InfoSec Institute

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...