Skip to content

Instantly share code, notes, and snippets.

@johncantrell97
Last active April 15, 2023 15:09
Show Gist options
  • Save johncantrell97/bbab69bbde03d22eb8323fd94cd46db0 to your computer and use it in GitHub Desktop.
Save johncantrell97/bbab69bbde03d22eb8323fd94cd46db0 to your computer and use it in GitHub Desktop.
How I Obtained Satoshi's Treasure Keys 1, 2, and 3 in Minutes

Today (April 16th 2019 at noon) the first major clues to discover key #1 was set to be released in a few cities. A QR code with the words 'orbital' were found at these locations and looked like this: (https://imgur.com/a/6rNmz7T). If you read the QR code with your phone you will be directed to this url: https://satoshistreasure.xyz/k1

At this URL you are prompted to input a passphrase to decrypt the first shard. An obvious first guess was to try the word 'orbital' from the QR code. Not suprisingly this worked! This reveals a congratulations page and presents the first key shard:

ST-0001-a36e904f9431ff6b18079881a20af2b3403b86b4a6bace5f3a6a47e945b95cce937c415bedaad6c86bb86b59f0b1d137442537a8.

Now, we were supposed to wait until April 17th to get clues from the other cities for keys #2 and #3 but that wouldn't stop me from digging around with all the new information we had. All that time "playing" notpron (http://notpron.org/notpron/) years ago was going to help me here.

The first thing I noticed was the k1 in the url and quickly checked to see if k2, k3, and k4 existed. I was excited to see that both k2 and k3 already existed but k4 (and anything higher) did not appear to exist yet.

The next thing I noticed was that k2 and k3 were both exactly the same setup as k1 where it wanted me to input a passphrase to "decrypt the page". I thought this was strange wording as I expected the verification to happen server side. I checked the page source to find that the actual congrats page that reveals the shard was included in the source code (albeit encrypted by the passphrase).

The source code that runs when you submit a passphrase looks like this:

document.getElementById('staticrypt-form').addEventListener('submit', function(e) {
    e.preventDefault();

    var passphrase = document.getElementById('staticrypt-password').value,
        encryptedMsg = '13ea059e2490f645da28f5f1529ca8095b1832ba95a0f3256b302ae58dca59afU2FsdGVkX1+o0KwER4WtPa8Jng8kW3vx8CpqeQkpOGSQEeNBJY0//LbZuKJXIn4ZXv7na+XWneDBFsVl/lfyd7DXAzEv+ZCWhspgBKOkVUdZcqZqBXViGkO+6UjA6Mj0Zngwfxwdsn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0Rh3ohHyqNQt4no04cgUjxsojBS0sV2Bo790jDri1DbJhhw20K9ehLbl8s+NYXfTv9QnU0WjpoN7ltUD6EPDMytlKUREtSUFMIY1KE+dVAHoAVYQ04y4+cu23c72mT+KDtDZWsh7LjzA8k+VBHlDE7EUbHzzVJFmEL4zNpeJegHiga/64X6Kl0mp5J/OS1NJ/CwFInFn6weK5STf3VtJlA7t49/yeGvMWKkDju3L2idc4PBkc/51B9yfiJaz639dpo8KlbOJYlCuku1Jxc+O3z+UMo7MrUjqZ0H2HHwCEDxPCW2nX1tMtXP9fJCBLbtuTx/LVZUJsnJuMxBKjpgrR4t/QjHdYC9+xExlIbU71JYN2t1MSA1WM/YWt0fzabztdqRrW6P5+UtXEYp+7E4NeX9S4BG6LMcexd+fdH2A9j3eezYyCJ4IIvNQmei3hjSyoPWB2j3Nx/gGdHcxpre56H5Nqjksq7RdWZolpV72PuZ/BuhWJSj84dMNfL4TyQAwguYWK+LVw1iP0NzS6/Klubh8CrhSizddfsYxJRLvPwyZIOirfZjFYM3vGrcb1+mOa62keSSiPYD7quTngS/Q6LKl3iD2xhb3TL67Tpm0VXAOIABs=',
        encryptedHMAC = encryptedMsg.substring(0, 64),
        encryptedHTML = encryptedMsg.substring(64),
        decryptedHMAC = CryptoJS.HmacSHA256(encryptedHTML, CryptoJS.SHA256(passphrase).toString()).toString();

    if (decryptedHMAC !== encryptedHMAC) {
        alert('Bad passphrase!');
        return;
    }

    var plainHTML = CryptoJS.AES.decrypt(encryptedHTML, passphrase).toString(CryptoJS.enc.Utf8);

    document.write(plainHTML);
    document.close();
});

Let me break this down for you:

document.getElementById('staticrypt-form').addEventListener('submit', function(e) {});

This line is setting up the event listener for when the decryption form is submitted. This means when the form is submitted, whatever code is defined inside of function(e){} will run.

e.preventDefault();

This line isn't important but just prevents the browser from performing the default action when a form is submitted. If this wasn't included the page would likely refresh and not continue to run the code below.

var passphrase = document.getElementById('staticrypt-password').value;

This line reads the value you typed into the password box into a variable called passphrase. In our case this would hold the string "orbital" (assuming that is what you typed in).

encryptedMsg = '13ea059e2490f645da28f5f1529ca...'

I truncated this because it's a really long string but you can see the full string above. This is storing the fully encrypted passphrase and HTML of the congrats page.

encryptedHMAC = encryptedMsg.substring(0, 64);

This tells us that the first 64 characters of the encryptedMsg above represent the encrypted passphrase. This will be used to check if our passphrase is correct.

encryptedHTML = encryptedMsg.substring(64);

This tells us that the rest of the encrypted message is the actual HTML for the congrats page that contains the shard!

decryptedHMAC = CryptoJS.HmacSHA256(encryptedHTML, CryptoJS.SHA256(passphrase).toString()).toString();

Here we see that what I've been calling the "encrypted passphrase" is really the HMACSHA256 digest of the encrypted html using the sha256(passphrase). Essentially, if our passphrase is correct then the decryptedHMAC will equal the encryptedHMAC.

if (decryptedHMAC !== encryptedHMAC) {
  alert('Bad passphrase!');
  return;
}

Here we can see the check if the passphrase you provided was able to generate the encryptedHMAC. If the passphrase is not correct then the page will show you the error "Bad passphrase!"

var plainHTML = CryptoJS.AES.decrypt(encryptedHTML, passphrase).toString(CryptoJS.enc.Utf8);
document.write(plainHTML);
document.close();

If the passphrase is correct then it uses it to decrypt the encryptedHTML and then overwrites the page with the new HTML so you can see the congrats page!

After I saw this source code I realized because the check for whether or not the passphrase was correct was done locally I could brute force this using a dictionary attack. I also assumed the passphrases for k2 and k3 would be english words.

I quickly googled for a downloadable dictionary english word list and opened a new ruby script. A few minutes later I had this script:

require 'openssl'
require 'digest'

K1_encryptedHTML = "..."
K2_encryptedHTML = "..."
K3_encryptedHTML = "..."

K1_encryptedHMAC = "13ea059e2490f645da28f5f1529ca8095b1832ba95a0f3256b302ae58dca59af"
K2_encryptedHMAC = "2c5d8ae979d4dee1f33e7b3b11a8f57101e4c77e444d273dfc156f3f52a43934"
K3_encryptedHMAC = "e24b9cd8ba500e388252827e72f37b23e4c5eab209c36ce66bc3b71de45fdc4c"


File.foreach('words.txt') do | passphrase | 
  sha256Passphrase = Digest::SHA256.hexdigest(passphrase.strip.downcase)
  K1_decryptedHMAC = OpenSSL::HMAC.hexdigest('SHA256', sha256Passphrase, K1_encryptedHTML)
  K2_decryptedHMAC = OpenSSL::HMAC.hexdigest('SHA256', sha256Passphrase, K2_encryptedHTML)
  K3_decryptedHMAC = OpenSSL::HMAC.hexdigest('SHA256', sha256Passphrase, K3_encryptedHTML)
  
  if K1_decryptedHMAC.eql?(K1_encryptedHMAC)
    puts "Passphrase for K1 is #{passphrase}"
  end
  
  if K2_decryptedHMAC.eql?(K2_encryptedHMAC)
    puts "Passphrase for K2 is #{passphrase}"
  end
  
  if K3_decryptedHMAC.eql?(K3_encryptedHMAC)
    puts "Passphrase for K2 is #{passphrase}"
  end

end

Let me break it down section by section for you:

require 'openssl'
require 'digest'

Here we are just including ruby libraries that are useful working with crypto. They provide the ability to compute SHA256 and HMACSHA256 which we need for this problem.

K1_encryptedHTML = "..."
K2_encryptedHTML = "..."
K3_encryptedHTML = "..."

K1_encryptedHMAC = "13ea059e2490f645da28f5f1529ca8095b1832ba95a0f3256b302ae58dca59af"
K2_encryptedHMAC = "2c5d8ae979d4dee1f33e7b3b11a8f57101e4c77e444d273dfc156f3f52a43934"
K3_encryptedHMAC = "e24b9cd8ba500e388252827e72f37b23e4c5eab209c36ce66bc3b71de45fdc4c"

These are just storing the encrypted HTML and HMAC from each of the satoshistreasure.xyz decrypt pages source code.

File.foreach('words.txt') do | passphrase | 

This will loop over each word in my words.txt dictionary and assign each word to passphrase one at a time.

sha256Passphrase = Digest::SHA256.hexdigest(passphrase.strip.downcase)
K1_decryptedHMAC = OpenSSL::HMAC.hexdigest('SHA256', sha256Passphrase, K1_encryptedHTML)
K2_decryptedHMAC = OpenSSL::HMAC.hexdigest('SHA256', sha256Passphrase, K2_encryptedHTML)
K3_decryptedHMAC = OpenSSL::HMAC.hexdigest('SHA256', sha256Passphrase, K3_encryptedHTML)

This calculated the decrypted HMAC for all three puzzles from the current passphrase.

if K1_decryptedHMAC.eql?(K1_encryptedHMAC)
  puts "Passphrase for K1 is #{passphrase}"
end
  
if K2_decryptedHMAC.eql?(K2_encryptedHMAC)
  puts "Passphrase for K2 is #{passphrase}"
end
  
if K3_decryptedHMAC.eql?(K3_encryptedHMAC)
  puts "Passphrase for K3 is #{passphrase}"
end  

This did a quick check to see if the decrypted HMAC was equal to the encrypted HMAC. If this is true then we know the passphrase is the solution to the problem!

When I ran this scrypt in a few seconds it output:

Passphrase for K3 is blackhole
Passphrase for K2 is cosmos
Passphrase for K1 is orbital

I was shocked! That was easy :) . I checked each passphrase on the k2 and k3 decrypt pages to make sure they were correct. They were!

Hope this helps you understand how I was able to obtain three of the key shards in a few minutes. Please follow me on twitter @johncantrell97 for future #sastoshistreasure tips.

@M4N0V3Y
Copy link

M4N0V3Y commented Apr 22, 2019

I am wondering... if they release ONE KEY per week, It will spend seven years to accomplish the hunt. It will be a quest!
So, I think it will evolve and some people will drop the stick along the road.
Well, this hunt can become a quest of about seven years. If yes, how long you think you can stand for that?

@suhailvs
Copy link

suhailvs commented Apr 23, 2019

@marcuskm thanks. It worked. Here is the link

@marcuskm
Copy link

@M4N0V3Y maybe it will take seven years, but my guess is that there will be released more keys per hint, just like first time where there were released 3 keys.

@marcuskm
Copy link

Or realese keys with a hint till the next keys.

@M4N0V3Y
Copy link

M4N0V3Y commented Apr 23, 2019

Yeap. I think this First are the warming up for the hunt.

@julian05060506
Copy link

Maybe this is just a game, in order to attract more attention to the game sponsor or bitcoin, 7 years, no one knows whether bitcoin will still have value

@marcuskm
Copy link

Maybe this hunt is for creating attention, if it is, we will probably experience a higher pace of clues being given, a seven year race does not attract a lot of attention, at least not in the first 5 years. I dont know what intention the creators had when they created this, but my guess is that they would have loved this adventure in their own life, and now, they have the money and power, they have chosen to create it for the next generation.

@M4N0V3Y
Copy link

M4N0V3Y commented Apr 24, 2019

So, @marcuskm, seems that we will have a journey togeter ( for win or for play and have Fun) ;)

@marcuskm
Copy link

For the journey, for the things we are gonna learn, for fun and if we win i wont complain. For the hunt.

@yavwa
Copy link

yavwa commented Apr 24, 2019

DISCLAIMER: JUST MY THINKING, PLEASE DON'T HOLD ME ACCOUNTABLE HOW YOU INTERPRET IT.

Nobody will reward the winner. what if we already have all that's needed from the 4keys already out there?
**

K1 - The Jade Key, k2 - The Bismuth Key, k3 - Mamoru's Key & k4 - The Leporine Key

**
whats the relation between this four keys? age hierarchy or just randomly picked ?

@yavwa
Copy link

yavwa commented Apr 24, 2019

DISCLAIMER: JUST MY THINKING, PLEASE DON'T HOLD ME ACCOUNTABLE HOW YOU INTERPRET IT.

Nobody will reward the winner. what if we already have all that's needed from the 4keys already out there?
**

K1 - The Jade Key, k2 - The Bismuth Key, k3 - Mamoru's Key & k4 - The Leporine Key

**
whats the relation between this four keys? age hierarchy or just randomly picked ?

@M4N0V3Y
Copy link

M4N0V3Y commented Apr 24, 2019

@yavwa they are surely related to build the whole passphrase for the chest of treasure! (LOL) ... but I catch your thoughts, buddy.
If they can be combined to lead us to next clues... well, I can't bound Jade, Bismuth, Mamoru and Leporine yet for raise next clues by now. Maybe you are starting to walk through conspiracy theory about those keys (LOL) or maybe they are related and it's relation shall provide clue for other keys... hum, I think if worth to spend time wondering about if they are bound or not ( for generate new clues )... by now... Is it worth? too soon to tell.
Let's wait next key to be released, let's break it and try to feel if they are bound or not (for generate clue for other keys ).

@M4N0V3Y
Copy link

M4N0V3Y commented Apr 26, 2019

Next key - The Hunted Key ( coming soon).

@M4N0V3Y
Copy link

M4N0V3Y commented Apr 27, 2019

Guys. The main page changed. Now they are saying "... CLUES HERE FREQUENTLY,..." instead " ... CLUES HERE EVERY SUNDAY NOOM PST...". So, they may start publish more times than once a week from now on. I think they are reading stuff we post around in the web.... Let's see. The hunt is become more funny than before!

@amingilani
Copy link

Hey guys, please install the Wayback Machine or Achive.org's add-on and keep archiving the clue pages as you run into them. They keep removing stuff.

Also, the Hunter Key is out.

@amingilani
Copy link

Hey guys, please install the Wayback Machine or Achive.org's add-on and keep archiving the clue pages as you run into them. They keep removing stuff.

Also, the Hunter Key is out.

@marcuskm
Copy link

Yes, and the first person has been located.

@suhailvs
Copy link

Agent 1

https://www.facebook.com/jeffery.durand
Location: France, ask him for address
Book: stories of ibis (Japanese version)

@suhailvs
Copy link

i updated my page with clues: https://suhailvs.github.io/treasure

@Harry81622
Copy link

Harry81622 commented Mar 21, 2023

When it comes to tactical gear and equipment, their purpose is to provide the user with the necessary tools and protection to survive in any environment. This includes items such as body armor, helmets, night vision devices, flashlights, climbing ropes, and even knives. https://tacticalster.com/best-tactical-shorts/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment