<?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>Chakraborty Software &#187; Politics</title>
	<atom:link href="http://www.chakraborty.ch/category/politics/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chakraborty.ch</link>
	<description>Information Security Consulting Services</description>
	<lastBuildDate>Tue, 18 Oct 2011 09:12:47 +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>What Is The &#8220;Internet Kill Switch&#8221;?</title>
		<link>http://www.chakraborty.ch/architecture-design/what-is-the-internet-kill-switch/</link>
		<comments>http://www.chakraborty.ch/architecture-design/what-is-the-internet-kill-switch/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 13:23:32 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Architecture & Design]]></category>
		<category><![CDATA[Politics]]></category>

		<guid isPermaLink="false">http://www.chakraborty.ch/?p=447</guid>
		<description><![CDATA[A lot of recent discussion has focused on the idea of the &#8220;Internet Kill Switch&#8221;, introduced as part of United States Senate bill S.3408 (PDF) &#8220;Protecting Cyberspace as a National Asset Act of 2010&#8243; in 2010, and its implications for a government-imposed blackout of the United States and its Internet communications as mandated by the <a href='http://www.chakraborty.ch/architecture-design/what-is-the-internet-kill-switch/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>A lot of recent discussion has focused on the idea of the &#8220;Internet Kill Switch&#8221;, introduced as part of <a href="http://frwebgate.access.gpo.gov/cgi-bin/getdoc.cgi?dbname=111_cong_bills&amp;docid=f:s3480is.txt.pdf" target="_blank"><strong>United States Senate bill S.3408</strong></a> (PDF) <strong>&#8220;</strong><em><strong>Protecting Cyberspace as a National Asset Act of 2010&#8243;</strong></em> in 2010, and its implications for a government-imposed blackout of the United States and its Internet communications as mandated by the President.</p>
<p>In particular, the ability of the Egyptian government to <a href="http://www.vodafone.com/content/index/press.html" target="_blank">coerce backbone providers</a> to essentially <a href="http://www.wired.com/images_blogs/threatlevel/2011/01/arbor_egypt.jpg" target="_blank">drop the country off the Internet</a>, most likely through<a href="http://bgpmon.net/blog/?p=450" target="_blank"> disabling of BGP</a> associations has been interpreted as a frightening precedent for enabling the United States government to shut off dissent.</p>
<p>The <a href="http://en.wikipedia.org/wiki/Communications_Act_of_1934" target="_blank"><strong>Telecommunications Act of 1934</strong></a> (full text <a href="http://www.criminalgovernment.com/docs/61StatL101/ComAct34.html" target="_blank">here</a>) already gives the President very broad powers over communications infrastructure in cases of &#8220;war or emergency&#8221; <strong>(Sec. 606)</strong>.  This act, while obviously focused on radio communication, does not specify the communications medium.  <strong>Sec. 606(a)</strong> and <strong>(c)</strong> specifically pretty much specify that, in case of war or emergency, the President can effectively do as he sees fit with American communications infrastructure.  No distinction is made between private and government communications.</p>
<p>I had a look at S.3408. As far as I can tell, it establishes a directory of &#8220;Cyberspace Policy&#8221; which basically oversees most US non-military resources.</p>
<p><span style="font-size: 13.2px;">Most of it seems eminently reasonable (e.g. advising the President on security issues, coming up with risk management and incident response methods, helping to coordinate development and implementation of standards, making sure one hand knows what the other is doing, etc.)  The law also defines the responsibilities of <a href="http://www.us-cert.gov/" target="_blank">US-CERT</a>, which already exists.</span></p>
<p>Where it gets a bit weird is <strong>Sec. 244(g)(1)</strong> &#8211; I may be misinterpreting this, but says that the Director of US-CERT can obtain &#8220;<em>any&#8230;information&#8230;relevant to the security of&#8230;the national information infrastructure necessary to carry out the duties, responsibilities, and authorities under this subtitle</em>&#8221; (editing is non-destructive, i.e. I tried to not change the meaning of the phrase.) It&#8217;s very ambiguous, and implies to me a seeming total lack of control over what information (including confidential, personal data) the Director can access from anyone, anywhere. The bill does specify data protection/privacy requirements, but these appear to be often unclearly worded (a lot of use of subjective wording like &#8220;as necessary&#8221; or &#8220;reasonable&#8221;).</p>
<p>Sec. 248 seems very sensible (i.e. cooperate with other agencies, private companies, and foreign governments when dealing with vulnerabilities and attacks, but in terms of &#8220;recommendations&#8221;). 248(b)(2)(C) basically seems to say &#8220;come up with a plan in case shit gets real&#8221;. Fair enough.</p>
<p><strong>Sec. 249 &#8220;National Cyber Emergencies&#8221;</strong> is where I assume the problem lies.  <span style="font-size: 13.2px;">The Director, when the President declares this, can require owners of &#8220;critical infrastructure&#8221; that&#8217;s covered by <strong>248(b)(2)(C)</strong> to take emergency measures that are the &#8220;least disruptive means feasible&#8221;. Such emergencies have a 30 day runtime, but seem to be extendable indefinitely. &#8220;Critical infrastructure&#8221; is defined as relating to section <strong>1016(e)</strong> of the <a href="http://en.wikipedia.org/wiki/USA_PATRIOT_Act" target="_blank"><strong>USA PATRIOT Act</strong></a><strong> (42 U.S.C. 5195c(e))</strong> &#8212; i.e.</span></p>
<blockquote><p><em>the term &#8220;critical infrastructure&#8221; means systems and assets, whether physical or virtual, so vital to the United States that the incapacity or destruction of such systems and assets would have a debilitating impact on security, national economic security, national public health or safety, or any combination of those matters.</em></p></blockquote>
<p><span style="font-size: 13.2px;">On the other hand, <strong>Sec. 3 (14)</strong> refers to &#8220;Federal information infrastructure&#8221;, Department of Defense systems, &#8220;national security systems&#8221;, and &#8220;national information infrastructure&#8221;:</span></p>
<p style="padding-left: 30px;"><span style="font-size: 13.2px;"><em>(A)(i) that is owned, operated, or con trolled within or from the United States; or</em></span></p>
<p style="padding-left: 30px;"><span style="font-size: 13.2px;"><em>(ii) if located outside the United States, the disruption of which could result in national or regional catastrophic damage in the United States; and</em></span></p>
<p style="padding-left: 30px;"><span style="font-size: 13.2px;"><em>(B) that is not owned, operated, controlled, or licensed for use by a Federal agency.</em></span></p>
<p><span style="font-size: 13.2px;">This is extremely vague, and despite the reference to the USA PATRIOT Act definition above, no information is provided as to who defines this.  Good luck getting AT&amp;T staff in Germany to shut off lines when ordered to by headquarters.  Similarly, under the above definition, the Zambian national Cobalt Thorium G mining corporation&#8217;s email servers could be construed to fall under <strong>(B)</strong>.  <a href="http://www.talkingpointsmemo.com" target="_blank">Talking Points Memo</a> had an <a href="http://tpmdc.talkingpointsmemo.com/2010/06/joe-lieberman-and-the-myth-of-the-internet-kill-switch.php" target="_blank">interesting run-down</a> on the &#8220;Kill Switch&#8221; issue, but unfortunately glossed over the aspect of defining what is covered.</span></p>
<p>The rest of the bill deals with definitions of agency responsibilities, mainly on how to secure government information infrastructure and information.</p>
<p>Interestingly, S.3408 also spends a lot of time discussing the responsibilities of US-CERT and the Director of Cyberspace Policy with regards to risk management, communication (e.g. ensuring that the left hand knows what the right hand is doing), establishment and application of standards, vulnerability and threat response, and generally things that the industry has been screaming about for years.  The <a href="http://arstechnica.com/security/news/2007/05/massive-ddos-attacks-target-estonia-russia-accused.ars" target="_blank">Russian Federation</a>, <a href="http://en.wikipedia.org/wiki/Cyberwarfare_in_the_People's_Republic_of_China" target="_blank">Chinese People&#8217;s Liberation Army</a>, and <a href="http://en.wikipedia.org/wiki/Unit_8200" target="_blank">Israel</a>, among others, have established significant information warfare capabilities, variously specializing in sabotage, espionage, denial of service, and other aspects.</p>
<p>The United States, by comparison, maintains the <a href="http://www.nsa.gov" target="_blank">National Security Agency</a>, US-CERT and numerous public-private partnerships, <a href="http://en.wikipedia.org/wiki/United_States_Cyber_Command" target="_blank">various military units</a> specialized in &#8220;cyberwarfare&#8221;, and branches of several government agencies for preventative, offensive, and defensive operations.  Coordination among these makes sense, especially if it involves single points of contact and distribution for vulnerability and threat information (beyond the <a href="http://www.dhs.gov" target="_blank">Dept. of Homeland Security</a>&#8216;s asinine &#8220;color&#8221; threat scheme (which is being discontinued in any case.)</p>
<p>The idea of any government being able to &#8220;shut down&#8221; communications is arbitrarily egregious, but that&#8217;s a political, ideological concern.  However, on a purely practical level, I don&#8217;t see it as feasible for the United States to do so.</p>
<p><a href="http://arstechnica.com/" target="_blank">Ars Technica</a> has a <a href="http://arstechnica.com/tech-policy/news/2011/01/how-egypt-or-how-your-government-could-shut-down-the-internet.ars" target="_blank">discussion</a> about the &#8220;hows&#8221; of disconnecting a country.  They make a good point:</p>
<p style="padding-left: 30px;"><em>Like in Egypt, in Europe almost all interconnection happens in the capitals of the countries involved. Not so in the US: because the country is so large, and traffic volumes are so high, large networks may interconnect in as many as 20 cities. Numerous intercontinental sea cables land in the Boston, New York, Washington DC, Miami, Los Angeles, and Seattle regions. So in Egypt or many medium-sized countries, killing the connections between ISPs wouldn&#8217;t be too hard. In the US, this would be quite difficult.</em></p>
<p>Likewise, DNS is out due to the distributed nature of <a href="http://www.root-servers.org/" target="_blank">root servers</a>.</p>
<div></div>
<p>More importantly, though, Constitutional issues aside, the U.S. is simply too distributed.  Too many commercial interests are involved (shut down the NYSE&#8217;s connectivity, and Goldman Sachs bankers will show up on the White House lawn with shotguns), U.S. law enforcement and regulatory bodies are too decentralized to reliably be able to enforce a shutdown at an ISP level as what happened in Egypt.</p>
<p>Read the bill, draw your own conclusions, but don&#8217;t panic-monger.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chakraborty.ch/architecture-design/what-is-the-internet-kill-switch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Evaluating Bespoke Trading Applications</title>
		<link>http://www.chakraborty.ch/management/evaluating-bespoke-trading-applications/</link>
		<comments>http://www.chakraborty.ch/management/evaluating-bespoke-trading-applications/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 11:17:22 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Forensics]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[Privacy & Security Law]]></category>

		<guid isPermaLink="false">http://www.chakraborty.ch/?p=179</guid>
		<description><![CDATA[A planned Black Hat talk on High-Frequency Trading (HFT) vulnerabilities was recently pulled from the 2010 Black Hat conference, ostensibly at the request of one of the authors' clients who probably felt that the planned disclosures hit a little close to home.]]></description>
			<content:encoded><![CDATA[<p>A planned <a href="http://blogs.forbes.com/firewall/2010/07/26/talk-on-high-speed-trading-hacks-pulled-from-security-conference/" target="_blank">Black Hat talk on High-Frequency Trading</a> (HFT) vulnerabilities was recently pulled from the <a href="http://www.blackhat.com/" target="_blank">2010 Black Hat conference</a>, ostensibly at the request of one of the authors&#8217; clients who probably felt that the planned disclosures hit a little close to home.</p>
<p><a href="http://en.wikipedia.org/wiki/High-frequency_trading" target="_blank">HFT</a> is a hot topic in circles ranging from regulatory and compliance discussion forums, over smaller traders, to conspiracy wingnuts.  Despite the fact that it&#8217;s just one technological tool among many to give exchange participants an edge over competitors, I tend to side with the conspiracy theorists, especially insofar as it&#8217;s an approach to transactions that by its very definition gives an edge to larger market actors &#8212; thus skewing the idea of a &#8220;fair market&#8221;.  Various individuals have claimed that this goes so far as to allow participants to manipulate prices using fake orders, but I don&#8217;t know enough about trading technology to comment on this.</p>
<p>Due to the very technologically intricate and detailed nature of HFT platforms, very few people understand how they work &#8212; and overtaxed regulators and security &amp; compliance organizations thus are left in the dust when it comes to ensuring that such solutions do not present a security and operational risk, not just to the companies who run them, but to overall market stability.  Remember, complexity is almost always bad if you can&#8217;t reliably understand it with a reasonable grasp of the subject matter.</p>
<p>The article has one particular paragraph that rings very true:</p>
<p style="padding-left: 30px;"><em>While applications are combed for typical application vulnerabilities like SQL injection or cross-site scripting, they&#8217;re not examined for operational vulnerabilities: A rogue trader could, for instance, change a single variable to allow far more risky trades than a bank or its clients intend&#8211;the sort of trick that Société Générale trader Jerome Kerviel may have used to make unauthorized trades in 2008 that cost the firm $7 billion.</em></p>
<p>Yeah, basically.  Many of the people who use these toys are very bright autodidacts, creating customer tools for exotic, structured products.  Even off-the-shelf software is frequently written using what I like to call &#8220;functional programming&#8221; &#8212; i.e. a very smart person with a Visual Basic book coding a solution to an operational requirement without paying attention to best practices that may, in any case, be outside of the scope they care about.  Investment firm management is likely to turn a blind eye to even obvious flaws in such software, due to the fact that traders (a) bring in massive amounts of revenue and (b) are increasingly the only people who understand certain market types.</p>
<p>The rise in black pools and other off-exchange trading will only increase the latter phenomenon; I&#8217;ve seen trading floors where it was pretty common for one person to be responsible for a particular exotic product; frequently, this person might even have been the one who helped create the actual market.  Remember, you can trade pretty much anything, as long as you have a willing counterparty&#8230;</p>
<p>How do you deal with such issues as a security professional?  To many who are not trained in the black arts of financial transactions, much technological innovation in modern markets is the driving force behind an increased complexity that regulators cannot hope to oversee effectively.  Analyzing security issues in such tools also becomes difficult, even from the inside, even when a company is willing to implement controls &#8212; the line between legitimate exploitation of a weaker player&#8217;s market position and an actual security intrusion blurs to the point where traditional technical vulnerability analysis is no longer an option.</p>
<p>I don&#8217;t have a solution, beyond an innate distrust of anything I don&#8217;t understand in detail, but I believe that companies&#8217; willingness to reduce their exposure to security issues stemming from overly complex trading software is  more a philosophical than a policy or technical question &#8212; how far are we willing to go to exploit loopholes in the spirit of market regulation?  Are we willing to sacrifice potential high risk + high profit combinations in order to remain in more staid trading areas?</p>
<p>And most importantly, if management won&#8217;t listen, as a security guy, can you sufficiently CYA to avoid being caught up in a potential technical or regulatory failure of one of your employer&#8217;s systems that&#8217;s just too intricate to reliably review for risk?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chakraborty.ch/management/evaluating-bespoke-trading-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shenanigans For Good</title>
		<link>http://www.chakraborty.ch/exploits/shenanigans-for-good/</link>
		<comments>http://www.chakraborty.ch/exploits/shenanigans-for-good/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 22:33:53 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[Privacy & Security Law]]></category>

		<guid isPermaLink="false">http://www.chakraborty.ch/?p=166</guid>
		<description><![CDATA[A colleague of mine recently posted a link to an information warfare-related article on an Iranian activism site.  Like-minded Iranian friends, affiliated with the Green movement, seemed to have as a goal to disseminate information about how to counter censorship in Iran by distributing tools, news, and other means of helping dissidents avoid having their communication muzzled and detected by the mullahs.]]></description>
			<content:encoded><![CDATA[<p>A colleague of mine recently posted a link to an information warfare-related article on an <a href="http://en.irangreenvoice.com/article/2010/feb/19/1236" target="_blank">Iranian activism site</a>.  Like-minded Iranian friends, affiliated with the <a href="http://en.wikipedia.org/wiki/Green_Movement" target="_blank">Green movement</a>, seemed to have as a goal to disseminate information about how to counter censorship in Iran by distributing tools, news, and other means of helping dissidents avoid having their communication muzzled and detected by the mullahs.</p>
<p>This particular article lists examples of electronic warfare by regime-friendly groups such as the &#8220;Iranian Cyber Army&#8221;, recently suspected of numerous attacks against organizations seen as hostile to the Iranian government.  Ironically, <a href="http://news.bbc.co.uk/2/hi/8453718.stm" target="_blank">these included Chinese search engine baidu.com</a> in retaliation for some perceived slight by the Chinese government &#8212; this shortly after several Chinese organizations have become increasingly implicated in online hits against U.S. and other Western government and corporate targets; a recent report in The Associated Press / The Guardian <a href="http://www.guardian.co.uk/world/feedarticle/8954390" target="_blank">mention</a> the Chinese universities Shanghai Jiaotong and Lanxiang Vocational Institute as sources of the &#8220;<a href="http://siblog.mcafee.com/cto/operation-%E2%80%9Caurora%E2%80%9D-hit-google-others/" target="_blank">Aurora</a>&#8221; attacks against Google and others.  On a humorous side note, if 1337 xenophobic script kiddies friendly with one totalitarian regime are now going after 1337 xenophobic script kiddies friendly with another totalitarian regime, it might become difficult to figure out who&#8217;s on whose side&#8230;</p>
<p>That said, there&#8217;s not much an outsider with technological know-how can do to help victims of censorship and repression in any country beyond providing them with the education and means to get around official repression of communication with each other and with the outside world, and to avoid being detected by government thugs while doing so.  A friend of mine, when asked to to provide help and information about censorship avoidance to an Iranian group, took a very cautious line, making it very very clear that he was reluctant to offer anything that carried even the slightest possibility of someone being arrested, tortured, or even killed if they were found using it.  I take a bit of a different view &#8212; solutions like PGP, TOR, Haystack, anonymous remailers, or SSL enabled CGI proxies, combined with private browsing available on most newer browsers, are powerful stuff, and with a modicum of care on the part of their users, can conspire to throw a hefty wrench into the surveillance machinations of dictatorial spooks.  The best anyone can do is to make users at risk of brutal crackdowns aware of what could possibly go wrong, give them a good head-start on how to use their new toys, and let them be adults about making an educated choice.  After all, in the case of the Iranian protesters, these are people who&#8217;re willing to go out on the street and be shot at for what they believe in.</p>
<p>So much for &#8220;passive&#8221; assistance &#8212; giving people better anonymous / encrypted communications tools and the knowledge on how to effectively use them.  What about active help, though?  Beyond the usual low-level stupidity found in IRC channels (e.g. background noise of the &#8220;www.bobsautodetailing.com pwn3d by H4X0RZ 4 ALLAH AGAINST 4m3r1kkkAH&#8221; variety), attacks on the infrastructure of Western countries and organizations from Russian, Iranian, North Korean, Chinese, and other groups, presumably with at least some tacit blessing from their governments, are pretty common.  Botnets designed to carry out probes and hits on infrastructure, launch DDoS attacks, create economic sabotage, steal sensitive data, and other bad things, are pretty common in the wild.</p>
<p>Cybercrime legislation in most developed countries is designed to pursue and allow prosecution of even casual probes by unauthorized persons.  Whether one agrees with laws or enforcement tactics or not, the goal is to keep anyone, no matter what motivates them, from generally screwing things up by spying, stealing, or vandalizing.  Unless it specifically takes into account <em>intent</em>, the law doesn&#8217;t differentiate between amateurs or professionals &#8212; it&#8217;s all a crime.  Why?   Partially because attacking a person/host/company/government via a network is the technologically easiest, least physically risky way of getting to the goodies, and because it&#8217;s often impossible to differentiate between the casual hacker and the much-vaunted bugaboo of organized cybercriminals and government-sponsored electronic espionage.  The idea, I suppose, is that tolerating any intrusion means that the world economic system as we know it will grind to a standstill (or at least your job and mine will be made that much more difficult.)  Maybe, maybe not, but without such laws as a deterrent, I&#8217;m sure the barriers to causing grief to legitimate business would be a lot lower.</p>
<p>But what of aiding and abetting attacks against distasteful regimes or their allies / henchmen?  A few years ago, the idea of <a href="http://www.google.com/search?name=f&amp;hl=en&amp;q=counter-hacking" target="_blank">counter-hacking</a>, or ethical hacking aimed at taking out threats either by sabotaging those responsible or by &#8220;cleaning&#8221; affected infrastructures when unsuspecting owners could not or would not, was in high discussion.  Most security professionals in my circle of acquaintances seemed to be roundly against this concept, due to the potential for a slippery slope, and for unacceptable collateral damage &#8212; plus, what good is it to have and enforce laws against illicit intrusion when the &#8220;good guys&#8221; themselves are guilty of violating them, even if they are perfectly well-meaning?</p>
<p>Given how hungry my non-technical Iranian friends were for any information about &#8220;passive&#8221; tools as those described above, I&#8217;d imagine groups in opposition to the government (supposedly there&#8217;s now a &#8220;<a href="http://www.jpost.com/International/Article.aspx?id=167963" target="_blank">Green Cyber Army</a>&#8220;) would imaginably be equally happy for any assistance from sympathetic types in the West.  As someone strictly in favor of the rule of law, I can&#8217;t condone any illegal actions of the sort these guys are indubitably carrying out, but anything that helps cause grief for kiddies hacking in the service of thugs is ok in my book.  A few dozen clicks to waste here and there to waste the bad guys&#8217; bandwidth, a Metasploit download mirror, or an open proxy or TOR gateway probably wouldn&#8217;t violate the spirit of the law.  Wink wink.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chakraborty.ch/exploits/shenanigans-for-good/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PKI &#8212; &#8220;P&#8221; for &#8220;Politics&#8221;&#8230;</title>
		<link>http://www.chakraborty.ch/development/pki-p-for-politics/</link>
		<comments>http://www.chakraborty.ch/development/pki-p-for-politics/#comments</comments>
		<pubDate>Thu, 09 Nov 2006 19:21:27 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Architecture & Design]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[PKI]]></category>
		<category><![CDATA[Politics]]></category>

		<guid isPermaLink="false">http://www.chakraborty.ch/blog/?p=16</guid>
		<description><![CDATA[Between the two of us, Arjo and I have helped design, set up or run on the order of a dozen public key infrastructures (PKIs). Looking back, not a single one of these was not somehow embroiled in administrative or organizational infighting, bogged down by uncooperative management, or less-than-optimally functional due to design decisions taken <a href='http://www.chakraborty.ch/development/pki-p-for-politics/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Between the two of us, Arjo and I have helped design, set up or run on the order of a dozen public key infrastructures (PKIs).  Looking back, not a single one of these was not somehow embroiled in administrative or organizational infighting, bogged down by uncooperative management, or less-than-optimally functional due to design decisions taken for some sort of political reason.  To use a colleague&#8217;s phrase, these things seem to attract managers like  FOS &#8212; flies on you-know-what.</p>
<p>We were recently asked to put together a requirements paper for a PKI that was being re-engineered from the ground up.  It occurred to me that this might actually be a stellar opportunity to help a client get things right from the start.  So, why do we always get bogged down in PKI-related organizational or management issues?</p>
<p>Obviously, the PKI&#8217;s main purpose is management of digital certificates for persons, organizations and technical entities. Certificate keys fall into three general categories, which I&#8217;ll use Entrust nomenclature to describe:  <strong>encryption </strong>(obvious enough), <strong>signing</strong> (you can be sure that what you got from me is what I intended to give you) and <strong>non-repudiation</strong> (you can be sure that I cannot disavow what I gave you.)  So, let&#8217;s look at what you might actually use these for:</p>
<ul>
<li>User authentication (such as web sites or to workstations via smart cards)</li>
<li>Email and file encryption</li>
<li>Secure key exchange (e.g. for phase II IPSEC negotiation) between devices</li>
<li>Source code, binary and other data signing (e.g. financial transaction information)</li>
</ul>
<p>Why is this important?  Two reasons:  first, your certificate templates, which govern the formats of the certificates and their usage, depend on what you intend to do with certificates.  In most certificates, for example, there is a key usage flag (a hex value) that is used for this.</p>
<p>Second, and more importantly, your LDAP structure must reflect you organizational structure, certificate usage and a number of other factors from the outset.  This is usually the largest bone of contention in PKI design; the classic example is the Jane Doe who marries Bob Smith and changes her last name.  So a distinguished name (DN) like C=Albania,O=Bob&#8217;s Widgets Inc,OU=Research,CN=Jane Doe is now kind of messy.  This can be dealt with by using a friendly name, but you get the idea.  Changes in requirements for LDAP attributes and DN structure affect other areas, like host naming, validity of signing and encryption keys, and and and.  It gets even more fun when you start doing things like cross-certification, setting up a metadirectory for multiple directories, or integrating existing directory structures.</p>
<p>The upshot of all this is that a PKI affects all aspects of an enterprise that are in some way involved in authentication, security, encryption, verification of data integrity, etc. &#8212; and it has to pretty much be done right from the outset, or you run into problems of application integration, user acceptance and overall cost.  We know of several directory projects that had their scope drastically cut down after they were built, when it was discovered that they simply wouldn&#8217;t work for some of what they were intended for; someone obviously hadn&#8217;t done their homework.</p>
<p>Most tragically, sometimes design decisions are taken or changed late in the development phase.  I will recount one infamous experience of a client who, based on a few casual observations our team made, called a stakeholder meeting consisting of a room full of 35 people shouting at each other, and reversed his entire enterprise directory strategy _twice_ in the course of two hours.  We&#8217;d done the underlying design and recommended a certain set of project technology several months previously, but were ignored due to political reasons.  In this meeting, our group just tried to remain rational and calm, and to give information when prompted, but in the end we realized there was just nothing to be done and snuck out.  It was telling that nobody noticed.</p>
<p>Probably, everyone who&#8217;s affected will want a piece of the discussion, and we all know how well design by committee works. Many managers also seem naturally threatened by (or nervous about) any technology that effects a lot of blanket organizational and procedural change &#8212; a perfect categorization of an enterprise PKI.  It doesn&#8217;t help that such products sometimes carry the stigma of taking away autonomy from other groups; at some level, any infrastructure component using PKI certificate must follow certain standards and procedures, there&#8217;s just no way around that.  This is often seen as a loss of self-determination, or it may require technical effort, and who&#8217;s going to pay for that?</p>
<p>So, how does one deal effectively with this?  A lot of good PKI design practice involves some pretty common-sense elements:</p>
<ul>
<li>A knowledgeable, strong project manager who can organize management buy-in and support</li>
<li>A small design team who&#8217;ve done this before and have a clue what they&#8217;re doing (good luck!)</li>
<li>Individual discussions with potential stakeholders about what they want and how their concerns can be addressed</li>
<li>A _lot_ of time spent on research and design &#8212; use the &#8220;hire a 6-year-old to spot any obvious flaws in your plan&#8221; model liberally here</li>
<li>A clear idea of budget responsibilities in PKI deployment &#8212; but not to the end that every affected team will try to pawn off even minor changes on the PKI budget</li>
</ul>
<p>And last but defnitely not least, a really good LDAP guy, you won&#8217;t regret it.</p>
<p><em>p.s.:  If you&#8217;re interested in reading more about non-repudiation, including how it differs from the usual technical usage of &#8220;signing&#8221;, have a look at <a target="_blank" href="http://www.firstmonday.dk/issues/issue5_8/mccullagh/">Non-Repudiation in the Digital Environment</a>.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chakraborty.ch/development/pki-p-for-politics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic

Served from: www.chakraborty.ch @ 2012-02-06 03:28:09 -->
