<?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>Software Associates. &#187; Microsoft</title>
	<atom:link href="http://www.software.co.il/tag/microsoft/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.software.co.il</link>
	<description>Security and compliance specialists for medical device and healthcare companies</description>
	<lastBuildDate>Wed, 08 Feb 2012 06:36:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>The Israeli credit card breach</title>
		<link>http://www.software.co.il/2012/01/the-israeli-credit-card-breach/</link>
		<comments>http://www.software.co.il/2012/01/the-israeli-credit-card-breach/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 21:16:42 +0000</pubDate>
		<dc:creator>Danny Lieberman</dc:creator>
				<category><![CDATA[Data leakage]]></category>
		<category><![CDATA[Information security]]></category>
		<category><![CDATA[Checkpoint]]></category>
		<category><![CDATA[credit cards]]></category>
		<category><![CDATA[data security breaches]]></category>
		<category><![CDATA[Israeli software]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PCI]]></category>
		<category><![CDATA[PCI DSS 2.0]]></category>

		<guid isPermaLink="false">http://www.software.co.il/?p=4214</guid>
		<description><![CDATA[There are 5 reasons why credit cards are stolen in Israel. None have to do with terror; 4 reasons are cultural and the 5th is everyone&#8217;s problem: &#8220;confusing compliance with security&#8220;. I  could write a book on mismanagement of data governance and compliance, data security, web server security, web application software security. In 2003, I ...]]></description>
			<content:encoded><![CDATA[<p>There are 5 reasons why credit cards are stolen in Israel. None have to do with terror; 4 reasons are cultural and the 5th is everyone&#8217;s problem: &#8220;<em>confusing compliance with security</em>&#8220;.</p>
<p>I  could write a book on mismanagement of data governance and compliance, data security, web server security, web application software security.</p>
<p>In 2003, I got turned on to the notion of using extrusion prevention to prevent data loss. I had the privilege to work with some of the pioneers in data loss prevention and over a period of over 5 years, I evangelized, sold, marketed, implemented and supported data loss prevention solutions in Israel and Europe. In the course of that time, I made thousands of phone calls, met hundreds of prospects and sold a dozen systems.  I  developed a unique perspective to the data security space working with both vendors and C-level decision makers in a wide variety of verticals from financial services to diamonds and telecommunications.</p>
<p>There is no need to state the obvious common denominators between Israeli companies and their US counterparts who have suffered the ignominy of a large scale credit card data breach: Closing the barn doors after the horses have fled, thinking it won&#8217;t happen to them, relying on their Checkpoint firewall to prevent data breaches, erroneously calling an anti-virus threat management, believing their IT outsourcing provider and equating the counting of compliance check list items with effective data security.</p>
<p>In this essay, I will try and enumerate what I believe are the key contributing factors behind the insecurity of most Israeli businesses.  Most are inherently cultural to Israel although the last factor (PCI DSS 2.0) is everyone&#8217;s problem.</p>
<h3>Letting your piss go to your head</h3>
<p>The first factor is cultural. It&#8217;s called in Hebrew  עלה לו השתן לראש.  It&#8217;s hard to translate this exactly &#8211; but a literal translation is &#8220;letting your piss go to your head&#8221;.   Arguably, this may be true for many senior executives, especially those on Wall Street who run billion dollar financial service businesses.</p>
<p>The difference is that in Israel, a colonel who served in the Israeli Air Force and then retired at age 45 on a full military pension to work as a VP in a publicly-held Israeli company that does $50M worth of business has more piss up his head then the CEO of IBM.  You are more likely to ascend bodily into heaven than to convince this person to be a security leader, implement robust data governance in his organization and implement strong data security countermeasures. There are many jokes about this in Israel. The one I like the most goes like this: &#8220;<em>Why not have sex under an open window in Israel</em>? <em>Because, someone will leap through the window and tell you &#8211; move aside, I&#8217;ll show you how it&#8217;s done</em>&#8220;.  As far as I can tell, this is also the root cause for Israeli politicians like Ehud Barak, Bibi and Tzipi Livni who believe that they know what is best for the Palestinians.  (Letting your success get the best of you is gender-neutral).</p>
<h3>The Checkpoint syndrome</h3>
<p>The second factor is also cultural. I would label it the <em>Checkpoint</em> syndrome. I believe that the Americans call it &#8220;NIH &#8211; Not invented here&#8221;.   It is literally almost impossible to sell an Israeli CIO on the notion of innovative data loss prevention technologies when Checkpoint hasn&#8217;t really done much in that space (granted they introduced a DLP software blade for their firewall product in 2010, 7 years after Fidelis, Vontu and Verdasys already had working technology). Port Authority, later acquired by Websense, did indeed have some success in Israel &#8211; burning $60M in VC funding and selling about 30 systems in Israel due to a related syndrome that I shall call the <em>8200</em> syndrome &#8211; which is sort of an Israeli coolness factor &#8211; like Roy Hargrove and RH Factor playing funk. A related illness, which is at epidemic levels in Israel, is the <a title="Microsoft monoculture" href="http://www.software.co.il/?s=Microsoft+monoculture" target="_blank">Microsoft Monoculture</a>.  While Microsoft has correctly pigeonholed <a title="Microsoft data governance" href="http://www.microsoft.com/privacy/datagovernance.aspx" target="_blank">data security into data governance</a>  the main focus of Microsoft operating systems is access control and when key system management focus is on access control then it becomes difficult for system managers to properly assess the risk from trusted insider threats &#8211; insiders who violate security policy simply because they can. עלק אבטחה.</p>
<h3>Retaliation instead of mediation</h3>
<p>The third factor is political.</p>
<blockquote><p>Saber rattling is a <em>political</em> gesture and <em>retaliation</em> is not a substitute for proactive threat analysis and premeditated risk mediation.</p></blockquote>
<p>My friend Maryellen Evans sent me this clip from the Financial Times: <em><strong><a title="Israel seeks revenge for hacking" href="http://www.ft.com/cms/s/0e147568-3939-11e1-837e-00144feabdc0.html" target="_blank">Israel seeks revenge for hacking</a></strong></em></p>
<div>
<blockquote><p>The Israeli government has threatened to retaliate against the hacker who last week published the credit card details of thousands of Israelis, with one senior official comparing the cyberattack to a “terrorist operation”. Danny Ayalon, the deputy foreign minister, warned that the attack represented “a breach of sovereignty comparable to a terrorist operation, and must be treated as such”. He added: “Israel has active capabilities for striking at those who are trying to harm it, and no agency or hacker will be immune from retaliatory action.”</p></blockquote>
</div>
<div>
<div id="storyContent">
<p>Oh. I&#8217;m getting shivers at the thought of Israeli generals led by Ehud Barak retaliating against hackers.</p>
<p>There are 3 fundamental flaws behind this thinking (assuming someone is actually thinking like this, which may be assuming too much).</p>
<div>
<ol>
<li>Due to the asymmetrical nature of hacking, there is neither payback, nor deterrence value in threatening to send a drone aircraft to shoot a hacker in Mexico/Saudia/Albania/etc&#8230;.</li>
<li>Israeli leaders have  proven track records of threatening but not delivering on their promises (the disengagement from Gaza is a case in point) and then caving in populistic, media-driven, Jewsh-mother driven demands to trade terrorists with blood on their hands for Israelis who were drug dealing (see <a title="Elchanan Tannenbaum" href="http://en.wikipedia.org/wiki/Elhanan_Tannenbaum" target="_blank">Elchanan Tannenbaum</a>) or soldiers who failed in their duty (see <a title="Gilad Shalit is not a hero" href="http://www.ynetnews.com/articles/0,7340,L-4143278,00.html" target="_blank">Gilad Shalit is not a hero</a>). As a result, Israeli leadership credibility in this respect is rather low.</li>
<li>Threatening with retaliation is a low-cost, political do-nothing alternative to a fundamental threat analysis of the vulnerabilities in information systems, online sites and networks and careful, open and thorough implementation of strong data security countermeasures &#8211; such as locking down Web servers, outlawing Windows and securing message queue infrastructures used for B2B connectivity.</li>
</ol>
<h3>Legislation without enforcement</h3>
</div>
</div>
</div>
<p>Several years ago, I had an interesting sales call with the CSO of Clalit, the big Israeli HMO.   I made my pitch for data loss prevention and tied it into the ability of DLP to deliver real-time monitoring and visibility and assure PHI privacy compliance. He laughed at me and said: &#8220;<em>Listen, Danny &#8211; Israeli has a dozen privacy regulations on the books, all are relevant to PHI, but no one is serious about compliance, so we do what we think we need to do in the limitations of our budget and it is what it is.</em>&#8220;</p>
<p>The problem of legislation without enforcement is endemic in Israel from traffic safety to women&#8217;s rights to environmental protection: Israel is a country with more legislation and commissions of inquiry than  enforcement.   Perhaps,  a weak system of enforcement and abiding the law may be  a vestige of defense mechanisms developed while living in the Diaspora.   Certainly &#8211; the Eastern European Jews who founded Israel did not come from a background of law, order and compliance.  They came from a background of revolution and change.</p>
<h3>Compliance  without security</h3>
<p>Finally, we come to PCI DSS 2.0.  I have written extensively on <a title="The drawbacks of PCI DSS" href="http://www.software.co.il/?s=PCI+DSS" target="_blank">the drawbacks of PCI DSS</a> and <a title="the best way for a business to protect data" href="http://www.software.co.il/2011/11/what-is-the-best-way-for-a-business-to-prevent-data-breaches/" target="_blank">here</a> and <a title="The Tao of GRC" href="http://www.software.co.il/2011/11/the-tao-of-grc/" target="_blank">here (The Tao of GRC)</a> and suggest specific ways of getting credit card security <strong><em>right</em></strong>.</p>
<p>Perhaps the time has come to perform a vulnerability assessment of the standard itself.</p>
<p>In very simple terms, the biggest vulnerability of PCI DSS is that it&#8217;s about 10 years behind the curve.  When people in the PCI DSS Security Council in Europe confess to never having heard of DLP (Data loss prevention) and when the standard places an obsessive emphasis on anti-virus, you know you&#8217;re still in Kansas.</p>
<p>Speaking with a senior representative of PCI DSS Security Council in Europe last year, I posed some of these questions and he replied that the situation with merchants is so bad that PCI DSS is &#8220;better than nothing&#8221;.</p>
<p>That <em><strong>is</strong></em> pathetic isn&#8217;t it?</p>
<p>Perhaps we would all be better off taking the day off and hoovering our flats instead of trying to reeducate management, fix political systems, improve our data security and prevent credit card breaches.</p>
<p>It would certainly be cheaper.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.software.co.il/2012/01/the-israeli-credit-card-breach/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Medical device security</title>
		<link>http://www.software.co.il/2011/11/medical-device-security/</link>
		<comments>http://www.software.co.il/2011/11/medical-device-security/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 10:18:20 +0000</pubDate>
		<dc:creator>Danny Lieberman</dc:creator>
				<category><![CDATA[Data leakage]]></category>
		<category><![CDATA[Information security]]></category>
		<category><![CDATA[Software security]]></category>
		<category><![CDATA[Case study]]></category>
		<category><![CDATA[embedded]]></category>
		<category><![CDATA[hackers]]></category>
		<category><![CDATA[Intel]]></category>
		<category><![CDATA[Internal security]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[medical devices]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Security leadership]]></category>

		<guid isPermaLink="false">http://www.software.co.il/wordpress/?p=2534</guid>
		<description><![CDATA[What is more important &#8211; patient safety or the health of the enterprise hospital Windows network?  What is more important &#8211; writing secure code or installing an anti-virus? Software Associates specializes in helping medical device vendors achieve HIPAA compliance and improve the data and software security of their products in hospital and mobile environments. A ...]]></description>
			<content:encoded><![CDATA[<p>What is more important &#8211; patient safety or the health of the enterprise hospital Windows network?  What is more important &#8211; writing secure code or installing an anti-virus?</p>
<p>Software Associates specializes in helping medical device vendors achieve HIPAA compliance and improve the data and software security of their products in hospital and mobile environments.</p>
<p>A threat analysis was performed on a medical device used in intensive care units.  The threat analysis used the PTA (Practical threat analysis) methodology.</p>
<p>Our analysis considered threats to three assets: medical device availability, the hospital enterprise network and patient confidentiality/HIPAA compliance. Following the threat analysis, a prioritized plan of security countermeasures was built and implemented including the issue of propagation of viruses and malware into the hospital network (See Section III below).</p>
<blockquote><p>Installing anti-virus software on a medical device is less effective than implementing other security countermeasures that mitigate more severe threats – ePHI leakage, software defects and USB access.</p></blockquote>
<blockquote><p>A novel benefit of our approach is derived by providing the analytical results as a standard threat model database, which can be used by medical device vendors and customers to model changes in risk profile as technology and operating environment evolve. The <a title="Threat modelling software" href="http://www.ptatechnologies.com/?action=download" target="_blank">threat modelling software can be downloaded here</a>.</p></blockquote>
<p><span id="more-2534"></span></p>
<h3>I.             Introduction</h3>
<p>A threat analysis was performed on a medical device used in intensive care units. The analysis considers the security implications of deploying the devices inside a hospital network. Different stakeholders have different security and compliance concerns and therefore different agendas.</p>
<ul>
<li>Hospital IT management  - do the medical devices create new entry points for viruses and malware in the enterprise network?</li>
<li>Medical device vendor and patient care staff &#8211; can we assure availability and integrity of the monitoring data?</li>
<li>Hospital management &#8211; can we comply with HIPAA and reduce the risk of data leakage?</li>
</ul>
<h4>System configuration</h4>
<p>The embedded system configuration is based on an Intel processor running Windows XP Embedded.  The devices are not members of a Microsoft Active Directory domain and do not have Internet connectivity.</p>
<h4>The threat analysis process</h4>
<p>A data collection phase employed face to face interviews with software and hardware developers and directly examined the medical device software and hardware. We identified potential attackers, entry points, threats, vulnerabilities and security countermeasures (those already implemented and those that might be implemented).  Following data collection, we performed a threat analysis using the PTA (Practical Threat Analysis) methodology summarized in Appendix A and described at length on the <a href="http://www.ptatechnologies.com/">PTA Technologies</a> web site.</p>
<h4>Threat model entities</h4>
<p>Our threat model uses four base classes; mapping <strong>assets</strong> to <strong>vulnerabilities</strong>, <strong>threats</strong> that exploit vulnerabilities and <strong>countermeasures</strong> that mitigate vulnerabilities.</p>
<h4>For example:</h4>
<table width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td><strong>Threat T1</strong> – an attacker may obtain monitoring information and impact <strong>Asset</strong> <strong>A1</strong>–patient privacy<strong>Vulnerability V1</strong>– Central management stations  may have Internet connectivity<strong>Countermeasure C1</strong> – Encrypt ePHI</td>
</tr>
</tbody>
</table>
<p>The key assets were medical device availability, the hospital enterprise network and patient confidentiality. We received input from hospital IT management regarding annual rates of occurrence of virus and malware attacks (rare) and phishing attacks on hospital employees (the usual email-borne pharmacy scams etc…).</p>
<h3>II.           Top unmitigated threats</h3>
<p>After building the threat model with the four base classes and their relationships, we estimated the probability of threat occurrence, percent damage to assets and risk mitigation effectiveness.   Trusted insider information leakage event frequency was estimated as twice/year in the threat model, while virus, denial of service and malware attacks frequency were estimated to be rare (less than once every 3 years).  Hospital IT were primarily concerned with the health of their enterprise network (as opposed to the availability of the medical devices) – described in threat T017.</p>
<p>The 5 most severe <strong>unmitigated</strong> threats in our model (shown below), are derived using the PTA calculative method (<a href="http://www.ptatechnologies.com/?action=4pta">http://www.ptatechnologies.com/?action=4pta</a>), which takes into account estimated asset value, threat probability and  percent damage due to a threat event.</p>
<p>The TXXX identifiers in the left hand column refer to the entities in our model.</p>
<table width="99%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="bottom" width="9%"><strong>Entity </strong><strong>Id</strong></td>
<td valign="bottom" width="90%">Threats</td>
</tr>
<tr>
<td valign="bottom" width="9%">T002</td>
<td valign="top" width="90%">Trusted insiders may leak ePHI to interested parties (insurance companies etc&#8230;)</td>
</tr>
<tr>
<td valign="bottom" width="9%">T019</td>
<td valign="top" width="90%">Software defects and/or configuration changes may cause the units to become unresponsive and incapable of providing the patient monitoring service</td>
</tr>
<tr>
<td valign="bottom" width="9%">T017</td>
<td valign="top" width="90%">The Windows-based medical devices may become infected and propagate malware/viruses to the hospital enterprise network</td>
</tr>
<tr>
<td valign="bottom" width="9%">T001</td>
<td valign="top" width="90%">Malicious agents may access the system from inside the hospital network in order to steal, modify data or disrupt operation.</td>
</tr>
<tr>
<td valign="bottom" width="9%">T021</td>
<td valign="top" width="90%">Hardware defects may cause the units to become unresponsive and incapable of providing the monitoring service</td>
</tr>
</tbody>
</table>
<h4>Removing electronic Protected Health Information (ePHI) from the medical device</h4>
<p>Unauthorized disclosure of ePHI (T002) was nominally the most severe threat<strong> </strong>at the start of the analysis due to compliance (HIPAA) / patient privacy concerns.</p>
<p>Protected health information (PHI) is any information in the medical data set that can be used to identify an individual and that was created, used, or disclosed in the course of providing a health care service such as diagnosis or treatment.</p>
<p>Following the threat analysis, it was decided to remove all personally identifying information and use an alphanumeric designator, displayed on the medical device screen and at a central management station. Nurses can respond quickly to alarms of changes in patient signs (heart/respiratory rate) reported by a particular bedside unit without being exposed to personally identifiable information.</p>
<p><em>After removing ePHI, the risk assessment changed and the threat of the medical device infecting the hospital enterprise network (T017) then became our primary concern.</em></p>
<h3>III.          Recommended countermeasure plan</h3>
<p>Using the PTA quantitative threat model, we then calculated a prioritized plan of security countermeasures as shown in the following table. The below <em>table is sorted according to recommended priority of implementation</em> in terms of risk mitigation effectiveness. After implementing the below countermeasures, the calculative model estimates a residual risk of less than 3% to system assets.</p>
<h4>Security countermeasures plan</h4>
<p>The TXXX and CXXX numeric identifiers refer to threat and countermeasure entities in our threat model.</p>
<table width="587" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="bottom" width="587"><strong>Threats/Security countermeasures </strong></td>
</tr>
<tr>
<td width="587"><strong>T002 &#8211; </strong>Trusted insiders may leak ePHI to interested parties (insurance companies etc&#8230;)<strong> </strong></td>
</tr>
<tr>
<td width="587"><strong>C061</strong> &#8211; Remove ePHI (protected health information) from the system</td>
</tr>
<tr>
<td width="587"><strong>T019  &#8211; </strong>Software defects and/or configuration changes may cause the units to become unresponsive and incapable of providing the patient monitoring service<strong> </strong></td>
</tr>
<tr>
<td width="587"><strong>C014</strong>-Perform software security assessment of relevant module/component/functions and QA review</td>
</tr>
<tr>
<td width="587"><strong>C041</strong>-Set write permissions at start of upgrade procedure</td>
</tr>
<tr>
<td width="587"><strong>C055</strong>-Perform post-install, post-software update validation check</td>
</tr>
<tr>
<td width="587"><strong>C057</strong>-Use updated .NET framework from Microsoft and upgrade the report writer application at the central management station that uses .NET to produce PDF reports</td>
</tr>
<tr>
<td valign="top" width="587"><strong>T017 &#8211; </strong>The Windows-based medical devices may be infected by a USB device and propagate malware/viruses back to the hospital enterprise network</td>
</tr>
<tr>
<td width="587"><strong>C048</strong>-Implement an IO-board hardware toggle for disabling USB ports<strong> </strong></td>
</tr>
<tr>
<td width="587"><strong>C039</strong>-Implement a procedure for ensuring clean device version update media</td>
</tr>
<tr>
<td width="587"><strong>T001 &#8211; </strong>Malicious agents may access the system from inside the hospital network in order to steal, modify data or disrupt operation.<strong> </strong></td>
</tr>
<tr>
<td width="587"><strong>C001</strong>-Block enterprise network access to bedside monitoring units</td>
</tr>
<tr>
<td width="587"><strong>C047</strong>- Configure communications software to validate  and discard invalid messages</td>
</tr>
<tr>
<td width="587"><strong>C052</strong>-Implement system tcp/ip data messages in binary format that are relatively difficult to decode via sniffing</td>
</tr>
<tr>
<td width="587"><strong>C061</strong> &#8211; Remove all ePHI (protected health information) from the system</td>
</tr>
<tr>
<td valign="top" width="587"><strong>T021</strong> &#8211; Hardware defects may cause the units to become unresponsive and incapable of providing the monitoring service</td>
</tr>
<tr>
<td width="587"><strong>C058</strong>-Provide system health check and expose alert to central management station</td>
</tr>
</tbody>
</table>
<h4>Patch management</h4>
<p>The question of patch / update management always arises in the course of a threat analysis of medical devices;  the results are perhaps counterintuitive for typical IT managers:</p>
<ul>
<li>IT policy of running automated Windows Update on Windows PCs in the office is not necessarily a relevant countermeasure for embedded medical devices.</li>
</ul>
<ul>
<li>Although FDA 510(K) recertification of the medical device may not be necessary when applying security patches – running Windows Update is practically impossible in an embedded device that does not have Internet access. The medical device vendor would typically apply patches to the embedded image as part of ongoing device field maintenance.</li>
</ul>
<p>We note that an ICO medical device  is a specialized (not COTS) embedded device that does not have Internet or removable device connectivity. The device does not run MS Office, does not run IE and is not connected to the Internet and therefore has a much smaller threat surface than a typical Windows PC installed on the hospital network.</p>
<p><em>For these reasons, we focused our efforts on security countermeasures that would reduce the most severe threats – ePHI leakage, software defects and USB access to the medical device itself.</em></p>
<h3>IV.         Propagation of viruses/malware in the enterprise network</h3>
<p>One of the key security concerns when operating networked, Windows-based embedded medical devices is whether new entry points for viruses and malware are created in the enterprise network.</p>
<p>We sub-divided this concern into 3 separate threat scenarios:</p>
<ol>
<li>Can the medical devices be infected from the enterprise network?</li>
<li>Can the medical devices be infected via USB devices?</li>
<li>Can infected medical devices propagate malicious software back into the enterprise network?</li>
</ol>
<p>Can the medical devices be infected from the enterprise network?</p>
<p><em>The short answer is no.</em></p>
<p>The medical device analyzed in the study uses Windows XP Embedded and a proprietary TCP/IP messaging protocol in order to communicate with a central management station.</p>
<p>The operating system itself is hardened, does not run Windows shell, does not run IE and shuts down all unneeded services such as SMB and RPC. In addition, it runs a Windows Firewall instance that blocks all ports except the TCP/IP listener ports.</p>
<p>Although a dedicated attacker with the right skill set might be able to sniff traffic, reverse engineer the protocol and fuzz, <em>there is always the question of whether or not the value of the asset justifies the cost of the attack</em>.  In this particular medical device, considering the hardware configuration and use of a proprietary messaging protocol; we felt that<em> the medical device was not particularly vulnerable to such attacks.</em></p>
<ol>
<li><em>2. </em><em>Can the medical devices be</em> <em>infected via USB devices?</em></li>
</ol>
<p><em>The short answer is yes – potentially by anyone who inserts an infected USB removable storage device.</em></p>
<p>We have addressed this vulnerability in countermeasure <strong>C048 </strong>– “Implement an IO-board hardware toggle for enabling/disabling USB ports”. We also strongly recommended migration to Linux – with no USB auto-run functions (see next section).</p>
<ol>
<li><em>3. </em><em>Can USB-infected medical devices</em> <em>propagate malicious software back into the enterprise network?</em></li>
</ol>
<p>The short answer is yes.</p>
<p>Although the proprietary request/response communications protocol used by the units cannot be used to transport files to other Windows PCS, a worm such as Conficker can exploit vulnerabilities in Windows services, disable the Windows firewall and propagate from the source computer to the hospital network on an arbitrary port between 1024 and 10000.</p>
<h3>V.           Future: segregation of bio-med and IT domains</h3>
<p>While hospital IT systems typically use Microsoft Windows; for an embedded medical device, we highly recommend using Linux due to its ease of maintenance and resistance to USB exploits and worms such as Conficker that exploit Windows software.  A suggested minimal configuration should consist of an up-to-date Linux kernel, QT, touch-screen, network support and a main loop to run the medical device application.  A more detailed discussion of the proposed Linux implementation is beyond the scope of this article. See the excellent article &#8220;<a title="The 10 mistakes made by embedded Linux developers" href="http://www.software.co.il/2011/11/the-top-10-mistakes-made-by-linux-developers/" target="_blank">The Top 10 mistakes embedded Linux developers make for some guidelines</a>&#8220;.</p>
<p><strong>VI.         Summary</strong></p>
<p>A threat analysis of a networked medical device was performed and a mitigation plan of countermeasures was produced, including recommended priority of implementation.  As a result of the analysis, it was decided to modify the medical device design and not to store ePHI. This is obviously the most effective countermeasure possible for HIPAA compliance and protecting patient privacy. In addition, a decision was taken to migrate the medical device OS platform to embedded Linux to eliminate typical Microsoft Windows network and removable device vulnerabilities.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.software.co.il/2011/11/medical-device-security/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>The top 10 mistakes made by Linux developers</title>
		<link>http://www.software.co.il/2011/11/the-top-10-mistakes-made-by-linux-developers/</link>
		<comments>http://www.software.co.il/2011/11/the-top-10-mistakes-made-by-linux-developers/#comments</comments>
		<pubDate>Fri, 25 Nov 2011 12:53:43 +0000</pubDate>
		<dc:creator>Danny Lieberman</dc:creator>
				<category><![CDATA[Risk mitigation]]></category>
		<category><![CDATA[Software security]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[embedded]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://v20/?p=3918</guid>
		<description><![CDATA[My colleague, Dr. Joel Isaacson talks about the top 10 mistakes made by Linux developers. It&#8217;s a great article and great read from one of the top embedded Linux programmers in the world. The Little Engine That Could Copyright 2004 Joel Isaacson. This work is licensed under the Creative Commons Attribution License. I  try to ...]]></description>
			<content:encoded><![CDATA[<p>My colleague, Dr. Joel Isaacson talks about the top 10 mistakes made by Linux developers. It&#8217;s a great article and great read from one of the top embedded Linux programmers in the world.</p>
<h4>The Little Engine That Could</h4>
<p style="text-align: center;">Copyright 2004 Joel Isaacson. This work is licensed under the Creative Commons Attribution License.</p>
<p style="text-align: left;">I  try to explain what are the top 10 mistakes made by Linux developers as I see it. I&#8217;m aware that one person&#8217;s mistake is another person&#8217;s best practice. My comments are therefore subjective.</p>
<p style="text-align: left;">I will use an embedded Linux device, the WRT54GS, a wireless router as an illustration of an embedded Linux device.An interesting article about this device can be found in: <a href="http://www.pbs.org/cringely/pulpit/pulpit20040527.html" target="_blank">http://www.pbs.org/cringely/pulpit/pulpit20040527.html</a>.</p>
<p style="text-align: left;">&#8220;The Little Engine That Could&#8221; How Linux is Inadvertently Poised to Remake the Telephone and Internet Markets &#8211; By Robert X. Cringely</p>
<p style="text-align: left;">So what <em><strong>are the top 10 mistakes made by Linux developers?</strong></em></p>
<p>10 &#8211; Pick a vendor.<br />
9 &#8211; Then pick a platform.<br />
8 &#8211; We are not in Kansas anymore.</p>
<h4>Support Issues</h4>
<h4>10 &#8211; Pick a Vendor</h4>
<ul>
<li>In my experience picking a large foreign company for support is not the best way to go for various reasons.</li>
<li>More about this later.</li>
</ul>
<p><span id="more-3918"></span></p>
<p>Which Linux?</p>
<p>From: &#8221; Snapshot of the Embedded Linux market March, 2004&#8243;<br />
<a href="http://linuxdevices.com/articles/AT8693703925.html">http://linuxdevices.com/articles/AT8693703925.html</a></p>
<p>Which Vendor?</p>
<p>From: &#8221; Snapshot of the Embedded Linux market March, 2004&#8243;<br />
Instead of rolling their own OS from scratch, embedded developers now roll their own OS from Linux source. The barchart shows that, collectively, embedded Linux vendors including MontaVista, Metrowerks, TimeSys, Denx, Sysgo, LynuxWorks, and FSMLabs have supplied Linux for only 22 percent of projects during the last two years, projected to reach 24.2 percent over the next two years.</p>
<p><img src="http://www.software.co.il/images/stories/articles/image001.gif" alt="Snapshot of the Embedded Linux market March, 2004" width="425" height="274" border="0" /><br />
<img src="http://www.software.co.il/images/stories/articles/image003.jpg" alt="Snapshot of the Embedded Linux market March, 2004" width="576" height="429" border="0" /><br />
<a href="http://linuxdevices.com/articles/AT8693703925.html">http://linuxdevices.com/articles/AT8693703925.html</a></p>
<h4>9 &#8211; Then Pick a Platform</h4>
<ul>
<li>Most people immediately turn to Intel for a platform.</li>
<li>If you are running high performance commodity systems this makes sense.</li>
<li>For smaller embedded systems the Intel X86 architecture isn&#8217;t necessarily the best choice.</li>
</ul>
<h5>Which Processor?</h5>
<p>ARM &#8212; including StrongARM and XScale architectures &#8211; are gaining on x86 as the most popular processor architecture for embedded development. This year&#8217;s results show that trend continuing. And, for the first time, embedded Linux developers are projecting that they&#8217;ll base more projects on ARM than x86 processors in their projects during the next two years.</p>
<p><img src="http://www.software.co.il/images/stories/articles/image005.jpg" alt="Which Processor?" width="415" height="324" border="0" /></p>
<p><a href="http://linuxdevices.com/articles/AT8693703925.html">http://linuxdevices.com/articles/AT8693703925.html</a></p>
<h4>8 &#8211; We are not in Kansas anymore.</h4>
<ul>
<li>Linux is a disruptive technology. A once in a generation paradigm change.</li>
<li>If you don&#8217;t change your methods of dealing withsoftware support, you will not benefit.</li>
<li>Let&#8217;s examine the issue of support in Open Source Systems.</li>
</ul>
<p>Commercial vs. Open Source Knowledge Base &#8211; cost and access</p>
<table summary="" border="1">
<tbody>
<tr>
<td></td>
<th>Commercial</th>
<th>Open Source</th>
</tr>
<tr>
<th>Cost of knowledge</th>
<td>High &#8211; you&#8217;re dependent on the vendor</td>
<td>Freedom of choice &#8211; see &#8220;Who do you turn to&#8221;</td>
</tr>
<tr>
<th>Access to Knowledge</th>
<td>Secret<br />
Vendor Support staff usually cover up</td>
<td>Open<br />
No secrets</td>
</tr>
</tbody>
</table>
<p>Who Do You Turn To?</p>
<ul>
<li>There are three viable approaches in dealing with support issues in Linux.
<ul>
<li>Get support from a large foreign software company.</li>
<li>Get support from a smaller local software company</li>
<li>Support yourself.</li>
</ul>
</li>
</ul>
<p>Support:<br />
Large Foreign Company</p>
<ul>
<li>There are a number of fairly large companies that support embedded Linux:
<ul>
<li>IBM</li>
<li>Montavista</li>
<li>RedHat</li>
</ul>
</li>
<li>You have to be careful of &#8221; vendor lockin&#8221;</li>
<li>Why go to Linux and then sell your soul to the devil?</li>
</ul>
<p>Support: Small Local Company</p>
<ul>
<li>There are a number of local companies that can provide support for embedded Linux.</li>
<li>The nice thing about this approach is that the local companies are not at a disadvantage since there is no proprietary or hidden software in the embedded Linux solution.</li>
<li>Just look around you, there is plenty of talent in this country.</li>
</ul>
<ul>
<li>No &#8221; vendor lockin&#8221; .</li>
</ul>
<p>Support Yourself:</p>
<ul>
<li>Since everything is open you can provide your own support.</li>
<li>This is definitely the most effective, but it needs the largest investment of time and talent.</li>
<li>There is a lot of help available on the Internet and recently published books.</li>
</ul>
<h4>7 &#8211; I want it to run real fast.</h4>
<p>Well boy you need real time.</p>
<p>Real Time Systems</p>
<ul>
<li>A large amount of confusion exists about the uses of commercial RTOS&#8217;s</li>
<li>This confusion is largely propagated by companies that sell RTOS&#8217;s.</li>
<li>The use of RTOS&#8217;s in embedded systems is mostly a historical anomaly.</li>
</ul>
<p>Real Time Systems</p>
<ul>
<li>Real time systems are optimized to minimize worse case latency (the response time).</li>
<li>Interrupt latency is usually the criterion that defines how &#8220;Real Time&#8221; the operating system is.</li>
<li>RTOS are usually needed to control hardware that has strict time constraints.</li>
</ul>
<p>Embedded Systems</p>
<ul>
<li>Embedded systems are systems with limited human interaction.</li>
<li>These systems are sometime very small but not necessarily.</li>
<li>The embedded computer market is huge The shipment volume of embedded systems is much larger than the PC computer market.</li>
</ul>
<p>Latency vs Throughput</p>
<p><img src="http://www.software.co.il/images/stories/articles/image007.jpg" alt="Latency vs Throughput" width="576" height="381" border="0" /></p>
<p>RTOS<br />
Linux<br />
Real Time &#8211; Says Who?</p>
<ul>
<li>The majority of realtime systems aren&#8217;t.</li>
<li>Embedded systems are often misclassified as realtime systems. However, most systems simply do not require realtime capabilities, in fact these capabilities are detrimental.</li>
</ul>
<ul>
<li>Realtime requirements are often simply designed out through the use of a deeper hardware FIFO, scatter/gather DMA engines and custom hardware.</li>
</ul>
<p>So You Still Want Real Time!</p>
<ul>
<li>There are a number of approaches that can be used to provide Real Time Response:</li>
<li>Soft Real time: There are various low latency patches to the standard Linux kernel:
<ul>
<li>Montavista&#8217;s</li>
<li>Redhat&#8217;s</li>
</ul>
</li>
<li>Hard Real time: The are a number of hard real time kernel patches:
<ul>
<li>Rtai</li>
<li>RtLinux</li>
</ul>
</li>
</ul>
<h4>6 &#8211; Posix RealTime Extensions</h4>
<p>Posix.4 RealTime Extensions to Linux</p>
<ul>
<li>Posix.4 adds realtime facilities to Posix.</li>
<li>This standard add the facilities typically used in RTOS&#8217;s.</li>
<li>In my opinion using these facilities are a recipe for trouble.</li>
<li>There are no standard Linux programs that use these facilities, just look at your favorite Linux distribution.</li>
</ul>
<p>Use Linux&#8217;s Strong Simple Abstractions</p>
<ul>
<li>Linux supports some very powerful abstractions that should be preferred over many weaker techniques.</li>
<li>The major strong abstractions of Linux are:
<ul>
<li>Files</li>
<li>Processes</li>
<li>Memory spaces</li>
<li>IPC</li>
</ul>
</li>
</ul>
<h4>5 &#8211; Java</h4>
<ul>
<li>While this is difficult to classify as a mistake, it is worth noting that virtually no standard Linux programs are written in Java.</li>
</ul>
<ul>
<li>Sun itself uses GnomeGtk for its desktop, which is written in C. If Java is so good why doesn&#8217;t Sun use it.</li>
<li>Sun releases a SUSE version of Linux, without any Java programs, and dubs it the &#8221; Java Desktop System&#8221; .</li>
</ul>
<h4>4 &#8211; Scaling</h4>
<ul>
<li>Embedded environments many times have restrictive resources and the software must be properly scaled to run on the platform.</li>
<li>Things that are appropriate for a large enterprise server, such as Apache, PHP, graphical toolkits that are familiar to many Linux users are just too big for restricted embedded hardware.</li>
<li>Trying to squeeze these large programs into small flash memory is just no fun.</li>
</ul>
<h4>3 &#8211; Threads</h4>
<ul>
<li>The main problem with threads is that they are hard to use correctly. Even for experts,development is painful.</li>
</ul>
<p><img src="http://www.software.co.il/images/stories/articles/image009.jpg" alt="Thread programmers" width="523" height="234" border="0" /></p>
<p><a href="http://www.cc.gatech.edu/ccg/people/rob/software/threads/ousterhout_threads.html" target="_blank">http://www.cc.gatech.edu/ccg/people/rob/software/threads/ousterhout_threads.html</a></p>
<p>Why Threads are Hard</p>
<ul>
<li>Synchronization:
<ul>
<li>Must coordinate access to shared data with locks.</li>
<li>Forget a lock. Corrupted data.</li>
</ul>
</li>
<li>Deadlock:
<ul>
<li>Circular dependencies among locks.</li>
<li>Each process waits for some other process.</li>
</ul>
</li>
</ul>
<p><img src="http://www.software.co.il/images/stories/articles/image011.jpg" alt="Why Threads are Hard" width="431" height="133" border="0" /></p>
<p>Why Threads are Hard, cont&#8217;d</p>
<ul>
<li>Achieving good performance is hard:
<ul>
<li>Simple locking (e.g. monitors) yields low concurrency.</li>
<li>Finegrain locking increases complexity, reduces performance in normal case.</li>
<li>OSes limit performance (scheduling, context switches).</li>
</ul>
</li>
<li>Threads not well supported:
<ul>
<li>Hard to port threaded code (PCs? Macs?).</li>
<li>Standard libraries not threadsafe.</li>
<li>Kernel calls, window systems not multithreaded.</li>
<li>Few debugging tools (LockLint, debuggers?).</li>
</ul>
</li>
</ul>
<p>Debugging Threaded Programs</p>
<p><img src="http://www.software.co.il/images/stories/articles/image013.jpg" alt="Debugging Threaded Programs" width="575" height="373" border="0" /></p>
<p>If Not Threads Then: EventDriven Programming</p>
<ul>
<li>One execution stream: no CPU concurrency.</li>
<li>Register interest in events (callbacks).</li>
<li>Event loop waits for events, invokes handlers.</li>
<li>No preemption of event handlers.</li>
<li>Handlers generally shortlived.</li>
</ul>
<p><img src="http://www.software.co.il/images/stories/articles/image015.jpg" alt="Main loop architecture." width="216" height="240" border="0" /></p>
<ul>
<li>Main loop architecture.</li>
</ul>
<p>Process Based Concurrency</p>
<p><img src="http://www.software.co.il/images/stories/articles/image017.jpg" alt="Process Based Concurrency" width="438" height="249" border="0" /></p>
<p>Process Based Concurrency Another Alternative</p>
<p><img src="http://www.software.co.il/images/stories/articles/image019.jpg" alt="Process Based Concurrency  Another Alternative" width="523" height="443" border="0" /></p>
<ul>
<li>Use processes for concurrency rather than threads.</li>
<li>Synchronize processes with event based IPC.</li>
<li>Advantages:<br />
Simpler and surprisingly more efficient synchronization than threads.</li>
<li>send/rcv is self synchronizing and buffered.<br />
No race conditions. Much simpler to debug. Trivial to distribute.</li>
</ul>
<p>Process Based Concurrency</p>
<p>P1 P2 P3 P4<br />
Event Based Manager<br />
Process Based Threading<br />
Another Alternative</p>
<ul>
<li>Instead of sharing all memory, create processes with a shared memory region.
<ul>
<li>This allows you to minimize the interaction of the processes to a well defined subset of the total memory space of the application.</li>
<li>Thread safe libraries are not needed.</li>
<li>Use POSIX 1003.1b semaphores to synchronize shared data.</li>
<li>No performance hit.</li>
</ul>
</li>
</ul>
<h4>2 &#8211; Use the Source Luke</h4>
<ul>
<li>The source is your friend.</li>
<li>The GPL creates a unique situation that makes many embedded devices transparent.</li>
<li>The WRT54G wireless router is a case in point.</li>
<li>Linksys (a Cisco company) shipped this box without any indication that the software was GPL&#8217;ed</li>
<li>Someone noticed that this was a Linux box and sent an email:</li>
</ul>
<p>The Letter</p>
<pre>From Andrew Miklas &lt;&gt;
Subject Linksys WRT54G and the GPL
Date Sat, 7 Jun 2003 22:41:23 0400
Hi,
Awhile ago, I mentioned that the Linksys WRT54G wireless access point used
several GPL projects in its firmware, but did not seem to have any of the
source available, or acknowledge the use of the GPLed software. Four weeks
ago, I spoke with an employee at Linksys who confirmed that the system did
use Linux, and also mentioned that he would work with his management to
ensure that the source was released. Unfortunately, my emails
to this
individual over the past three weeks have gone unanswered. Of course, I also
tried contacting Linksys through their common public email
accounts
(
 <a href="mailto:pr@linksys.com">pr@linksys.com</a>,
 <a href="mailto:mailroom@linksys.com">mailroom@linksys.com</a>) to no avail.</pre>
<p>Linksys Releases The Source</p>
<ul>
<li>Linksys eventually released the sources.</li>
<li>You can just download it from their web site.</li>
<li>This launched &#8221; The Little Engine That Could&#8221; .</li>
<li>They have done very well with this product.</li>
<li>If you want to design an embedded Linux product just look at the completely transparent design of the WRT54G for a guide on how to design an embedded system.</li>
</ul>
<h4>1. GPL Violations</h4>
<ul>
<li>Israeli companies tend to ignore the finer details of legalities.</li>
<li>Violations of the GPL are a serious matter.</li>
<li>Recently the GPL has been upheld in its first court test in Germany.</li>
<li>The authors of netfilter, Linux&#8217;s firewall, has been granted an injunction against Sitecom Germany GmbH for GPL violations.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.software.co.il/2011/11/the-top-10-mistakes-made-by-linux-developers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Securing Web servers with SSL</title>
		<link>http://www.software.co.il/2011/08/securing-web-servers-with-ssl/</link>
		<comments>http://www.software.co.il/2011/08/securing-web-servers-with-ssl/#comments</comments>
		<pubDate>Wed, 10 Aug 2011 09:08:44 +0000</pubDate>
		<dc:creator>Danny Lieberman</dc:creator>
				<category><![CDATA[Compliance]]></category>
		<category><![CDATA[Data leakage]]></category>
		<category><![CDATA[Information security]]></category>
		<category><![CDATA[Cloud computing]]></category>
		<category><![CDATA[Data loss]]></category>
		<category><![CDATA[HIPAA]]></category>
		<category><![CDATA[IT Governance]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Symantec]]></category>
		<category><![CDATA[Verdasys]]></category>
		<category><![CDATA[Websense]]></category>

		<guid isPermaLink="false">http://www.software.co.il/wordpress/?p=3660</guid>
		<description><![CDATA[I&#8217;ve been recently writing about why Microsoft Windows and the Microsoft monoculture in general  is a bad idea for medical device vendors &#8211; see my essays on Windows vulnerabilities and medical devices here, here and here. It is now time to slaughter one more sacred cow: SSL. One of the most prevalent misconceptions with vendors in ...]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been recently writing about why Microsoft Windows and the Microsoft monoculture in general  is a bad idea for medical device vendors &#8211; see my essays on Windows vulnerabilities and medical devices <a title="Why windows is a bad idea for medical devices" href="http://www.software.co.il/wordpress/2011/06/why-microsoft-windows-is-a-bad-idea-for-medical-devices/" target="_blank">here</a>, <a title="Why using Azure is a bad idea for medical device vendors" href="http://www.software.co.il/wordpress/2011/06/the-connection-between-application-performance-and-security-in-the-cloud/" target="_blank">here</a> and <a title="Why outlawing windows from embedded medical devices is a good idea" href="http://www.software.co.il/wordpress/2011/06/why-outlawing-windows-from-embedded-medical-devices-is-a-good-idea/" target="_blank">here</a>.</p>
<p>It is now time to slaughter one more sacred cow: SSL.</p>
<p>One of the most prevalent misconceptions with vendors in the medical device and healthcare space regards the role of SSL and TLS in protecting patient information.  When faced with a requirement by a government or hospital customer for compliance to one of the US privacy and security standards, a vendor usually reacts with the CEO asking his CTO to look into &#8220;solutions&#8221;. The CTO&#8217;s answer usually goes  like this:</p>
<blockquote><p>I did some research. Apparently to be FIPS  (or HIPAA, or &#8230;) compliant we should use TLS and not SSL. I think that configuring the browser to be FIPS  (or HIPAA, or &#8230;) compliant may take a little work.</p></blockquote>
<p>Action items are given out to the technical team, they usually look like this:</p>
<blockquote><p>Joe &#8211; You establish a secure web site</p>
<p>Jack - Make sure all the addresses on the workstation point to https instead of http</p>
<p>Jack and Joanne - Compile a new version of the Servers and workstation to work properly on the new site.</p>
<p>Jack and Jill - Do what ever needs to be done so that the web services work on the new site.</p>
<p><strong><em>That&#8217;s all &#8211; No other changes need to be done to the application.</em></strong></p></blockquote>
<p>Oooh.  I just love that last sentence &#8211; &#8220;No other changes need to be done to the application&#8221;.  What about patching Web servers and the Windows operating systems? What about application software vulnerabilities?  What about message queue vulnerabilities ? What about trusted insiders, contractors and business partners who have access to the application software?</p>
<p>There are multiple attack vectors from the perspective of FIPS and HIPAA compliance and PHI data security.  The following schematic gives you an idea of how an attacker can steal PHI, figure using any combination of <em><strong>no less than 15 attack vectors to abuse and steal PHI:</strong></em></p>
<p><a href="http://v20/wp-content/uploads/2011/06/hipaa_cloudsecurity1.png"><img title="hipaa_cloud_security" src="http://v20/wp-content/uploads/2011/06/hipaa_cloudsecurity1.png" alt="HIPAA security in the cloud" width="645" height="478" /></a></p>
<p>There are potential data security vulnerabilities in the client layer, transmission layer, platform layer (Operating system) and cloud services (Amazon AWS for example).</p>
<p>So where does SSL fit in? Well, we know that the vulnerabilities for a PHI data breach can not only happen inside any layer but in particular there are vulnerabilities in the system interfaces between layers. That means between server layers and client-server interfaces.  SSL  <a title="Tomcat 6 SSL How to" href="http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html" target="_blank">Quoting from the Apache Tomcat 6.0 SSL Configuration HOW-TO</a>:</p>
<blockquote><p>SSL, or Secure Socket Layer, is a technology which allows web browsers and web servers to communicate over a secured connection. This means that the data being sent is encrypted by one side, transmitted, then decrypted by the other side before processing. This is a two-way process, meaning that both the server AND the browser encrypt all traffic before sending out data.</p>
<p>Another important aspect of the SSL protocol is Authentication. This means that during your initial attempt to communicate with a web server over a secure connection, that server will present your web browser with a set of credentials, in the form of a &#8220;Certificate&#8221;, as proof the site is who and what it claims to be. In certain cases, the server may also request a Certificate from your web browser, asking for proof that <em>you</em> are who you claim to be. This is known as &#8220;Client Authentication,&#8221; although in practice this is used more for business-to-business (B2B) transactions than with individual users. Most SSL-enabled web servers do not request Client Authentication.</p></blockquote>
<p>In plain English, SSL is good for protecting credentials transmitted between the browser and web server during the login process from eavesdropping attacks.  SSL may still be vulnerable to <a title="MITM attacks" href="http://en.wikipedia.org/wiki/Man-in-the-middle_attack" target="_blank">man in the middle attacks</a> by malware that piggybacks on the plain text browser requests and responses before they are encrypted. Similarly, SSL may be vulnerable to cross-site scripting attacks like the <a title="Paypal XSS vulnerability" href="http://news.netcraft.com/archives/2008/05/16/paypal_xss_vulnerability_undermines_ev_ssl_security.html" target="_blank">Paypal XSS vulnerability</a> discovered in 2008 that would allow hackers to carry out attacks, add their own content to the site and steal credentials from users.</p>
<p>SSL is a key component in a secure login process, but as a security countermeasure for application software vulnerabilities, endpoint vulnerabilities, removable devices, mobile devices and data security attacks by employees,  servers and endpoints,<em><strong> it is worse than worthless because it sucks the medical device/healthcare vendor into a false feeling of security.</strong></em></p>
<p>SSL does NOT make a medical device/healthcare Website secure. The SSL lock symbol in the  browser navigation window just means that data in motion between a browser client and Web server is encrypted.   If you can attack the endpoint or the server &#8211; the data is not protected. Quoting Gene Spafford ( I think this quote has been used for years but it&#8217;s still a good one)</p>
<blockquote><p><em>“Using encryption on the Internet is the equivalent of arranging an armored car to deliver credit card information from someone living in a cardboard box to someone living on a park bench.”<br />
</em>– <a title="Gene Spafford (Spaf)" href="http://spaf.cerias.purdue.edu/" target="_blank">Gene Spafford</a> Ph.D. Purdue, Professor of Computer Sciences and Director of CERIAS</p></blockquote>
<p>This is all fine and dandy, but  recall our conversation from the CTO giving action items to his team to &#8220;<em>establish a secure web site</em>&#8221; as if it was point and click on a Microsoft Office file. The team may discover that even though SSL is not a very good data security countermeasure (albeit <strong>required</strong> by FIPS and HIPAA), it may not be that easy to implement, let alone implement well.</p>
<p>It&#8217;s no wonder that so many web servers are misconfigured by the clueless being led by other clueless people who never read the original documentation and were all feeding off google searches for tutorials. Yikes!</p>
<p>Most people don&#8217;t bother reading the software manuals and google for advice looking for things like &#8220;<em>Tomcat SSL configuration tutorial</em>&#8220;.  Jack, and Jill and Joanne in our example above, may discover themselves wandering in an  abundance of incorrect,incomplete and misleading information in cyberspace, which is mixture of experts who assume <em>everyone</em>  knows how to setup secure AJP forwarding and Tomcat security constraints and a preponderance of newbies who know nothing (or a little bit, which is worse than nothing).</p>
<p>Working with a client in the clinical trial space, I realized that the first and perhaps biggest problem is a lack of decent documentation, so I wrote <em><a title="SSL and Certificate HOW TO - Apache 2.2 and Tomcat 6, Ubuntu" href="http://www.software.co.il/case-studies/265-ssl-and-certificate-how-to-apache-22-and-tomcat-6-ubuntu-1004-1010-1104.html" target="_blank">SSL and Certificate HOW TO &#8211; Apache 2.2 and Tomcat 6, Ubuntu</a> </em>which I hope will be my modest contribution (along with this blog) to dispelling some of the confusion and misconceptions and helping medical device and healthcare vendors implement secure Web applications. No promises &#8211; but at least I try to do my bit for the community.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.software.co.il/2011/08/securing-web-servers-with-ssl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The connection between application performance and security in the cloud</title>
		<link>http://www.software.co.il/2011/06/the-connection-between-application-performance-and-security-in-the-cloud/</link>
		<comments>http://www.software.co.il/2011/06/the-connection-between-application-performance-and-security-in-the-cloud/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 09:27:00 +0000</pubDate>
		<dc:creator>Danny Lieberman</dc:creator>
				<category><![CDATA[Information security]]></category>
		<category><![CDATA[Cloud computing]]></category>
		<category><![CDATA[Cloud security]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Microsoft Azure]]></category>
		<category><![CDATA[rackspace.com]]></category>
		<category><![CDATA[Venture Capital]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://www.software.co.il/wordpress/?p=3577</guid>
		<description><![CDATA[I met with Avner Algom last week in his office in Herzliya. Avner is the director of the Israeli Cloud and Grid Technology Consortium &#8211; IGT - The IGT is a non-profit organization of leading industry companies, vendors, ISVs, customers, VCs and academia, focused on knowledge sharing and networking for developing Cloud computing/SaaS, Virtualization and SmartGrid ...]]></description>
			<content:encoded><![CDATA[<p>I met with Avner Algom last week in his office in Herzliya. Avner is the director of the <a title="IGT Cloud" href="http://www.meetup.com/IGTCloud/" target="_blank">Israeli Cloud and Grid Technology Consortium &#8211; IGT</a> - The IGT is a non-profit organization of leading industry companies, vendors, ISVs, customers, VCs and academia, focused on knowledge sharing and networking for developing Cloud computing/SaaS, Virtualization and SmartGrid solutions. It is open, independent and vendor-neutral.</p>
<p>It is significant that discussions of cloud security and performance focus almost exclusively on infrastructure issues such as virtualization or procedural issues such as infrastructure compliance with various security standards and frameworks.</p>
<p>I remarked to Avner in the course of our chat, that there is a close correlation between performance and security issues for Web applications running in the cloud.  Avner  asked me how I came to that conclusion.</p>
<p>Here is why cloud performance and cloud security have common issues.</p>
<p>Virtually all applications deployed in the cloud are either Web-based applications or smartphone apps for Android or IOS that use http/https as their application transport.</p>
<p>The current rich Web 2.0 application model is broken and it has nothing to do with the  serious and fundamental issues with Microsoft monoculture, Windows operating systems vulnerabilities and Internet Explorer non-compliance with IETF  standards.</p>
<p>It will not help if you use Ruby on Rails or CakePHP or Zend Framework either. The debate between the Ruby on Rails, ASP.NET and PHP camps is mildly interesting but irrelevant from a cloud security and performance perspective.</p>
<blockquote><p>A deeper look at Web applications reveals that the current rich Web 2.0 application development and execution model <em><strong>suffers from a broken architecture that cannot be fixed by tweaking languages.</strong></em></p></blockquote>
<p>Further examination shows that data typing, message passing, redundant code, data and multiple tier issues that are security vulnerabilities for Web applications in the cloud are also root causes of application performance issues and latency that result in a poor user experience and high cost of operation for the application operator. Note that in a utility model where you pay for CPU cycles,  you pay more for inefficient applications. That is the dark side of the externally vivacious cloud service model.</p>
<p>The attached presentation examines some of the root causes of the currently broken Web 2.0 application development and execution model and shows that the same security vulnerabilities born out of Web 2.0 client/server architecture result in 10x poorer performance than a traditional client-server model based on stateful, TCP unicast socket communications.</p>
<p>See <strong style="display: block; margin: 12px 0 4px;"><a title="Web application security in the cloud" href="http://www.slideshare.net/dannyl50/web-application-security-in-the-cloud">Web application security in the cloud</a></strong></p>
<div id="__ss_8163286" style="width: 425px;">and view more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/dannyl50">Software Associates</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.software.co.il/2011/06/the-connection-between-application-performance-and-security-in-the-cloud/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Why outlawing Windows from embedded medical devices is a good idea</title>
		<link>http://www.software.co.il/2011/06/why-outlawing-windows-from-embedded-medical-devices-is-a-good-idea/</link>
		<comments>http://www.software.co.il/2011/06/why-outlawing-windows-from-embedded-medical-devices-is-a-good-idea/#comments</comments>
		<pubDate>Sat, 11 Jun 2011 19:55:33 +0000</pubDate>
		<dc:creator>Danny Lieberman</dc:creator>
				<category><![CDATA[Information security]]></category>
		<category><![CDATA[FDA]]></category>
		<category><![CDATA[medical devices]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software security]]></category>

		<guid isPermaLink="false">http://www.software.co.il/wordpress/?p=3535</guid>
		<description><![CDATA[In a previous post The Microsoft Monoculture as a threat to national security, I suggested that the FDA might consider banning Windows as an operating system platform for medical devices and their accompanying information management systems. One of my readers took umbrage at the notion of legislating one monoculture (Microsoft) with another (Linux) and how ...]]></description>
			<content:encoded><![CDATA[<p>In a previous post <a title="Microsoft as a threat to national security" href="http://www.software.co.il/wordpress/2011/06/the-microsoft-monoculture-as-a-threat-to-national-security/" target="_blank">The Microsoft Monoculture as a threat to national security</a>, I suggested that the FDA might consider banning Windows as an operating system platform for medical devices and their accompanying information management systems.</p>
<p>One of my readers took umbrage at the notion of legislating one monoculture (Microsoft) with another (Linux) and how the Linux geeks are hooked on the CLI just like Windows users are hooked on a GUI.</p>
<p>The combination of large numbers of software vulnerabilities,  user lock in created by integrating applications with Windows,  complexity of Microsoft products and their code and Microsoft predatory trade practices are diametrically different than Linux and the FOSS movement.</p>
<p>One of the biggest threats to medical devices in hospitals is the widespread use of USB flash disk drives and Windows notebooks to update medical device software. With the infamous auto-run feature on Microsoft USB drives &#8211; flash memory is an easy attack vector for propagating malware via Windows based medical devices into a hospital network. This is one (and not the only) reason, why I am campaigning against use of Windows in medical devices.</p>
<p>This  has nothing to do with the CLI or GUI of the operating system and personal preferences for a user interface.</p>
<p>This has everything to do with manufacturing secure embedded medical devices that must survive in most demanding, heterogeneous and mission critical environment one can imagine &#8211; a modern hospital.</p>
<p>I never advocated mandating Linux by law for medical devices.</p>
<p>It might be possible to mandate a complex set of software security requirements instead of outlawing Windows in embedded medical devices as a more politically-correct but far more costly alternative for the the FDA and the US taxpayer.</p>
<p>Regardless of the politics involved (and they are huge&#8230;) &#8211; if the FDA were to remove Windows from an approved list of embedded medical device operating systems &#8211; the costs to the FDA would decrease since the FDA would need less Windows expertise for audits and the threat surface they would have to cover for critical events would be smaller.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.software.co.il/2011/06/why-outlawing-windows-from-embedded-medical-devices-is-a-good-idea/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Microsoft gives source code to Chinese government</title>
		<link>http://www.software.co.il/2011/06/microsoft-gives-source-code-to-chinese-government/</link>
		<comments>http://www.software.co.il/2011/06/microsoft-gives-source-code-to-chinese-government/#comments</comments>
		<pubDate>Sat, 11 Jun 2011 19:11:55 +0000</pubDate>
		<dc:creator>Danny Lieberman</dc:creator>
				<category><![CDATA[Information security]]></category>
		<category><![CDATA[Critical infrastructures]]></category>
		<category><![CDATA[cyber attack]]></category>
		<category><![CDATA[data breach]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[RSA]]></category>
		<category><![CDATA[Software security]]></category>

		<guid isPermaLink="false">http://www.software.co.il/wordpress/?p=3523</guid>
		<description><![CDATA[Sold down the river. A phrase meaning to be betrayed by another. Originated during the slave trade in America. Selling a slave &#8220;down the river&#8221; would uproot the slave from their from spouses, children, parents, siblings and friends. For example: &#8220;I can&#8217;t believe that Microsoft gave their source code to the Chinese in a pathetic ...]]></description>
			<content:encoded><![CDATA[<p><em>Sold down the river. </em>A phrase meaning to be betrayed by another. Originated during the slave trade in America. Selling a slave &#8220;down the river&#8221; would uproot the slave from their from spouses, children, parents, siblings and friends. For example:</p>
<blockquote><p>&#8220;I can&#8217;t believe that Microsoft gave their source code to the Chinese in a pathetic attempt to get them to buy more MS Office licenses.  Boy-were we sold down the river!&#8221;</p></blockquote>
<p>In the euphemistically worded press release <a title="Microsoft gives china source code to Windows" href="http://www.microsoft.com/presspass/press/2003/feb03/02-28gspchinapr.mspx" target="_blank">Microsoft and China Announce Government Security Program Agreement</a>, we learn that China joins over 30 other countries as recipients of  access to Windows operating system source code. I bet all that yummy, ecumenical, international  cooperation gave someone at the BSA warm and fuzzy feelings. Either that or Ballmer told them to keep quiet.</p>
<p>Hold on.  That announcement was in 2003.</p>
<p>Fast forward to 2011.  Searching on Google for &#8220;chinese attacks on US on US&#8221; yields 57 million hits. After the RSA breach, <a title="China linked to attacks on U.S. defense contractors" href="http://thenextweb.com/asia/2011/06/07/after-rsa-breach-china-linked-to-attacks-on-u-s-defense-contractors/" target="_blank">China is linked to attacks on US Defense contractors</a> and <a title="attack on change.org" href="http://blog.change.org/2011/04/u-s-congresswoman-condemns-chinese-attack-on-change-org/" target="_blank">US Congresswoman condemns attack on change.org</a></p>
<p>In 2011, Steve Ballmer is saying that  China is doing 5 percent of the revenue that it should be doing because  of pirated software. See the article  <a title="Microsoft should be selling more in China" href="http://mybroadband.co.za/news/quick-news/24841-microsofts-chinese-revenue-5-of-what-it-could-be.html" target="_blank">Microsoft’s Chinese revenue 5% of what it could be</a></p>
<p>The BSA (Business Software Alliance), an industry lobby group, has some interesting figures to fuel Ballmer’s comments:</p>
<ul>
<li>Four of five software programs installed on PCs are pirated</li>
<li>This amounts to “commercial theft” of close to $8 billion a year</li>
<li>Piracy in 2010 cost the software industry $59 billion in revenue</li>
</ul>
<p>I would not take BSA numbers at face value. The BSA estimates are guesses multiplied several times without providing any independent empirical data. They start off by assuming that each unit of copied software represents a direct loss of sale for Microsoft, a false assertion.</p>
<p>If it <strong>were</strong> true, then the demand for software would be independent of price and perfectly inelastic.</p>
<p>A drop in price usually results in an increase in the quantity demanded by consumers. That’s called price elasticity of demand. The demand for a product becomes inelastic when the demand doesn’t change with price. A product with no competing alternative is generally inelastic. Demand for a unique antibiotic, for example is highly inelastic. A patient will pay any price to buy the only drug that will kill their infection.</p>
<p><strong>If</strong> software demand was perfectly inelastic, then everyone would pay in order to avoid the BSA enforcement tax. The rate of software piracy would be 0. Since piracy rate is non-zero, that proves that the original assertion is false. (Argument courtesy of the <a href="http://en.wikipedia.org/wiki/Price_elasticity_of_demand">Wikipedia article on price elasticity of demand</a> ).</p>
<p>See my essay on the <a title="The economics of software piracy" href="http://www.software.co.il/wordpress/2011/06/the-economics-of-software-piracy/" target="_blank">economics of software piracy</a>.</p>
<p>Back to Microsoft and their highly ineffective strategy to sell more licenses in China.</p>
<p>Clearly, Microsoft&#8217;s strategy to induce the Chinese to buy more Microsoft software licenses by sharing Windows source code has not gotten <strong><em>any</em></strong> traction in the past 8 years.</p>
<p>Au contraire, from a software engineering perspective, it is a fair assumption that having access to Windows source code has made it easier for Chinese cyber attackers to write attack code to penetrate and compromise US defense contractors, critical infrastructure and activist groups like change.org &#8211; who all still use  highly vulnerable Windows monoculture products.</p>
<p>This is where we need to explain to the people who drink Microsoft Koolade about the difference between &#8220;controlled access&#8221; to source code with countries who are  potential enemies with the notion of Open source &#8211; where everyone and anyone can look at the source code &#8211; where lots of eyeballs help the developers make the operating system more robust.</p>
<p>From a security perspective, the number of eyeballs looking at Linux make it more secure than Windows.</p>
<p>But more significantly, from a commercial perspective, note how abortive Microsoft strategy really is in this case study from  the Harvard Business School on <a title="Red Flag Software" href="http://hbr.org/product/red-flag-software-co/an/706428-PDF-ENG" target="_blank">Red Flag Software</a>.</p>
<blockquote><p>In 2005, just five years after its formal launch, Beijing-based Red Flag Software was the world&#8217;s second-largest distributor of the Linux operating system and was expecting its first annual profit. On a unit basis, Red Flag led the world in desktops (PCs) shipped with Linux and was No. 4 in installed servers. On a revenue basis, Red Flag was fourth overall. Within China, Red Flag held just over half of the Linux market and ran key applications for the postal system, large state-owned enterprises, and more than a million PCs. The Chinese government supported Linux as an alternative to Microsoft&#8217;s Windows operating system to avoid royalty payments to foreign firms and dependence on foreign technology.</p></blockquote>
<p>Since the Chinese government have been open about their support of Linux for years, it certainly makes the release of Windows source code look like a very bad idea.  I would hope that this does not go unnoticed in US Congress.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.software.co.il/2011/06/microsoft-gives-source-code-to-chinese-government/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The economics of software piracy</title>
		<link>http://www.software.co.il/2011/06/the-economics-of-software-piracy/</link>
		<comments>http://www.software.co.il/2011/06/the-economics-of-software-piracy/#comments</comments>
		<pubDate>Fri, 10 Jun 2011 14:08:03 +0000</pubDate>
		<dc:creator>Danny Lieberman</dc:creator>
				<category><![CDATA[Anti-Fraud]]></category>
		<category><![CDATA[Compliance]]></category>
		<category><![CDATA[Digital media]]></category>
		<category><![CDATA[ethics]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software piracy]]></category>
		<category><![CDATA[World cup]]></category>

		<guid isPermaLink="false">http://www.software.co.il/wordpress/?p=2395</guid>
		<description><![CDATA[One year ago this time was World Cup season and Mondial fever put a lot of regional conflicts on the back burner for a month &#8211; not to mention put a dent in a lot of family budgets (husbands buying the latest 60 inch Sony Bravia and wives on retail therapy while the guys are ...]]></description>
			<content:encoded><![CDATA[<p>One year ago this time was World Cup season and Mondial fever put a lot of regional conflicts on the back burner for a month &#8211; not to mention put a dent in a lot of family budgets (husbands buying the latest <a title="Sont Bravia" href="http://www.sonystyle.com/webapp/wcs/stores/servlet/ProductDisplay?catalogId=10551&amp;storeId=10151&amp;langId=-1&amp;productId=8198552921666077668" target="_blank">60 inch Sony Bravia</a> and wives on retail therapy while the guys are watching football)</p>
<p>It is ironic that the FIFA 2010 World cup computer game doesn&#8217;t run on Ubuntu.  It would have been a huge marketing coup and poetic justice if the game software was released for Ubuntu in a GPL license.</p>
<p>This got me thinking about open source licensing and it&#8217;s advantages for developing countries, which really got my hackles up  after reading the <a title="Software Theft Remains Significant Issue Around the World" href="http://portal.bsa.org/globalpiracy2009/index.html" target="_blank">Seventh Annual BSA and IDC Global Software Piracy Study</a> &#8211; that screams:  <em>Software Theft Remains Significant Issue Around the World</em></p>
<blockquote><p>The rate of global software piracy climbed to 43 percent in 2009. This increase was fueled in large part by expanding PC sales in fast-growing, high-piracy countries and increasing sales to consumers — two market segments that traditionally have higher incidents of software theft. In 2009, for every $100 worth of legitimate software sold, an additional $75 worth of unlicensed software made its way onto the market. There was some progress in 2009 — software rates actually dropped in almost half of the countries examined in this year’s study.</p>
<p>Given the global recession, the software piracy picture could have taken a dramatic turn for the worse. But progress is being outstripped by the overall increases in piracy globally — and highlights the need for governments, law enforcement and industry to work together to address this vital economic issue.<br />
Below are key findings from this year’s study:</p>
<ul>
<li><strong>Commercial value of software theft exceeds $50 billion: </strong>the commercial value of unlicensed software put into the market in 2009 totalled $51.4 billion.</li>
<li><strong>Progress on piracy held through the recession: </strong>the rate of PC software piracy dropped in nearly half (49%) of the 111 economies studied, remained the same in 34% and rose in 17%.</li>
<li><strong>Piracy continues to rise on a global basis: </strong>the worldwide piracy rate increased from 41% in 2008 to 43% in 2009; largely a result of exponential growth in the PC and software markets in higher piracy, fast growing markets such as Brazil, India and China.</li>
</ul>
</blockquote>
<p>I would not take the numbers IDC and BSA bring at face value. The IDC/BSA estimates are guesses multiplied several times. They start off by assuming that each unit of copied software represents a direct loss of sale for software vendor &#8211; patently a false assertion.</p>
<p>If it <strong>were</strong> true, then the demand for software would be independent of price and perfectly inelastic.</p>
<p>A drop in price usually results in an increase in the quantity demanded by consumers. That&#8217;s called price elasticity of demand. The demand for a product becomes inelastic when the demand doesn&#8217;t change with price. A product with no competing alternative is generally inelastic. Demand for a unique antibiotic, for example is highly inelastic. A patient will pay any price to buy the only drug that will kill their infection.</p>
<p><strong>If</strong> software demand was perfectly inelastic, then everyone would pay in order to avoid the BSA enforcement tax. The rate of software piracy would be 0. Since piracy rate is non-zero, that proves that the original assertion is false. (Argument courtesy of the <a href="http://en.wikipedia.org/wiki/Price_elasticity_of_demand">Wikipedia article on price elasticity of demand</a> )</p>
<p>Back when I ran Bynet Software Systems &#8211; we were the first Microsoft Back Office/Windows NT distributor in Israel. I had just left Intel &#8211; where we had negotiated a deal with Microsoft that allowed every employee to make a copy of MS Office for home usage. Back in 1997 &#8211; after the Windows NT launch, the demand for NT was almost totally inelastic &#8211; Not There, Nice Try, WNT is VMS + 1 etc. We could not give the stuff away in the first year. Customers were telling us that they would never leave Novell Netware. Never. But, NT got better from release to release and the big Microsoft marketing machine got behind the product. After two years of struggle and selling retail boxes and MLP for NT, demand picked up. Realizing that there IS price elasticity of demand for software &#8211; Microsoft dropped retail packaging and moved to OEM licensing, initially distributing OEM licenses via their two tier distribution channel and later totally cutting out the channel and dealing directly with the computer vendors like HP, Dell and IBM for OEM licenses of NT, XP and 2000, 2003 etc. Vista continued with this marketing strategy and most Vista sales were not retail boxes but pre-installed hardware. After Windows 7 released &#8211; users have been upgrading en-masse, proving once again the elasticity of demand for a good product.</p>
<p>Microsoft (who are a major stakeholder in BSA) probably don&#8217;t have a major piracy problem with operating system sales. Let&#8217;s run some numbers. In 2008 &#8211;  Microsoft <a href="http://www.vnunet.com/vnunet/news/2208182/vista-tops-100-million-mark">Windows Vista sales </a>were at about a 9 million unit/quarter run rate. Microsoft <a href="http://finance.google.com/finance?q=msft">June 2008 quarterly revenue</a> was $15.8 BN. Single unit OEM pricing for a Windows operating system  is about $80 and in a volume deal &#8211; maybe $20. Let&#8217;s assume an average of $50/OEM license. This means that the operating system  accounts for about 50*3*9/15800 = 8.5% of Microsoft revenue.</p>
<p>The <a href="http://w3.bsa.org/globalstudy//upload/2007-Global-Piracy-Study-EN.pdf">BSA Global Piracy Study</a> states that the &#8220;median piracy rate in is down one percentage point from last year&#8221; &#8211; 1 percent of 8.5 percent is meaningless for Microsoft &#8211; in dollar terms &#8211; BSA work to reduce piracy is less meaningful than a 7 percent drop in the US Dollar rate in 2009.</p>
<p>Microsoft might have a problem with their cash cow &#8211; Microsoft Office. Microsoft Office 2007 retails for $450 but is available in an academic license for less than $100. Open Office 2.4 runs just fine on Windows 7 and XP and retails for $0. At those prices, sizable numbers of users are just sliding down the elasticity curve &#8211; calling into serious question the IDC/BSA statistics on software piracy.</p>
<p>But there is more to software piracy than providing software at a reasonable price. In poor areas of the world &#8211; assuming that the BSA efforts at combating software piracy are successful - <a href="http://www.acm.org/ubiquity/views/v5i20_jezsik.html">only the very rich would have access</a> to applications like Microsoft Office. The middle and lower class people won&#8217;t have the opportunity to become MS Office-literate because the prices would be too high. For that I only have three words -<a href="http://www.openoffice.org/">download Open Office</a> &#8211; the free and open productivity suite.</p>
<p>Finally &#8211; I can only anonymously quote a senior Microsoft executive who told me a number of years ago that off the record, Microsoft didn&#8217;t mind people copying the software and using a crack because it was a good way of introducing new users to the technology and inducing them to buy the new, improved and supported release a year or two later.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.software.co.il/2011/06/the-economics-of-software-piracy/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Medical device security in a hospital network</title>
		<link>http://www.software.co.il/2011/06/medical-device-security-in-a-hospital-network/</link>
		<comments>http://www.software.co.il/2011/06/medical-device-security-in-a-hospital-network/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 08:51:07 +0000</pubDate>
		<dc:creator>Danny Lieberman</dc:creator>
				<category><![CDATA[Compliance]]></category>
		<category><![CDATA[Buggy software]]></category>
		<category><![CDATA[HIPAA]]></category>
		<category><![CDATA[hospitals]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[medical devices]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[software design]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.software.co.il/wordpress/?p=3458</guid>
		<description><![CDATA[Medical devices are everywhere today.  In your doctors office measuring your blood pressure, at your cosmetician (for hip reduction&#8230;) and in the hospital for everything from patient monitoring to robot-assisted surgery. The people that develop embedded medical devices based on Intel platforms know that Windows is vulnerable. Lacking embedded Linux know-how, medical device developers often ...]]></description>
			<content:encoded><![CDATA[<p>Medical devices are everywhere today.  In your doctors office measuring your blood pressure, at your cosmetician (for hip reduction&#8230;) and in the hospital for everything from patient monitoring to robot-assisted surgery.</p>
<p>The people that develop embedded medical devices based on Intel platforms know that Windows is vulnerable.</p>
<p>Lacking embedded Linux know-how, medical device developers often end up adopting Windows and Visual Studio as a default. Using Windows is a security-blanket for developers who grew up in the Microsoft Windows monoculture and are scared of the Linux command line.</p>
<p>But &#8211; make no mistake using Windows in <em><strong>networked </strong></em>embedded medical devices is a mistake.<br />
<strong>This is big mistake #1.</strong></p>
<blockquote><p>The top 2 threats to a medical device are software defects and software updates.<br />
Consider the implications of updating patient monitoring devices in a hospital with an infected USB stick or an infected Windows notebook.</p></blockquote>
<p>In product development (and medical device are  no exception),  the support and version update process  is often something  left for the end of the project. At that point, when the product manager asks how are we going to update the software in the field &#8211; the hands raise in favor of  USB memory stick updates as an &#8220;interim&#8221; solution.</p>
<p>It is crucial to use threat analysis on systems of networked medical devices in order to arrive at the right, cost-effective countermeasures (apropos the management challenge of large number of VLANS&#8230;). Threat analysis must be an integral part of the SDLC (software development life cycle) &#8211; done early in the process and validated from time to time whenever there are significant design, configuration or environmental changes.</p>
<p>Threat analysis enables a medical device vendor and the hospital security team to have an objective discussion on balancing the need to protect the hospital network asset with protecting the availability of the medical device  itself and concomitantly &#8211; the safety of patients that are dependent on the device &#8211; patient monitoring is the first example that comes to mind.</p>
<blockquote><p>Unfortunately many device vendors and their hospital customers use a system management model based on Microsoft Windows and business IT management practices. <strong>This is big mistake #2.</strong></p></blockquote>
<p>Medical device vendors need to assess their software security and not assume that an embedded medical device running Windows XP   is no different from any other Windows PC on the network running Office 2007.</p>
<p>To use an analogy from the world of real time embedded systems &#8211; consider avionics as key to safety of the pilot and success of the mission. Avionics are not managed like a network of Windows PCs and neither should medical devices on the hospital network.</p>
<p>A medical device in a hospital network &#8211; whether it monitors patients, assists in surgery or analyzes EEGs &#8211; is an embedded device in a extremely heterogeneous and hostile environment that should simply not be vulnerable to Microsoft Windows malware.</p>
<p>Embedded medical devices should be based in embedded Linux &#8211; and not a stock version of Red Hat &#8211; but rather built ground up from the latest Linux kernel, with the minimum set of services and software (Qtk etc&#8230;) needed to run the application.  The software update process should be part of the design &#8211; not something bolted on after the implementation.</p>
<p>Developing for embedded Linux is not copy and paste from Windows. It requires expertise to setup the basic infrastructure.  But &#8211; once that infrastructure is up, the medical device developer and it&#8217;s hospital customer can be confident that they are standing on a secure platform and not a house of glass built on a foundation of sand.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.software.co.il/2011/06/medical-device-security-in-a-hospital-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cyber crime costs over $1 trillion</title>
		<link>http://www.software.co.il/2011/03/cyber-crime-costs-over-1-trillion/</link>
		<comments>http://www.software.co.il/2011/03/cyber-crime-costs-over-1-trillion/#comments</comments>
		<pubDate>Fri, 04 Mar 2011 12:44:42 +0000</pubDate>
		<dc:creator>Danny Lieberman</dc:creator>
				<category><![CDATA[Information security]]></category>
		<category><![CDATA[BSA]]></category>
		<category><![CDATA[counterfeiting]]></category>
		<category><![CDATA[cyber attack]]></category>
		<category><![CDATA[Cyber threats]]></category>
		<category><![CDATA[cybersecurity]]></category>
		<category><![CDATA[data loss prevention]]></category>
		<category><![CDATA[data security]]></category>
		<category><![CDATA[DOD]]></category>
		<category><![CDATA[Dolce Gabbana]]></category>
		<category><![CDATA[McAfee]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[OECD]]></category>
		<category><![CDATA[Stuxnet]]></category>
		<category><![CDATA[Symantec]]></category>
		<category><![CDATA[Verdasys]]></category>
		<category><![CDATA[Websense]]></category>

		<guid isPermaLink="false">http://www.software.co.il/wordpress/?p=3313</guid>
		<description><![CDATA[A pitch from Alex Whitson from SC TV for a Webinar on the LinkedIn Information Security Community piqued my attention with the following teaser: As you may have read recently, Cybercrime is now costing the UK $43.5 billion and around $1 trillion globally. Sponsored by security and compliance auditing vendor nCircle, the Webinar pitch didn&#8217;t cite any sources for the ...]]></description>
			<content:encoded><![CDATA[<p>A pitch from Alex Whitson from <a title="SC Magazine" href="www.scwebcasts.tv " target="_blank">SC TV</a> for a Webinar on the LinkedIn Information Security Community piqued my attention with the following teaser:</p>
<blockquote><p>As you may have read recently, Cybercrime is now costing the UK $43.5 billion and around $1 trillion globally.</p></blockquote>
<p>Sponsored by security and compliance auditing vendor <a title="security auditing and benchmarking" href="http://www.ncircle.com/index.php?s=company" target="_blank">nCircle</a>, the Webinar pitch <strong><em>didn&#8217;t cite any sources</em></strong> for the $1 trillion number nor the $43.5 billion number.</p>
<p>A little googling revealed the UK government report <a title="UK Cyber crime" href="http://www.bbc.co.uk/news/uk-politics-12492309.">UK Cyber crime costs UKP 27BN/year</a>. Published on the BBC&#8217;s website, the report offers a top-level breakdown of the costs of cybercrime to Britain using a fairly detailed scheme of classification and models. Regardless of how badly UK businesses are hit by cybercrime, there are<strong> several</strong> extremely weak points in the work done by Detica for the UK government.</p>
<p>a) First  - they don&#8217;t have any empirical data on actual cybercrime events.</p>
<blockquote><p>Given the number of variables and lack of ‘official’ data, our methodology uses a scenario- based approach.</p></blockquote>
<p>Which is a nice way of saying</p>
<blockquote><p>the UK government gave us some money to do a study so we put together a fancy model, put our fingers in the air and picked a number.</p></blockquote>
<p>b) Second &#8211; reading through the report, there is a great deal of information relating to fraud of all kinds, including Stuxnet which has nothing to do with the UK cyber crime space. Stuxnet does not seem to have put much of a dent in the Iranian nuclear weapons program although, it has given the American President even more time to hem and haw about Iranian nuclear threats.</p>
<p>What this tells me is that Stuxnet  has become a wakeup call for politicians to the malware threat that has existed for several years. This may be a good thing.</p>
<p>c) Third &#8211; the UK study did not interview a single CEO in any of the sectors they covered. This is shoddy research work, no matter how well packaged. I do not know a single CEO and CFO that cannot quantify their potential damage due to cyber crime &#8211; given a practical threat model and coached by an expert not a marketing person.</p>
<p>So &#8211; who pays the cost of cyber crime?</p>
<p>The consumer (just ask your friends, you&#8217;ll get plenty of empirical data).</p>
<p>Retail companies that have a credit card breach incur costs of management attention, legal and PR which can always to leveraged into marketing activities. This is rarely reported in the balance sheet as extraordinary expenses so one may assume that it is part of the cost of doing business.</p>
<p>Tech companies that have an IP breach is a different story and I&#8217;ve spoken about that at length on the blog. I believe that small to mid size companies are the hardest hit contrary to the claims made in the UK government study.</p>
<p>I would not venture a guess on total global cost of cyber crime without empirical data.</p>
<p>What gives me confidence that the 1 Trillion number is questionable is that it just happens to be the same number that President Obama and other leaders have used for the cost of IP theft &#8211; one could easily blame an Obama staffer for not doing her homework&#8230;.</p>
<p>If one takes a parallel look at the world of software piracy and product counterfeiting, one sees a similar phenomenon where political and commercial organizations like the OECD and Microsoft have marketing agendas and axes to grind leading to number inflation.</p>
<p>I have written on the problems associated with guessing and rounding up in the area of <a title="Counterfeiting" href="http://www.software.co.il/wordpress/?s=counterfeiting">counterfeiting</a> here  and <a title="Software piracy" href="http://www.software.co.il/wordpress/2010/06/2010-fifa-world-cup-game-and-software-piracy/">software piracy.</a></p>
<p>Getting back to cyber crime, using counterfeiting as a paradigm, one sees clearly that the consumer bears the brunt of the damage &#8211; whether it&#8217;s having her identity stolen and having to spend the next 6 months rebuilding her life or whether you crash on a mountain bike with fake parts and get killed.</p>
<p>If consumers bear the brunt of the damage, what is the best way to improve consumer data security and safety?</p>
<p>Certainly &#8211; <em><strong>not</strong></em> by hyping the numbers of the damage of cyber crime to big business and government. That doesn&#8217;t help the consumer.</p>
<p>Then &#8211; considering that rapid rollout of new and even sexier consumer devices like the iPad 2,<em><strong> probably</strong></em> not by security awareness campaigns. When one buys an iPhone or iPad, one assumes that the security is built in.</p>
<p>My most practical and cheapest countermeasure to cyber crime (and I will distinctly separate civilian crime from terror ) would be education starting in first grade. Just like they told you how to cross the street, we should be educating our children on open, critical thinking and not talking to strangers anywhere, not on the street and not on FB.</p>
<p>Regarding cyber terror &#8211; I have written at length how the <a title="Why the Pentagon is clueless on cyber terror" href="http://www.software.co.il/wordpress/2010/09/why-pentagon-cyber-strategy-is-divorced-from-reality/">Obama administration is clueless on cyber terror</a></p>
<p>One would hope that in defense of liberty &#8211; the Americans and their allies will soon implement more offensive and more creative measures against Islamic and Iranian sponsored cyber terror than stock answers like installing host based intrusion detection on DoD PCs</p>
]]></content:encoded>
			<wfw:commentRss>http://www.software.co.il/2011/03/cyber-crime-costs-over-1-trillion/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

