Understanding Networks — Professor Tom Igoe
Story from my Past Life as a Cyber Criminal
Nuts and Bolts of Encryption: A Primer for Policymakers
Edward W. Felten, 2017
- Alice generates a secret key
- protects the confidentiality of the data,
- protects the integrity of the data
- Alice and Bob, want to send a series of messages
- protect the confidentiality of messages
- integrity of messages
- authenticate each other
public-key cryptography for non-geeks
Panayotis Vryonis, 2013
- Public key cryptography is based on what is called "asymmetric" cryptography.
- That’s symmetric cryptography: you have one key, and you use it to encrypt (“lock”) and decrypt (“unlock”) your data.
- First of all, imagine you want to send Anna a very personal document. You put the document in the box and use a copy of her public-key to lock it. Remember, Anna’s public-key only turns anticlockwise, so you turn it to position A. Now the box is locked. The only key that can turn from A to B is Anna’s private key, the one she’s kept for herself. That’s it! This is what we call public-key encryption: Everyone who has Anna’s public-key (and it’s easy to find a copy of it, she’s been giving them away, remember?), can put documents in her box, lock it, and know that the only person who can unlock it is Anna.
- Someone delivers me this box and he says it’s from Anna. I don’t believe him, but I pick Anna’s public-key from the drawer where I keep all the public-keys of my friends, and try it. I turn right, nothing. I turn left and the box opens! “Hmm”, I think. “This can only mean one thing: the box was locked using Anna’s private key, the one that only she has.”
Written below is a short fiction which bears no semblance to the life of the author and is included simply to demonstrate how encryption could be used.
I am familiar with pgp from my good old days of buying drugs online. it was a laborious process, especially while living on a remote island with limited internet access. I bought lsd, dmt, molly, mushrooms, coke, and ketamine, in small personal use amounts for myself and my friends.
I would go sit for hours at the one coffee shop or outside the library bundled up against the cold to use the wifi. Literally, i would wear fingerless gloves.
The process would go like this. I would collect cash and turn it into bitcoin at a bitcoin atm, this required a trip to the mainland. Sometimes I purchased crypto on coinbase, although never more than 500$ on one account. Then I would take my computer, which had a linux partition, and load up the TOR browser. Tor is like, a web protocol built by the cia for spies to communicate securely through the chinese firewall. In order to make sure your guys are secret and secure, you need to set the network free, so it was at the time the place for darkweb type things to happen. So then, once I was on TOR, I went to a site I trusted, I trusted it because I had used it before and I had their public key to check the url against on a verification page. If their public key changed, I knew something was wrong, because the private key on their backend would have changed as well.
Tor was very slow because it had you bouncing your traffic across like 7 proxies which random people hosted towards the ends of creating a secure and decentralized network. If someone controlled a majority of the networks their traffic could be traced, and I would always hear talk about how it was all a government honeypot and they were gonna get everyone, but anyways, I was just buying USA to USA shipping on the postal service where our mail is constitutionally protected to be secure. (whatever that means)
Anyways, heres how it would go. I would create a pgp key and store it on my computer, that was my key. I never really needed to have a high trust account so I used a couple keys. Then I would have to go through the process of finding a decent market. Constantly the markets would exit scam and take peoples money, or get busted by the feds which would result in the confiscating of their crypto, so anyways, yeah, it was a struggle to find a place you trusted to order from. Every market had their own public key as well, which you were supposed to copy and hold onto in order to verify that the url you were visiting was correct and not a scammer imitating the market. The markets public key could be used to decrypt a long text, which would give you the URL, which you could then check against the url you were on.
Then on the market itself, you typically had to put your public key in your profile. The importer, and drug dealers online are typically importers, taking on the risks of packages crossing the border, as most drugs are manufactured in countries with less strict laws, the importer would have their public key in their profile. So, you would take their public key and your private key, and send them a message, hey, heres my address and here are the drugs I want to buy. The payment is in escrow." The dealer would then send you a message back, encrypted with your public key and their private key. "I got your message, the package is shipped, thank you!" When the package arrived, and it always did, I went back to the site and released the payment from escrow. People were always very nice and cordial.
By sending messages encrypted with the sellers public key and my private key, I was able to decode my own messages, if need be. Then, the reverse, they encrypted with my public key ( so I could decrypt the message), and their private key (so they could decrypt the message).
So for example, when the merchant TRIP WITH SCIENCE, a purveyor of synthetic liquid psilocybin, was caught and persicuted by the federal government, it is possible that the feds were able to get their private pgp key and decode all their messages, including my address and purchase history. It is also possible, that despite the capture of the three men running the account, that their pgp key went uncompromised and my messages are safe. At the end of the day, encryption is only as secure as the people behind it.
https://www.justice.gov/usao-sdoh/pr/3-defendants-plead-guilty-dark-web-drug-sales-case
Anyways, this was all good and dandy living in my hometown in washington and out on the islands. When I moved to new york, I performed this magic summoning one more time. The package was sent to me from jamaica queens. In new york city, its much easier to just know someone whos handling all this hassle for you at a small fee, probably getting merchandise imported, or with a supply chain of their own which has been moved offline.
So now, I just have to worry about end to end encryption for messages, which is much simpler and lower friction and quicker. Apps do it, vs the whole PGP copy paste which requires a program on the computer.