Why a page about passwords on a MikroTik site?
Because attackers do not guess router passwords at random: they try them in rapid succession, starting from lists of stolen passwords, beginning with the most common ones. If WinBox, SSH, API, or WebFig are reachable from the Internet, any password appearing in those lists is among the first to be attempted. Just look at the Dojo map under siege: management ports are among the most targeted, every day.
A password that seems original to you, perhaps also used for email or VPN, may have ended up in a data breach from any website. From that moment on, it is in the lists of those knocking on your router.
How does the check work without sending the password?
Using a system called k-anonymity, designed by Troy Hunt for Have I Been Pwned:
- The browser converts the password into a 40-character SHA-1 fingerprint;
- Only the first 5 characters of the fingerprint are sent to the Have I Been Pwned service;
- The service responds with all stolen fingerprints that start with those characters, usually a few hundred, plus some fake ones added intentionally so the response always has the same size;
- The comparison with the full fingerprint happens on your device.
From 5 characters, it is impossible to reverse-engineer either the password or the full fingerprint. My server sees nothing: the page communicates directly with the Have I Been Pwned service, does not log the password or the result, and clears the field after the check. Below the result, it displays the 5 characters that were sent.
What do I do if my password is found to be stolen?
- Stop using it, everywhere, and change it immediately wherever you use it: router, email, VPN, external sites.
- Use a different password for each service, long and random. Below the check there is a generator, which you can also find on its dedicated page Password Generator: it creates a password of 20 to 64 characters in your browser, excluding characters that have special meaning in the RouterOS terminal, and verifies it immediately on Have I Been Pwned.
- Do not store it in plain text in an Excel sheet, Notepad, or an email: use a password manager, which keeps it encrypted and fills it in for you. A valid, free, and open-source option is Bitwarden: I am not affiliated with them, choose the one you prefer.
- On the router, the password is only the first step: a user different from
admin, management services closed to the Internet and reachable only from the management network or via VPN. All steps are in the howto Basic Hardening of the MikroTik Router.
If the password does not appear, it is a good sign but not a guarantee: a short or predictable password can be guessed even if it has never been stolen.
Who is behind the service?
Have I Been Pwned is Troy Hunt’s project that has been collecting data from publicly disclosed breaches since 2013. The Pwned Passwords archive is also used by password managers and online services to reject already compromised passwords, and it is published under the CC BY 4.0 license. I only wrote the page that queries it from your browser: the credit for the database belongs entirely to them.
From now on, in articles that discuss weak passwords or credential attacks, you will find a link to this check.
Frequently asked questions
Can I check the password I am actually using?
Yes, the page is designed for this: only 5 characters of the fingerprint are sent to the service, and my server sees nothing. If you prefer, check it and then change it anyway.
Does the check tell me where my password was stolen?
No. The password database is not linked to email addresses or names: it only states whether that password appeared in a data breach and how many times. To find out if your email address is in a breach, use the search on the Have I Been Pwned website.
Do I need to be a dojo member to use it?
No, the check is open to everyone, like the other tools in the Tools section.



