Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-13-2005, 11:22 AM
|
#1
|
Senior Member
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430
Rep:
|
How does one forge the headers of an email?
How does one forge the headers of an email?
I dont see anywhere in the exim.conf where the IP is set.
To forge an email header do you actually have to change the packet as its leaving the server?
|
|
|
08-13-2005, 11:30 AM
|
#2
|
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107
Rep:
|
Now why would you want to forge/spoof the IP?
|
|
|
08-13-2005, 12:06 PM
|
#3
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,187
|
The sending IP-address is going to be obtained from looking at where a particular connection-request came from. The trouble with e-mail is that any sort of SMTP header can be attached and it will be accepted. If you want to send e-mail from god@heaven.org, it will be accepted.
P.S.: The aforementioned web-site appears to be off-line right now. But I understand that they do accept requests 24/7 by means of mental telepathy... 
|
|
|
08-13-2005, 05:08 PM
|
#4
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
I really don't like where this is going. We don't help spammers on this forum.
|
|
|
08-13-2005, 07:47 PM
|
#5
|
Senior Member
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430
Original Poster
Rep:
|
I am learning computer forensics and in order to know if the headers of an email are forged I must know how to forge them myself. I hate spammers and would nerver spam.
|
|
|
08-13-2005, 08:28 PM
|
#6
|
Senior Member
Registered: May 2002
Location: Horsham Australia
Distribution: elementary os 5.1
Posts: 2,479
Rep:
|
as well as seemingly violating the no spam/crack/warez rule, you also seem to be asking for homework help. I'm afraid that, due to high level paranoia (just kidding- we just hate spammers) the members are less likely to help you. Also, though you might never spam, any answers given are in public domain, accessable to any would be spammers.
ask other linux questions here- just not something like this.
blessings on the studies!
titanium_geek
|
|
|
08-13-2005, 08:40 PM
|
#7
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
What titanium_geek says is correct.. regardless of your intentions, we make a point of not publishing stuff like this hear because you never know the intentions of anyone else whom might read it.
At any rate... e-mail headers are far from complex... it's just plain text... nothing special.
As far as combating fake headers... I setup my e-mail server to check the validity of the sending e-mail addresses domain as well as the sending SMTP servers domain (provided during the HELO). If the domains are fake I return an error to the server. In the case of the HELO, if it is a valid domain and I make sure the IP of the SMTP server matches the whois records on the domain... if not, I reject it.
|
|
|
08-14-2005, 12:57 AM
|
#8
|
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642
Rep:
|
The complicating factor with questions about "how to forge Email headers" is that they are contrary to the LQ Rule that states "Posts containing information about cracking, piracy, warez, fraud or any topic that could be damaging to either LinuxQuestions.org or any third party will be immediately removed." As you can expect, although a question about "how to forge" an Email header may be posted by someone who has a legitimate or academic interest in the research aspects of the question, it should be pretty obvious that spammers falsely could make the same claim, and obviously there is no practical way for LQ to ascertain the true intentions of the OP.
As a result, my view is that these questions just don't belong on LQ. There are plenty of other sites that deal exclusively with security issues, and these questions are better directed there. Personally I'd recommend visiting SecurityFocus -- J.W.
|
|
|
08-14-2005, 09:29 AM
|
#9
|
Senior Member
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430
Original Poster
Rep:
|
Quote:
Originally posted by jtshaw
I setup my e-mail server to check the validity of the sending e-mail addresses domain as well as the sending SMTP servers domain (provided during the HELO). If the domains are fake I return an error to the server. In the case of the HELO, if it is a valid domain and I make sure the IP of the SMTP server matches the whois records on the domain... if not, I reject it.
|
How did you do this?
Are you running exim?
|
|
|
08-14-2005, 01:19 PM
|
#10
|
Senior Member
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658
Rep:
|
Yeah, I think asking for a step-by-step HOWTO on forging email addresses has crossed the line. The basic concept has already been explained and there are plenty of places with that info that can be found via a google search.
//Thread Closed
|
|
|
All times are GMT -5. The time now is 07:47 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|