6 Arabic Password Habits Your Strength Checker Probably Misses (With a Test List)
Most password strength checkers were trained on English habits. In my last post I measured that blind spot against zxcvbn. This one is the field guide: the habits themselves, why each is weak, detection regexes you can s
Most password strength checkers were trained on English habits. In my last post I measured that blind spot against zxcvbn. This one is the field guide: the habits themselves, why each is weak, detection regexes you can steal, and an open test list.
The 6 habits
1. Egyptian mobile numbers. 01012345678 - 11 digits, starting 010/011/012/015. Your own number is the worst password you can pick in Egypt, and one of the most common.
^(01[0125][0-9]{8})$
2. Arabic-Indic digits. ١٢٣٤٥٦٧٨٩ is just 123456789 typed on an Arabic keyboard. Normalize U+0660..U+0669 (and U+06F0..U+06F9) to ASCII before analysis, or your tool sees "exotic unicode" where an attacker sees a PIN.
3. Arabizi. Arabic chat alphabet: 7=ح, 3=ع, 5=خ, 2=ء. So m7md, a7med, 7ossam, 3omar. An English dictionary sails right past these; an Egyptian attacker's list starts with them.
4. Arabic keyboard walks. صثقفغعهخحجد is a finger run across the Arabic (101) layout - the Arabic qwerty. Detection trick: map Arabic characters back through the layout to QWERTY keys, then run your normal spatial-walk detection on the result.
5. Names in three scripts. محمد123, mohamed2020, 7ossam1234 - the same name in Arabic script, transliteration, and Arabizi, usually glued to a year. A real Arabic-aware dictionary needs all three forms, including spelling variants (mohamed/mohammed/muhammad/mohammad).
6. Dates, local edition. 01011990 and 19900101 (DDMMYYYY and YYYYMMDD, 1950-2029). Not unique to Arabic, but name+DDMMYYYY dominates regional breach corpora.
(0[1-9]|[12][0-9]|3[01])(0[1-9]|1[0-2])(19[0-9]{2}|20[0-3][0-9])
(19[0-9]{2}|20[0-3][0-9])(0[1-9]|1[0-2])(0[1-9]|[12][0-9]|3[01])
Test your own tool
I published the pattern catalog, the full Arabic (101) keyboard map, and a 144-row test list of constructed examples as an open repo (MIT):
github.com/shetosnet/arabic-password-patterns
Feed the list to whatever checker you ship. If most rows come back "strong", you have the blind spot. PRs with more regional patterns welcome - Gulf, Levantine and Maghrebi habits are underrepresented in what I have.
See the patterns scored
Live examples - each habit above, scored by the auditor engine (offline mode, nothing sent anywhere), with the exact findings it reports.
The engine is also an API if you do not want to build this yourself: Arabic and Multilingual Password Auditor on Zyla - 10k requests/month for $24.99, 50-request free trial. Stateless, no password storage, optional k-anonymity breach check.
Built by Abdallah Ibrahim. The wordlists in the repo are samples for researchers; the full curated dictionaries ship inside the product.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.