Showing posts with label Wireless. Show all posts
Showing posts with label Wireless. Show all posts

Friday, March 2, 2012

To Hide Windows 7 Wireless Network Security Key


The way is to find the key in the registry where you can unlock the viewing of the WIFI Key.

For that, you have to find a Key where the value is "CElevateWlanUi"

In my case, it was in HKEY_CLASSES_ROOT\Appid\{86F80216-5DD6-4F43-953B-35EF40A35AEE}.
Under this key you have 3 values :
The first one (default) with the value "CElevateWlanUi"
The second one AccessPermission of type Reg_Binary with a binary value (does'nt matter to understand what it means)
The third one is called DllSurrogate with a null value.

The way I solved the problem is to setup the authorizations of the main Key {86F80216-5DD6-4F43-953B-35EF40A35AEE} by a right-click, then "autorizations".
After you have to take possession of this key.
I setup the owner as our domain administrator.
For that click on the the button "Advanced" then on the tab "owner" and replace TrustedInstaller by the administrator of my domain.
Then, I came back to the main panel of authorizations of the main key.
I deleted the entry LAP505\administrators and the entry LAP505\domain users, and added the entry for my domain administrator with all rights. (LAP505 is the computer name)
I applied all the modifications.
I repeated the operation for the second occurence of the key :
HKEY_LOCAL_MACHINE\Software\classid\Appid\{86F80216-5DD6-4F43-953B-35EF40A35AEE}

And when I logged on with a user with local admin privileges, I could connect to WIFI network, I could access to the network center but I could'nt unmark the "Hide caracters". It works!

Second point : As my users want also to connect their laptop at home on their box, I checked the possibility to add a WIFI connection and it worked also! The only restriction is that they can't see the key once it is entered (for modification, they have to delete the connection a re-create it.
I hope it will help you!"

Sunday, February 28, 2010

How to Crack a Wi-Fi Network's WEP Password with BackTrack

What You'll Need

Here's what you'll need:

  • A compatible wireless adapter—This is the biggest requirement. You'll need a wireless adapter that's capable of packet injection, and chances are the one in your computer is not. Ex. Alfa AWUS050NH USB adapter, Alfa AWUS036H, not the US050NH, instead. There are plenty of resources on getting aircrack-compatible adapters out there.
  • A BackTrack 3 Live CD. We already took you on a full screenshot tour of how to install and use BackTrack 3, the Linux Live CD that lets you do all sorts of security testing and tasks. Download yourself a copy of the CD and burn it, or load it up in VMware to get started. (I tried the BackTrack 4 pre-release, and it didn't work as well as BT3. Do yourself a favor and stick with BackTrack 3 for now.)
  • A nearby WEP-enabled Wi-Fi network. The signal should be strong and ideally people are using it, connecting and disconnecting their devices from it. The more use it gets while you collect the data you need to run your crack, the better your chances of success.
  • Patience with the command line. This is an ten-step process that requires typing in long, arcane commands and waiting around for your Wi-Fi card to collect data in order to crack the password. Like the doctor said to the short person, be a little patient.

Crack That WEP

To crack WEP, you'll need to launch Konsole, BackTrack's built-in command line. It's right there on the taskbar in the lower left corner, second button to the right. Now, the commands.

First run the following to get a list of your network interfaces:

airmon-ng

The only one I've got there is labeled ra0. Yours may be different; take note of the label and write it down. From here on in, substitute it in everywhere a command includes (interface).

Now, run the following four commands. See the output that I got for them in the screenshot below.


airmon-ng stop (interface)
ifconfig (interface) down
macchanger --mac 00:11:22:33:44:55 (interface)
airmon-ng start (interface)

If you don't get the same results from these commands as pictured here, most likely your network adapter won't work with this particular crack. If you do, you've successfully "faked" a new MAC address on your network interface, 00:11:22:33:44:55.

Now it's time to pick your network. Run:

airodump-ng (interface)

To see a list of wireless networks around you. When you see the one you want, hit Ctrl+C to stop the list. Highlight the row pertaining to the network of interest, and take note of two things: its BSSID and its channel (in the column labeled CH), as pictured below. Obviously the network you want to crack should have WEP encryption (in the ENC) column, not WPA or anything else.

Like I said, hit Ctrl+C to stop this listing. (I had to do this once or twice to find the network I was looking for.) Once you've got it, highlight the BSSID and copy it to your clipboard for reuse in the upcoming commands.

Now we're going to watch what's going on with that network you chose and capture that information to a file. Run:

airodump-ng -c (channel) -w (file name) --bssid (bssid) (interface)

Where (channel) is your network's channel, and (bssid) is the BSSID you just copied to clipboard. You can use the Shift+Insert key combination to paste it into the command. Enter anything descriptive for (file name). I chose "yoyo," which is the network's name I'm cracking.



You'll get output like what's in the window in the background pictured below. Leave that one be. Open a new Konsole window in the foreground, and enter this command:

aireplay-ng -1 0 -a (bssid) -h 00:11:22:33:44:55 -e (essid) (interface)

Here the ESSID is the access point's SSID name, which in my case is yoyo. What you want to get after this command is the reassuring "Association successful" message with that smiley face.

You're almost there. Now it's time for:

aireplay-ng -3 -b (bssid) -h 00:11:22:33:44:55 (interface)

Here we're creating router traffic to capture more throughput faster to speed up our crack. After a few minutes, that front window will start going crazy with read/write packets. (Also, I was unable to surf the web with the yoyo network on a separate computer while this was going on.) Here's the part where you might have to grab yourself a cup of coffee or take a walk. Basically you want to wait until enough data has been collected to run your crack. Watch the number in the "#Data" column—you want it to go above 10,000. (Pictured below it's only at 854.)

Depending on the power of your network (mine is inexplicably low at -32 in that screenshot, even though the yoyo AP was in the same room as my adapter), this process could take some time. Wait until that #Data goes over 10k, though—because the crack won't work if it doesn't. In fact, you may need more than 10k, though that seems to be a working threshold for many.



Once you've collected enough data, it's the moment of truth. Launch a third Konsole window and run the following to crack that data you've collected:

aircrack-ng -b (bssid) (file name-01.cap)

Here the filename should be whatever you entered above for (file name). You can browse to your Home directory to see it; it's the one with .cap as the extension.

If you didn't get enough data, aircrack will fail and tell you to try again with more. If it succeeds, it will look like this:

The WEP key appears next to "KEY FOUND." Drop the colons and enter it to log onto the network.

Wednesday, November 25, 2009

Set up a wireless network

Choose your wireless equipment

The first step to setting up a wireless network is to make sure you have the equipment you need. You'll need at least two network components: a wireless router and a wireless network adapter.

If you're buying a new router, look for one with the Windows logo. This ensures that the router will work reliably in Windows XP, and if you decide to upgrade, it will work in Windows Vista and Windows 7 as well. Networking in Windows 7 has been simplified and improved. To learn more, see Windows 7 features.

•

Wireless router. Converts the signals coming across your Internet connection into a wireless broadcast, sort of like a cordless phone base station. Be sure you get a wireless router and not a wireless access point. For more information about choosing a wireless router, read Choosing the type of network to install.

A typical wireless router

•

Wireless network adapter. Connects your computer to your wireless router. If you have a newer portable computer, you might already have wireless capabilities built in. To find out if you have wireless networking built in, and for more information about buying and installing a network adapter, read Install a wireless network adapter. Make sure you have an adapter for every computer on your network.

A wireless network adapter connected to a desktop computerA wireless network adapter card inserted into a laptop

You can also connect your digital video recorder (DVR) or media extender to your wireless network. If the device has a wired network connection, use a wireless game adapter for a single device or a wireless bridge to connect multiple devices. Wireless game adapters aren't just for games—they'll work with anything that has a wired network port. For information about connecting game consoles to your network, read Connect an Xbox or Xbox 360 to your network.

Connect your wireless router

1.

Before you go any further, print these instructions. You'll be temporarily disconnected from the Internet, so while you're doing the installation, you won't be able to get to this page to refer to the instructions.

2.

Locate your cable modem or DSL modem, and unplug it from its port to turn it off.

•

If you connect your modem to the wall in a similar way that you connect your TV to your cable television outlet, you probably have a cable modem, and it probably has a coaxial cable connected to it (like the round black or white cable you plug into your TV).

•

If you connect your modem through the phone lines, you probably have a DSL modem, and it probably has a phone cable connected to it.

3.

If you currently use a dial-up connection to connect to the Internet, set up your wireless network using ad hoc Internet sharing.

4.

Connect your wireless router to your modem. Your modem should stay connected directly to the Internet. Later, after you've hooked everything up, your computer will wirelessly connect to your router, and the router will send communications through your modem to the Internet.

Diagram showing the use of a modem and a wireless router to connect a laptop and a desktop computer to the Internet

To connect your router to your modem:

•

If you currently have a computer connected directly to your modem: Unplug the network cable from the back of your computer, and plug it into the port labeled Internet,WAN, or WLAN on the back of your router.

•

If you don't currently have a computer connected to the Internet: Plug one end of a network cable (included with your router) into your modem, and the other end of the network cable into the Internet, WAN, or WLAN port on your wireless router.

Inserting network cable into modemInserting network cable into router

5.

Plug in your router. After a minute or two, the Internet, WAN, or WLAN light on your router should light up, indicating that it has successfully connected to your modem.

Status indicator lights on router

Configure your wireless router

There are two ways to configure your wireless router: using Windows Connect Now and manually.

•

If your router supports Windows Connect Now, you don't need to continue reading this article. You can configure your wireless router and Windows XP computers quickly and easily by following the instructions in Using Windows Connect Now technology.

•

If you don't have a router that supports Windows Connect Now, you need to manually configure your router:

1.

Using the network cable that came with your wireless router, temporarily connect your computer to one of the wired network ports on your wireless router (any port that isnt labeled Internet, WAN, or WLAN).

2.

Turn your computer on; it will automatically connect to your router.

Inserting network cable into routerInserting network cable into computer

3.

Open Microsoft Internet Explorer and type in the address to configure your router, as described in your router's instruction manual.

Internet Explorer address bar

4.

Create a password if a prompt appears. The address and password you use will vary depending on what type of router you have, so refer to the instructions included with your router.

Password prompt

Tip

Tip: As a quick reference, this table shows the default addresses, user names, and passwords for some common router manufacturers.

RouterAddressUsernamePassword

3Com

http://192.168.1.1

admin

Admin

D-Link

http://192.168.0.1

admin

(leave blank)

Linksys

http://192.168.1.1

admin

Admin

Netgear

http://192.168.0.1

admin

password

5.

Internet Explorer will show your router's configuration page. Most of the default settings should be fine, but you should configure three items:

•

Set your wireless network name (known as the SSID) to something unique that does not identify your name or address.

•

Enable Wi-Fi Protected Access 2 (WPA2) encryption to help prevent uninvited guests from connecting to your wireless network.

Note: We don't recommend using WEP. WPA-2 is more secure. If you try WPA-2 and it doesn’t work, we recommend that you upgrade your network adapter to one that works with WPA-2.

•

Set your administrative password to prevent others from configuring your router.

The exact steps you follow will vary depending on the type of router you have. After each configuration setting (SSID, WEP, and administrative password), be sure you click Save Settings, Apply, or OK to save your changes.

Note: The pictures in this section show Linksys wireless equipment. Equipment from other manufacturers will vary in appearance. For example, to save your settings in Linksys, you click Save Settings. Other equipment may have a different display, and you may have to click Apply or OK.

SSID or naming your network

A service set identifier, or SSID, identifies your network. Choose a unique name that you're confident none of your neighbors will use, but don't specify your name or your address. This is not a security tool, so you don't need to make the SSID complex.

Wireless router Basic Wireless Settings page, including SSID information

Protecting your wireless network

Help prevent uninvited guests from connecting to your wireless network. To learn how, read Implement WPA2-Personal wireless security on a Windows XP SP2-based computer.

Administrative password

The last configuration change you should make is to the administrative password. Just like any other password, the administrative password should not be a word you can find in the dictionary, and it should be a combination of letters, numbers, and symbols. Be sure you can remember this password, because you'll need it if you ever have to change your router's settings.

Tip

Tip: Write down your passwords on a piece of paper and store them in your home safe if you have one. If you don't have a home safe, store your passwords with your other important family documents. If you think of your passwords as important documents, you'll always know where to find them.

Wireless router password page

Now that you have configured your wireless router, named your wireless network, protected it, and assigned an administrative password, you are ready for the last step:

•

Disconnect the network cable from your computer—you'll be able to connect wirelessly from now on.

Connect your computers and devices

If your computer does not have wireless network support built in, you can install a wired or a wireless network adapter. Windows XP will automatically detect the new adapter and might prompt you to insert the CD that came with it. The on-screen instructions will guide you through the configuration process.

Windows XP Service Pack 2 (SP2) is not required for wireless networking, but it does make setting one up much easier. SP2 also helps protect you against viruses, worms, and other Internet intruders. To install SP2, visit Microsoft Update. The steps below apply only if you're using SP2. Windows XP will show an icon with a notification that says it has found wireless networks.

Notification that a wireless network is detected

To connect your computer to your wireless network

1.

Right-click the wireless network icon in the lower right corner of your screen, and then click View Available Wireless Networks.

Wireless network shortcut menu with View Available Wireless Networks selected

Note: If you run into problems, consult the documentation that came with your network adapter. Don't hesitate to call the manufacturer's technical support number for help.

2.

The Wireless Network Connection window appears and displays your wireless network listed with the SSID you chose. If you don't see your network, click Refresh network list in the upper left corner. Click your network, and then click Connect in the lower right corner.

Choose a wireless network page in Wireless Network Connection window

3.

Windows XP prompts you to enter a key. Type the encryption key that you wrote down earlier in both the Network key and Confirm network key boxes, and then clickConnect.

Wireless Network Connection window network key page

4.

Windows XP will show its progress as it connects to your network. If the Wireless Network Connection window continues to show Acquiring Network Address, you may have mistyped the encryption key—click Cancel and return to step 3.

After you're connected, you can close the Wireless Network Connection window. Now you're ready to browse the Web wirelessly. You can also create a wireless network in your home that connects your computers, printers, cameras, games, and other accessories for easy access and enjoyment.