Honeypot for Spectre

inertia(74)
Published in
#intel
Words
114
Reading
1 min
Listen
Play
9y

First, look at this dumb infographic:

So here's my idea. Spectre can read whatever it wants from memory. So let's give it something to read. Load memory with a bunch of Bitcoin private keys that have zero balance. Know what already does that?

https://github.com/samr7/vanitygen

    while (!vcp->vc_halt) {
        if (++npoints >= rekey_at) {
            vg_exec_context_upgrade_lock(vxcp);
            /* Generate a new random private key */
            EC_KEY_generate_key(pkey);
        .
        .
        .
    }

Vanitygen is a tool for creating a bitcoin vanity address. Say you want an address that starts with 1337h4x0r. Just run vanitygen and let it brute-force an address into existence.

While it's doing that, it'll also created a bunch of garbage for Spectre to trigger on. If it triggers on bitcoin private keys, it'll have hundreds of thousands to sift through at any given time, which will keep it busy for years.

Honeypot for Spectre | Ecency