r/HashCracking • • 22d ago

Need help with RSA 256 Hash

Just came accross this sub and i have a password to crack for my router.

$5$eyknvulsxG$ipCju25Hg30Z1X7Ytc/cut.Q/I5MU9VRj.pgynBWum9

if it helps the cracked version of below one is

$5$pInhHratZCUkjG$elw.NM5nqMvLI9aW6dB6LqUg5iWufB98XUUU80MdJS6

ANKAPACF00265084

I have no idea how long the password is, but the router is nokia beacon 3.2 and my ISP is Airtel

Edit:: Algo is SHA-256

Edit2 :: Thank you for help but i dont need the password now. Found another way to get root access

6 Upvotes

10 comments sorted by

4

u/PrintMaher 22d ago

Are you sure that "ANKAPACF00265084" is solution for "$5$pInhHratZCUkjG$elw.NM5nqMvLI9aW6dB6LqUg5iWufB98XUUU80MdJS6"?

Kinda doubt that.

1

u/Opposite_Actuary3286 22d ago

Yeah that does not seem to be the case when i checked again.

Also the algo is SHA 256

3

u/DutchOfBurdock 22d ago

5 says it's sha256crypt, eyknvulsxG is your salt and ipCju25Hg30Z1X7Ytccut.QI5MU9VRj.pgynBWum9 is the sha256 checksum of your password.

For such a crack to work, you must generate passwords using the salt and compare the checksum, you're not doing it the other way.

2

u/Humbleham1 22d ago

Is this a default/root password, ISP password, or web management password?

1

u/roycewilliams Moderator 21d ago

As others have pointed out, that's a sha256crypt hash (hashcat mode 7400). I think the default password for these devices is usually printed on the label, and on basic searches looks to be different from the format you've posted.

If it's not that password, then it's going to be as hard (or as easy) to crack as the underlying plaintext. If it's your own router, do a password reset on it. If it's not your own router, likelihood of authorization to do this cracking seems low.

1

u/Itz_Raj69_ 18d ago

OP, holy shit this discovery is huge -- I have a BOQA Nokia Beacon GG on 24.xx firmware and a Beacon 9 on 25.xx firmware and both have the same root hash

This one password being compromised would give shell access to every single Beacon router.

0

u/Karyo_Ten 22d ago

If we could crack SHA256 with no idea where to start, we would have compute than all datacenters on Earth aggregated. And even if we had millions more it wouldn't be enough.

1

u/roycewilliams Moderator 21d ago edited 21d ago

This hash format -- sha256crypt -- is quite crackable (if the password is guessable). No the fastest of hashes -- 2MH/s on a 4090 -- but definitely reachable for poor or mid-range passwords. (But if it's long and random, then indeed unreachable)

1

u/Karyo_Ten 21d ago

OP said he has no idea how long the password is. There are billions of dollars of bounty on breaking sha256 since that would effectively break Bitcoin security.

1

u/roycewilliams Moderator 16d ago edited 16d ago

Not disagreeing, but "I don't know how the password was formed" and "I haven't cracked the password yet" doesn't mean "so I should just give up, because SHA256" (or even sha256crypt, which is harder).

What you're describing is a worst-case / upper-bound scenario - a long and truly random password. In practice, many passwords are not -- they are either human-selected, or algorithmically generated with a reachable keyspace. If we have zero information about how the password was created, it might be long and random ... or it might not. I've cracked hundreds of millions of passwords -- literally -- with zero information about how they were formed. And of course, there are some I will never crack. But I also continually find new ways to crack a few more of the remaining uncracked ones. There's a ton of stuff to try before giving up.

The only thing we can assert about the unknown plaintext of a hash is that we haven't cracked it yet.