Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Pen-Test
[Top] [All Lists]

RE: DECODING EMAILS BETWEEN MS EXCHANGE AND A CLIENT

Subject: RE: DECODING EMAILS BETWEEN MS EXCHANGE AND A CLIENT
Date: Fri, 22 Jul 2005 09:48:40 -0400
Steve, I just found this, seems helpful if you already know/use Ruby.

http://www.ruby-talk.org/cgi-bin/scat.rb/ruby/ruby-talk/111065

Though, this does not solve your decryption problems, or even putting
a single message together.

There are expensive, government based solutions that require full
blown PKI installations to achieve what I think you're looking for.
Though I don't really know if they exist in the commercial world or
not, I would guess these is not a big demand for it.
http://www.rl.af.mil/tech/programs/isse/guard.html
-dan

<--->
Dan

I am not aware there is one, also I have discovered that if the client is
configured to use exchange (as opposed to smtp, pop or imapi) then the comms
is done via DCE RPC (or so ethereal decodes it) - if you sniff the traffic
you will find only this traffic.    

Some of the research I have done indicates that this RPC may be RC4
encrypted.  This was sort of borne out by our sending of large files of
known text (all 111's) but the result was not like cypher text - more of a
double encoded type as there were noticable patterns in the cypher text. 

Steve A


-----Original Message-----
From: Dan Berberich [mailto:dan.berberich@gmail.com] 
Sent: 21 July 2005 13:51
To: pen-test@securityfocus.com
Subject: re: DECODING EMAILS BETWEEN MS EXCHANGE AND A CLIENT


Steve - funny, I'm currently working on the same problem. So far all I've
got is doing a session capture and packed decode with ethereal. I have also
exhaustively searched for a X.400 tool, but have so far found none. In my
free time I might be planning to write a parser to extract just the packet
payload, but I'm a little out of free time at the moment.


-dan

 
Steve said:
We currently have a task that requires us to perform a capture of emails
between an MS Exchange server and a MS Office Outlook (x400) client.  I
recognise a dirth of SMTP and POP sniffing programs out there but nothing
seems to be able to decode the DCE RPC encoding/encryption of the exchange
client communications. 

Is there anyone out there with knowledge of a product that will allow these
emails to to captured and monitored.  Oh before anyone suggests any exchange
resident software, that option is out, we need to be external of the server
and not a member of the domain - just sniffing the stuff as it goes by.

Alternatively, does anyone know of a tool that will allow me to crack the
RPC encryption/encoding to see the email in clear before I replay it to a
server for keyword monitoring purposes?

Oh the architecture is a 200 server with exch 2003 and a XP client with
Office 2002 (incase that matters/helps)

All tips gratefully received.

Steve A

steve<at>logicallysecure.org

<Prev in Thread] Current Thread [Next in Thread>