this post was submitted on 17 Jul 2023
60 points (96.9% liked)

Mastodon

5239 readers
1 users here now

Decentralised and open source social network.

https://joinmastodon.org/

GitHub

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] JackbyDev@programming.dev 2 points 1 year ago (4 children)

In college I had to write a program to send emails. This was around 2012. Basically we had to send the low level commands of an email for it to go through. After doing this I realized something weird. The email gets to say who it is from. There are obviously ways to sign the message and verify it and most email servers block messages that don't have these because of how trivial it is to fake. It's basically like putting a name tag on that says "Joe Biden" and everyone believing you're the president.

I didn't do anything malicious but I did mildly prank my girlfriend. I don't remember what I did but I'm pretty sure I told her before I did it. I really didn't want to end up getting expelled for """hacking""" so I didn't do anything remotely bad. The irony is the assignment wouldn't have worked and been as interesting if my campus had the proper security measures to block the messages.

It could be that the web client for our email mentioned something about the sender being unverified and not to trust it but I don't remember.

[–] HeavyRust@lemm.ee 1 points 1 year ago (1 children)

Basically we had to send the low level commands of an email for it to go through. After doing this I realized something weird. The email gets to say who it is from.

I remember realizing this and thinking it was weird too when I was reading about SMTP. Specifically, the MAIL FROM command.

Also related.

[–] Cube6392@beehaw.org 1 points 1 year ago

Spoofing email is hilariously easy. GPG signing really needs to be made easier

[–] clearleaf@lemmy.world 1 points 1 year ago

I sent my gmail address an email from obama@whitehouse.gov and it worked.

[–] jballs@sh.itjust.works 1 points 1 year ago

I almost got kicked out of school for this! I sent an email to my girlfriend from some girl that we didn't like, saying something like "you're a huge bitch, haha just kidding this is actually jballs not the chick we don't like."

Problem is that I wrote my girlfriend's email address wrong, so it bounced back to the sender (the girl we didn't like).

So I had to explain to a university dean exactly what I did and how I didn't actually "hack into" the girl's email account. That was fun.