Windows Hacking Tricks
How to Secure your Wireless (Wifi) Network
0Change Router Password
open a Web browser and type “http://192.168.1.1” in the Web browser’s address bar, press “Enter,” then type in the username and password for the router’s control panel (the default is “admin” for both the username and password).
Click the “Maintenance” tab, then change Password

Change the Default SSID
An SSID is a 32-character alphanumeric key uniquely identifying a wireless LAN. Its refers to the name of your wireless connection, that you see on the “Available Wireless Connections” list from your laptop while connecting
Click on Interface Setup -> wireless settings -> Change the “Wireless Network Name (SSID)”

Disable SSID broadcast
Click on Interface Setup -> wireless settings -> Broadcast ssid Select no or Disable

Enable MAC filtering
Without MAC address filtering, any wireless client can join Wi-Fi network if they know the network name (also called the SSID) and perhaps a few other security parameters like encryption keys. When MAC address filtering is enabled users are granted or denied access to the WLAN network based on the MAC address of the client they use
Click on Wireless -> Wireless MAC Address filter -> Click on Activated radio Button

Enable Encryption
WEP (Wired Equivalent Protection) 64-bit and 128-bit: WEP is an old wireless encryption standard. Never use WEP encryption, which can be hacked within seconds.
WPA (Wi-Fi Protected Access): WPA-PSK is also refered as WPA-Personal. This is a new version of wireless encryption standard and more secure than WEP. Most of the wireless adapters on your laptop will support WPA.
WPA2: This is the latest wireless encryption standard that provides the best encryption. Always use WPA2, if both your wireless router and laptop wireless adapter supports it.
Click on Interface Setup -> wireless settings -> ChangeAuthentication Type” drop-down menu, select Authentication Type

Find who is Connected to your Network
Google+Wireless Wi-Fi Hacking Commands in Windows 7
3How to Detect list of available Wireless Networks
Click Start, click Run, type cmd, and then click OK, to open a command prompt.
At the command prompt, type
|
netsh wlan show networks mode=bssid |
How to Connects to a Wireless Network
| netsh wlan connect name=MTNL |
Replace MTNL with your own profile name

How to disconnect to a Wireless Network
| netsh wlan disconnect |

How to show available Wireless Network profiles your PC
| netsh wlan show profile |

How to Saves wlan profiles as XML files to the specified location
| netsh wlan export profile name=MTNL |

How to Block a Wireless Connection
|
netsh wlan add filter permission=block ssid=netgear networktype=infrastructure |

If you want to block this computer from accessing all wireless network use denyall option in the command.
| netsh wlan add filter permission=denyall networktype=adhoc |
How to show the blocked network
| netsh wlan show blockednetworks |

How to show the installed Wireless drivers
| netsh wlan show drivers |

How to Install BeEF in Windows PC
11BeEF is short for The Browser Exploitation Framework. It is a penetration testing tool that focuses on the web browser. BeEF is pioneering techniques that provide the experienced penetration tester with practical client side attack vectors. Unlike other security frameworks, BeEF focuses on leveraging browser vulnerabilities to assess the security posture of a target. This project is developed solely for lawful research and penetration testing.
First download ruby for windows from here
Install it in C: folder and make sure you select all the options. So Ruby is installed now.

After installing Ruby, you need to download the SQLite dll from here
Now extract the SQLite zip file on the Ruby193bin folder:

Now you need to download the ‘DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe’ from here
Now extract the DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe’ file on the C: folder
Open cmd prompt and go to ‘Devkit’ path and we need to run “ruby dk.rb init

Now we need to run “ruby dk.rb install’

Now a few other steps: - ruby dk.rb review (checks things are ok) –
gem install rdiscount –platform=ruby (you should see the message “Temporarily enhancing PATH to include DevKit…”)

Now you need to download the ‘BeEF Project from here
Now open the BeEF file ‘beefproject-beef-beef-0.4.3.7-0-g69c59bb’ and extract the files to C:beef
Open cmd prompt go to the BeEF path and type the following:
ruby install
Now type the below commands one by one
gem install bundler
bundle install
(You will see something similar to this)

Now Type “ruby beef” to start beef.
Of course you will need your Windows Firewall to allow that application


BeEF is installed successfully. Now go to http://127.0.0.1:3000/ui/panel and check if it is available
http://192.168.1.2:3000/ui/panel (beef is the user name and password)

Send the link http://192.168.1.2:3000/demos/basic.html to the victim via chat or email or any social engineering technique to the victim.

How to Install Windows 7 from USB Drive
0Go to Start menu > All programs > Accessories, right click on Command Prompt and select Run as administrator

Now type diskpart and press Enter
Next type Lis Disk command and note down the Disk number of your USB flash drive. Select disk 1

Now you can use following commands step by step
clean
create partition primary
select partition 1
active
format fs=ntfs
assign
exit

Now insert your Windows7/Windows 8 DVD in your CD/DVD drive and check the drive letter of the DVD drive and note down the “drive letter” of your DVD drive. In my case, it is “j:” Now type the following list of commands as shown below:
J: cd boot (Where “j” is my DVD drive letter).
cd boot
bootsect.exe /nt60 h: (Where “h” is my USB drive letter)
exit

Copy your Windows 7 DVD contents to the USB flash drive.
Your USB drive is ready to boot and install Windows 7.
Google+