<?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; Incident Response</title>
	<atom:link href="http://www.chakraborty.ch/category/incident-response/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>Your Gmail Account Has Been Hacked&#8230;</title>
		<link>http://www.chakraborty.ch/exploits/your-gmail-account-has-been-hacked/</link>
		<comments>http://www.chakraborty.ch/exploits/your-gmail-account-has-been-hacked/#comments</comments>
		<pubDate>Thu, 14 Oct 2010 22:50:21 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Identity Theft]]></category>
		<category><![CDATA[Incident Response]]></category>

		<guid isPermaLink="false">http://www.chakraborty.ch/?p=225</guid>
		<description><![CDATA[What to do when your webmail account has been hacked.]]></description>
			<content:encoded><![CDATA[<p>&#8230;cracked, compromised, stolen, whatever.</p>
<div id="attachment_226" class="wp-caption aligncenter" style="width: 854px"><a href="http://www.chakraborty.ch/wp-content/uploads/2010/10/hacked.png"><img class="size-full wp-image-226 " title="hacked" src="http://www.chakraborty.ch/wp-content/uploads/2010/10/hacked.png" alt="Message from a friend" width="844" height="183" /></a><p class="wp-caption-text">Die in a fire, you Nigerian shit.</p></div>
<p>The first symptom, as far as you can tell, is probably a bunch of your friends asking you casually, what the kind of crap is that you&#8217;ve been sending them.  It&#8217;s only when you ask them to show you the messages they&#8217;re referring to that you realize that some Nigerian, Russian, Chinese, (or, for that matter, American, French, Japanese, what-have-you) son of a bitch controls your account and is blasting out garbage to all your friends.</p>
<p>Even more nefariously, a lot of these are plausible-sounding messages, like one I received recently from an email contact purporting to be stranded in Madrid after his wallet, passport, keys, phone, and plane ticket were stolen, begging his friends to call him on a local number for instructions on how to wire some emergency cash.  Frequently, the only thing that gives such messages away at a cursory glance is the piss-poor spelling and grammar used by the scam artists responsible.</p>
<p>This post is sort-of directed at the non-technical people, who maybe don&#8217;t check their personal mails all that often.  Yes, it&#8217;s confusing, and yes, it&#8217;s not fair, and yes it&#8217;s hard work.  So are taxes.  If you&#8217;re not lucky, not only do all your friends now think you&#8217;re an idiot, but all your email has been deleted.</p>
<p>First, see if the mail is still around.  Check the trash and &#8216;all mail&#8217; links.  Maybe you&#8217;re lucky.  Google does not restore deleted mail from backups.</p>
<p>To make sure nobody is able to hack your account again (i.e. with backdoors) go to</p>
<p>https://www.google.com/accounts/ManageAccount?service=mail&#038;hl=en</p>
<p>Under &#8220;personal addresses&#8221; go to &#8220;email addresses&#8221; (top right).  Make  absolutely sure that any addresses for which password recovery is  enabled are only ones you trust.  Otherwise an attacker could just say  &#8220;hey, I want a password reset sent to my address&#8221;.  Smart attackers  leave their own addresses there.</p>
<p>To understand how this could have happened, here are some more common ways in which someone can &#8220;hack&#8221; your gmail account:</p>
<ul>
<li>trojan on your PC</li>
<li>sniffed password (you do use SSL by default, right?  It&#8217;s a gmail option to always force SSL)</li>
<li>sniffer on a shared system (Internet cafe)</li>
<li>untrusted app</li>
<li>xss / cookie stealing</li>
</ul>
<p><strong>Trojans</strong></p>
<p>That is short for &#8220;trojan horses&#8221;.  These are often <a href="http://en.wikipedia.org/wiki/Trojan_horse_%28computing%29" target="_blank">self-replicating viruses</a> either downloaded from malicious web sites that were hacked (in some cases you won&#8217;t even know, you may be using an older browser like Internet Explorer 6) or via an unpatched Adobe Acrobat, or Flash.  May also come from someone attacking your PC by network, say in an Internet cafe.  You may not see these;  you open up a website like you usually do, but it&#8217;s been compromised, and boom, that&#8217;s it.  Invisible, annoying.  Or, your laptop/workstation may be attacked remotely, using a security hole in the operating system.</p>
<p>How to deal with them?  Regularly update your browser to the latest version and install operating system security patches.  Make sure you have an up to date virus scanner.  Do regular scans.  Turn on your PC&#8217;s firewall (google for Windows firewall or Mac firewall.  Both systems have a semi-decent one built in that will at least give you rudimentary protection.)  Avoid using open wireless networks and visiting sites you don&#8217;t know whenever possible.</p>
<p><strong>Sniffed password</strong></p>
<p>You do have a strong password, right?  Strong passwords have</p>
<ul>
<li>8 characters or more</li>
<li>a mix of upper/lowercase letters</li>
<li>numbers thrown in</li>
<li>non-alphanumeric characters (e.g. !, ?)</li>
</ul>
<p>Use mnemonics to more easily remember passwords (Ih8h@ck3rs!) or pass phrases (actual sentences) if a website / application supports them.</p>
<p>Your password can still be stolen by being &#8220;sniffed&#8221; &#8212; this means that you are logging into Gmail without the connection being encrypted.  Have you bought stuff online and seen the little lock at the bottom of the page?  That means your browser is using encryption to make sure anyone listening in cannot &#8220;sniff&#8221; your password.  SSL, or &#8220;secure socket layer&#8221; is that little lock on the web browser.  To enable it by default in gmail, go to<a href="https://mail.google.com/mail/?shva=1#settings" target="_blank"> settings-&gt;general-&gt;browser connection</a>.  Set it to &#8216;always use ssl&#8217;</p>
<p>Next, <a href="https://appengine.google.com/start" target="_blank">check your applications</a> and make sure there&#8217;s only stuff there that you yourself enabled.  Delete anything you didn&#8217;t.</p>
<p>Lastly, on your gmail main page, go to <a href="https://mail.google.com/mail/?shva=1#settings/labs" target="_blank">google labs</a> (the green erlenmeyer flask icon at the top right next to the &#8220;settings&#8221; link) and make sure that only labs apps you yourself enabled are active.  Deactivate all others.</p>
<p><strong>Sniffing on a shared system / Internet cafe</strong></p>
<p>Password sniffing is quite difficult when, say, you&#8217;re connecting from home.  It is _very_ easy when you are at an Internet cafe.  Wireless connections can be encrypted, via WEP or, better, WPA or WPA2, both supported by almost all wireless cards in laptops.  If a wireless connection requires a password, it&#8217;s usually at least somewhat safe.  WEP is not so much safe, but it&#8217;s better than nothing.  If you are at an Internet cafe using a common PC, you risk that someone will have installed a piece of software that can &#8220;read&#8221; whatever password info you type (known as a &#8220;<a href="http://en.wikipedia.org/wiki/Keylogger" target="_blank">keylogger</a>&#8220;).  There are ways to ensure that this doesn&#8217;t happen (e.g. the system is reinstalled from scratch after each reboot &#8212; not so complex) but that is tough.  Your best defense is to buy a small netbook or something and take it with you.</p>
<p>When using an Internet cafe, <em>never</em> click anything that offers to remember password.  When you log out, <em>always</em> clear any stored information, e.g. cache, passwords and cookies.   <a href="http://www.aboutcookies.org/Default.aspx?page=2" target="_blank">Here is a link that explains how</a> on various browsers.</p>
<p>Furthermore, most modern browsers have a feature called &#8220;private browsing&#8221; or some variation thereof.   This means that nothing is stored while you&#8217;re online.  Use it.</p>
<p><strong>Untrusted applications</strong></p>
<p>See above with google apps.  Also, when you download software or docs, obviously never run/open anything you do not explicitly trust.  Have a good virus scanner, run it regularly.</p>
<p><strong>Cross-site scripting (XSS) / cookie stealing</strong></p>
<p>Cookies are bits of information that websites use to remember things about you &#8212; for example, when you log into amazon and return later, a cookie is what is placed on your PC to let you auto login again.</p>
<p>These can be &#8220;stolen&#8221; and used to impersonate you, i.e. when you use an Internet cafe system.  To help protect against this, whenever you are done browsing, manually log out of everything, and go to your browser&#8217;s &#8220;clear history&#8221; link (e.g. on Firefox, under tools-&gt; clear recent history).</p>
<p>They can also be stolen while you are online, although that is a bit more complex.  XSS is &#8220;cross site scripting&#8221;, which basically means that if you have a browser open and visit a trusted site in one window and a malicious site in another window (again, the &#8220;malicious&#8221; site may just have been hacked and not be aware of it) the guy who has taken over the &#8220;bad&#8221; site can intercept and steal your session with the &#8220;good&#8221; site.  This is probably where most google account hacks come from.</p>
<p>To guard against that, when you log into gmail or another service, make sure it&#8217;s the only browser window you have open; don&#8217;t multitask with several tabs unless it is to visit sites you know are legitimate.</p>
<p>This can all happen even if you take all due precautions, but it is rare.</p>
<p>Also, regarding passwords, make sure you have a STRONG one.  I.e. at least 8 characters, alphanumeric, mixed case, some special symbols thrown in (!?*whatever) and nothing that could be tied to you (name, birthday, etc.)  Use a mnemonic (i.e ilikechinese -&gt; 1l1k3ch!n353!)</p>
<p>A precaution:  back up your email account.  Here are <a href="http://www.google.com/search?q=gmail+backup&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a" target="_blank">3 million search results</a> for &#8220;gmail backup&#8221;.</p>
<p>From my latest victim friend:</p>
<p style="text-align: center;"><em>Thanks for helping me John &#8211; it&#8217;s been a fucking nightmare as a freelance writer &#8211; I&#8217;ve lost so much material!</em></p>
<p>The same thing can happen with Hotmail, Yahoo!, LinkedIn, Facebook, Plaxo, anywhere you store large amounts of contact info.  Standard precautions apply.  And as always, nothing is foolproof.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chakraborty.ch/exploits/your-gmail-account-has-been-hacked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Incident Response &amp; Risk</title>
		<link>http://www.chakraborty.ch/risk-assessment/incident-response-risk/</link>
		<comments>http://www.chakraborty.ch/risk-assessment/incident-response-risk/#comments</comments>
		<pubDate>Wed, 08 Nov 2006 17:24:47 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Incident Response]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[Risk Assessment]]></category>

		<guid isPermaLink="false">http://www.chakraborty.ch/wordpress/?p=12</guid>
		<description><![CDATA[I created a basic computer security incident response presentation a while ago. It outlines the benefits and concerns involved in the creation of teams and mechanisms tasked with action after computer-related security issues. Note that a CSIRT doesn&#8217;t replace the regular R&#038;D and operations groups, but is a supplementary body, coordinating both preparation for and <a href='http://www.chakraborty.ch/risk-assessment/incident-response-risk/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I created a basic computer security incident response presentation a while ago.  It outlines the benefits and concerns involved in the creation of teams and mechanisms tasked with action after computer-related security issues.</p>
<p>Note that a CSIRT doesn&#8217;t replace the regular R&#038;D and operations groups, but is a supplementary body, coordinating both preparation for and response to things like information breaches and attacks.</p>
<p>By its very nature, a CSIRT has to have a strong mandate and a lot of authority in an organization; this requires management support, and a lot of it, in addition to a really close and positive relationship with all other teams involved in these activities.  Examples of these are the network security organization, various helpdesks, human resources, email administrators and others who may be attached as auxiliaries to a CSIRT.</p>
<p>In order to get this sort of mandate, you will have to coherently demonstrate an overall risks-rewards scenario.  So:</p>
<ul>
<li>What are the threats to my organization and what will I lose if I do nothing about them?</li>
<li>What does my organization stand to gain (productivity enhancements, etc.) by dealing with these in an organized manner?</li>
</ul>
<p>In my experience, the most positive elements of a CSIRT is that it allows coordinated vulnerability management and a coherent, organization-wide process for things like patching systems and updating security software, in addition to being a locus for discussion and cooperation by various technical groups (the Windows server administrators, UNIX, email, network, security, etc.)   This sort of collaboration tends to extend beyond the direct focus of the CSIRT&#8217;s day-to-day activities.</p>
<p>A few examples of the logic I use:</p>
<div style="text-align: center"><img id="image15" alt="csirt.png" src="http://www.chakraborty.ch/wordpress/wp-content/uploads/2006/11/csirt.png" /></div>
<p>Simply put, if you don&#8217;t do anything, and something goes wrong, the results can vary from your looking stupid to someone going to jail.  There&#8217;s a fine line between FUD and realistically outlining possible consequences, and IMHO Sarbanes-Oxley has been a bit overused by enthusiastic security people, but I would clearly outline things like data protection laws or past Bad Things happening when organizations suffered attacks (i.e. British Airways losing several thousand workstations to Blaster.)</p>
<div style="text-align: center"><img id="image14" alt="csirt11.png" src="http://www.chakraborty.ch/wordpress/wp-content/uploads/2006/11/csirt11.png" /></div>
<p>I think this is a pretty good outline of what it is I&#8217;d propose as a CSIRT&#8217;s roles and competence.  In your case, you might want to play up the final business value a bit more, maybe put numbers on the risk reduction.</p>
<p>If you contact me and ask nicely, I&#8217;ll be glad to share the whole thing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chakraborty.ch/risk-assessment/incident-response-risk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic Incident Response</title>
		<link>http://www.chakraborty.ch/risk-assessment/basic-incident-response/</link>
		<comments>http://www.chakraborty.ch/risk-assessment/basic-incident-response/#comments</comments>
		<pubDate>Sat, 04 Nov 2006 16:15:10 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Incident Response]]></category>
		<category><![CDATA[Risk Assessment]]></category>

		<guid isPermaLink="false">http://www.chakraborty.ch/wordpress/?p=8</guid>
		<description><![CDATA[I once helped put together and run a computer security incident response team. The team was unique in drawing a specialist or two from each of the major technical and risk management groups (Windows server support, mail infrastructure, firewall &#038; network security, network, etc.) as well as from the existing financial fraud and internal affairs <a href='http://www.chakraborty.ch/risk-assessment/basic-incident-response/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I once helped put together and run a computer security incident response team.  The team was unique in drawing a specialist or two from each of the major technical and risk management groups (Windows server support, mail infrastructure, firewall &#038; network security, network, etc.) as well as from the existing financial fraud and internal affairs investigation organization.</p>
<p>Much of our time was spend developing the individual policies and procedures outlining the IRT&#8217;s responsibilities, defining authority and basically selling ourselves to both management and the line teams&#8211;an investment that paid off pretty well; by involving everyone closely in what we were doing, we received a lot more cooperation than we could have expected had we just been imposed on the company as a <em>fait accompli</em>.  In the end we ended up handling several high profile cases pretty successfully.  I&#8217;ll be writing more on this topic in the future, but the following is a partial outline of what I see as an IRT&#8217;s basic responsibilities:<br />
- threat investigation, categorization and warning/announcement</p>
<p>- vulnerability management (a monthly vulnerability board meeting to discuss these)</p>
<p>- investigation of external attacks, bank-related fraud, phishing, etc.</p>
<p>- internal forensics (e.g. information leaks, sabotage, harassment)</p>
<p>We started out essentially from scratch and within the space of about 6 months had a fully functioning organization.  Lesson learned:  always handle budget and authority first.  Lesson #2:  PR is as important as substance.  Frequently, PR (i.e. keeping people informed clearly and concisely of threats, vulnerabilities and your activities) <strong>IS</strong> substance, there&#8217;s no reason why you can&#8217;t combine the two.</p>
<p>Another thing we figured out is that every CSIRT is a tailor-made affair; even in a large corporation, some massaging and diplomacy is required to exert authority in subsidiary companies &#8212; again, involving their staff and management and keeping them informed goes a long way towards fostering acceptance.</p>
<p>A few of the links that got us started:</p>
<p>- CERT and it&#8217;s &#8220;creating a CSIRT&#8221; page:</p>
<p><a target="_blank" href="http://www.cert.org/">http://www.cert.org/</a></p>
<p><a target="_blank" href="http://www.cert.org/csirts/Creating-A-CSIRT.html">http://www.cert.org/csirts/Creating-A-CSIRT.html</a></p>
<p>- The CMU CSIRT handbook:</p>
<p><a target="_blank" href="http://www.sei.cmu.edu/publications/documents/03.reports/03hb002.html">http://www.sei.cmu.edu/publications/documents/03.reports/03hb002.html</a></p>
<p>- RFC 2350, Expectations for Computer Security Incident Response:<br />
<a target="_blank" href="http://www.ietf.org/rfc/rfc2350.txt" /></p>
<p><a target="_blank" href="http://www.ietf.org/rfc/rfc2350.txt"> http://www.ietf.org/rfc/rfc2350.txt</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chakraborty.ch/risk-assessment/basic-incident-response/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:36:52 -->
