Adding wireless network keys to windows xp system

  • Thread starter Thread starter The Frog
  • Start date Start date
T

The Frog

Hi everyone,

Does anyone know how to place a set of WEP or WPA keys into the
registry(?) programmatically. I have an application (idea) that I am
testing to connect temporarily to a wireless network, then disconnect
again - and remove / delete the keys. I am trying to remove all
footprint from the environment / application when the application is
shut down. Is this even possible?

Cheers

The Frog
 
Hi everyone,

Does anyone know how to place a set of WEP or WPA keys into the
registry(?) programmatically. I have an application (idea) that I am
testing to connect temporarily to a wireless network, then disconnect
again - and remove / delete the keys. I am trying to remove all
footprint from the environment / application when the application is
shut down. Is this even possible?

Cheers

The Frog

Does anyone know how to place a set of WEP or WPA keys into the
registry(?) programmatically

Forgive me for not knowing, but where are the WEP/WPA keys stored in
the registry? Assuming they aren't encrypted, then you should be able
to use the members of the Microsoft.Win32.Registry class to get and
set the values.

Thanks,

Seth Rowe
 
Hi Seth,

This is what I am trying to figure out. I am not sure if they are in
the registry or not. Encrypted or not isnt so important for my
application - I would simply be adding the keys and removing the keys
as required so the information could be in encrypted format or non-
encrypted - its just add and delete. What I really want to know is
where they live and how to get to them.

Just for the record, I would be re-encrypting the keys fofr storage
with the app anyway so that it is extremely difficult to reverse
engineer them. The application is a little special and monitors some
sensitive industrial control stuff, and requires some heavy security
to get to it and the app.

Any ideas?

The Frog
 
Hi Seth,

This is what I am trying to figure out. I am not sure if they are in
the registry or not. Encrypted or not isnt so important for my
application - I would simply be adding the keys and removing the keys
as required so the information could be in encrypted format or non-
encrypted - its just add and delete. What I really want to know is
where they live and how to get to them.

Just for the record, I would be re-encrypting the keys fofr storage
with the app anyway so that it is extremely difficult to reverse
engineer them. The application is a little special and monitors some
sensitive industrial control stuff, and requires some heavy security
to get to it and the app.

Any ideas?

The Frog

What I really want to know is where they live

Ahh, can't help you there - the way your original post read, you knew
where they were in the registry and didn't know how to retrieve them.
My recommendation is to go look for some open source wardriver
software and see how they scan the keys (be warned it's all probably
in C++). You may also consider posting in a networking newsgroup
inorder to see if there are any ways to set the key without using the
window's tool.

Thanks,

Seth Rowe
 
Frog,

Network passwords are kept in this location from XP onwards:

[Drive Letter]\Documents and Settings\[Username]\Application
Data\Microsoft\Credentials\[SID]
 
Thanks Newbie_Coder, appreciated. I will give this a crack and see if
I can get the behaviour needed to satisfy the powers that be...

Cheers

The Frog
 
Back
Top