Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations – Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 50 guests and 1 member online
Free Business and Tech Magazines and eBooks
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Forensics
Decrypting Network Traffic (email)
EH-Net
May 20, 2013, 02:57:38 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Ethical Hacking Discussions and Related Certifications
>
Forensics
(Moderator:
don
) >
Decrypting Network Traffic (email)
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Decrypting Network Traffic (email) (Read 10044 times)
0 Members and 1 Guest are viewing this topic.
i_admit_iam_a_geek
Newbie
Offline
Posts: 5
Decrypting Network Traffic (email)
«
on:
May 12, 2009, 09:57:45 AM »
First... Hi all.
a bit of a question google cant seem to give me the answer to:
I have been very much getting into the use of network traffic capture of late, e.g. wireshark and my tool of choice DataEcho.
Mainly regarding email, all but the senders name seems to be encrypted or encoded. Is there anyway to make the data sent understandable?
Cheers if anyone can help.
)
Logged
Ketchup
Hero Member
Offline
Posts: 1021
Re: Decrypting Network Traffic (email)
«
Reply #1 on:
May 12, 2009, 10:10:49 AM »
They are likely to be BASE64 encoded. It's not encryption, so its easily reversible. I believe that NetWitness Investigator's email parser will decode base64, but I am not positive. I don't have it installed on my machine here.
I know for a fact that Cain and Abel has a nice decoder for base64, as well as a few websites out there. I am surprised that wireshark's SMTP parser doesn't decode base64 on the fly though.
Logged
~~~~~~~~~~~~~~
Ketchup
i_admit_iam_a_geek
Newbie
Offline
Posts: 5
Re: Decrypting Network Traffic (email)
«
Reply #2 on:
May 12, 2009, 12:18:40 PM »
Thanks for your response,
I will have a look into some of the programs you have name checked thanks.
The system in particular I was experimenting with was Microsoft Exchange Server based so wasn't sure if it used something a little different to normal SMTP traffic.
But now I know the base I should be well away with a bit of a play.
Thanks again
Logged
Kev
Sr. Member
Offline
Posts: 428
Re: Decrypting Network Traffic (email)
«
Reply #3 on:
May 12, 2009, 01:06:53 PM »
You might try the Ferret tool from Errata security. I have had some hit and miss success with it.
Logged
i_admit_iam_a_geek
Newbie
Offline
Posts: 5
Re: Decrypting Network Traffic (email)
«
Reply #4 on:
May 12, 2009, 01:35:30 PM »
Interesting Ill have a look,
For now I have super quick knocked up my own BASE64 encode/decode application in C#. I had a look on the web but didn't come up with any that had a user interface that made life as easy as it needed to be for my needs.
Ill have to wait until the morning to give it a spin on the work network so ill report back if it did the trick with a link to my application, simple as it is, in case it is of use to anyone.
With regards to wireshark and BASE64, google seems to indicate that it does not currently do conversion... or at least it is on the wireshark wiki wishlist.
Logged
former33t
Full Member
Offline
Posts: 226
Re: Decrypting Network Traffic (email)
«
Reply #5 on:
May 12, 2009, 05:41:28 PM »
Please let us know if it worked for you. I'd be interested to see the UI you came up with.
Logged
Certifications: CREA, MCSE: Security, CCNA, Security+, other junk
i_admit_iam_a_geek
Newbie
Offline
Posts: 5
Re: Decrypting Network Traffic (email)
«
Reply #6 on:
May 13, 2009, 03:46:55 AM »
No luck at the moment, it seems the data that comes out its not base64 or at least not all of it. There is allot of squares? and question marks in the text. Ill keep at it and see what comes of it.
Logged
Ketchup
Hero Member
Offline
Posts: 1021
Re: Decrypting Network Traffic (email)
«
Reply #7 on:
May 13, 2009, 07:13:26 AM »
Can you post a sample? I've never seen just email addresses encrypted, although I haven't done much analysis on Exchange 2007 yet. Whenever I see scrambled email addresses, bodies, etc, they have always been base64 encoded. Does the data look anything like this and end in a '='?
?koi8-r?B?U2hlIHdvbpJ0IG5lZWQgYSBtYWduaWZ5aW5nIGdsYXNzIGZyb20gbm93?=
Logged
~~~~~~~~~~~~~~
Ketchup
BillV
Hero Member
Offline
Posts: 1892
Re: Decrypting Network Traffic (email)
«
Reply #8 on:
May 13, 2009, 11:13:22 AM »
Quote from: i_admit_iam_a_geek on May 12, 2009, 01:35:30 PM
For now I have super quick knocked up my own BASE64 encode/decode application in C#. I had a look on the web but didn't come up with any that had a user interface that made life as easy as it needed to be for my needs.
Give this a shot:
SNEAK
Logged
timmedin
Sr. Member
Offline
Posts: 469
Re: Decrypting Network Traffic (email)
«
Reply #9 on:
May 14, 2009, 07:33:10 AM »
If you are looking at SMTP traffic, then that would not be encrypted or encoded, so it leads me to believe you must be looking at traffic between the client and server.
I believe Outlook and Exchange 2007 use encryption by default for their communication. If you don't have the key, good luck.
Logged
twitter.com/timmedin |
http://blog.securitywhole.com
Ketchup
Hero Member
Offline
Posts: 1021
Re: Decrypting Network Traffic (email)
«
Reply #10 on:
May 14, 2009, 09:44:43 AM »
Yeah, MAPI can be tough to parse, although Wireshark has a built in parser for MAPI. SMTP does encode, just think attachments. They are MIME encoded most often. Some servers/clients will also encode email addresses and subjects, and sometimes the entire message. I spent a good deal of time writing various parsers for email and have seen an enormous amount of variation in interpretation of standards.
Logged
~~~~~~~~~~~~~~
Ketchup
i_admit_iam_a_geek
Newbie
Offline
Posts: 5
Re: Decrypting Network Traffic (email)
«
Reply #11 on:
May 15, 2009, 03:52:12 AM »
Cheers guys!
Not had much luck with it all to be honest. It is an exchange server and to be honest its not looking good. I can say 100% that the data is not BASE64.
Logged
Ketchup
Hero Member
Offline
Posts: 1021
Re: Decrypting Network Traffic (email)
«
Reply #12 on:
May 15, 2009, 07:06:59 AM »
It sounds like you could be looking at MAPI traffic. It doesn't like RPC over HTTPS, because everything should be encrypted. If you don't mind, post a small capture file of something non-sensitive (like SPAM). Maybe we can help you figure it out. Which version of Exchange is it?
Logged
~~~~~~~~~~~~~~
Ketchup
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCase® Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
SANSFIRE 2013
June 15 - 22
5% Off
w/ Code
:
EHN_5
SANS Deals 4 EH-Netters
5% OFF
Any
SANS Course
in Any Format!
Coupon Code:
EHN_5
Including
SANS Rocky Mountain 2013
&
SANS Boston 2013
Polls
Compared to this year, 2013 will be:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
OSCP - Offensive Security Certified Professional
: Failed my first attempt at the OSCP exam
(86) by
impelse
Tutorials
: Need guidance
(8) by
r0ckm4n
OSCP - Offensive Security Certified Professional
: Class Scheduled 6/8 - Linux n00b
(7) by
Taemyks
OSCP - Offensive Security Certified Professional
: OSCP exam scheduled
(6) by
gbhat
Incident Response
: LinkedIn Forensics
(0) by
AFENTIS_Forensics
General Certification
: Red Team/Blue Team
(1) by
ajohnson
Career Central
: Starter cert?
(3) by
Grendel
Network Pen Testing
: Beginner Ethical Hacker
(1) by
m0wgli
General Certification
: CPT Practical Submission
(0) by
z28power4u
Web Applications
: Nessus and Nikto
(4) by
Seen
Malware
: EICAR?
(2) by
SephStorm
Network Pen Testing
: Cracking salted MD5 hash
(4) by
n37sh@rk
CEH - Certified Ethical Hacker
: Passed my C|EH
(3) by
n37sh@rk
Mass Media
: EC-council hacked, irony at his best?
(0) by
j0rDy
Web Applications
: SQL Injection into an INSERT statement.
(6) by
eyenit0
Network Pen Testing
: Solution for sipXtapi INVITE Message CSeq Field Header Remote Overflow
(1) by
m0wgli
Web Applications
: dns
(2) by
H1t M0nk3y
Other
: BSides Boston
(0) by
3xban
Career Central
: InfoSec in Central, FL
(2) by
tturner
Web Applications
: Web vulnerability scanner
(4) by
H1t M0nk3y
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
Free Business and Tech Magazines and eBooks
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.