[NEWS] ScatterChat Cryptanalytic Attack Vulnerability



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

- - - - - - - - -



ScatterChat Cryptanalytic Attack Vulnerability
------------------------------------------------------------------------


SUMMARY

<http://www.scatterchat.com/> ScatterChat is "an instant messaging
project that aims to provide encryption and anonymity support with Tor to
non-technical users such as human rights activists and political
dissidents".

Steven Murdoch, a security researcher with the University of Cambridge,
discovered a theoretical weakness in ScatterChat's cryptographic module.
He found that an eavesdropper might locate patterns in a private
communications channel if extraordinarily large amounts of messages were
exchanged in a single conversation.

Note that this does not allow an eavesdropper to decrypt messages, nor
determine a user's identity if anonymity is used.

The practical impact of this vulnerability is very low.

DETAILS

Vulnerable Systems:
* ScatterChat version 1.0

Immune Systems:
* ScatterChat version 2.0

It was found that the birthday attack could be used against the custom
padding mechanism on the ECB-mode encryption of messages.

After 114KB of data is sent in a single conversation the probability of a
collision between two 16-byte blocks is 1% and will reach 50% after 904KB,
then 99% after 2.3MB (approximately). Note that conversations are reset
when one or both peers sign off from the instant messaging service.

The above figures are calculated assuming that messages do not contain any
entropy, which is unrealistic for an instant messaging environment.
Assuming a rate of one bit of entropy per character, the probability of a
collision is 1% after 580KB is exchanged and will reach 50% after 4,822KB,
then 99% after 12,431KB (approximately).

Note that if each instant message was filled to its 500-byte capacity (as
enforced by the system), then 580KB would be transfered after 1,188
messages.

Impact:
The end-user impact of this issue is very low.

It is important to note that this issue does NOT allow an eavesdropper to
decrypt any messages, nor does it allow them to discover the user's
identity if the anonymity feature is used.

In general, this type of cryptanalytic attack allows an eavesdropper to
determine patterns in an encrypted conversation, which in theory could
yield information about messages if enough patterns were found and
correlated. However, this issue only allows two 16-byte segments to be
matched with 1% probability when at least 1,188 instant messages are
exchanged in a single, uninterrupted session. In most cases, more than
1,188 instant messages would need to be sent.

The information leaked in the above situation would be negligible.

This issue also affects any application that is built upon ScatterChat's
encryption module.

Note that secure file transfers are not affected.

Solution:
The ScatterChat project takes both practical and theoretical
vulnerabilities very seriously. However, due to the low impact of this
vulnerability, and the high risk of introducing other subtle security
problems in updating the protocol, this issue will not be fixed in the
v1.0.x branch.

This issue will be rectified in the v2.0 series, which will replace the
current cryptographic module with the well-tested OTR encryption module
(http://www.cypherpunks.ca/otr/). A release date for v2.0 is not yet
known.

Optionally, this issue can be mitigated through the use of the anonymity
feature, as traffic analysis often requires a known context to make sense
of patterns. Without the knowledge of who is communicating, an
eavesdropper's attempts at interpreting patterns can be frustrated.

ScatterChat v1.0.x remains safe to use in the overwhelming majority of
cases. However, for high risk, non-technical users, i.e., users operating
behind national firewalls, we recommend extra caution.


ADDITIONAL INFORMATION

The information has been provided by Steven Murdoch.
The original article can be found at:
<http://www.cl.cam.ac.uk/users/sjm217/>
http://www.cl.cam.ac.uk/users/sjm217/



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


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@xxxxxxxxxxxxxx
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@xxxxxxxxxxxxxx


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

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.



Relevant Pages

  • Re: Application Blocks
    ... they are the implementation of patterns and best practices and also they have been tested by a lot of people. ... I just want your general feedback. ... I am going to do the tutorials on the Security Application Block this ...
    (microsoft.public.dotnet.languages.csharp)
  • acrobat reader
    ... I'm trying to print some patterns using acrobat reader ... and the computer says my security will not let me ... download this program, but i'm supposed to already have ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Erasing File Data
    ... though I don't know whether the patterns it uses are ... I've got 1.5 GB of RAM, and that's enough for my purposes. ... Security is the one concept, which makes things in your life stay as ...
    (alt.computer.security)
  • Re: SQL injection?
    ... That's the patterns and practices group and their security for asp.net ... Darren Kopp ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)
  • CryptoSurvey -- Results ..
    ... Many same or similar behavioral barriers for the ... effective utilization of many security solutions still exist limiting ... applications of encryption technologies currently in commercial ... Many people do not care about cryptography and/or security products ...
    (sci.crypt)