RE: DECODING EMAILS BETWEEN MS EXCHANGE AND A CLIENT

From: Dan Berberich (dan.berberich_at_gmail.com)
Date: 07/22/05

  • Next message: Hagen, Eric: "RE: Pen-Testing via TOR"
    Date: Fri, 22 Jul 2005 09:48:40 -0400
    To: pen-test@securityfocus.com
    
    

    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


  • Next message: Hagen, Eric: "RE: Pen-Testing via TOR"

    Relevant Pages

    • Re: exchange basics
      ... If you find users switching between client ... often pull the mail to a different store (as in POP3) and then wonder why it ... Exchange can inform and enforce quotas on mail storage. ... Server side rules? ...
      (microsoft.public.exchange.design)
    • Re: exchange basics
      ... If you find users switching between client ... > store, so you're right, it wouldn't be a big deal. ... >> -If messages can be stored on server instead of downloading, ... > Exchange can inform and enforce quotas on mail storage. ...
      (microsoft.public.exchange.design)
    • Re: WM5, VPN via PPTP/MPPE, and direct connection to Exchange
      ... non-Microsoft VPN server, in order to access an Exchange Server on a private ... clients to Exchange via the VPN server, I have to select the the Outlook ... NOT synchronising with a client laptop. ...
      (microsoft.public.pocketpc.phone_edition)
    • Re: DNS not resolving in a Windows 2003 SP2 network
      ... My exchange server is a stand alone server and not running on a DC, ... exchange because exchange cant find its Preffered DNS? ... server on DC1 for my client workstations. ...
      (microsoft.public.windows.server.dns)
    • Re: One user having messages stuck in Local Delivery
      ... so you won't have any effect to the client PCs. ... migration of the Exchange data, ... brand spanky new intel rackmount server which has only been sitting here ... tomorrow morning another mailbox or two will start failing. ...
      (microsoft.public.windows.server.sbs)