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 Exploits-HackingTools
[Top] [All Lists]

[NT] Microsoft ActiveSync 4.x Weak Password Obfuscation

Subject: [NT] Microsoft ActiveSync 4.x Weak Password Obfuscation
Date: 16 Oct 2007 09:38:04 +0200
The following security advisory is sent to the securiteam mailing list, and can 
be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html 

- - - - - - - - -



  Microsoft ActiveSync 4.x Weak Password Obfuscation
------------------------------------------------------------------------


SUMMARY

Microsoft ActiveSync 4.1 acts as the gateway between your Windows powered 
PC and Windows Mobile powered device, enabling the transfer of Outlook 
information, Office documents, pictures, music, videos and applications 
from your desktop to your device.

A vulnerability has been discovered in the mechanism that Microsoft uses 
to obfuscate the password when it's sent over the USB network interface 
between the device and the host machine. This enables malicious software 
on the host to either impersonate a device in order to obtain the current 
password or, if in a position to sniff network traffic, obtain the 
password for trivial decoding.

DETAILS

When a device is docked via USB it uses the connection like a standard 
network interface. Once an IP address is obtained the device will 
initially communicate via RAPI with the host on port 990/TCP. It will go 
through a small handshake routine and then, if appropriate, challenge the 
host for the devices PIN or Password. When the user supplies this 
PIN/Password on the host it will be obfuscated via XOR with a fixed key of 
E9 and then sent over the USB network connection to the device for 
verification.

This process results in two vulnerabilities. Firstly, should an attacker 
be in a position to sniff the host computer's network connection he will 
be able to recover the PIN/Password. Secondly, an attacker can spoof the 
docking process of the device in an attempt to get the user to supply his 
PIN/Password.

If we take a sample packet:
0000  82 00 60 0f e8 00 80 00  60 0f e8 00 08 00 45 00   ..`..... `.....E.
0010  00 32 59 95 40 00 80 06  49 31 a9 fe 02 02 a9 fe   .2Y.@... I1......
0020  02 01 03 de 05 d0 e8 c0  cb c0 56 2e 41 75 50 18   ........ ..V.AuP.
0030  fa 6a 91 dd 00 00 08 00  d8 e9 db e9 da e9 dd e9   .j...... ........

We can see that byte 36 is the length of the password (8 bytes) followed 
by a NULL. After which is the password obfuscated with E9, this is 
immediately apparent due to the use of a UNICODE string for the password 
so every second byte is 0x00 XOR 0xE9 which equals 0xE9.

Vendor Response:
There is a security vulnerability that could allow for Information 
Disclosure. An attacker would need to do one of two things, either tether 
a cable to the USB sync cable or bind a network sniffer to the USB-RNDIS 
interface - requiring administrative permissions on the workstation 
hosting the AS connection.

Recommendation:
Windows Mobile 5.0 Please see your handset manufacturer to obtain the 
update customized for your device. This issue is fixed in Windows Mobile 
6.

CVE Information:
 <http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5460> 
CVE-2007-5460


ADDITIONAL INFORMATION

The information has been provided by  
<mailto:ollie_whitehouse@symantec.com> Ollie Whitehouse.



======================================== 


This bulletin is sent to members of the SecuriTeam mailing list. 
To unsubscribe from the list, send mail with an empty subject line and body to: 
list-unsubscribe@securiteam.com 
In order to subscribe to the mailing list, simply forward this email to: 
list-subscribe@securiteam.com 


==================== 
==================== 

DISCLAIMER: 
The information in this bulletin is provided "AS IS" without warranty of any 
kind. 
In no event shall we be liable for any damages whatsoever including direct, 
indirect, incidental, consequential, loss of business profits or special 
damages. 




<Prev in Thread] Current Thread [Next in Thread>
  • [NT] Microsoft ActiveSync 4.x Weak Password Obfuscation, SecuriTeam <=