Customer site, their security policy for WiFi is an SSID with a secret PSK: the IT manager types the password on my PC to allows me to access the network.

Maybe he’s not aware of my keylogger that the password con be easily retrieved in cleartext. Let’s see how.

Windows 10: retrieve the WiFi PSK in cleartext

Show a list of all WiFi profiles configured on the PC:

netsh wlan show profiles

Show the WiFi network currently in use:

netsh wlan show networks

Change PROFILENAME with the WiFi profile:

netsh wlan show profiles name="PROFILENAME" key=clear

Wrap up

Never type your passwords on a PC you don’t control - keyloggers exist - and don’t rely on a secret PSK for your WiFi security.