Skip to main content

One post tagged with "Cracking Weak RSA Public Key"

Cracking a weak RSA public key involves exploiting its vulnerabilities to recover the corresponding private key or decrypt sensitive data encrypted with it. This can be done using various attacks, such as the Baby-Step Giant-Step (BSGS) algorithm or the Number Field Sieve (NFS), which take advantage of small exponents or moduli in the RSA key pair.

View All Tags

HTB | Weak RSA | Write-Up

· 12 min read

Summary:

We navigate the Hack The Box website, preparing for a challenge by preparing challenge files and setting up the RsaCtfTool. We use this tool to crack a weak public key, and then generate a private key. Next, we utilize RsaCtfTool to decrypt an encrypted flag, which ultimately leads us to submit the recovered flag as our solution.

Challenge Name: Weak RSA | Difficulty: Easy | Category: Crypto