<?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>Startup Security &#187; Regulation</title>
	<atom:link href="http://startupsecurity.info/blog/category/regulation/feed/" rel="self" type="application/rss+xml" />
	<link>http://startupsecurity.info</link>
	<description>Security, for Startups</description>
	<lastBuildDate>Wed, 16 Dec 2009 18:42:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Payment Application Security</title>
		<link>http://startupsecurity.info/blog/2008/12/20/payment-application-security/</link>
		<comments>http://startupsecurity.info/blog/2008/12/20/payment-application-security/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 21:21:41 +0000</pubDate>
		<dc:creator>Damon Cortesi</dc:creator>
				<category><![CDATA[Compliance]]></category>
		<category><![CDATA[Regulation]]></category>
		<category><![CDATA[PCI]]></category>

		<guid isPermaLink="false">http://startupsecurity.info/?p=127</guid>
		<description><![CDATA[I want to briefly touch again on PCI and payment applications, as I keep getting scared out of my security hat. There&#8217;s a fantastic tech startup group in Seattle and somebody recently asked about processing credit cards on the mailing list. One of the commenters pointed to the Rails ActiveMerchant plugin, which can be used [...]]]></description>
			<content:encoded><![CDATA[<p>I want to briefly touch again on PCI and payment applications, as I keep getting scared out of my security hat. There&#8217;s a fantastic <a href="http://www.seattletechstartups.com">tech startup group</a> in Seattle and somebody recently asked about processing credit cards on the mailing list. One of the commenters pointed to the Rails <a href="http://www.activemerchant.org/">ActiveMerchant</a> plugin, which can be used to access payment gateways such as Authorize.NET, Paypal, and over <a href="http://activemerchant.rubyforge.org/">30 others</a>. The following piece of code, found on the ActiveMerchant page, is what rang some bells in my head when I saw it.</p>
<blockquote><pre># Create a new credit card object
credit_card = ActiveMerchant::Billing::CreditCard.new(
  :number     => '4111111111111111',
  :month      => '8',
  :year       => '2009',
  :first_name => 'Tobias',
  :last_name  => 'Luetke',
  :verification_value  => '123'
)

if credit_card.valid?

  # Create a gateway object to the TrustCommerce service
  gateway = ActiveMerchant::Billing::TrustCommerceGateway.new(
    :login    => 'TestMerchant',
    :password => 'password'
  )

  # Authorize for $10 dollars (1000 cents)
  response = gateway.authorize(1000, credit_card)
</pre>
</blockquote>
<p>While ActiveMerchant itself is not a risk, I simply want to reiterate how you use the library is very important when it comes to handling credit cards. This code, if used in the manner above, <strong>puts your web server in scope for PCI compliance even if you are never writing the credit card number to disk</strong>. While you should be doing nearly everything in the PCI standard anyway in order to properly protect your assets, PCI can be a tricky field to navigate. I&#8217;ve <a href="/blog/2008/11/03/pci-101/">said it before</a> and I&#8217;ll say it again: if you want to avoid the complexity of introducing PCI compliance into your environment, do not <strong>store, process, or transmit a credit card number</strong> and use an offsite payment gateway instead. </p>
<p>If you have further questions about this, feel free to leave a comment, contact me (damon at startupsecurity.info), or visit <a href="http://pcianswers.com">PCI Answers</a> for anything and everything related to PCI including contact information for one of the most knowledgeable PCI resources around, Mike Dahn. </p>
]]></content:encoded>
			<wfw:commentRss>http://startupsecurity.info/blog/2008/12/20/payment-application-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Data Breach Notification Laws</title>
		<link>http://startupsecurity.info/blog/2008/10/29/data-breach-notification-laws/</link>
		<comments>http://startupsecurity.info/blog/2008/10/29/data-breach-notification-laws/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 06:14:36 +0000</pubDate>
		<dc:creator>Damon Cortesi</dc:creator>
				<category><![CDATA[Compliance]]></category>
		<category><![CDATA[Data Breach]]></category>
		<category><![CDATA[Legal]]></category>
		<category><![CDATA[Regulation]]></category>
		<category><![CDATA[Data Breach Notification]]></category>
		<category><![CDATA[Privacy]]></category>

		<guid isPermaLink="false">http://startupsecurity.info/?p=64</guid>
		<description><![CDATA[Well yesterday&#8217;s post was certainly fun and exciting, as the topics of vulnerability and exploitation tend to be. But there&#8217;s definitely a lot more for a startup to worry about than Cross-Site Scripting, including various state and government regulation and compliance. This post is largely US-centric, so International readers may want to continue solely out [...]]]></description>
			<content:encoded><![CDATA[<p>Well yesterday&#8217;s post was certainly fun and exciting, as the topics of vulnerability and exploitation tend to be. But there&#8217;s definitely a lot more for a startup to worry about than Cross-Site Scripting, including various state and government regulation and compliance. This post is largely US-centric, so International readers may want to continue solely out of curiosity.</p>
<p><strong>History</strong> </p>
<p>Back in 2003, <a href="http://info.sen.ca.gov/pub/01-02/bill/sen/sb_1351-1400/sb_1386_bill_20020926_chaptered.html">California Senate Bill 1386</a> was put into effect. In brief, &#8220;it requires an agency, person or business that conducts business in California and owns or licenses computerized &#8216;personal information&#8217; to disclose any breach of security (to any resident whose unencrypted data is believed to have been disclosed).&#8221; [source, <a href="http://www.sb-1386.com/">sb-1386.com</a>]</p>
<p>Effectively, this means that if you maintain &#8220;personal information&#8221;, as defined by the bill, of a California state resident in an unencrypted form and there is a breach of security that results in an unauthorized individual gaining access to said data &#8230; you must report the breach.</p>
<p>Now this is generally considered to be a good thing as if my social security number gets hijacked, I should be made aware of that.</p>
<p><strong>Present Day</strong></p>
<p>As of September 16, 2008, at least 44 states have <a href="http://www.ncsl.org/programs/lis/cip/priv/breachlaws.htm">breach notification laws</a>. This means a couple things for you, the startup.</p>
<ol>
<li>You need to identify what information you store about your customers</li>
<li>You need to identify what data falls under these laws in each state</li>
<li>You need to be aware of security breaches</li>
<li>You are legally required to report breaches that result in unauthorized access to unencrypted personal data</li>
</ol>
<p>I&#8217;ve talked about it before, but this data identification and classification process should be part of a <a href="/blog/2008/10/24/private-vs-public/">threat model</a> and documented very clearly.  So what is this data? Well it&#8217;s different in every state, but a few of the common ones are:</p>
<ul>
<li>Social security number</li>
<li>Driver&#8217;s license number</li>
<li>Passport information</li>
<li>Credit card number</li>
</ul>
<p>However, depending on your application, you may have sensitive personal data that you are not intentionally storing.</p>
<p><strong>What Data Are You Storing?</strong></p>
<p>One of the questions I have, and can&#8217;t answer completely as I Am Not A Lawyer, is what about services that store my data? </p>
<ul>
<li>If I DM somebody my credit card on <a href="http://twitter.com">Twitter</a> and Twitter gets compromised, are they responsible for disclosing that to me?</li>
<li>If I upload my passport into <a href="http://www.evernote.com/">Evernote</a> for safekeeping and it is compromised, are they responsible for disclosing that to me?</li>
</ul>
<p>As I read the law, and if I interpret <a href="http://www.evernote.com/about/privacy/">Evernote&#8217;s Privacy Policy</a> and <a href="http://twitter.com/help/privacy">Twitter&#8217;s Privacy Policy</a> properly, that is the case.</p>
<blockquote style="text-align:justify"><p><strong>***</strong> <em>Please note that to my knowledge, neither Twitter nor Evernote have had breaches that revealed sensitive information. I&#8217;m simply using them as examples of data storage services where my data is not encrypted. </em><strong>***</strong></p></blockquote>
<p><strong>How Often Does This Happen?</strong></p>
<p>Well if we look at a <a href="http://www.privacyrights.org/ar/ChronDataBreaches.htm">listing of data breaches since 2005</a>, there have been a total of <strong>245,201,693</strong> records containing sensitive information involved in security breaches. That&#8217;s 81% of the US population, by the raw numbers and simple math.</p>
<p><strong>Tell Me How To Fix It</strong></p>
<p>If you are aware of sensitive information that you are storing as part of your application functionality or perhaps as an administrative function (credit cards for paying members), the best way to mitigate these risks is through the use of encryption. This can take many forms and it can be complex as utilizing the full-disk encryption of various vendors (PGP), or it can be as simple as creating an encrypted disk image on OS X to store the sensitive information.</p>
<p>If users upload data onto your systems, it is likely not feasible to encrypt all of that information. From that perspective, it&#8217;s about managing the risk. Performing regular server and network security audits to verify that the proper steps have been taken to secure your network and, in turn, your customer&#8217;s data.</p>
]]></content:encoded>
			<wfw:commentRss>http://startupsecurity.info/blog/2008/10/29/data-breach-notification-laws/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
