I have been following the RIM security saga with India and Saudi Arabia. I have previously mentioned, I have been in the U.A.E. in the past performing security consulting. A few facts I know:
All HTTP goes through a proxy. If you connect to a service provider, all your flows go through an HTTP proxy system. The proxy system scans requests and compares them to a database of categorized sites. The government provides policies to the service providers, and it is required by law they are enforced. They are enforced in real time. Attempting to visit an unauthorized site you will be re-directed to a page in Arabic explaining that it is not permitted. I actually kept a screen capture of the page and was going to post it, but I can’t find it. However, if you are in Dubai, just try to go to a site that has questionable material. You will be re-directed. Anyone can do it, it is not a secret.
HTTPS was ready to be implemented. Approximately 2 years ago, they were testing the ability to decrypt SSL on the fly so that they could perform analysis on the requests and grant or deny access as with HTTP traffic. I am sure this is deployed by now.
Voice Over IP, Instant messaging and other protocols had specific policies. I won’t go into the details here, as I don’t know how public this information is, but there were active policies deployed around these and other protocols.
Privacy is not the same as North America. In North America, we many feel that privacy is slowly being eroded. In comparison to Dubai our policies with respect to privacy are impressive. The ISP has the right to watch what you are doing and actively grant, block, and log your activities. It is actually a requirement in order to get a license to be an ISP from the Government.
When Saudi Arabia indicated they were going to ban Research In Motion devices due to the fact the government was unable to decrypt communications as needed, I was hopeful that RIM would say too bad. Of course that was the idealist in me hoping that RIM, a Canadian company with one of their key features they market is about Blackberry and its security would not be compromised. The realist in me understands that the Middle East is a growing market and from a business perspective RIM has no choice but to be a part of it. If you want to do business in Canada you have to play by our rules, so it only makes sense that if you want to do business in the U.A.E., you have to play by their rules. As expected, RIM reached a deal with Saudi Arabia. They also reached a deal with India earlier this week.
What I find amusing is the latest Spin they have put on security given the situation.
RIM made no direct comment on any discussions with the UAE or others, but it sought to reassure customers about the security of their data on BlackBerry networks. “While RIM does not disclose confidential regulatory discussions that take place with any government, RIM assures its customers that it is committed to continue delivering highly secure and innovative products that satisfy the needs of both customers and governments,” the company said in a statement to customers.
A RIM spokeswoman could not be reached for comment.
RIM said in its statement that under its security system customers have their own encryption key and “only the customer ever possesses a copy” of that key.
While I am sure they have not lied, you can’t have it both ways. Either you comply with the government request that they can decrypt messages and data as they require, or you don’t. Any other suggestion implies that the laws within the UAE have changed. I am not a lawyer, but I haven’t seen any news about new laws protecting UAE citizens privacy. The best part is the last statement how the customers have their own encryption key that only they possess. I am sure that statement is true. But it is what is not said that is telling. Are there any more encryption keys other than the one the customer possesses with respect to the customer’s messages? Companies that deploy encryption and decryption of email, files, and data in general give each employee a copy of their own key that only they possess. When encrypting data, the system creates some sort of a unique key (lets call it E) that is actually used to encrypt or decrypt the data. The E key is then encrypted with the customers encryption key (lets call that key Ec). The trick with businesses, is that the E key’ is also encrypted with their own key (lets call it Eb). If you loose your key (Ec) or refuse to give it when asked, they can use their key Eb to decrypt and obtain E key. Once they have the E key, they can then decrypt the message. There are several variations to this but the basic premise from a recovery perspective are the same.
This is not the first time this has happened either. Not sure how many people remember Hushmail. I wrote about them here. Hushmail marketing was based on the fact that if you used them for email, no one but you could retrieve your email stored on their servers. Even Hushmail staff was not able to retrieve the email if they wanted to as they did not have the keys. (Sound familiar to the RIM article above?). Yet, when U.S. law enforcement contacted them about an individual they were investigating, Hushmail was able to provide them with 12 CDs filled with unencrypted emails of the individual under investigation.
While I don’t blame RIM for their bowing to the governments of India and Saudi Arabia if they wish to do business in their countries, I dislike the spin they are placing on security. They are mis-leading the public and playing on the fact that many people do not understand the intricacies of security. While they are not lying, I strongly suspect they are not being forthright.
When all the dust settles, it is important that people realize that money is what drives business. You can claim all morals, goals, and visions you want. But if at some these come into conflict that causes enough money to be at stake compromises will be made. Security unfortunately is no different.





As the traffic on the Internet becomes more and more encrypted due to privacy concerns, the need to protect data from third parties, prying eyes, marketers, service providers and others, behavioural profiling of network sessions will become more and more necessary. Already, there are many products that claim to do behavioural profiling of network activity in varying degrees to assist with behaviour detection. There is more and more active research in this area by vendors, law enforcement, bad guys and others.
My daughter has recently become much more interested in some of the social networking sites such as 





You can see the ~/mndData file which is the truecrypt fileystem. ~/.macromedia is symbolically linked to the encrypted filesystem. For those interested, you can see that my Evolution (~/.evolution), Google Desktop (~/.google), Firefox Cache and bookmarks (~/.mozilla), IM client (~/.purple) and Skype (~/.Skype) all write to the encrypted file system. You have to be able to mount the ~/mndData to get at any of the email, browser cache, bookmarks, IM conversations and now LSOs. It isn’t fool proof, but it offers another layer of protection so that client data remains unviewable in the event of my laptop being stolen.
I had the privilege yesterday of speaking to some law enforcement personnel and forensics experts. The topic was on DNS forensics, the SSL server_name option, and working with service providers. I enjoyed the opportunity. I really like talking about network forensics, and being surrounded by smart people that are experts in their field. It also allows me to practice my public speaking which is always good.
What can you learn from a visualization such as this? Could you build a profile of the persons in this house just from their DNS queries? And if you can, what does it tell you? Twitter is obviously used in the house as the largest number of references are made to ‘twitter’. ‘Sandvine’ is also used often. There are references to ‘mac’ and ‘apple’. ‘facebook’ also is large relative to the others. There are queries to ‘thepiratebay’. What do these all mean? What can we infer from them, and are we accurate with our inferences?