<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Michael N. Dundas &#187; Privacy and Anonymity</title>
	<atom:link href="http://michaeldundas.com/category/privacy-anonymity/feed/" rel="self" type="application/rss+xml" />
	<link>http://michaeldundas.com</link>
	<description>Precision, Integrity, Communication</description>
	<lastBuildDate>Sat, 04 Feb 2012 18:58:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Money always trumps security when they are in opposition</title>
		<link>http://michaeldundas.com/2010/08/09/money-always-trumps-security-when-they-are-in-opposition/</link>
		<comments>http://michaeldundas.com/2010/08/09/money-always-trumps-security-when-they-are-in-opposition/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 03:35:57 +0000</pubDate>
		<dc:creator>Clear2Go</dc:creator>
				<category><![CDATA[Encryption]]></category>
		<category><![CDATA[Privacy and Anonymity]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Surveillance]]></category>

		<guid isPermaLink="false">http://michaeldundas.com/?p=1977</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://michaeldundas.com/wp-content/uploads/2010/08/Flag_of_the_United_Arab_Emirates.png"><img class="alignright size-full wp-image-1995" title="Flag_of_the_United_Arab_Emirates" src="http://michaeldundas.com/wp-content/uploads/2010/08/Flag_of_the_United_Arab_Emirates.png" alt="" width="200" height="100" /></a>I have been following the <a href="http://www.rim.net">RIM</a> security saga with India and Saudi Arabia.  I have previously mentioned, I have been in the <a href="http://en.wikipedia.org/wiki/United_Arab_Emirates">U.A.E.</a> in the past performing security consulting.  A few facts I know:</p>
<p><strong>All HTTP goes through a proxy. </strong>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&#8217;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.</p>
<p><strong>HTTPS was ready to be implemented. </strong>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.</p>
<p><strong>Voice Over IP, Instant messaging and other protocols had specific policies.</strong> I won&#8217;t go into the details here, as I don&#8217;t know how public this information is, but there were active policies deployed around these and other protocols.</p>
<p><strong>Privacy is not the same as North America.</strong> 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.</p>
<p>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 <a href="http://www.thestar.com/business/companies/rim/article/845265--rim-reaches-deal-with-saudi-arabia-dodging-blackberry-ban">reached a deal with Saudi Arabia</a>.  They also<a href="http://www.reuters.com/article/idUSTRE6720A320100803"> reached a deal with India</a> earlier this week.</p>
<p>What I find amusing is the <a href="http://www.reuters.com/article/idUSTRE67151F20100802">latest Spin they have put on security</a> given the situation.</p>
<blockquote><p>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.  &#8220;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,&#8221; the company  said in a statement to customers.</p>
<p>A RIM spokeswoman could not be reached for comment.</p>
<p>RIM  said in its statement that under its security system customers have  their own encryption key and &#8220;only the customer ever possesses a copy&#8221;  of that key.</p></blockquote>
<p>While I am sure they have not lied, you can&#8217;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&#8217;t.  Any other suggestion implies that the laws within the UAE have changed.  I am not a lawyer, but I haven&#8217;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&#8217;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&#8217; 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.</p>
<p style="text-align: center;"><a href="http://michaeldundas.com/wp-content/uploads/2010/08/emailEncRecovProcessHighLevel2.png"><img class="size-full wp-image-1987 aligncenter" title="emailEncRecovProcessHighLevel2" src="http://michaeldundas.com/wp-content/uploads/2010/08/emailEncRecovProcessHighLevel2.png" alt="" width="508" height="311" /></a></p>
<p>This is not the first time this has happened either.  Not sure how many people remember <a href="http://www.hushmail.com/">Hushmail</a>.  I wrote about them <a href="http://michaeldundas.com/2009/06/20/outsourcing-i-t-to-google-part-i-the-concerns/">here</a>.  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 <a href="http://www.wired.com/threatlevel/2007/11/hushmail-to-war/">provide them with 12 CDs filled with unencrypted emails of the individual under investigation</a>.</p>
<p>While I don&#8217;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.</p>
<p>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.</p>
]]></content:encoded>
			<wfw:commentRss>http://michaeldundas.com/2010/08/09/money-always-trumps-security-when-they-are-in-opposition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSL Decryption is becoming the norm</title>
		<link>http://michaeldundas.com/2010/06/22/ssl-decryption-is-becoming-the-norm/</link>
		<comments>http://michaeldundas.com/2010/06/22/ssl-decryption-is-becoming-the-norm/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 15:23:20 +0000</pubDate>
		<dc:creator>Clear2Go</dc:creator>
				<category><![CDATA[Forensics]]></category>
		<category><![CDATA[Privacy and Anonymity]]></category>
		<category><![CDATA[Surveillance]]></category>

		<guid isPermaLink="false">http://michaeldundas.com/?p=1838</guid>
		<description><![CDATA[A couple of years ago I was at a client&#8217;s site in Dubai.  The client was an telco, and I was doing some security consulting for them.   Like many countries in the Middle East, Dubai actively monitors data entering and leaving the country.  Privacy laws as far as I could determine do not exist.  All [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://michaeldundas.com/wp-content/uploads/2010/06/eavesdroppingOnApartmentDoor.png"><img class="alignright size-full wp-image-1860" title="eavesdroppingOnApartmentDoor" src="http://michaeldundas.com/wp-content/uploads/2010/06/eavesdroppingOnApartmentDoor.png" alt="" width="211" height="320" /></a>A couple of years ago I was at a client&#8217;s site in Dubai.  The client was an telco, and I was doing some security consulting for them.   Like many countries in the Middle East, Dubai actively monitors data entering and leaving the country.  Privacy laws as far as I could determine do not exist.  All internet communications are actively monitored.  It is quite common to suddenly see a web page pop up explaining in Arabic that the site you are trying to view is not authorized and you have been denied.  Telcos there have spent millions of dollars on infrastructure in order to enforce these requirements.  The design is not as complex as one might think, just resource intensive.  Resources are required to process the data real-time and staff is required to maintain the infrastructure, look into events and other tasks.  Telcos do this because it is required  by law.  You can not obtain a license as a Telco unless you have monitoring capabilities deployed.</p>
<p>My first day in Dubai, I went to lunch with one of the executives of the Telco.  During our lunch, I asked him how they manage encrypted connections.  He explained that they were currently getting ready to deploy a solution to solve that.  The infrastructure was being upgraded to decrypt all SSL sessions and parse the data as required.   Aside from opening my eyes to the difference in privacy between North America and the Middle East from a privacy perspective, I found it interesting that SSL decrypting was so easily available.   Previously, I had seen software that law enforcement used for this purpose.  I myself had done it for clients using available tools during a engagement.  But these tools were designed more for targeted surveillance, not mass scale.  Like all technology, it improves and gets less expensive over time I guess.</p>
<p>Today, there are many more companies in North America and abroad that either have deployed SSL decrypting capabilities or are in the process of doing so.  Security, diagnostics, audit and legal requirements to know what is coming and leaving their networks and being able to log and trace back data transmissions to the originator are some of the reasons.  One driver is Data Leakage Protection (DLP), currently a very &#8216;hot&#8217; topic with many new vendors jumping on the opportunity with solutions.  In order to look for data leakage, you need to see past any encryption that might be present.  <a href="http://cisco.com/">Cisco</a>, <a href="http://www.bluecoat.com/">Bluecoat</a>, <a href="http://www.paloaltonetworks.com/">PaloAlto</a>, <a href="http://www.fortinet.com/">Fortinet</a> are just a few companies that offer products for SSL decryption.</p>
<p>With Google deploying encryption for <a href="https://gmail.com">Gmail </a>and more recently <a href="https://www.google.com/">searching</a>, plug-ins such as the <a href="http://www.eff.org/deeplinks/2010/06/encrypt-web-https-everywhere-firefox-extension">EFF Firefox plug-in</a> to help secure your communications, companies are feeling more and more concerned about what data is coming and going.  What worries me is that all these security, legal and audit requirements companies face are actually not helping them in the long run.   If these companies are decrypting SSL sessions that egress and ingress their network, you can be sure that other companies are doing the same to theirs.  The net result is that everything is decrypted and no one has any privacy.</p>
<p>Next time you connect to your bank, doctor&#8217;s office, insurance company, Gmail or any site and see secure indications from your browser similar to these<a href="http://michaeldundas.com/wp-content/uploads/2010/06/httpsGmailURL.png"><img class="aligncenter size-full wp-image-1856" title="httpsGmailURL" src="http://michaeldundas.com/wp-content/uploads/2010/06/httpsGmailURL.png" alt="" width="284" height="27" /></a><a href="http://michaeldundas.com/wp-content/uploads/2010/06/firefoxSSLLock.png"><img class="aligncenter size-full wp-image-1857" title="firefoxSSLLock" src="http://michaeldundas.com/wp-content/uploads/2010/06/firefoxSSLLock.png" alt="" width="110" height="22" /></a></p>
<p>along with the companies re-assurances that the site is secure, keep in mind things may not be as they appear &#8211; today even more so than yesterday.</p>
<p>Do you deploy any type of decryption on your network?  If it is deployed are you aware of it?</p>
<p style="text-align: right;"><a href="http://www.flickr.com/photos/joehowell/2314400543/"><em>photo credit</em></a></p>
]]></content:encoded>
			<wfw:commentRss>http://michaeldundas.com/2010/06/22/ssl-decryption-is-becoming-the-norm/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Information leakage and privacy</title>
		<link>http://michaeldundas.com/2010/03/01/information-leakage-and-privacy/</link>
		<comments>http://michaeldundas.com/2010/03/01/information-leakage-and-privacy/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 21:29:57 +0000</pubDate>
		<dc:creator>Clear2Go</dc:creator>
				<category><![CDATA[Forensics]]></category>
		<category><![CDATA[Privacy and Anonymity]]></category>

		<guid isPermaLink="false">http://michaeldundas.com/?p=1622</guid>
		<description><![CDATA[Have you ever sent an email from a personal email account at work such as Hotmail, Gmail, or your personal account at your service provider?  When you do that you might assume that since you are sending the email from a central system it would not be possible for the recipient to obtain information about [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://michaeldundas.com/wp-content/uploads/2010/03/drainPipeWithLeak.png"><img class="alignright size-full wp-image-1638" title="drainPipeWithLeak" src="http://michaeldundas.com/wp-content/uploads/2010/03/drainPipeWithLeak.png" alt="" width="315" height="210" /></a>Have you ever sent an email from a personal email account at work such as Hotmail, Gmail, or your personal account at your service provider?  When you do that you might assume that since you are sending the email from a central system it would not be possible for the recipient to obtain information about you beyond what you give them and an email address.  Unfortunately this is not true.  Information is leaked in many ways.  SMTP, DNS, HTTP all can leak information about a particular individual or organization.  In my experience, most people know this is possible, but fail to grasp the ease with which information about a person or company can be discovered.</p>
<p>Here is a simple example to illustrate.  I have found when speaking to many users of email, they feel that their location could not be determined by the recipient in an email unless they specifically give it, or it would be at least difficult to find out.  They even feel more comfortable with this statement when they are using their personal email from a terminal at work or a Internet cafe via a browser.</p>
<p>I was recently corresponding with a friend of mine.  She has a Rogers email account that she uses for her personal email.  She sent me a response to an email.  By looking at the email itself, there is no information that would give away where she was located.  However, if I look at the email headers a wealth of information is available.  Let&#8217;s focus on one piece.</p>
<p><a href="http://michaeldundas.com/wp-content/uploads/2010/03/emailHeaderWebLeak1Highlight.png"><img class="alignnone size-full wp-image-1627" title="emailHeaderWebLeak1Highlight" src="http://michaeldundas.com/wp-content/uploads/2010/03/emailHeaderWebLeak1Highlight.png" alt="" width="828" height="290" /></a></p>
<p style="text-align: center;"><strong><em>* headers not required for purposes of entry have been removed and others edited as required to protect identities</em></strong></p>
<p style="text-align: left;">The &#8216;Received:&#8217; header above displays an IP address.  Taking that IP address and doing a &#8216;whois&#8217; (shown below) reveals the company name where the email originated.</p>
<p style="text-align: center;"><a href="http://michaeldundas.com/wp-content/uploads/2010/03/emailHeaderWebLeakWhois1.png"><img class="size-full wp-image-1630 aligncenter" title="emailHeaderWebLeakWhois1" src="http://michaeldundas.com/wp-content/uploads/2010/03/emailHeaderWebLeakWhois1.png" alt="" width="641" height="350" /></a></p>
<p style="text-align: center;"><em><strong>* removed ISP information and edited company info to ensure privacy</strong></em></p>
<p style="text-align: left;">How could this information be used?  If someone wanted to surreptitiously gather intelligence on a target, one could send a email to a target asking an innocuous question.  By responding the target has unknowingly revealed their place of employment.  A few searches on Google, a picture on Facebook of yourself and family members &#8230; you get the idea.</p>
<p style="text-align: left;">This type of information gathering has valid uses.  Determining a time-line of a target and their actions from a corporate or legal investigation, determining if your spouse is cheating on you, or your teenage child is lying are some examples.</p>
<p style="text-align: left;">I am not suggesting that you should try to hide this or not use the Internet.  I am also not suggesting it will be fixed anytime soon, if ever.  I am suggesting to be aware.  Be aware that in todays world, data about yourself is being leaked all the time and any determined individual or group can find out what you are up to with minimal effort.  Be aware that even the most common activity leaks data.</p>
<p style="text-align: left;">How secure or anonymous do you feel when using the Internet?</p>
<p style="text-align: right;"><a href="http://www.flickr.com/photos/cjsutton/427610103/"><em>photo credit</em></a></p>
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://michaeldundas.com/2010/03/01/information-leakage-and-privacy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Identifying the anonymous in today&#8217;s digital world</title>
		<link>http://michaeldundas.com/2010/01/28/identifying-the-anonymous-in-todays-digital-world/</link>
		<comments>http://michaeldundas.com/2010/01/28/identifying-the-anonymous-in-todays-digital-world/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 16:29:09 +0000</pubDate>
		<dc:creator>Clear2Go</dc:creator>
				<category><![CDATA[Privacy and Anonymity]]></category>
		<category><![CDATA[Profiling]]></category>

		<guid isPermaLink="false">http://michaeldundas.com/?p=1475</guid>
		<description><![CDATA[A few years ago, I was having a discussion with an acquaintance who was involved in an investigation.  One individual they were tracking kept changing his mobile phone every few days.  Each new mobile was typically pay as you go or stolen and personal information connected to the mobile was either false or not available.  [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1478" class="wp-caption alignright" style="width: 224px"><a href="http://michaeldundas.com/wp-content/uploads/2010/01/anonymousTimesThree.png"><img class="size-full wp-image-1478" title="anonymousTimesThree" src="http://michaeldundas.com/wp-content/uploads/2010/01/anonymousTimesThree.png" alt="" width="214" height="179" /></a><p class="wp-caption-text">http://www.flickr.com/photos/solarider/2255744829/</p></div>
<p>A few years ago, I was having a discussion with an acquaintance who was involved in an investigation.  One individual they were tracking kept changing his mobile phone every few days.  Each new mobile was typically pay as you go or stolen and personal information connected to the mobile was either false or not available.  Yet the investigators were able to very quickly determine the new number of the individual each time they switched mobile numbers.    How they did this at the time impressed me, and I use the logic to this day.</p>
<p>Throughout the course of the investigation they were able to determine who this individual contacted.  A few of the mobiles that the individual contacted did not routinely change their mobile number.  As a result, by watching the calling patterns of the mobile phones where the numbers did not change, the investigators could quickly determine a new number that suddenly was calling each of the static numbers in a similar pattern.  This of course requires access to mobile network data, but it worked.  Even though this individual thought they were not being tracked,  their efforts to remain anonymous unknown to them were ineffective.   As a side note, there is software that will search for and detect these types of calling patterns automatically.  The same logic here can easily be applied to a Internet connection.</p>
<p>A more common example is when you are ever pulled over by a police officer and you don&#8217;t have your license.  Aside from them giving you a ticket for not having your license on your person, they will most likely ask you for your full name and birth date.  The reason for the birth date is to help assure them that when they go back to the cruiser to search on their laptop, the records they obtain are actually yours and not someone else with the same name.   How many Michael Dundas&#8217; are there in Canada?  Not sure, but the number of Michael Dundas&#8217; with the exact same birth date really lowers the probability of a false positive.  This same logic can be applied to social networking and there is interesting <a href="http://33bits.org/2009/05/13/your-morning-commute-is-unique-on-the-anonymity-of-homework-location-pairs/">research</a> in this <a href="http://news.bbc.co.uk/2/hi/technology/7967648.stm">area</a> including <a href="http://arstechnica.com/tech-policy/news/2009/03/pulling-back-the-curtain-on-anonymous-twitterers.ars">twitter</a>.</p>
<p>The EFF recently published a post on <a href="http://www.eff.org/deeplinks/2010/01/primer-information-theory-and-privacy">information theory and privacy</a>.  In it they discuss the concept of Entropy and how it applies to information and privacy.  It touches a bit on some of the math behind it, but if you are interested it is a good explanation of why when you think you are anonymous you may not be, even when you take precautions.  If you skip the math, their example of how a &#8216;user-agent&#8217; header transmitted by your browser can narrow you down to one of 1500 people can start to give people that are new to information and anonymity a good perspective.</p>
]]></content:encoded>
			<wfw:commentRss>http://michaeldundas.com/2010/01/28/identifying-the-anonymous-in-todays-digital-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You can still be detected if using a proxy</title>
		<link>http://michaeldundas.com/2009/11/02/you-can-still-be-detected-if-using-a-proxy/</link>
		<comments>http://michaeldundas.com/2009/11/02/you-can-still-be-detected-if-using-a-proxy/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 22:44:36 +0000</pubDate>
		<dc:creator>Clear2Go</dc:creator>
				<category><![CDATA[Privacy and Anonymity]]></category>

		<guid isPermaLink="false">http://michaeldundas.com/?p=1052</guid>
		<description><![CDATA[Setting your proxy settings in Firefox or Internet Explorer does not mean that you are undetectable.  In fact, with most websites today embedding  applications that provide video, audio, gaming and other services, it is more common than ever before to find evidence in logs and databases that can reveal who you are.  Most involved with [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-1054" title="Britney Spears 3 Video - thumb Picture" src="http://michaeldundas.com/wp-content/uploads/2009/11/bs3VideoThumb1.png" alt="Britney Spears 3 Video - thumb Picture" width="180" height="113" />Setting your proxy settings in Firefox or Internet Explorer does not mean that you are undetectable.  In fact, with most websites today embedding  applications that provide video, audio, gaming and other services, it is more common than ever before to find evidence in logs and databases that can reveal who you are.  Most involved with network security already know this, but if you are not you may think you are anonymous when in fact you are not.</p>
<p>I was talking to a individual recently who was involved in an investigation.  They assumed that by using a proxy, the target site would not have an IP address or any other data logged that could link them to the target site.  I explained this is false assumption and why, but it got me thinking about others that may be in law enforcement or corporate security conducting investigations and feel comfortable they are hidden via a proxy service when they are actually exposed.</p>
<p>If a target site wants to detect you, there are many ways it can accomplish this easily, and often they obtain identifying information unintentionally.  Here is a quick and simple example I put together.  First, I shutdown all the servers and clients on my home network except a single computer and the gateway.  On the gateway, I captured all the traffic entering and leaving the network. Next, I configured Firefox to use a SSH proxy.  SSH has the ability to emulate a SOCKS4 or SOCKS5 proxy.  A side note to using SOCKS4 or SOCKS5 is DNS is not proxied.  This is not a concern for this particular investigative scenario, but could be a concern for other investigations, so it is important to be aware of that issue should it become a concern during an investigation.</p>
<p>Firefox was configured to proxy via Socks 5:</p>
<p><img class="alignnone size-full wp-image-1063" title="sshProxyConfigExample1" src="http://michaeldundas.com/wp-content/uploads/2009/11/sshProxyConfig1.png" alt="sshProxyConfigExample1" width="504" height="552" /></p>
<p>Next, I visited a site that hosted the latest <a href="http://www.hollywoodtuna.com/britneyspears3.html">Britney Spears video entitled &#8217;3&#8242;</a>.  The page load is shown below.</p>
<p><img class="alignnone size-full wp-image-1060" title="britneySpears3Video" src="http://michaeldundas.com/wp-content/uploads/2009/11/britneySpears3Video.png" alt="britneySpears3Video" width="762" height="752" /></p>
<p>The initial page loads along with the embedded video player.  Up to this point, the logs show that the packets are ingressing and egressing via the configured proxy server only which is our desired behaviour.</p>
<p><img class="alignnone size-full wp-image-1067" title="initalHTTPLoadViaProxyCleansed" src="http://michaeldundas.com/wp-content/uploads/2009/11/initalHTTPLoadViaProxyCleansed.png" alt="initalHTTPLoadViaProxyCleansed" width="935" height="254" /></p>
<p style="text-align: left;">The communication as shown above between the proxy server and the client continues until the video player application loads.  Once the player loads, it first does a DNS request for the the video service.</p>
<p style="text-align: left;"><img class="alignnone size-full wp-image-1081" title="bsVideoPlayerDNSQueryCleansed" src="http://michaeldundas.com/wp-content/uploads/2009/11/bsVideoPlayerDNSQueryCleansed.png" alt="bsVideoPlayerDNSQueryCleansed" width="942" height="60" /></p>
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">The player then directly connects to the video service bypassing the proxy at this point you have been identified.   This continues as the audio and video is streamed to the client.</p>
<p style="text-align: left;"><img class="alignnone size-full wp-image-1074" title="bsRTMPStream1Cleansed" src="http://michaeldundas.com/wp-content/uploads/2009/11/bsRTMPStream1Cleansed.png" alt="bsRTMPStream1Cleansed" width="943" height="227" /></p>
<p>Keep in mind that you may already have been identified through the proxy itself.  It is entirely possible and likely that the website or player has transmitted other information about your system within the RTMP stream itself or even HTTP.  The problem stems from the fact that these embedded objects are in fact executable programs that can bypass the browser and other system settings.</p>
<p>If you are involved in an investigation where you don&#8217;t want to be detected by the target, do not assume that by using a proxy you are safe from detection.  There are ways to avoid detection in this way, but they require more sophisticated network and client configuration.  Regardless of your setup and configuration I would suggest always capturing the data transmitted and received.  Even if you don&#8217;t analyze every packet, it provides a detailed log of what actually was transmitted and received allowing you to go back and verify if necessary.</p>
]]></content:encoded>
			<wfw:commentRss>http://michaeldundas.com/2009/11/02/you-can-still-be-detected-if-using-a-proxy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tracking with Local Shared Objects (LSO)</title>
		<link>http://michaeldundas.com/2009/09/15/tracking-with-local-shared-objects-lso/</link>
		<comments>http://michaeldundas.com/2009/09/15/tracking-with-local-shared-objects-lso/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 02:44:32 +0000</pubDate>
		<dc:creator>Clear2Go</dc:creator>
				<category><![CDATA[Encryption]]></category>
		<category><![CDATA[Privacy and Anonymity]]></category>
		<category><![CDATA[Surveillance]]></category>

		<guid isPermaLink="false">http://michaeldundas.com/?p=926</guid>
		<description><![CDATA[There has been lots of discussion lately about Flash websites using Local Shared Objects (LSO) to track users selections, browsing habits, and other information.  One of the advantages for websites has been that until now they have not been well known.  From my basic searching they have been around since at least 2004 and probably [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-927" title="Adobe Flash Logo" src="http://michaeldundas.com/wp-content/uploads/2009/09/flashLogo1.png" alt="Adobe Flash Logo" width="63" height="63" /></p>
<p>There has been lots of discussion lately about <a href="http://www.adobe.com/products/flashplayer/">Flash</a> websites using Local Shared Objects (LSO) to track users selections, browsing habits, and other information.  One of the advantages for websites has been that until now they have not been well known.  From my basic searching they have been around since at least 2004 and probably earlier.  A user may configure their browser to remove or delete all &#8216;cookies&#8217;, but LSOs stay.  According to some, many of the top websites use them.</p>
<p>I tried a little experiment to see how LSOs are stored.  The directory that they are stored varies depending upon your operating system.  For me I use Linux as my primary O/S.  The default directory for LSOs is ~/.macromedia/Flash_Player.</p>
<p><img class="aligncenter size-full wp-image-929" title="Clean Macromedia directory" src="http://michaeldundas.com/wp-content/uploads/2009/09/cleanMacroMediaDirectory1.png" alt="Clean Macromedia directory" width="745" height="321" /></p>
<p>Under the &#8216;Flash_Player&#8217; there are two directories and under each of these directories are the security configuration and the binary installer for the Flash Air application.  Nothing interesting.  Next, I started Firefox and went to youtube.com and selected a video.  After the video completed, I took another look at the ~/.macromedia/Flash_Player directory.</p>
<p><img class="aligncenter size-full wp-image-931" title="macroMediaDirAfterYouTube1" src="http://michaeldundas.com/wp-content/uploads/2009/09/macroMediaDirAfterYouTube1.png" alt="macroMediaDirAfterYouTube1" width="1055" height="796" /></p>
<p>Under~/.macromedia/Flash_Player we now have two new directories, macromedia.com and #SharedObjects.  If we decend the macromedia.com directory, we find 3 nested single directories called support, flashplayer, and sys respectively.  Under the &#8216;sys&#8217; directory we find a binary file called settings.sol and a subdirectory which is #s.ytimg.com owned by <a href="http://google.ca">Google</a>.  The #s.ytimg.com directory contains a separate settings.sol which is binary.</p>
<p><img class="aligncenter size-full wp-image-935" title="macroMediaDirAfterYouTube2" src="http://michaeldundas.com/wp-content/uploads/2009/09/macroMediaDirAfterYouTube2.png" alt="macroMediaDirAfterYouTube2" width="1055" height="511" /></p>
<p>Under the #SharedObjects directory, there is a single oddly named directory &#8217;3BJH4AW6&#8242;, then a directory for the website &#8216;s.ytimg.com&#8217;, a domain owned by Google.  Below this are two files entitled videostats.sol and soundData.sol, both containing binary data.</p>
<p>I haven&#8217;t investigated the format or contents of the .sol files, but it is obviously where the metadata is stored.  I may try to investigate the format or see if anyone else has already figured it out as I am curious.  The bigger question in my mind is how does one properly erase this data.  There is a Firefox add-on called <a href="https://addons.mozilla.org/en-US/firefox/addon/6623">BetterPrivacy</a> which will do just that. It can be configured to delete LSOs on request or remove all the LSOs when you shutdown Firefox.  I installed BetterPrivacy and tried it.  Sure enough, upon shutting down Firefox I was greeted with this window:</p>
<p><img class="aligncenter size-full wp-image-937" title="betterPrivacyConfirm1" src="http://michaeldundas.com/wp-content/uploads/2009/09/betterPrivacyConfirm1.png" alt="betterPrivacyConfirm1" width="519" height="160" /></p>
<p>Selecting OK, put my ~/.macromedia/Flash_Player directory back to its original state with no LSOs or website directories present.  For the normal user that should suffice.  However, these are files and they have been deleted.  Most people should know that files these days that are deleted are typically still recoverable.   File systems such as NTFS (windows), ext2/ext3 (*nix) all can have files deleted on them recovered.  In the case of ext3, it is a journal file system and the default file system installed on most *nix platforms today.  Without getting into the details in this post, this effectively means that even if you wipe a file it can potentially still be recovered.</p>
<p>If you carry around sensitive information on your laptop, I recommend you create an encrypted volume on your hard drive using a package such as <a href="http://www.truecrypt.org/">TrueCrypt</a>, <a href="http://www.pgp.com/">PGP</a>.  In the case of my system, I formatted the encrypted file system to be ext2.  This means there is no journaling.  This has the disadvantage of being less &#8216;recoverable&#8217; but it has the advantage that if you wipe a file with &#8216;wipe&#8217;, &#8216;shred&#8217; or some other wiping software it is unlikely to be recovered.  Next, I point my ~/.macromedia directory to the encrypted file system.</p>
<p><img class="aligncenter size-full wp-image-939" title="dirsToEncryptedFS1" src="http://michaeldundas.com/wp-content/uploads/2009/09/dirsToEncryptedFS1.png" alt="dirsToEncryptedFS1" width="1055" height="302" />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&#8217;t fool proof, but it offers another layer of protection so that client data remains unviewable in the event of my laptop being stolen.</p>
]]></content:encoded>
			<wfw:commentRss>http://michaeldundas.com/2009/09/15/tracking-with-local-shared-objects-lso/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>No covert pictures please &#8211; removing sound from your PDA when you take a picture</title>
		<link>http://michaeldundas.com/2009/07/03/no-covert-pictures-please-removing-sound-from-your-pda-when-you-take-a-picture/</link>
		<comments>http://michaeldundas.com/2009/07/03/no-covert-pictures-please-removing-sound-from-your-pda-when-you-take-a-picture/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 14:10:34 +0000</pubDate>
		<dc:creator>Clear2Go</dc:creator>
				<category><![CDATA[Privacy and Anonymity]]></category>

		<guid isPermaLink="false">http://michaeldundas.com/?p=661</guid>
		<description><![CDATA[At work we have this white board which has a up-to-date list of a particular project my team is working on.  It is nice in that you can just look up at it while in the office or anyone can walk over and get current information.  One of the guys on the team likes to [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_665" class="wp-caption alignleft" style="width: 310px"><img class="size-full wp-image-665" title="nocameraLogo1" src="http://michaeldundas.com/wp-content/uploads/2009/07/nocameraLogo1.jpg" alt="http://www.flickr.com/photos/lwr/3318166499/" width="300" height="300" /><p class="wp-caption-text">http://www.flickr.com/photos/lwr/3318166499/</p></div>
<p>At work we have this white board which has a up-to-date list of a particular project my team is working on.  It is nice in that you can just look up at it while in the office or anyone can walk over and get current information.  One of the guys on the team likes to see the list get shorter.  For these reasons we keep it on the white board.  The problem is when you are working remote as I often do, how do you get or obtain the current status?  My solution is to take a picture of it with my PDA before I leave at the end of each day.  Besides keeping a time chronology of the project with the pictures, it allows me to pull it up on my laptop when I am not in the office and work.</p>
<p>This morning, I am sitting in Starbucks working away and I get my PDA out to download the latest task list picture to my laptop.  In the process of getting to the application, I accidentally took a picture of my table.  The mouse was on the the &#8216;take a picture&#8217; selection by default and I must have pressed the enter key.   Two people heard the &#8216;click&#8217; noise and immediately looked over.  No big deal, but I found their reactions interesting and amusing.  The next thought was to ask myself the question how does one disable the sound?  Turns out you cannot.</p>
<p>A quick look around the web and I discovered a few things on the topic of PDAs and the sound of the picture taking.  RIM, the makers of Blackberry do not provide the option to disable the noise.  Some speculate this is because RIM doesn&#8217;t want you covertly taking pictures, but maybe they just forgot or dropped it from the design due to time pressures.  Regardless it seemed kind of silly.</p>
<p>It is well accepted now a days that there is no expectation of privacy in public.  Stores, businesses, and places of employment have cameras both overt and covert that constantly record and store the people and activities.  Street cameras downtown constantly record and store traffic and the movements of people.  If this is acceptable, why is it not acceptable for a individual to take a picture?  I find the assumption that there is more risk to individuals taking pictures or video than a registered business or government entity very naive.  Turns out there is even  an attempt somewhere in the world to<a href="http://www.berryreview.com/2009/01/28/camera-phone-predator-alert-act-wants-to-force-clicking-sound-for-cellphone-cameras/"> put a law in place that</a> would &#8216;require&#8217; the noise on all digital devices.</p>
<p>No matter, like all things there are ways around it.  A quick search led me to <a href="http://software.crackberry.com/product.asp?id=19977&amp;n=BerryAnnoying">this application.</a> Downloaded it to my blackberry and problem solved.  No technical wizardry required.  I can now take silent pictures of my table and I won&#8217;t disturb the people sitting over on the couch.  These laws are just silly.  If someone really wants to take covert pictures they will always be able to do it and regulating the technology will not help.</p>
<p>The question is not about technology it is about the expectation of privacy.  If there is an expectation of privacy in public, then change the laws to support that and enforce it.  However, based on the court decisions I have read over the years, there is never an expectation of privacy in public.  I am not a lawyer, but I believe that precident has been set.   If you query most people on this topic,  they will assume they are being phtographed and recorded on video regularly, and they would be silly not to.</p>
]]></content:encoded>
			<wfw:commentRss>http://michaeldundas.com/2009/07/03/no-covert-pictures-please-removing-sound-from-your-pda-when-you-take-a-picture/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using DNS to determine when someone is home &#8212; DNS analysis, Part II</title>
		<link>http://michaeldundas.com/2009/04/12/using-dns-to-determine-when-someone-is-home-dns-analysis-part-ii/</link>
		<comments>http://michaeldundas.com/2009/04/12/using-dns-to-determine-when-someone-is-home-dns-analysis-part-ii/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 02:28:18 +0000</pubDate>
		<dc:creator>Clear2Go</dc:creator>
				<category><![CDATA[Forensics]]></category>
		<category><![CDATA[Privacy and Anonymity]]></category>

		<guid isPermaLink="false">http://kaizen.michaeldundas.com/?p=280</guid>
		<description><![CDATA[Last month, I did a quick write up on a DNS trace that I had extracted.  The trace was all the DNS queries that left my house over a few days.  Using that same trace, I noticed that there were many queries to the domain of my employer.   This in itself was not unusual, but [...]]]></description>
			<content:encoded><![CDATA[<p>Last month, I did a<a href="http://kaizen.michaeldundas.com/2009/02/15/dns-analysis-part-i/"> quick write up on a DNS trace</a> that I had extracted.  The trace was all the DNS queries that left my house over a few days.  Using that same trace, I noticed that there were many queries to the domain of my employer.   This in itself was not unusual, but one particular query caught my eye:</p>
<p>2009-02-08 05:34:02.680383 IP 216.240.7.12.58684 &gt; 208.67.222.222.53: 30554+ A? ap-1.sandvine.com. (35)<br />
2009-02-08 05:34:03.037603 IP 208.67.222.222.53 &gt; 216.240.7.12.58684: 30554 1/0/0 A 216.16.234.191 (51)</p>
<p>This query happened every 10-20 minutes.  Tracing it back I realized it was coming from my mobile phone.  This got me to thinking, could one determine when I was or was not home with just access to a DNS trace?  To answer that I did a bit of investigation of the address ap-1.sandvine.com.</p>
<p style="text-indent:0;margin:0;"><!--StartFragment-->mike@Janel:~/investigation/homeDns$ dig @ns1.domainmonger.com ap-1.sandvine.com</p>
<p style="text-indent:0;margin:0;">
<p style="text-indent:0;margin:0;">
<p style="text-indent:0;margin:0;">; &lt;&lt;&gt;&gt; DiG 9.5.0-P2 &lt;&lt;&gt;&gt; @ns1.domainmonger.com ap-1.sandvine.com</p>
<p style="text-indent:0;margin:0;">; (1 server found)</p>
<p style="text-indent:0;margin:0;">;; global options:  printcmd</p>
<p style="text-indent:0;margin:0;">;; Got answer:</p>
<p style="text-indent:0;margin:0;">;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 36335</p>
<p style="text-indent:0;margin:0;">;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0</p>
<p style="text-indent:0;margin:0;">;; WARNING: recursion requested but not available</p>
<p style="text-indent:0;margin:0;">
<p style="text-indent:0;margin:0;">;; QUESTION SECTION:</p>
<p style="text-indent:0;margin:0;">;ap-1.sandvine.com.		IN	A</p>
<p style="text-indent:0;margin:0;">
<p style="text-indent:0;margin:0;">;; ANSWER SECTION:</p>
<p style="text-indent:0;margin:0;">ap-1.sandvine.com.	60	IN	A	216.16.234.191</p>
<p style="text-indent:0;margin:0;">
<p style="text-indent:0;margin:0;">;; AUTHORITY SECTION:</p>
<p style="text-indent:0;margin:0;">sandvine.com.		60	IN	NS	ns1.domainmonger.com.</p>
<p style="text-indent:0;margin:0;">sandvine.com.		60	IN	NS	ns2.domainmonger.com.</p>
<p style="text-indent:0;margin:0;">
<p style="text-indent:0;margin:0;">;; Query time: 92 msec</p>
<p style="text-indent:0;margin:0;">;; SERVER: 216.98.150.33#53(216.98.150.33)</p>
<p style="text-indent:0;margin:0;">;; WHEN: Sun Apr 12 12:29:19 2009</p>
<p style="text-indent:0;margin:0;">;; MSG SIZE  rcvd: 100</p>
<p style="text-indent:0;margin:0;">
<p style="text-indent:0;margin:0;">mike@Janel:~/investigation/homeDns$<!--EndFragment--></p>
<p>From above the record, for ap-1.sandvine.com refreshes every 60 seconds.  That means that my mobile ignores the refresh request from the DNS.  While interesting to know, it doesn&#8217;t help answer my question.</p>
<p>I extracted all queries to ap-1.sandvine.com, the timestamp for each and quickly plotted them with gnuplot.  Next, I pulled my calendar and daily logs and added notes to the graph. The y-axis is irrelevant.  The red dots show when the queries were made and the green arrows and notes are my comments based on my calendar and logs.</p>
<p><img class="alignleft" src="http://michaeldundas.com/images/blog/mikeAtHomeDNSGraph.png" alt="" width="2037" height="564" /></p>
<p>A third party could easily determine when I was or was not home with a high degree of certainty.    With mobile phones now having wi-fi capabilities and connecting to the local wireless network it becomes trivial to use them as a vector to determine when someone is home or not.  I ran the same analysis on my wife&#8217;s mobile and got similar results (I didn&#8217;t add them to the chart here).</p>
<p>Obviously you could use other protocols and do a much more detailed analysis and correlation (or just execute standard physical surveillance), but DNS is good in that it is required for the Internet, a standard, and is not encrypted.  This was a relatively simple exercise and reasonably cost effective.   I am not a lawyer, but I suspect based on the <a href="http://www.schneier.com/blog/archives/2009/03/privacy_and_the_1.html">ongoing privacy</a> debate and  some recent <a href="http://www.michaelgeist.ca/content/view/3757/135/">court</a> <a href="http://www.privacylawyer.ca/blog/2008/09/more-from-ontario-courts-on-warrantless.html">decisions</a> that DNS queries executed by an individual or a business might be considered &#8216;public&#8217; with no expectation of privacy.  I&#8217;d argue that with access to DNS information from a particular entity, one could glean interesting information from a competitive company.</p>
]]></content:encoded>
			<wfw:commentRss>http://michaeldundas.com/2009/04/12/using-dns-to-determine-when-someone-is-home-dns-analysis-part-ii/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Centralization of data and privacy</title>
		<link>http://michaeldundas.com/2009/03/07/centralization-of-data-and-privacy/</link>
		<comments>http://michaeldundas.com/2009/03/07/centralization-of-data-and-privacy/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 14:17:31 +0000</pubDate>
		<dc:creator>Clear2Go</dc:creator>
				<category><![CDATA[Data Management]]></category>
		<category><![CDATA[External Services]]></category>
		<category><![CDATA[Information]]></category>
		<category><![CDATA[Privacy and Anonymity]]></category>

		<guid isPermaLink="false">http://kaizen.michaeldundas.com/?p=225</guid>
		<description><![CDATA[&#8220;There is a distinct difference between secrecy and privacy.&#8221; &#8211; Alanis Morissette, Interview I heard that quote a few years ago, it is one that has always stuck with me.  Personally, I am a big proponent of respecting privacy, but secrecy is an entirely different thing.  Where the line is drawn depends on each individual [...]]]></description>
			<content:encoded><![CDATA[<p><em>&#8220;There is a distinct difference between secrecy and privacy.&#8221; &#8211; Alanis Morissette, Interview</em></p>
<p>I heard that quote a few years ago, it is one that has always stuck with me.  Personally, I am a big proponent of respecting privacy, but secrecy is an entirely different thing.  Where the line is drawn depends on each individual unfortunately.</p>
<p>Previously, when doing security consulting for businesses, one of the common themes was the employers ability to access email, files, voice mail and even phone conversations of an employee if they felt it was necessary.   Taking email for example, most employers feel they have a right to read any email that enters or leaves their company network, regardless of whether it is private in nature or not.  I have been given arguments that the employer owns the equipment and the network and are ultimately responsible and must have the ability to do these types of activities if they feel it necessary.   I had a discussion with an individual that was a senior executive that felt very strongly in favour of this opinion.  I then gave him a scenario where he was collaborating with another company in a different province and the conversations were around some trade secrets or business that was sensitive in nature.  I asked him if it would it be okay if his upstream ISP or one of the ISPs along the path captured and read his email correspondence with this company.  His response was an absolute &#8216;no&#8217; it would not be okay.  I then stated that it is the ISPs network, they are ultimately responsible for the security and integrity of it.  Two things happened.  First he didn&#8217;t like the conversation anymore, that became very obvious.  Second, he made some statement about it being &#8216;different&#8217; and changed the topic.  This made me realize that  everyone wants secrecy for themselves, but do not want anyone to have secrets kept from them.  Yes, a very obvious statement, but I think it also comes down to that simple concept which drives all these debates, discussions, and laws or lack of laws.</p>
<p>So why am I bringing this up?   Michael Hyatt has a blog that I read regularly.  I don&#8217;t know him personally, but he seems like a good guy and has some insightful entries.  <a href="http://michaelhyatt.com/2009/02/8-reasons-i-love-gmail.html">He recently commented on the idea</a> of <a href="http://www.google.com/apps/intl/en/business/messaging.html">using Gmail for his business email.</a> I completely understand why he is considering it, and would argue that if you are a small or medium size business it could make complete sense financially and logistically.   What about the privacy implications?  What if Google has a security breech and data is lost or stolen?  What if <a href="http://kaizen.michaeldundas.com/2009/01/04/144/">Google is late to apply a security patch?</a> What if there is a security hole that Google isn&#8217;t aware of but a criminal is?   If there is a legal issue with a company in Germany that is using a cloud computing application who&#8217;s laws apply for data access?  Suppose you accept the terms of service and policies around Gmail and choose to use their service for email.  A year later, you change your mind and wish to have all your email transferred to a different server or service.  Can you do this?  Will all your data be erased from Gmail servers and their backup systems so they could never retrieve it again?  Do you care?</p>
<p>I think technology, innovation, and the internet are awesome.  But I also think it is very important that individuals and businesses realize and think seriously about the privacy implications.  Some suggest this is pointless.   With <a href="http://docs.google.com">GoogleDocs</a>, <a href="http://gmail.com">Gmail</a>, <a href="http://www.reallysimplesystems.com/">online</a> <a href="http://www.salesforce.com">CRM</a> <a href="http://www.circle-interactive.co.uk/solutions/crm">systems</a>, and the multitude of other cloud computing applications available and in use, we have already made this decision even if it is somewhat unconciously as a society.   I feel this statement may be right, and that makes me sad.</p>
]]></content:encoded>
			<wfw:commentRss>http://michaeldundas.com/2009/03/07/centralization-of-data-and-privacy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TLS/SSL data leakage</title>
		<link>http://michaeldundas.com/2009/02/05/tlsssl-data-leakage/</link>
		<comments>http://michaeldundas.com/2009/02/05/tlsssl-data-leakage/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 02:03:02 +0000</pubDate>
		<dc:creator>Clear2Go</dc:creator>
				<category><![CDATA[Forensics]]></category>
		<category><![CDATA[Privacy and Anonymity]]></category>

		<guid isPermaLink="false">http://kaizen.michaeldundas.com/?p=197</guid>
		<description><![CDATA[If you ask most people about TLS or SSL, they understand that it has something to do with &#8216;securing&#8217; information that is on the Internet.  People with a networking background will understand it as an encrypted session which encrypts everything above layer 5, effectively user data.  In the case of HTTP, this would include the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" src="http://michaeldundas.com/images/blog/padlock1.jpg" alt="" width="16" height="18" /> If you ask most people about TLS or SSL, they understand that it has something to do with &#8216;securing&#8217; information that is on the Internet.  People with a networking background will understand it as an encrypted session which encrypts everything above layer 5, effectively user data.  In the case of HTTP, this would include the URL that a user was requesting such as https://www.tdcanadatrust.com.   I was looking at a network capture file recently, and was shocked to find at the start of the session the server that I was accessing in the initial client hello packet of the SSL session, specifically http://www.tdcanadatrust.com.</p>
<p><img class="aligncenter" title="Network Capture of ssl hello" src="http://michaeldundas.com/images/blog/clientHelloWithServerName1.png" alt="" width="616" height="269" /></p>
<p>You can see in the server name in the SSL client hello packet.  The hello packet is the first part of the initial SSL handshake sequence when a application attempts to establish and SSL session.</p>
<p>Using Wireshark, and digging a little deeper, I found it is classified as an &#8216;Extension&#8217; labeled &#8216;server_name&#8217;</p>
<p><img class="aligncenter" title="Network Details of client hello packet server name" src="http://michaeldundas.com/images/blog/clientHelloWithServerNameDetails2b.png" alt="" width="598" height="705" /></p>
<p>It appears to be one of the acceptable extensions for SSL.  A quick check of the RFC revealed that it is an optional addition that applications such as a browser can add to the SSL negotiation process.</p>
<p>&lt;snip&gt;<br />
.2. Extended Server Hello</p>
<p>The extended server hello message format MAY be sent in place of the<br />
server hello message when the client has requested extended<br />
functionality via the extended client hello message specified in<br />
Section 2.1.</p>
<p>&#8230;&#8230;</p>
<p>In order to provide the server name, clients MAY include an extension<br />
of type &#8220;server_name&#8221; in the (extended) client hello.  The<br />
&#8220;extension_data&#8221; field of this extension SHALL contain<br />
&#8220;ServerNameList&#8221; where:</p>
<p>struct {<br />
NameType name_type;<br />
select (name_type) {<br />
&lt;/snip&gt;</p>
<p>As it turns out, this functionality was added to permit virtual hosting of SSL/TLS enabled sites.  Without it, every site requires a unique IP address.  With that reasoning, I expect it to become common place in the future.  One can argue that by having the destination IP address (which is not encrypted) of a network flow, determining which site a user is visiting when each IP address is mapped to a single SSL application is trivial.  Therefore adding this extended server_name option is no different and hence there is no added privacy concerns.   While I agree with this, it makes it much easier for the automation of statistics and monitoring of network flows.</p>
<p>The main point to keep in mind is that although you data is still encrypted, TLS/SSL still reveals the sites you visit.</p>
]]></content:encoded>
			<wfw:commentRss>http://michaeldundas.com/2009/02/05/tlsssl-data-leakage/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

