项目作者: gsurma

项目描述 :
Char-level RNN LSTM password cracker 🔑🔓.
高级语言:
项目地址: git://github.com/gsurma/password_cracker.git
创建时间: 2018-10-22T23:23:01Z
项目社区:https://github.com/gsurma/password_cracker

开源协议:MIT License

下载




Password Cracker

Character-level RNN (Recurrent Neural Net) LSTM (Long Short-Term Memory) text predictor intended for password generation research.


Check out corresponding Medium article:

Password Cracker - Generating Passwords with Recurrent Neural Networks (LSTMs)🔑🔓

Disclaimer

This project was developed for purely educational use. Don’t use it for any evil purposes.

Idea

  1. Given a large dataset of leaked passwords.
  2. Train an RNN LSTM model on it.
  3. Generate new passwords.

Data

Top 85 million WPA (Wi-Fi) Passwords

Randomized and split into:

  • Training set (10%) ~100 MB (9 M passwords)
  • Testing set (90%) ~850 MB (76 M passwords)

Implementation

Text Predictor RNN LSTM, for more details check this article.

Hyperparameters

  1. Batch size: 32
  2. Sequence length: 25
  3. Learning rate: 0.002
  4. Decay rate: 0.97
  5. Hidden layer size: 1024
  6. Cells size: 3

Results

hit_ratio = sampled_passwords_in_test_set / all_sampled_passwords

After 100 thousands of learning iterations, RNN LSTM model generated 896 passwords and 119 of them were in the validation set.

It means that 13% of the generated password were the real ones.

Examples of AI generated passwords that were actually used by people:

  1. richardmars
  2. sierrasoftball
  3. 8aug1863
  4. FalconGroovy
  5. verstockt
  6. hakensen
  7. mccaitlin
  8. playboyslayer
  9. republicmaster
  10. eddie123
  11. Denversharon
  12. marchand
  13. humaniseront5
  14. 7december1789
  15. 15071600
  16. Spatted2
  17. jaredhomebrew
  18. choco2007
  19. doctorPacker
  20. bac7er!o1o9!s7s
  21. elliot1993
  22. d3r!v@7!on
  23. trickset
  24. jonathancruise
  25. mcjordan23
  26. Family82
  27. susanAwesome

Author

Greg (Grzegorz) Surma

PORTFOLIO

GITHUB

@gsurma">BLOG