<luizrosa/> by sunshineLixun

The basic setup for digital privacy

09/15/2024

word count:1580

estimated reading time:8 minute

Privacy is a fundamental right that is being threatened by the digital age. In this post, I will share with you what I learn after X was banned in Brazil and what you should do in these cases.

Topic to be covered in this article:

  1. Why you should care about your privacy on-line
  2. The basics: passwords and 2FA
  3. You should buy a VPN
  4. Where should you search?
  5. Navigate safely with good browsers
  6. Private e-mail clients

1. Why you should care about your privacy on-line

Nowadays everything is too comfortable: you have all your files in a cloud and you can access everything with your phone or with your browser. You have all your friends in the palm of your hands. You have access to all the knowledge of the entire history of humanity in seconds.

But with all this comfort come also a very threatener fact: your privacy is in danger, and you probably even don’t know why.

”But why should I care?”

I really don’t think we are close to 1984, a dystopic world written by George Orwell (which I really recomend you to read). But I will cite some facts to make you think:

  1. Google has access to all your e-mail contents, to sell you ads.
  2. Microsoft will take screenshots while you are using your PC.
  3. Meta knows more about you than (probably) your own partner.
  4. All your photos maybe are at Google servers, so they know the face of everyone you know.
  5. If your data are leaked from some service, you can be phished by a bad person.
  6. Are all your passwords the same? Probably some of your accounts are already opened by someone you don’t know.

So, if you are a common user of the internet, maybe you do not need all that I will show you. But if you have at least one important account, like internet banking, confidential data or just don’t want that another one sees what you are storing or searching, I will strongly sugest you to keep reading.

2. The basics: passwords and 2FA

The most trivial thing you should be caring about is your passwords. If a database is leaked, for example, you may be in risk, because the hackers now have knowledge about you passwords.

Even if is hashed with a good algorithm like bcrypt or sha256 hackers still can use it for they own gains, because of the rainbow tables.

What are rainbow tables?

They are basically a precomputed table, a “cache” that hackers use to derivate your password having the hash you give to them. So, if your password is so simple, like “123456” or “password”, they already know its hash and can hack you. Let’s see a practical example. I will generate a bad password and pass it in a hash algorithm and see what I receive. Let’s open neovim.

func main () {

    // let's define our password
    password := "123456"

    // here we call the function bcrypt from golang
    hash, err := bcrypt.GenerateFromPassword([]byte(password), bcrypt.DefaultCost)
    if err != nil {
       fmt.Println("Error generating hash!", err)
       return
    }

    fmt.Println("Bcrypt:", string(hash))
}

This go code will only bcrypt a simple password and give me its hash, which is:

2a2a10$A/4HX…VLiuRJ3A5qOOGhW.

You can think you are very safe if the system you are using do this. But if a lot of people use this password, it is very easy to find it in a rainbow table and check from there (much easier then checking all the possibilities, in brute force, which is impossible).

2.1: Use a very long password, that even you can’t remember

The first tip is simple: if you can remember your own password, it is a bad one. Change it.. You → cannot ← remember your passwords. If you can, it probably is leaked!

The ideal is to use a password generator, or use a very long phrase, changing letters by numbers and using special chars. But the generator is the goat here.

How I will manage tons of passwords if I can’t remember them?

Simple: use a password manager. There are tons of this type of software. You must be careful choosing one.

I do not recomend the browsers natives, like Google Chrome Password Manager or the Apple Passwords, not for privacy or something like that, but it turns more difficult to migrate from these platforms.

I will recomend here the Bitwarden, which I am using for more than 2 years and loving it. It is simple. It is consise. It is safe. It is open source. And it is free. They also offer a paid plan which offers you 2FA (next topic) and enterprise plans. But I am good with the free one.

2.2: 2FA is required!!!

If you don’t use two factor authentication, you are late. It prevent hackers from accessing your account if they know your password (which is now very strong because of the last topic), they can’t access, because 2FA needs something you are holding, you have with you, like your phone or e-mail.

I’m using Authy, from Twillio, but any alternative is fine.

3. You should buy a VPN

I started using VPN three months from today, and I didn’t knew much about it. But I was forced by the force of the law (😂😂😂). Started studying and I realized that I was late. I will recomend an article that opened my mind: https://restoreprivacy.com/vpn/, but basically, a VPN encrypts all your data and masks you identity over the internet. Suppose you are using Google by your phone in your house. Google basically know exactly where you are and who you are. It knows your IP, location, device… It’s really scaring!

So, in fancy terms a VPN is the pinnacle of digital privacy, because it creates a private tunnel between you and the server you are accessing. Anyone outside the tunnel can see what is going on inside. It also hiddes you location, becoming impossible tell where you are or who are you.

Here I will be recomending Mullvad VPN basically because you can pay for it in Bitcoins! But I am having some lag and access problems. I don’t know exactly if it because of Mullvad or something else, just trying another ones to know. However, it is good, yes, and private: you don’t give them any information, no names, no e-mails, nothing. Only a private key to access. Give it a chance.

And never, never use a free one. They are data steallers.

4. Where should you search? Search engines

Search engines are basically machines to collect your private data. They can know everything about you. You are sick? The engine will know it. You are broke? The engine will know it. You are thinking to vote to candidate ABC? Oh yes, the engine will know it. And much more your imagination allows you to think.

Google Engine is probably the best one, not because they have the bests developers, another companies also have excellent ones. But because they created a monopoly of data extraction of its users. No company in the world have its capacity. Do you really think that Microsoft makes Bing bad because they don’t have engineering to do a good one? And because of Google is the best by far, a lot of people don’t want to switch.

A good alternative if you don’t imagine yourself away from Google is Startpage. It basically searchs for you, acting like a Google’s proxy. But my recomendation here is Brave Search. It uses its own crawler, indexing 10 billion pages. Your simple question of “how to center a div” of course will be found with no problems. For more complex searchs, it can act like Startpage, googling it for you. I use it daily and recomend.

5. Navigate safely with private browsers

A browser can be your best friend or your enemy, talking in terms of privacy. As search engines do, a browser can have all your data (the sites you visit, your downloads, how much time do you spend in each domain…).

Chrome is the suprasum of digital espionage, wheter you like it or not.

This is why I use Brave, a Chromium-base browser. It is totally private and doesn’t store any data in any server. It is fast and open-source.

Some people like Firefox. It is also a good option, but I don’t like it too much. Brave is faster, IMO.

Talking about browsers, there are a lot of private and good ones, choose the best for you:

But never use Opera. I really don’t know how people fell into the idea of “gamer browser”. Dude, WTF? It makes NO sense. Opera is now owned by a chinese company and… well, I don’t trust a little bit. It is a spyware to me.

6. Private e-mail clients

E-mails are so important nowadays that I don’t even imagine a world without them anymore. Like chat clients owned by big companies, e-mail clients can share your data to sell you products. Gmail does. Outlook does.

I read in some article once that “if you want to have a private and good e-mail, pay for it, because if you don’t pay for a product… you are the product”.

And it makes a lot of sense. This is why I am using (and paying) for Proton Mail and Proton Drive as well. Proton is a swiss end-to-end encrypted e-mail service, founded in 2013. It is a complete suite for productivity and privacy. Take a quick look!

Another good option is Tuta, but I never used this before.