How to Forge email

本文介绍如何利用开放中继的SMTP服务器伪造发件人的电子邮件地址。通过使用telnet命令连接到允许转发邮件的服务器,并输入特定的SMTP命令,可以发送看似来自任意第三方地址的邮件。

How to Forge Email

SMTP, or Simple Mail Transport Protocol, is the name of the method computers use to send mail to each other, in other words SMTP is the language mail servers on the Internet use to speak to each other. Until the mid-1990's the default configuration for SMTP servers was to allow email forwarding, to act as a relay, which allowed people to use their own email address from almost any network location. Spammers soon caught on as this allowed them to send masses of commercial emails that did not appear to originate from their severs, and as a result the forwarding ability to most SMTP servers was turned off. Today fewer than 1% of SMTP servers allow mail forwarding, and many ISPs and email providers will not accept mail from these machines. Today you can still use SMTP forwarding if you can find a SMTP server that allows it. In this wikiHow we'll look at how you can use an open relay to send email that appears to originate form any third party address you choose.

[Steps]

  1. Open a command prompt by clicking Start, Run, and type cmd in the box and press OK. You should get a black "Command Prompt" screen.
    • This can be done with the Terminal.app in Macintosh OS X and the command line in most Unix and Linux based operating systems.
  2. Find out the name of your ISP's mail server, normally mail.isp.com or smtp.isp.com. This should be in your email client settings.
  3. Type telnet mail.isp.com 25. 25 is the port number most SMTP servers use. Learn more about telnet.
  4. When the mail server responds, you can start typing SMTP commands.
  5. Start with HELO blahblah.isp.com. You may have to use your ISP's domain name for it to be accepted.
  6. If it says 'pleased to meet you' or something like that, continue with the address you want the mail to come FROM. So, to forge mail from Bill Gates, type MAIL FROM: billg@microsoft.com.
  7. If it says Sender OK, type who you want the mail to go to, i.e. your friends address. Type RCPT TO: yourfriend@isp.com
  8. If it says Recipient OK, then you can type your message:
    1. Type DATA and press Enter.
    2. On the first line type Subject: yoursubject and press Enter twice.
    3. Continue typing your message, such as 'I'm bill gates and want to send you a billion dollars'.
    4. Put a single period (.) on a line by itself and press Enter to send your message. The server should say 'Message accepted for delivery'.
  9. You are done. You have just forged an email, and the recipient should be receiving it shortly.
  10. You can test to see if a given SMTP server is configured for forwarding by using online tools.


[Tips]

  • if you do not see the letters you type in your terminal application use the echo command.
  • Practice sending the message to yourself a few times until you get the hang of it.
  • Send it to yourself and view all the headers to make sure nothing that easily identifies you as the sender (like your computer name) shows up.
  • Servers which run enhanced SMTP will also accept 'ehlo blahblah.isp.com'. You may still need to use your ISP's domain name for it to be accepted.
  • It is normally easier just to find one of the many free websites that will allow you to send emails to anyone from anyone.
  • As mentioned in the warnings, most SMTP servers have relaying disabled. Many times you can overcome this by connecting to the ISP of the target email, since the server will accept it as a "local delivery" - i.e., if the target's address is "joe@company.com" telnet to "company.com" and forge it from there. Most "@company.com" mail servers are either "company.com", "mail.company.com" or "smtp.company.com".
  • If you use Windows telnet client and make a spelling mistake do not use the backspace key, instead, press ^] (CTRL+RIGHT BRACKET) to terminate the connection and try again. The backspace key is transmitted incorrectly and will result in odd characters appearing in the final message.
  • Some individuals believe running an open relay is a free speech issue, including John Gilmore, a long time Internet "personality" and one of the founders of the The Electronic Frontier Foundation. As a result most ISPs do not accept mail from Gilmore's servers.


[Warnings]

  • This method of forging email may not work at times. Almost all Internet service providers' SMTP servers and some private SMTP servers require authentication before permitting email to be sent. You can manually authenticate with an SMTP server, but you'll need to read RFC 2554 to learn how. Also, an SMTP server will generally only relay a message if it is either FROM or TO an address with the same domain name as its own.
  • This is not a foolproof method of sending anonymous email. Only a small amount of effort is required for a diligent party to positively identify you as the sender.
  • All that your ISP and law enforcement needs to do is look at the email headers and see the date/time and IP address the message came from. You can then be held accountable for any harm you may have caused by your email.
  • Some U.S. states now have laws against fraudulent email, especially when tied to a commercial endeavor. Be aware of any legal ramifications of your actions.


[Sources and Citations]

From http://www.wikihow.com/Forge-Email

内容概要:本文介绍了一个基于冠豪猪优化算法(CPO)的无人机三维路径规划项目,利用Python实现了在复杂三维环境中为无人机规划安全、高效、低能耗飞行路径的完整解决方案。项目涵盖空间环境建模、无人机动力学约束、路径编码、多目标代价函数设计以及CPO算法的核心实现。通过体素网格建模、动态障碍物处理、路径平滑技术和多约束融合机制,系统能够在高维、密集障碍环境下快速搜索出满足飞行可行性、安全性与能效最优的路径,并支持在线重规划以适应动态环境变化。文中还提供了关键模块的代码示例,包括环境建模、路径评估和CPO优化流程。; 适合人群:具备一定Python编程基础和优化算法基础知识,从事无人机、智能机器人、路径规划或智能优化算法研究的相关科研人员与工程技术人员,尤其适合研究生及有一定工作经验的研发工程师。; 使用场景及目标:①应用于复杂三维环境下的无人机自主导航与避障;②研究智能优化算法(如CPO)在路径规划中的实际部署与性能优化;③实现多目标(路径最短、能耗最低、安全性最高)耦合条件下的工程化路径求解;④构建可扩展的智能无人系统决策框架。; 阅读建议:建议结合文中模型架构与代码示例进行实践运行,重点关注目标函数设计、CPO算法改进策略与约束处理机制,宜在仿真环境中测试不同场景以深入理解算法行为与系统鲁棒性。
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值