<?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; Auditing</title>
	<atom:link href="http://michaeldundas.com/category/auditing/feed/" rel="self" type="application/rss+xml" />
	<link>http://michaeldundas.com</link>
	<description>A place to record my thoughts and musings.</description>
	<lastBuildDate>Tue, 20 Jul 2010 03:13:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<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[Auditing]]></category>
		<category><![CDATA[Encryption]]></category>
		<category><![CDATA[Forensics]]></category>
		<category><![CDATA[Privacy / Anonymity]]></category>
		<category><![CDATA[monitoring]]></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>0</slash:comments>
		</item>
		<item>
		<title>Passing an audit does not imply you are secure</title>
		<link>http://michaeldundas.com/2010/05/31/passing-an-audit-does-not-imply-you-are-secure/</link>
		<comments>http://michaeldundas.com/2010/05/31/passing-an-audit-does-not-imply-you-are-secure/#comments</comments>
		<pubDate>Mon, 31 May 2010 22:53:24 +0000</pubDate>
		<dc:creator>Clear2Go</dc:creator>
				<category><![CDATA[Auditing]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://michaeldundas.com/?p=1801</guid>
		<description><![CDATA[I have been reading up on a few of the auditing standards such as COBIT and PCI.   I have dealt with audits at clients in the past.  Financial institutions take them very seriously.  Given the nature of their business and the recent financial crisis last year this approach makes complete sense.
There is a need to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://michaeldundas.com/wp-content/uploads/2010/02/checkList.png"><img class="alignright size-full wp-image-1534" title="checkList" src="http://michaeldundas.com/wp-content/uploads/2010/02/checkList.png" alt="" width="215" height="143" /></a>I have been reading up on a few of the auditing standards such as COBIT and PCI.   I have dealt with audits at clients in the past.  Financial institutions take them very seriously.  Given the nature of their business and the recent financial crisis last year this approach makes complete sense.</p>
<p>There is a need to ensure audit compliance across the entire banking infrastructure.   From a financial perspective, compliance with the various audits is a must if you wish to stay in business.  Of course, my background is in network security.  Network security is not the same as auditing.   Although I have not met anyone that would say if you pass a particular set of audits you are secure, I have noticed across the audit industry in general there seems to be a unstated understanding that if you do pass audits you are secure or more secure than if you don&#8217;t.</p>
<p>Passing an audit does not mean you are secure.  Here is one of a few, but simple examples I have come across.  One of the audits requires that your entire internal network has address translation from inside to outside.  Effectively, the idea is that if I as a outside user browse to http://michaeldundas.com, that address would appear to the requester as 216.240.0.43.</p>
<p><a href="http://michaeldundas.com/wp-content/uploads/2010/05/clientToServerDirect.png"><img class="aligncenter size-full wp-image-1803" title="clientToServerDirect" src="http://michaeldundas.com/wp-content/uploads/2010/05/clientToServerDirect.png" alt="" width="770" height="254" /></a></p>
<p>From the quick diagram above, you can see how the client thinks that it is directly connected to 216.240.0.43/32, and it is.  Based on the audit requirement of having complete address translation with the untrusted Internet, you would have to configure a device that would convert the IP address the client has, to a different IP address.</p>
<p><a href="http://michaeldundas.com/wp-content/uploads/2010/05/clientToServerNAT.png"><img class="aligncenter size-full wp-image-1805" title="clientToServerNAT" src="http://michaeldundas.com/wp-content/uploads/2010/05/clientToServerNAT.png" alt="" width="782" height="305" /></a></p>
<p>The second diagram shows a router configured with Network Address Translation (NAT) to convert the IP address in both directions.  In this way the client does not know the real IP address of the server.   Any attack that you could do without NAT, you can do even if NAT is there.  Anyone that is active in attacking servers knows this.  It offers no additional security, just extra work.</p>
<p>Auditing does have its place and is necessary.  Complying with audit requirements for many industries is not an option and your staff must understand that.  But don&#8217;t let yourself or your staff be fooled into thinking audits make you more secure.  Audits help but they are not a substitute for good and proper security.   Passing an audit does not mean you are secure.</p>
]]></content:encoded>
			<wfw:commentRss>http://michaeldundas.com/2010/05/31/passing-an-audit-does-not-imply-you-are-secure/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[Auditing]]></category>
		<category><![CDATA[Privacy / 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 &#8216;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>0</slash:comments>
		</item>
		<item>
		<title>The importance of audits and auditability of government and law enforcement</title>
		<link>http://michaeldundas.com/2008/12/10/the-importance-of-audits-and-auditability-of-government-and-law-enforcement/</link>
		<comments>http://michaeldundas.com/2008/12/10/the-importance-of-audits-and-auditability-of-government-and-law-enforcement/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 01:42:00 +0000</pubDate>
		<dc:creator>Clear2Go</dc:creator>
				<category><![CDATA[Auditing]]></category>
		<category><![CDATA[Government]]></category>

		<guid isPermaLink="false">http://clear2go.wordpress.com/2008/12/10/the-importance-of-audits-and-auditability-of-government-and-law-enforcement/</guid>
		<description><![CDATA[Excellent written article by Bruce Schneier on the importance of audits and auditability especially today.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://online.wsj.com/article/SB122877438178489235.html">Excellent written article</a> by <a href="http://schneier.com/">Bruce Schneier</a> on the importance of audits and auditability especially today.</p>
]]></content:encoded>
			<wfw:commentRss>http://michaeldundas.com/2008/12/10/the-importance-of-audits-and-auditability-of-government-and-law-enforcement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
