0

I'm trying to use John The Ripper to crack a private ssh key I generated with ssh-keygen. I think I've seen and read every guide under the sun, and I've managed to get as far as a string john the ripper can use by running ssh2john.py.

rsa_id:$sshng$6$16$e38b6977b4e283f0dc001ae2b7ee27e5$1910$6f70656e7373682d6b65792d7631000000000a6165733235362d637472000000066263727970740000001800000010e38b6977b4e283f0dc001ae2b7ee27e5000000100000000100000197000000077373682d727361000000030100010000018100be4ac7d6d7638949c7a80f9db6b9f5f4da6bf9dcfd2e5927c13a15f27c8d5f3dbe1942cb2abf2e1926a3a8c63fffaf0153f44acc376e39f3bf2bc2700e8c4b055261ff23a64e73db906b77930bcb2b9043fec4ff7697efcc413772b6d61e9bd46c290cf155998e6d416077249ac1043b3f8ac4d36386ea216734e59a2a5feb105949bb72582a4b749519f3e7c7352ef7d8f3e33d62ae9d96676b6915d884754fcc24a536fb04c45c730827c741cc1f51d4bc19f2823c89d05a24d41fce4ee14ec75da71c7689a82ca07293a68019b672d3f87b26e8fcb30fe210c60e7fdf50881b22019c3fd8ebcca21474217f3832b16a4296071075fbf922d0f4e96b09ce8bae84dbae5950784ebf732842a5e0df1b3fecd8f98b281828c2f13ead7c07c368350f83ad8bb85cd9bfe4bec9162f6f53868042b46396340a153f8d3760de94ff701e4fa7dc511cc572bea2053ded32de1a9d7478b8e97da494c8b15fd92cd79bddd017695e700f84324eea20229df3934faa69a62982a776fac0c5677bb1723b0000059008ec69b606a27f3f4ef4375ef6d8250eb5a63dede480a5549fb6413b7ed6c40a44474ae93c8b81533ab068035b4299c5cacc1473dae75aefa27e1fa4c30840cc6042a71c08a6e9dd83c09f0e9a95b655c7a19c6ffb7263e020fdba23c9e57f0f7b2441083a501c5fdec807b2b312f3650fda5bb1fe63f4d6ab992a903cae8acbfabec979b42eeb953ab2226224fab0b089a002b3f24899e8ae6cede31941df466d5b313fa32272940ae06e8059a6634d17114e5eedfab613bef4257ab4aa70d57b70f4310fdfd6930f02c400955f9109a62a3f9b94c508c32811399cc6da803ba928027e4b6a84e8073f0bd6def1ea9bc52c662d1df936a0bda12019ac78ace61222ee07498b45b7098bcbad913b92537a9e94f7a766af3b742ec701d47a4a0a5435277dba99f91d35acf818d83c45c69bc447094e443c5a1e9ec32b8b5f2f352afbbd69975362353f6df4f22fb996aebca528ad4bcf51512ade1133ec4c008b26841a0482172fd1e570fd7cf67869e49cbc95836f0acfa20f21c4564a619ebf649fb8f20107c536552c85ea547ec9aaae41872eb7f198d5f7603eac296508bf810d022c9a1afbe89263b5fa35c4aacb36b015b2233dab8502529199191b12e2e49c5a5cef8b7549c79e3575941fef78c8a405254c87ff6a044e90e9f236e8d24f089788dfe113b20e0a9fd83ce81b74bd78e561cdf2dadfacdce7891a5aa60aeb0fa3f6b6c0794c527504d1041ab9bd4c741f02cea0d4dfc15d23161446c7242b012bfb58d2133431a92a15d137a5a3076c88d1861d9a186ce324279735e82878a461b49ab24fed52a03e67a8f5f7fece9ddd48ba060ae114c8b791e3dcf870811a58037c14538fd48fb5f3306647366661cf19eafb0ea08c49001ad0574c5ff07928a82e81aae9c196f5d05f06cdf122a42094eb9163592f31a256591311755cbf3a74f6ff372c1ee6b1dc5254361fc398916151b57f3266a400216df0ddad02a8079cb1df5fb098efc337599595a9cbd3103b65cae327f9a113c85adec251c2739f292430216d141f555420d05e7e7d02fb10e5f42709a94c01fd0f8c8ad1b5cc67cf2952b3780825ff75e18d9220af01e5b1815595b42a974556555cd78b30d3f87504a8618e86533ad0ac1a3f26cb42c6e55493bad95ce5a022194e76fe7e7df85d0e4e5dfbc0c09eaba59e349ec322449212be10db433e6e0f6293aaf8424c95bae3b590a855b764f8e079d97959f5cda442cad7be1b3c1d6338a2098b781b4af95a6b3d9afeead9ed2f9de46fb66c55cb718bc0f814ce4243004f346f277b01abd27b3f48661e3cc5eb2c2590b4c039e35ecedbf8e8fbf003a20d74b7e127760f3046c83bd44e78e3ddd316644b9546f27af7e0dea49f2636d4d50676b16f907faca23d5697c69f391ff136222a7034e2aa6c67e5da609f16a37f3ad6da2a8856dfa588e664b0d4543f61cabb37af9e181fbcb79390ee4c1ad07142ef88706eba7d9b5fd8358c4f2dc8da30622f405dcc623a3943d550fa46cd077cc177bf07f1667bd04c82ef1364a9e99a9080a2a03b2c81e67877a7c0b9f290f1eb8cee5a2c407bb9f92c3a357b44e8756a9570db1e231259d4934e294caa5b8bbb84dda7a5a34b662ea5da948628c78f4091066f241a4557e59776655521134a29fd3fbcb17f8602a49710cce17095ae5fc851875c6474b2a6f9f1f312af36321a29fb45ac70b038e7794b863f0dabec6f895ff7b1582edf0d255f0b59557da7fedb094f6d4dbd417fdbab5a550863fdf72f909aa6c51a3669dac0faac24e2124dd77f1ee7d05147760c43e90740f5abcc4cdbdda2fe43af0718a4ce1770083d6df3257931cbb2649c49ed6c9e8c7d34f23d9c65865ce290da80be9a4b92f8351d005adb7dbe375530a2dfb88eb9ef785cbadafcc20546f0d76a655d623648c9ca3c50ca69e08992c57fa8e84ee182f56421d3f69d31b7cbaa85cb49b7e420d26465c6bd53008badec4778229ae30e0b7d$16$486

The initial ssh key is:

-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAACmFlczI1Ni1jdHIAAAAGYmNyeXB0AAAAGAAAABDji2l3tO
KD8NwAGuK37iflAAAAEAAAAAEAAAGXAAAAB3NzaC1yc2EAAAADAQABAAABgQC+SsfW12OJ
SceoD522ufX02mv53P0uWSfBOhXyfI1fPb4ZQssqvy4ZJqOoxj//rwFT9ErMN245878rwn
AOjEsFUmH/I6ZOc9uQa3eTC8srkEP+xP92l+/MQTdyttYem9RsKQzxVZmObUFgdySawQQ7
P4rE02OG6iFnNOWaKl/rEFlJu3JYKkt0lRnz58c1LvfY8+M9Yq6dlmdraRXYhHVPzCSlNv
sExFxzCCfHQcwfUdS8GfKCPInQWiTUH85O4U7HXaccdomoLKByk6aAGbZy0/h7Juj8sw/i
EMYOf99QiBsiAZw/2OvMohR0IX84MrFqQpYHEHX7+SLQ9OlrCc6LroTbrllQeE6/cyhCpe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Nywe5rHcUlQ2H8OYkWFRtX8yZqQAIW3w3a0CqAecsd9fsJjvwzdZlZWpy9
MQO2XK4yf5oRPIWt7CUcJznykkMCFtFB9VVCDQXn59AvsQ5fQnCalMAf0PjIrRtcxnzylS
s3gIJf914Y2SIK8B5bGBVZW0KpdFVlVc14sw0/h1BKhhjoZTOtCsGj8my0LG5VSTutlc5a
AiGU52/n59+F0OTl37wMCeq6WeNJ7DIkSSEr4Q20M+bg9ik6r4QkyVuuO1kKhVt2T44HnZ
eVn1zaRCyte+GzwdYziiCYt4G0r5Wms9mv7q2e0vneRvtmxVy3GLwPgUzkJDAE80byd7Aa
vSez9IZh48xessJZC0wDnjXs7b+Oj78AOiDXS34Sd2DzBGyDvUTnjj3dMWZEuVRvJ69+De
pJ8mNtTVBnaxb5B/rKI9VpfGnzkf8TYiKnA04qpsZ+XaYJ8Wo3861toqiFbfpYjmZLDUVD
9hyrs3r54YH7y3k5DuTBrQcULviHBuun2bX9g1jE8tyNowYi9AXcxiOjlD1VD6Rs0HfMF3
vwfxZnvQTILvE2Sp6ZqQgKKgOyyB5nh3p8C58pDx64zuWixAe7n5LDo1e0TodWqVcNseIx
JZ1JNOKUyqW4u7hN2npaNLZi6l2pSGKMePQJEGbyQaRVfll3ZlVSETSin9P7yxf4YCpJcQ
zOFwla5fyFGHXGR0sqb58fMSrzYyGin7RaxwsDjneUuGPw2r7G+JX/exWC7fDSVfC1lVfa
f+2wlPbU29QX/bq1pVCGP99y+QmqbFGjZp2sD6rCTiEk3Xfx7n0FFHdgxD6QdA9avMTNvd
ov5DrwcYpM4XcAg9bfMleTHLsmScSe1snox9NPI9nGWGXOKQ2oC+mkuS+DUdAFrbfb43VT
Ci37iOue94XLra/MIFRvDXamVdYjZIyco8UMpp4ImSxX+o6E7hgvVkIdP2nTG3y6qFy0m3
5CDSZGXGvVMAi63sR3gimuMOC30=
-----END OPENSSH PRIVATE KEY-----

Anyways, when I go to use John The Ripper to decrypt the prior hash I get this error:

user@host:~/.test$ john rsa_id.hash --wordlist=rockyou.txt
> no password hashes loaded (see FAQ)

I am using John The Ripper version 1.8.0. I installed via git using:

git clone git://github.com/magnumripper/JohnTheRipper -b bleeding-jumbo john

I am absolutely bewildered. If anyone has some useful input as to what I'm doing wrong or how to fix the problem I would greatly appreciate hearing from you. Thanks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.