Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Simple email spoofing with telnet


Simple email spoofing with telnet

By ghostghost | 5383 Reads |
0     0

Hello! Today were going to learn a trick that will prove to be quite helpful to you in your everyday life. Email spoofing (at least how I’m teaching it) is where you send an email through the hosts actual mail server under any name you desire. Sound fun? Lets get started…

I assume you have a basic understanding of telnet, putty, or whatever client you happen to be using.

First, click on the start button, go to run. This will bring up a little menu, type, ”Command”. Now were in the command prompt…easy eh? Lets get going then. Type, “NSLOOKUP” this will open something like this

Type this on it, “set type=MX” This tells it to look for MX servers (Mail exchange) Now it will give you another

Type on it your host. This can be “hotmail.com” “yahoo.com” whatever your victim has after the @ on their email. For this article, ill use hotmail. This will display something like this: Non-authorities answer: Hotmail.com MX preference=5, Mail exchanger = mx4.hotmail.com Hotmail.com MX preference=5, Mail exchanger = mx3.hotmail.com Hotmail.com MX preference=5, Mail exchanger = mx2.hotmail.com Hotmail.com MX preference=5, Mail exchanger = mx1.hotmail.com

Choose the one on the top, always, it’s the least used and gives the best connection. Memorize the last part, the mx4.hotmail.com would be your choice for this. Close out of the window.

Click on the start button, go to run and type command again, then type “telnet” this opens telnet, what we’ll use to connect. This is assuming your using telnet and using windows XP. Any other program or OS will work basically the same just alter what I say to fit what you have.

This is using the example above of the result from NSLOOKUP, you will use your results.

Ok, now that were in telnet type “o mx4.hotmail.com 25” the o is XP’s way of opening a connection, 25 is the port were connecting too.

Now that were connected, you’ll probably get a message telling you to get off the server or that your doing bad things. Ignore this and give it a simple command to tell it your safe, ”helo” yes, HELO, not hello, HELO. Once it knows were cool, it will give you a “250” and the message hello with your ip address or something. This is where we start. Type: Mail from: (this can be any email you want, as long as it follows the basic you@email.com format, doesn’t even have to be real) Then hit enter. It will give you another 250 and tell you the senders ok if its right. Now type: Rcpt to: (this is who you want to send it to, it has to be real) If its good, you should get another 250 Now type DATA Should give you a 354, meaning its ok to start writing, so we’ll give it a header Type this [header]: Subject: (your subject) To: (who its to) From: (who its from) Reply-to: (should be the same as from)

Now just put a few lines between that and your message, and type freely!

“testing testing 1…22.…333.…….”

To end, hit enter, type a period, and hit enter Your message is now ready to be sent. To send, type, ”Quit”

And that’s it! After some practice you’ll be able to do it pretty fast, took me a bit to actually get it to work, here’s some ways you can use it:

  • Send a letter to a friend from your teacher, make it a love letter
  • Send a letter from the CIA to a hacker friend
  • Send a letter from your mom to your dad…..
  • Send a letter to your friends girlfriend from him O_O

Anywho I hope this was of some help, have fun!

  • cereal

Comments
ghost's avatar
ghost 19 years ago

doesnt work with gmail….:|

ghost's avatar
ghost 19 years ago

doesnt work with HOtmail, well ive never got it too never gets thruogh… and royal2000H for gmail you need SSL(secure socket layer)

ghost's avatar
ghost 19 years ago

It will work in hotmail, telnet to mx2.hotmail.com on port 25, thats their fastest server. Execute all commands i wrote in the article exactly as their written and it will work.

n3w7yp3's avatar
n3w7yp3 19 years ago

if you use Cox as your ISP you can't connect to other computers on port 25. but you can always use smtp.east.cox.net or smtp.west.cox.net, both of which support relaying ;)

wolfmankurd: are you sure that you need SSL for gmail? SSL is a secure version of HTTP. for email forging you use SMTP (altough i could be wrong, i've never tried this with gmail). if you need to negociate an SSL connection in telnet, just use stunnel ;)

ghost's avatar
ghost 19 years ago

Hmm, I cannot get it to work at all. I have tried the mx2.hotmail.com 25, but all it does is just sit there. I waited for around 6 mins, then got bored and wrote this. I am new to this, but do you know if firewalls effect this?:@

ghost's avatar
ghost 19 years ago

Hmm, I cannot get it to work at all. I have tried the mx2.hotmail.com 25, but all it does is just sit there. I waited for around 6 mins, then got bored and wrote this. I am new to this, but do you know if firewalls effect this?:@

ghost's avatar
ghost 17 years ago

i always get mail is queued to be sent and the email never seems to send :|

d34df0x's avatar
d34df0x 9 years ago

It shows: "Hotmail does not relay dynamically-assigned IP ranges."