Simple email spoofing with telnet
Simple email spoofing with telnet
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
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 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 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 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 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?:@