Skip to content
Crypto Write-up Advanced

Operation Crack: Hacking IDA Pro Installer PRNG from an Unusual Way

The IDA Pro installer exposed the installation password in plaintext in memory on Linux and macOS, and on Windows the password was generated by a predictable PRNG, allowing an attacker to recover the password from a leaked installer. An attacker with a leaked installer could install the software without a valid password.

Shaolin Follow

Published on devco.re

Tech Editorials #Advisory

Shaolin, on devco.re

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker with a leaked installer could recover the installation password and install the software without authorisation; the issue was fixed after reporting.

What the attacker needed

A leaked IDA Pro installer; for Windows, knowledge of the PRNG method

How it was found

  1. Obtain a leaked IDA Pro installer.
  2. For Linux/macOS, run the installer and inspect its memory to find the plaintext password.
  3. For Windows, collect known leaked passwords to determine the character set and ordering.
  4. Implement a random number generator in common languages and enumerate combinations to match known passwords.
  5. Use the discovered PRNG method to generate a dictionary of possible passwords.
  6. Brute-force the installer's password hash using the generated dictionary.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

An installer is a program that sets up software on your computer. Here, the installer was supposed to ask for a secret password, but on some systems the password could be read directly from the installer's memory, and on Windows the password was made by a predictable random number generator, so it could be guessed. This means someone with a copy of the installer could bypass the password check.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.