Saturday, 29 May 2010

Hardening your USB Drive


Assalam...
Last time, the admin posted an article of "Defend your drives from AUTORUN.INF malware" and it is recommended that you read that article first before you proceed to the next paragrapgh...
This article may be a continuous article from the article mentioned in the previous paragraph but it is actually more into "hardening" to "protecting". The following steps require you to use any Linux-based Operating System. The reason is that, Windows OS will NOT allowing you to do this kind of activity hahaha *obviously*. In this tutorial, I will use my favorite Ubuntu (Karmic Koala) OS.

After you have created the "autorun.inf" folder based from the previous "Defend your drives from AUTORUN.INF malware" article, go inside the folder and then
  1. create a folder named "con" and
  2. create a file named "desktop.ini"

Using a text editor (gedit in Ubuntu), simply type in the following parameters inside the "desktop.ini" file:

Or copy and paste it from here...
[.ShellClassInfo]
CLSID={2559a1f2-21d7-11d4-bdaf-00c04f60b9f0}
Save the "desktop.ini" file and close the text editor. Next, go inside the "con" folder and then create a folder name "aux".

Inside the "aux" folder, create another folder named "nul. ", followed by your favourite words with "dot" in within the words. For example, I named the folder as "nul. Bwua.huhwu.hauhwa". Now you are done =) hehe

Oh... Lupa gitau... If you want to create a folder in Ubuntu OS, right click on the blank spaces inside the window and click on "Create Folder"...

Cabut USB drive biskita and pacak arah any Windows OS-based computer... I used my Windows XP to examine the result... As you can see, the folder's icon has been changed to "kunci manga" and try to click on it and see what will happen... The answer is, "nothing" will happen hahahaha... I haven't try this technique on Windows Vista or Windows 7... Let us see if someone actually can access the file from Windows OS other than Windows XP else it would be still prone to autorun.inf malware (malicious software) attack...

Hopefully that would give benificial to all of us and help you to minimise your USB drive especiallypengdrive from being infected by other machines...

Sekian, sampai jumpa lagi~

Wassalam.