我怎样才能知道电子邮件的真正来源?

就因为你的收件箱里出现了一封标有比尔。史密斯@somehost.com,并不意味着比尔真的与此事有关。请继续阅读,我们将探索如何挖掘并查看可疑电子邮件的实际来源。...

我怎样才能知道电子邮件的真正来源?

就因为你的收件箱里出现了一封标有比尔。史密斯@somehost.com,并不意味着比尔真的与此事有关。请继续阅读,我们将探索如何挖掘并查看可疑电子邮件的实际来源。

今天的问答环节是由SuperUser提供的,SuperUser是Stack Exchange的一个分支,它是一个由Q&a网站组成的社区驱动分组。

问题

超级用户读者Sirwan想知道如何找出电子邮件的真正来源:

How can I know where an Email really came from? Is there any way to find it out? I have heard about email headers, but I don’t know where can I see email headers for example in Gmail.

让我们看看这些邮件头。

答案

超级用户贡献者Tomas提供了一个非常详细和深刻的回应:

See an example of scam that has been sent to me, pretending it is from my friend, claiming she has been robbed and asking me for financial aid. I have changed the names — suppose that I am Bill, the scammer has send an email to [email protected], pretending he is [email protected]. Note that Bill has forward to [email protected].

First, in Gmail, use show original:

007Ys3FFgy1gpfxil9cxbj30hr088gqa

Then, the full email and its headers will open:

Delivered-To: [email protected] Received: by 10.64.21.33 with SMTP id s1csp177937iee; Mon, 8 Jul 2013 04:11:00 -0700 (PDT) X-Received: by 10.14.47.73 with SMTP id s49mr24756966eeb.71.1373281860071; Mon, 08 Jul 2013 04:11:00 -0700 (PDT) Return-Path: <[email protected]> Received: from maxipes.logix.cz (maxipes.logix.cz. [2a01:348:0:6:5d59:50c3:0:b0b1]) by mx.google.com with ESMTPS id j47si6975462eeg.108.2013.07.08.04.10.59 for <[email protected]> (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 08 Jul 2013 04:11:00 -0700 (PDT) Received-SPF: neutral (google.com: 2a01:348:0:6:5d59:50c3:0:b0b1 is neither permitted nor denied by best guess record for domain of [email protected]) client-ip=2a01:348:0:6:5d59:50c3:0:b0b1; Authentication-Results: mx.google.com; spf=neutral (google.com: 2a01:348:0:6:5d59:50c3:0:b0b1 is neither permitted nor denied by best guess record for domain of [email protected]) **[email protected] Received: by maxipes.logix.cz (Postfix, from userid 604) id C923E5D3A45; Mon, 8 Jul 2013 23:10:50 +1200 (NZST) X-Original-To: [email protected] X-Greylist: delayed 00:06:34 by SQLgrey-1.8.0-rc1 Received: from ela**tp-curtail.atl.sa.earthlink.net (ela**tp-curtail.atl.sa.earthlink.net [209.86.89.64]) by maxipes.logix.cz (Postfix) with ESMTP id B43175D3A44 for <[email protected]>; Mon, 8 Jul 2013 23:10:48 +1200 (NZST) Received: from [168.62.170.129] (helo=laurence39) by ela**tp-curtail.atl.sa.earthlink.net with e**tpa (Exim 4.67) (envelope-from <[email protected]>) id 1Uw98w-0006KI-6y for [email protected]; Mon, 08 Jul 2013 06:58:06 -0400 From: "Alice" <[email protected]> Subject: Terrible Travel Issue.....Kindly reply ASAP To: [email protected] Content-Type: multipart/alternative; boundary="jtkoS2PA6LIOS7nZ3bDeIHwhuXF=_9jxn70" MIME-Version: 1.0 Reply-To: [email protected] Date: Mon, 8 Jul 2013 10:58:06 +0000 Message-ID: <E1Uw98w-0006KI-6y@ela**tp-curtail.atl.sa.earthlink.net> X-ELNK-Trace: 52111ec6c5e88d9189cb21dbd10cbf767e972de0d01da940e632614284761929eac30959a519613a350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 168.62.170.129 [... I have cut the email body ...]

The headers are to be read chronologically from bottom to top — oldest are at the bottom. Every new server on the way will add its own message — starting with Received. For example:

Received: from maxipes.logix.cz (maxipes.logix.cz. [2a01:348:0:6:5d59:50c3:0:b0b1]) by mx.google.com with ESMTPS id j47si6975462eeg.108.2013.07.08.04.10.59 for <[email protected]> (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 08 Jul 2013 04:11:00 -0700 (PDT)

This says that mx.google.com has received the mail from maxipes.logix.cz at Mon, 08 Jul 2013 04:11:00 -0700 (PDT).

Now, to find the real sender of your email, your goal is to find the last trusted gateway — last when reading the headers from top, i.e. first in the chronological order. Let’s start by finding the Bill’s mail server. For this, you query MX record for the domain. You can use some online tools, or on Linux you can query it on command line (note the real domain name was changed to domain.com):

~$ host -t MX domain.com domain.com MX 10 broucek.logix.cz domain.com MX 5 maxipes.logix.cz

So you see the mail server for domain.com is maxipes.logix.cz or broucek.logix.cz. Hence, the last (first chronologically) trusted “hop” — or last trusted “Received record” or whatever you call it — is this one:

Received: from ela**tp-curtail.atl.sa.earthlink.net (ela**tp-curtail.atl.sa.earthlink.net [209.86.89.64]) by maxipes.logix.cz (Postfix) with ESMTP id B43175D3A44 for <[email protected]>; Mon, 8 Jul 2013 23:10:48 +1200 (NZST)

You can trust this because this was recorded by Bill’s mail server for domain.com. This server got it from 209.86.89.64. This could be, and very often is, the real sender of the email — in this case the scammer! You can check this IP on a blacklist. — See, he is listed in 3 blacklists! There is yet another record below it:

Received: from [168.62.170.129] (helo=laurence39) by ela**tp-curtail.atl.sa.earthlink.net with e**tpa (Exim 4.67) (envelope-from <[email protected]>) id 1Uw98w-0006KI-6y for [email protected]; Mon, 08 Jul 2013 06:58:06 -0400

but you cannot actually trust this, because that could just be added by the scammer to wipe out his traces and/or lay a false trail. Of course there is still the possibility that the server 209.86.89.64 is innocent and only acted as a relay for the real attacker at 168.62.170.129, but then the relay is often c***idered to be guilty and is very often blacklisted. In this case, 168.62.170.129 is clean so we can be almost sure the attack was done from 209.86.89.64.

And of course, as we know that Alice uses Yahoo! and ela**tp-curtail.atl.sa.earthlink.netisn’t on the Yahoo! network (you may want to re-check its IP Whois information), we may safely conclude that this email was not from Alice, and that we should not send her any money to her claimed vacation in the Philippines.

另外两位贡献者,Ex Umbris和Vijay,分别推荐了以下帮助解码邮件头的服务:SpamCop和Google的邮件头分析工具。


有什么要补充的解释吗?在评论中发出声音。想从其他精通技术的Stack Exchange用户那里了解更多答案吗?在这里查看完整的讨论主题。

  • 发表于 2021-04-11 17:24
  • 阅读 ( 188 )
  • 分类:互联网

你可能感兴趣的文章

我怎样才能知道电子邮件的真正来源?

...此事有关。请继续阅读,我们将探索如何挖掘并查看可疑电子邮件的实际来源。 今天的问答环节是由SuperUser提供的,SuperUser是Stack Exchange的一个分支,它是一个由Q&amp;a网站组成的社区驱动分组。 问题 超级用户读者Sirwan想知道...

  • 发布于 2021-04-11 17:24
  • 阅读 ( 188 )

我怎样才能知道我的搭档是否在和cam girls交往?

...让我知道他有哪些网站的个人资料,即使他使用假名字和电子邮件?你可能不需要做太多的窥探当然,Chaturbate作为一个单独的标签出现是可能的,但可能性不大。我在网上浏览各种各样奇怪的东西,我不会在新的标签页上贴满...

  • 发布于 2021-05-12 10:15
  • 阅读 ( 191 )

我怎样才能让我的朋友修理他们自己的电脑?

...有常见问题以及解决这些问题的简单方法。**一封密封的电子邮件,给你的文本扩展器添加一些解决方案,或者只是打印几份3x5索引卡的副本。无论你做什么,以下是一些基本的事情,你可以坚持让某人在让你来看看他们的电脑...

  • 发布于 2021-05-22 03:10
  • 阅读 ( 195 )

我怎样才能学会和新老板一起工作?

...变为新人工作也需要你适应他们的工作方式。如果你喜欢电子邮件,你的新老板可能更喜欢打电话或面对面交谈。你可能有一个老板根本不需要你定期更新,而现在你有一个老板每周都要TPS报告。也许他们有点像一个微观管理者...

  • 发布于 2021-05-22 11:49
  • 阅读 ( 134 )

我怎样才能自己出版我的书?

过去,自主出版意味着要为小型印刷品支付巨额费用。蓬勃发展的电子书市场比以往任何时候都更容易自行出版,但最好的方式是什么呢?如果你有什么建议,就跳进去帮一个读者。戴夫写道:所以,我写了一本小说,我想自己...

  • 发布于 2021-05-22 22:19
  • 阅读 ( 122 )

我怎样才能让我的手机真正理解我在说什么?

亲爱的tl80,我是Siri等语音识别服务的粉丝,但似乎有一半时间它不知道我想说什么。有什么窍门能让它更好地理解我吗?诚恳地,用Siri亲爱的FS,如果使用得当,Siri(或Google Now,或任何其他语音助手)会非常有用。问题是,...

  • 发布于 2021-05-23 04:21
  • 阅读 ( 140 )

我怎样才能使我那吵闹的房子不吱吱作响和呜咽呢?

亲爱的生活黑客,我住在一个有吱吱作响的门、吱吱作响的地板和呜呜作响的水管的公寓里。我想要安静,但不知道该怎么办。你能帮忙吗?真的,耳朵流血了亲爱的流血,好消息是:你可以解决任何你能想到的嘈杂的房子问题...

  • 发布于 2021-05-23 04:43
  • 阅读 ( 181 )

我怎样才能帮助一个看起来很沮丧的朋友?

...不要强迫他们承认自己很沮丧。相反,要经常保持联系(电子邮件,打电话打招呼),就像你所爱的人伤心时那样。Ventre Medical Associates说,你可以通过一起做一些事情来表示支持:“即使他们对活动本身不感兴趣,这种社会联...

  • 发布于 2021-05-23 05:15
  • 阅读 ( 142 )

我怎样才能在乡村环境中获得像样的互联网?

即使你不是在一个真正的偏远地区,仅仅是稍微超出了当地有线电视和DSL提供商的界限就意味着互联网接入的真正问题。如果你有在正规服务区之外获得互联网服务的经验,来帮助其他读者吧。约翰写道:我很快就要从中西部的...

  • 发布于 2021-05-23 07:10
  • 阅读 ( 135 )

我怎样才能写一个成功的博客并吸引更多的人阅读呢?

...变成忠实的读者。在你的博客上与评论者交流,建立一个电子邮件时事通讯,并鼓励反馈。邀请其他人来留言,甚至请读者为你的博客投稿。这样你的晋升能力可以加倍。看看你能不能在其他更大的博客上留言或投稿。这是另一...

  • 发布于 2021-05-23 08:17
  • 阅读 ( 167 )
rqyudwmyy
rqyudwmyy

0 篇文章

相关推荐