pastebin - collaborative debugging tool
kpaste.net RSS


PGP
Posted by Anonymous on Wed 17th Aug 2016 20:36
raw | new post

  1. (my example uses the Debian based Kali Linux, found at www.kali.org)
  2.  
  3. You will need the following: DO NOT FORGET TO ACCESS THROUGH TOR ONLY!!!
  4.  
  5.  
  6. Enigmail: Will be installed client side.
  7.  
  8. GPG: Is installed by default in Kali Linux and most other Linux distros
  9. (Link: https://gnupg.org/download/index.html just in case)
  10.  
  11. Thunderbird: https://www.mozilla.org/en-US/thunderbird/
  12.  
  13. Make sure you check that you downloaded the right packages for your system!
  14.  
  15. After installing Thunderbird, boot it up. I personally recommend deselecting all of the default client integration to keep your use of the system as low-key as possible.
  16.  
  17. You will then be asked if you would like a new email address. Click "Skip this and use my existing email"
  18.  
  19. Now we will add a new account. I personally recommend a throwaway Google Account.
  20.  
  21. Enter your preliminary account details. At this point, Thunderbird should open up a menu for more advanced options. Google can sometimes be a bit screwy, so make sure it looks like this.
  22.  
  23.    Incoming Mail (IMAP) Server - Requires SSL
  24.  
  25.        imap.gmail.com
  26.  
  27.        Port: 993
  28.  
  29.        Requires SSL: Yes
  30.  
  31.    
  32.  
  33.    Outgoing Mail (SMTP) Server - Requires TLS
  34.  
  35.        smtp.gmail.com
  36.  
  37.        Port: 465 or 587
  38.  
  39.        Requires SSL: Yes
  40.  
  41.        Requires authentication: Yes
  42.  
  43.        Use same settings as incoming mail server
  44.  
  45.    
  46.  
  47. Full Name or Display Name: [your name or pseudonym]
  48.  
  49.    
  50.  
  51. Account Name or User Name: your full Gmail address ([email protected]).
  52.  
  53.    
  54.  
  55. Email address: your full Gmail address ([email protected])
  56.  
  57.  
  58.  
  59. Password: your Gmail password
  60.  
  61. After all that mess is complete, hit "Done". At this point, Thunderbird should start downloading copies of your emails. (If you've listened and used a throwaway address, there won't be many.) Try sending an email to another junk address you have. If it goes through, Congratulations. If it doesn't check your settings and try again. It will sometimes take a minute to go through.
  62.  
  63. Enigmail is an add-on to Thunderbird. To install it, click the menu button (top-right for me) and go to the add-ons menu. You should be taken to the Add-ons Manager. Search for "Enigmail." It should be the first to show up. Click install. After installation is complete, Thunderbird will ask to restart. Click "Restart Now"
  64.  
  65. When Thunderbird restarts, a new window should pop up that will start the set-up process for enigmail. Select "Start setup now" I find the defaults Enigmail recommends to be adequate, but different security levels are possible. This guide assumes you select the standard configuration. Click "Next".
  66.  
  67. Now, Enigmail will ask you for a password to protect your private key. Please, please, please use a strong password. Enigmail will now generate you a new key pair (public and private). This task will take a while to complete and I recommend browsing around your OS, trying new tools and discovering new things. Not only is this a great way to become see some new tools but it also refreshes the Key Generation Pool, which will give you a much stronger PGP key.
  68.  
  69. After this is completed, a window will open asking you to create a revocation certificate. If you lose the key or get hacked, this is a simple way to say you no longer trust that key. It will also invalidate the key, so be careful with it. You will be asked to re-enter your earlier password, then click OK. A window will open to save it somewhere on your computer. I personally recommend keeping the revocation certificate on a USB drive in a safe place in case you have your laptop stolen or lose access to the computer with the keys. Pick a location and save it.
  70.  
  71. CONGRATS! You have now successfully configured Enigmail! Ok, so now what? Well, now you have to socialize a bit. All decent hackers will have a PGP key or a more secure method they prefer. (I prefer Ricochet, but more on that later) Most of the time, once you make a friend in the community, they are more than willing to share their key because it covers their ass and yours. Some people have their PGP keys in their signature, or at a URL. I will cover three ways to get keys.
  72. 1. Emailed to you. If a friend in the community gives you their email address, they can attach their key to it for you to get. (it should be noted that these communications will be public, and should be innocuous.) If they do this, Enigmail will tell and give you a yellow bar that says "Import Key." You will get a confirmation window, click Yes and you should get the keys.
  73.  
  74. 2. If someone has their keys listed in their signature, it will most likely send you to download a .txt, .asc, .pgp or .gpg. Once you have the file, open the Key Manager. Found at the Menu (top right) > Configuration > Enigmail > Key Management. After it opens, click File > Import Keys from File. Then select the file and import it.
  75.  
  76. I personally recommend the latter method for sharing my key around.
  77.  
  78. Now the rest is pretty self explanatory, if both parties have the others key(s) it will auto encrypt based on your key. This can be seen with the golden padlock on the top of the email. Whenever you receive an encrypted email, you'll be prompted to enter the password you entered with the key creation. Do NOT enter your email password.
  79.  
  80. And, that should be it. If I'm unclear on anything, let me know or update it yourself. Feel free to put it where ever you want.

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}





All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at