How to find out the password for a closed Wi-Fi network: all legal methods

Forgot your home Wi-Fi password or need to connect a new device to the network, but the sticker on the router has long since worn off? This situation is familiar to many. In this article, we'll look into it. legal methods Restoring access to a closed wireless network—without hacking, hacking software, or breaking the law. It's important to understand: this is only about your own network or about networks you have permission to access (for example, corporate Wi-Fi with administrator permission).

If you try to connect to someone else's network without permission, it violates Article 272 of the Criminal Code of the Russian Federation ("Unauthorized access to computer information") and may result in administrative or criminal liability. All methods below assume you have physical access to the router or device previously connected to the network.

We'll cover options for different operating systems, router types, and scenarios—from simply viewing a saved password on your phone to resetting your router. We'll also explain why some "folk" methods (like using WPS pins (or brute-force programs) are not only illegal, but often useless against modern encryption standards.

1. View the saved password on the connected device

The fastest way is to retrieve the password from a device that's already connected to the network. This works if you've previously entered the password on a laptop, smartphone, or tablet. The methods vary depending on the operating system.

On Windows This is done through "Network Settings" or the command line. macOS - via Keychain. Android And iOS superuser rights will be required (root or jailbreak), but there are workarounds for some models. Details below.

📊 Which OS do you use most often?
Windows
macOS
Android
iOS
Linux

1.1 Windows: via Settings or command line

If your computer or laptop is connected to Wi-Fi, you can find the password in the system settings:

  1. Open Settings → Network and Internet → Wi-Fi.
  2. Click on the name of your network, then select Wireless Network Properties.
  3. Scroll to the "Security Settings" section—there's a field called "Network Security Key." Check "Show characters as you type" to see the password.

An alternative method is through command line:

netsh wlan show profile name="NETWORK_NAME" key=clear

Replace NETWORK_NAME the name of your Wi-Fi. In the commands output, look for the line Key content - this is the password.

1.2. macOS: Via Keychain Access

On MacBook or iMac Wi-Fi passwords are stored in the system Keychain storage:

  1. Open Programs → Utilities → Keychain.
  2. Enter the name of your network in the search bar.
  3. Double-click on the found entry, check the “Show password” box and enter the password for your account. macOS.

If your password isn't displayed, your account may not have administrator rights. In this case, you'll need to enter your superuser credentials.

1.3. Android and iOS: Limitations and Workarounds

On smartphones the situation is more complicated: Android And iOS By default, saved Wi-Fi passwords are not shown without additional actions. However, there are exceptions:

  • 📱 On some firmware versions Android (For example, MIUI from Xiaomi or EMUI from Huawei) The password can be viewed in the router settings through the manufacturer's application.
  • 🔓 On iPhone With iOS 16+ You can share the password with another device. Apple through Settings → Wi-Fi → [tap on the network] → Share password.
  • 🛠️ For Android With root rights There are apps like WiFi Password Viewer, but they require technical skills.
How to view password on Android without root?

On some devices (eg. Samsung With One UI) you can try to export Wi-Fi settings via Settings → Device Maintenance → Diagnostics → Wi-Fi ReportThe received file may contain an encrypted password.

⚠️ Attention: Applications from Google PlayApps promising "Wi-Fi hacking" are often scams or contain malicious code. Don't install them.

2. Password recovery via the router's web interface

If you have access to the router (physically or through a previously connected device), you can access its settings and view (or change) the password. To do this, you'll need:

  • 🌐 IP address of the router (usually 192.168.0.1 or 192.168.1.1).
  • 🔑 Login and password for entering the admin panel (by default, often admin/admin or indicated on the router sticker).

Instructions:

  1. Connect to the router via cable (Ethernet) or via Wi-Fi (if the password is still valid on some device).
  2. Open your browser and enter the router's IP address in the address bar.
  3. Enter your username and password. If you don't know them, try the default combinations or reset the router to factory settings (see Section 4).
  4. Go to the section Wireless network or Wi-Fi - there will be a field there Password or Security Key.

The path may differ for different manufacturers:

Manufacturer Path to Wi-Fi settings Default login/password
TP-Link Basic → Wireless admin/admin
ASUS Wireless → General admin/admin
D-Link Wi-Fi → Security Settings admin/empty
Keenetic Home Network → Wi-Fi Indicated on the sticker
⚠️ Attention: If you've changed your router login and password and don't remember them, the only solution is a factory reset (see Section 4). This will result in the loss of all settings, including the Wi-Fi password.

3. Using WPS (Wi-Fi Protected Setup)

WPS — is a technology for quickly connecting to Wi-Fi without entering a password. It works through:

  • 🔢 PIN code (8 digits, often found on the router sticker).
  • 🖱️ WPS button on the router body (press it, then connect the device within 2 minutes).

Many modern routers disable WPS by default due to vulnerabilities (e.g. attacks) Reaver (This feature allowed a PIN to be guessed within a few hours.) However, if the feature is active, it can be used to connect new devices.

How to check:

  1. Log into your router's web interface (see section 2).
  2. Find the section WPS or QiSS (at ASUS).
  3. If the function is enabled, activate it and connect the device via a button or PIN.

On some routers (for example, Keenetic) instead of WPS is used Knock-knock — an analogue with improved security. In this case, to connect, you need to download the proprietary app and scan the QR code from the router.

4. Reset the router to factory settings

If you don't remember your Wi-Fi password or your admin panel login details, there's a radical method left: hard reset (factory reset). This will reset the router to its default password (found on the sticker), but will delete all custom settings:

  • 🔄 Router IP address will become standard (192.168.0.1 or 192.168.1.1).
  • 🔐 Admin login/password reset to factory settings (admin/admin or see sticker).
  • 📡 Wi-Fi name and password will also become standard (or the network will be disconnected).
  • 🔌 Provider settings (PPPoE, VLAN, etc.) will have to be entered again.

How to reset:

  1. Find the button on your router Reset (usually recessed into the body to prevent accidental pressing).
  2. Take a paper clip or a toothpick and press and hold the button 10-15 secondsuntil the indicators start flashing or the router reboots.
  3. Please wait 1-2 minutes for the router to boot up to factory settings.
  4. Connect to it via cable or Wi-Fi (see the sticker for the network name and password).

Set up an Internet connection (data from the provider)

Set a new Wi-Fi password (minimum 8 characters, with numbers and letters)

Update the router firmware (in the section System Tools → Firmware Upgrade)

Disable WPS (if not needed)

Change the admin login/password (do not leave it) admin/admin)

-->

⚠️ Attention: After the reset, all devices will be disconnected from Wi-Fi. Please have your internet connection details ready (you can check these with your provider or in your contract).

5. Alternative methods (for advanced users)

If standard methods don't work, you can try more advanced ones. These require technical skills and don't always work, but in some cases they can save the day.

5.1. Extracting the password from a router backup

Some routers (eg. ASUS or Keenetic) allow you to create a backup copy of the settings in a file .cfg or .binIf you have such a file, you can extract the Wi-Fi password from it:

  1. Download the backup copy via the router's web interface (section Administration → Backup/Restore).
  2. Open the file in a text editor (for example, Notepad++ or VS Code).
  3. Find the lines with WirelessKey, WPAPassphrase or password — the password will be displayed next to it in clear or encrypted form.

For routers TP-Link you can use the utility TP-Link Decoder, which decrypts backups.

5.2. Connecting via cable and capturing handshake

This method is suitable if you have physical access to the router but don't have the Wi-Fi password. You will need:

  • 🖥️ Computer with Linux (or Windows with installed Wireshark).
  • 🔌 Connecting to a router via cable (Ethernet).
  • 📡 Any device already connected to Wi-Fi (e.g. phone).

Algorithm:

  1. Connect your computer to the router with a cable.
  2. Launch Wireshark and start capturing packets on the interface Ethernet.
  3. On a Wi-Fi-connected device (such as a phone), disconnect and reconnect to the network.
  4. IN Wireshark find the package with EAPOL (This handshake — exchange of keys between the device and the router).
  5. Export the handshake and use the utility aircrack-ng to analyze it. If the password is weak (for example, 12345678), it can be picked up.
⚠️ Attention: This method is technically auditing the security of your own networkUsing it on other people's networks is illegal. It also only works against outdated encryption standards (WPA2-PSK with a weak password). Modern routers with WPA3 resistant to this method.

5.3. Contacting your provider

If the router was installed by the provider (for example, Rostelecom, MTS, Beeline), you can contact support to reset your password or provide your router login details. To do this, you'll need:

  • 📄 Agreement for the provision of services.
  • 🆔 Passport or personal account holder's details.
  • 📞 Call support or contact us through your personal account.

Some providers (eg Dom.ru) allow you to reset your Wi-Fi password through your personal account on the website.

6. What NOT to do when recovering your password

The internet is full of advice that either doesn't work or violates the law. Here's what it's not worth trying:

  • 🚫 Brute-force programs (Aircrack-ng, Wifite, Fern Wi-Fi Cracker). They brute force passwords, which takes years by modern standards (WPA3) and is a violation of Article 272 of the Criminal Code of the Russian Federation.
  • 🚫 Selecting a WPS PIN codeEven if the router supports WPS, modern models block attempts after 3-5 incorrect entries.
  • 🚫 Phishing pages (fake Wi-Fi login pages). This is a scam, and you risk not only breaking the law but also infecting your device with a virus.
  • 🚫 Buying "hacked" passwords On Telegram or forums. Most often, it's a scam or a virus.

The only legal way to connect to someone else's network is to ask the owner for the password. Anything else could result in your device being blocked by its MAC address or a lawsuit.

7. How to protect your Wi-Fi from hacking

If you've regained access to your network, it's time to immediately strengthen its security. Here are the minimum steps:

Vulnerability How to fix
Weak password (12345678, qwerty) Use a password of at least 12 characters with letters, numbers, and special characters.
Obsolete encryption standard (WEP, WPA) Turn on WPA3-PSK or at least WPA2-AES in the router settings
WPS enabled Disable WPS in settings or set a complex PIN
Standard admin login/password (admin/admin) Change them to unique ones in the section Administration
Open ports for remote management Turn it off Remote Management in the router settings

Additional measures:

  • 🔄 Update your router firmware regularly (every 3–6 months).
  • 📋 Maintain a list of connected devices and block unknown ones by MAC address.
  • 🛡️ Set up a guest network for friends - it's isolated from the main one.
  • 🔍 Check your network for suspicious activity via DHCP Client List in the router.

FAQ: Frequently Asked Questions

Is it possible to find out a neighbor's Wi-Fi password if the signal is weak?

No, it's illegal. Even if the signal is weak, connecting to someone else's network without permission is considered unauthorized access (Article 272 of the Russian Criminal Code). If you need internet, sign up for a mobile plan or arrange network sharing with your neighbor (many providers allow legal Wi-Fi sharing).

I reset my router, but I don't have my ISP information. What should I do?

Internet connection details (login, password, VLAN ID) are usually specified in your contract with your provider. If you don't have a contract:

  1. Call your provider's support team (the number is on the official website).
  2. Please specify the connection details for the protocol PPPoE, L2TP or Dynamic IP (depending on the tariff).
  3. If your provider uses MAC address binding, please provide the new MAC address of your router (it is indicated on the sticker).

Some providers (eg Beeline) automatically bind the new router by its serial number.

Is it possible to recover a Wi-Fi password through the provider's app?

Yes, many providers offer such options. For example:

  • Rostelecom: "Personal Account" application, "My Devices" section.
  • MTS: "My MTS" application, "Wi-Fi" tab.
  • Dom.ru: personal account on the website, section “Services → Internet”.

To access, you will need your login/password for your personal account (usually sent via SMS upon connection).

Is it true that you can find out your Wi-Fi password from the QR code on your router?

Yes, but only for certain models. For example, routers. Keenetic And ASUS with support Knock-knock or AiMesh Allow you to connect to the network by scanning a QR code from a sticker. To do this:

  1. Install the branded application (Keenetic NetFriend or ASUS Router).
  2. Scan the QR code on the bottom of the router.
  3. Confirm the connection - the device will automatically gain access to Wi-Fi.

Please note: This method only works for first connectionAfter this, the QR code becomes inactive.

What should I do if my router displays an "Incorrect password" error even though I entered the correct one?

The problem may be related to:

  • Character register: check if it is enabled Caps Lock.
  • Special characters: Some routers do not support characters like #, $, @ in the password.
  • Encryption standard: if it is enabled on the router WPA3, and the device only supports WPA2, the connection will fail. Try changing the standard to WPA2/WPA3 Mixed.
  • MAC filtering: Check your router settings to see if your device's MAC address is blocked.

If nothing helps, reset the network settings on your device and try connecting again.