operation: tuna

Download Operation: TUNA

Post on 27-Jun-2015




4 download

Embed Size (px)


An excer


  • 1. MTA Configuration, Info Leakage, and you.AKAHappy Fun MTA Exploration

2. It started so innocently. 3. dude, mail headers leak a lot of info 4. Hmm 5. Rapid7? 6. Delivered-To: jcran@0x0e.orgReceived: by with SMTP id ye6cs23091vdb;Sat, 12 Mar 2011 10:56:29 -0800 (PST)Received: by with SMTP id k10m1224100anj.159.1299956188566;Sat, 12 Mar 2011 10:56:28 -0800 (PST)MIME-Version: 1.0Return-Path: Received: by with SMTP id k10mr1703754anj.159;Sat, 12 Mar 201110:56:28 -0800 (PST)From: Mail Delivery Subsystem To: jcran@0x0e.orgX-Failed-Recipients: alsdjflkdasjflkjsadfjlsdafj@rapid7.comSubject: Delivery Status Notification (Failure)Message-ID: Date: Sat, 12 Mar 2011 18:56:28 +0000Content-Type: text/plain; charset=ISO-8859-1Content-Transfer-Encoding: quoted-printableDelivery to the following recipient failed permanently:alsdjflkdasjflkjsadfjlsdafj@rapid7.comTechnical details of permanent failure:=20Google tried to deliver your message, but it was rejected by the recipient =domain. We recommend contacting the other email provider for further inform=ation about the cause of this error. The error that the other server return=ed was: 554 554 5.7.1 : Recipient a=ddress rejected: Access denied (state 14). 7. Not much. 8. Qualys? 9. Not much. 10. Tenable? 11. Delivered-To: jcran@0x0e.orgReceived: from mail1.dmz.tenablesecurity.com ([])by mta1.tenable.com with ESMTP idlu4rFDf2w5F6TEtT for ; Wed, 23 Feb 2011 18:39:07 -0500 (EST)X-Barracuda-Envelope-From:X-Barracuda-RBL-Trusted-Forwarder: by mail1.dmz.tenablesecurity.com (Postfix)id D2B593144003; Wed, 23 Feb 2011 18:39:07 -0500 (EST)Date: Wed, 23 Feb 2011 18:39:07 -0500 (EST)Message-Id: X-Barracuda-Connect: UNKNOWN[]X-Barracuda-Start-Time: 1298504347X-Virus-Scanned: by bsmtpd at tenable.comX-Barracuda-Spam-Score: 0.20X-Barracuda-Spam-Status: No, SCORE=0.20 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0KILL_LEVEL=9.0 tests=ANY_BOUNCE_MESSAGE, BOUNCE_MESSAGE, BSF_SC0_SA590, EMPTY_ENV_FROMX-Barracuda-Spam-Report: Code version 3.2, rules version breakdown belowpts rule name description---- ------------------------------------------------------------------------0.00 EMPTY_ENV_FROM Empty Envelope From Address0.20 BSF_SC0_SA590 Custom Rule SA5900.00 BOUNCE_MESSAGE MTA bounce message0.00 ANY_BOUNCE_MESSAGE Message is some kind of bounce messageThis is a MIME-encapsulated message.--CADCB3144002.1298504347/mail1.dmz.tenablesecurity.comContent-Description: NotificationContent-Type: text/plain; charset=us-ascii 12. Hmm, I wonder 13. What if i?.. 14. Send email? 15. Receive email? 16. Well, that seems easy enough. 17. But where to get the email addresses? 18. top-1m.csv.zip 19. Thank you Alexa :] 20. 1,google.com2,facebook.com3,youtube.com4,yahoo.com5,live.com6,blogspot.com7,wikipedia.org8,baidu.com9,twitter.com10,qq.com11,msn.com12,yahoo.co.jp13,google.co.in14,taobao.com15,amazon.com16,sina.com.cn17,linkedin.com18,bing.com19,google.de20,wordpress.com21,google.com.hk22,google.co.uk23,yandex.ru24,microsoft.com25,ebay.com26,google.co.jp27,google.fr 21. aesop@bolivia:~operation_tuna$cat gen_email.rb#!/usr/bin/rubydef random_alphanumeric(size=16)s = ""size.times{ s