Generate Wep Key Through Password

xv920
join:2002-08-27
San Jose, CA

2004-Jun-19 7:57 pm

generate WEP key from passphrase

I'm looking for a wep key generator that can generate
a wep key from a passphrase - the same one - everytime
as long as the passphrase remains the same.
I tried Ben Braly's generator but it changes the key
everytime despite of using the same passphrase.
I just bought a laptop computer with an embedded G device
for which you must enter the wep key yourself, instead of
entering a passphrase and let it generate one for you.
I have been successfully using a wireless network with
one access point and two clients for last two years now
and all devices are configured with a passphrase thus
the key is automatically generated. The thing is you can
not see the generated key digits anywhere. They are all
masked by *. Now I have to enter these digits directly.
I know the passphrase. All I need is a key generator.
Thanks.

inmuck
Idiot In The East
Premium Member
join:2003-01-29
Raleigh, NC

2004-Jun-20 12:16 pm

said by xv920:I'm looking for a wep key generator that can generate a wep key from a passphrase - the same one - everytime as long as the passphrase remains the same.
Did you tried this one
»www.warewolflabs.com/por ··· skg.html

2004-Jun-21 1:44 am

I saw it while I was searching, and tried.
If you give the passphrase in the Custom WEP Key section,
it only gives you back a hexadecimal representation of
whatever you have just typed. For example, if you type
'abced', then it gives you '6162636465'. This is not how
it works. Are you kidding?
I need something that takes any-length character string
as an input passphrase and then generates 13 bytes of
information that you can use as a 128(104)-bit WEP key.
Shootist
Premium Member
join:2003-02-10
Decatur, GA

2004-Jun-21 6:14 am

2 simple facts
1. Don't use a passphrase, just make up a key, write it down, and type it in by hand.
2. There is NO embedded wireless G device, in any notebook from any manufacturer of any model. All internal wireless cards are in the MiniPCI slot and can be removed/replaced.
jpg366
join:2004-04-09
Humble, TX

2004-Jun-21 9:55 pm

to xv920
Why don't you write a small program that will xor your passphrase with a key (you pick it and embed it in your program) and clip the highest 13 bytes from the result, and display it as hex? You're after encoding, not randomness. The commercial programs do something similar but add a pseudrandom part, probably based on the system clock value.
1 edit

2004-Jun-22 12:27 pm

I don't want to change anything in existing, working
equipment. There are two wireless clients and a wireless
router up and running happily for two years and I don't
want to ruin that. A few days ago I bought a laptop
computer with a built-in wireless interface and I just
wanted to use it in my existing wireless network.
For that, why would you need to do anything in any
existing equipment? You would configure the new laptop
the same way everybody else is working, wouldn't you?
I just wanted to see this new laptop can access Internet.
Two wireless venders are mixed in this network and all 3
equipments let the user enter a passphrase and then
generate the WEP key from it. There should be a 'standard'
way to do that. I mean, to generate a WEP key from
a passphrase. I would like to write such a program myself.
Can you help me?
Foxbat121
join:2001-04-25
Herndon, VA

2004-Jun-22 2:44 pm

to xv920
Some company (I believe it is InterSil) holds the license or patent for passphrase generation. Almost all the new wireless products stop offering passphrase generation capability now to avoid paying license fee.
Shootist
Premium Member
join:2003-02-10
Decatur, GA

2004-Jun-22 3:10 pm

to xv920
You're right there should be a standard but there isn't.
efflandt
join:2002-01-25
Elgin, IL
1 edit

2004-Jun-22 7:02 pm

to xv920
Some methods generate different keys from password/passphrase than others. For example a Linux utility generates same hex key as my Linksys WAP11 v2.2 for 64(40) bit keys, but for 128(104) bit keys they differ. I think that is because Linksys generates a hex key sequence that can alternately be used for 64 or 128 bit WEP. So if you have different hardware, it is best to use actual hex keys instead of password/passphrase/ascii string.
But even when I generated hex key from passphrase for Linksys WET11, it only generated the first key. I had to fill in the blanks for the other 3 alternate keys.
Also sometimes the numbering of the keys varies. In Linux wlan-ng labels them 0-3 and Linksys labels them 1-4, so to use the second key would be key 1 for Linux and key 2 for Linksys.

Rally1
join:2000-06-12
Long Beach, CA

2004-Sep-17 5:48 pm

to inmuck
»www.clariondeveloper.com/wepgen/
sirozha
join:2001-11-18
Kennesaw, GA

2004-Sep-17 7:08 pm

to xv920
The WEP key you are talking about is a static key. Your access point or your other laptop doesn't generate the same new Hex key every time you connect. It is the same exact key that you initially entered. You could have entered it directly in Hex characters or as a passphrase. So, just access your router or your other laptop and copy the Hex key to your new laptop.
I don't understand why you need a program that generates the same Hex key every time. If there's such a program, than it would be even easier to break your WEP key (not that it is very difficult now. It takes only about 20 min to break it). But if you use this kind of program to generate the WEP key, than one could use a dictionary attack method to guess it.
Shady Bimmer
Premium Member
join:2001-12-03

2004-Sep-23 8:36 am

to xv920
said by xv920:If you give the passphrase in the Custom WEP Key section,
it only gives you back a hexadecimal representation of
whatever you have just typed. For example, if you type
'abced', then it gives you '6162636465'. This is not how
it works. Are you kidding?
Actually, that is exactly 'how it works'. If you want randomness then use the random generation buttons. If you want repeatable output based on repeatable input, then you are getting exactly what you are asking for.
I know it may not be easy to understand, but there is no difference in security given any function f that accepts input x and returns y (y=f(x)). If the function instead doubled the ascii value, modded 255, then displayed the hex representation you likely would never know the difference, yet it achieves the exact same thing as just returning the character itself.
quote: I need something that takes any-length character string
as an input passphrase and then generates 13 bytes of
information that you can use as a 128(104)-bit WEP key.
You got that at the link above.
But, to re-iterate what someone else said - why do you want something reproducable? If this is that important the link above is indeed what you want. To be honest, though, using reproducable keys is not the best practice.
Why not use a random generator to give you the correct size key then apply that key to all your devices at the same time? Then you don't need to remember the key or how it was derived. In fact it is good practice to change keys on a regular basis anyway.
Shady Bimmer

2004-Sep-23 8:46 am

to xv920
said by xv920:There are two wireless clients and a wireless
router up and running happily for two years and I don't
want to ruin that.
quote: For that, why would you need to do anything in any
existing equipment? You would configure the new laptop
the same way everybody else is working, wouldn't you?
I just wanted to see this new laptop can access Internet.
If you've had multiple devices all using the same 128-bit key for two years (never changed) then you might as well not use encryption at all (in all honesty). If someone were interested in your network they'd have broken in long ago.
The simplest method (by all means) is use a random generator to create the key you want and apply it to all the devices together.
Oh - did you actually *try* to use the hex output from the link above in your device that only accepts hex? Enter the known passphrase then copy the hex. If you have multiple vendors that each accepts a passphrase and they all work together then it is very possible they are doing nothing more than this page. At worst it simply won't work and will have cost you 2 minutes time.

RomanySaad
Premium Member
join:2001-07-31
Egypt

2004-Sep-23 10:07 am

to xv920
wep.zip
6,786 bytes
Netgear WG302 WEP Key from Passphrase Generator
This is the WEP Passphrase generator from a Netgear WG302. Is this what you are looking for?
claudeo
join:2000-02-23
Redmond, WA

2004-Sep-23 7:43 pm

to xv920
If you are mixing brands it is most likely that the hex key that is generated from the same passphrase will be different. I have never found two to match (but then I stopped looking pretty fast after realizing it was a waste of time). Just make up a hex key and use that. For WEP 128bit, you need 13 hex values, each of which is a pair of characters from the set 0123456789ABCDEF, or exactly 26 characters. You can even make it sort of mnemonic, but don't use something like 11223344. The hex values, or some of them, might correspond to letters or numbers, or not; it does not matter. Even better, make a list of several such keys and rotate them regularly.

zodiackiller
@dsl.lsan03.pacbell.n

2004-Oct-2 5:32 am

to RomanySaad
Thanks. I've been searching for something like this.
stemeyda
join:2004-01-18
Oviedo, FL

2004-Nov-2 4:18 pm

to xv920
This tool ROCKS!!!!
This tool will take an ascii passphrase of ANY length and generate a good 10 digit hex for 40 / 64 bit and will generate a 26 digit hex for 104 / 128 bit codes. This tool may not work on every router as the algorithm is not a standard but I have tried it now on 3 different routers and it hasn't failed me yet. If you are a traveler it is an absolute necessity to have this tool!
-->

Pre-shared keys (PSK) are typically used to authenticate users in WiFi networks, or wireless LANs. With Intune, you can create a WiFi profile using a pre-shared key. To create the profile, use the Custom device profiles feature within Intune. This article also includes some examples of how to create an EAP-based Wi-Fi profile.

Wep Key Generator Network, free wep key generator network software downloads, Page 3. PASSWORD WIFI is the software specially developed for accessing the set of wireless communication protocols through a global and refined analysis of the connections. That employ some sort of encryption or wireless security. It can generate keys for WEP.

How To Find Wep Password

  • Wep Generator helps you create WEP key for your Wi-Fi Router. It is an offline WEP password generator. Use the following simple steps to generate Secure Key for your wireless WIFI router. Enter the passphrase and tap on 'Done' button to generate 64 bit & 128 bit WEP Keys. Select & copy any of the generated key you like.
  • The WEP key is the password for the wireless network. If you generate the key in dessid, when you try to join the network you can tap in the password box and select 'Paste.' Then the key will be.
  • Accessing the router configuration. Once you have connected to your wireless router (by a wired connection, or using the default wireless network credentials), you can access your router's configuration in a web browser. In a browser window, enter your router's IP address in your browser's address bar, and press Enter.
  • To generate a random WEP key, select the bit key length to generate and press the corresponding button; the ASCII or HEX key can then be copied to your clipboard manually or via the copy to clipboard button to the right of the generated key text field. You can also generate a custom WEP key based on your own pass phrase or other input.

This feature supports:

  • Android device administrator
  • Android Enterprise Work Profile
  • Windows
  • EAP-based Wi-Fi
Wep

Important

  • Using a pre-shared key with Windows 10 causes a remediation error to show in Intune. When this happens, the Wi-Fi profile is properly assigned to the device, and the profile works as expected.
  • If you export a Wi-Fi profile that includes a pre-shared key, be sure the file is protected. The key is in plain text, so it's your responsibility to protect the key.

Before you begin

  • It may be easier to copy the code from a computer that connects to that network, as described later in this article.
  • You can add multiple networks and keys by adding more OMA-URI settings.
  • For iOS/iPadOS, use Apple Configurator on a Mac station to set up the profile.
  • PSK requires a string of 64 hexadecimal digits, or a passphrase of 8 to 63 printable ASCII characters. Some characters, such as asterisk ( * ), aren't supported.

Create a custom profile

  1. Sign in to the Microsoft Endpoint Manager admin center.

  2. Select Devices > Configuration profiles > Create profile.

  3. Enter the following properties:

    • Name: Enter a descriptive name for the policy. Name your policies so you can easily identify them later. For example, a good policy name is Custom OMA-URI Wi-Fi profile settings for Android device administrator devices.
    • Description: Enter a description for the profile. This setting is optional, but recommended.
    • Platform: Choose your platform.
    • Profile type: Select Custom.
  4. In Settings, select Add. Enter a new OMA-URI setting with the following properties:

    1. Name: Enter a name for the OMA-URI setting.

    2. Description: Enter a description for the OMA-URI setting. This setting is optional, but recommended.

    3. OMA-URI: Enter one of the following options:

      • For Android: ./Vendor/MSFT/WiFi/Profile/SSID/Settings
      • For Windows: ./Vendor/MSFT/WiFi/Profile/SSID/WlanXml

      Note

      Be sure to include the dot character at the beginning.

      SSID is the SSID for which you're creating the policy. For example, if the Wi-Fi is named Hotspot-1, enter ./Vendor/MSFT/WiFi/Profile/Hotspot-1/Settings.

    4. Data Type: Select String.

    5. Value: Paste your XML code. See the examples in this article. Update each value to match your network settings. The comments section of the code includes some pointers.

  5. When you're done, select OK > Create to save your changes.

Your profile is shown in the profiles list. Next, assign this profile to your user groups. This policy can only be assigned to user groups.

The next time each device checks in, the policy is applied, and a Wi-Fi profile is created on the device. The device can then connect to the network automatically.

Android or Windows Wi-Fi profile example

The following example includes the XML code for an Android or Windows Wi-Fi profile. The example is provided to show proper format and provide more details. It's only an example, and isn't intended as a recommended configuration for your environment.

What you need to know

  • <protected>false</protected> must be set to false. When true, it could cause the device to expect an encrypted password, and then try to decrypt it; which may result in a failed connection.

  • <hex>53534944</hex> should be set to the hexadecimal value of <name><SSID of wifi profile></name>. Windows 10 devices may return a false x87D1FDE8 Remediation failed error, but the device still contains the profile.

  • XML has special characters, such as the & (ampersand). Using special characters may prevent the XML from working as expected.

Example

EAP-based Wi-Fi profile example

Generate Wep Key Through Password Free

The following example includes the XML code for an EAP-based Wi-Fi profile: The example is provided to show proper format and provide more details. It's only an example, and isn't intended as a recommended configuration for your environment.

Create the XML file from an existing Wi-Fi connection

You can also create an XML file from an existing Wi-Fi connection. On a Windows computer, use the following steps:

  1. Create a local folder for the exported W-Fi- profiles, such as c:WiFi.

  2. Open up a command prompt as an administrator (right-click cmd > Run as administrator).

  3. Run netsh wlan show profiles. The names of all the profiles are listed.

  4. Run netsh wlan export profile name='YourProfileName' folder=c:Wifi. This command creates a file named Wi-Fi-YourProfileName.xml in c:Wifi.

    • If you're exporting a Wi-Fi profile that includes a pre-shared key, add key=clear to the command:

      netsh wlan export profile name='YourProfileName' key=clear folder=c:Wifi

      key=clear exports the key in plain text, which is required to successfully use the profile.

After you have the XML file, copy and paste the XML syntax into OMA-URI settings > Data type. Create a custom profile (in this article) lists the steps.

Tip

ProgramDataMicrosoftWlansvcProfilesInterfaces{guid} also includes all the profiles in XML format.

Generate Wep Key Through Password Windows 7

Best practices

  • Before you deploy a Wi-Fi profile with PSK, confirm that the device can connect to the endpoint directly.

  • When rotating keys (passwords or passphrases), expect downtime and plan your deployments. Consider pushing new Wi-Fi profiles during non-working hours. Also, warn users that connectivity may be affected.

  • For a smooth transition, be sure the end user's device has an alternate connection to the Internet. For example, the end user can switch back to Guest WiFi (or some other WiFi network) or have cellular connectivity to communicate with Intune. The extra connection allows the user to receive policy updates when the corporate WiFi Profile is updated on the device.

Next steps

Generate Wep Key Through Password Download

Be sure to assign the profile, and monitor its status.