<?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>Immutable Security &#187; Secure Administration</title>
	<atom:link href="http://www.immutablesecurity.com/index.php/category/secure-administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.immutablesecurity.com</link>
	<description>Information Security, Privacy and Personal Liberty</description>
	<lastBuildDate>Sun, 04 Dec 2011 00:03:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>The Immutable Friday Fav Five for September 9, 2011</title>
		<link>http://www.immutablesecurity.com/index.php/2011/09/09/the-immutable-friday-fav-five-for-september-9-2011/</link>
		<comments>http://www.immutablesecurity.com/index.php/2011/09/09/the-immutable-friday-fav-five-for-september-9-2011/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 11:00:50 +0000</pubDate>
		<dc:creator>Michael Starks</dc:creator>
				<category><![CDATA[Computer Crime]]></category>
		<category><![CDATA[Dialogue]]></category>
		<category><![CDATA[Incident Response]]></category>
		<category><![CDATA[Intrusion Detection]]></category>
		<category><![CDATA[Log Analysis]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[Secure Administration]]></category>
		<category><![CDATA[Secure Design]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[Systems Hardening]]></category>
		<category><![CDATA[OSSEC]]></category>
		<category><![CDATA[PCI]]></category>

		<guid isPermaLink="false">http://www.immutablesecurity.com/?p=904</guid>
		<description><![CDATA[Here are the five links that I found interesting for this week: The Shadowserver foundation is comprised of a group of volunteer security professionals who gather information about Internet-based crime. One of the more interesting projects is a compilation of how various antivirus vendors fare against 0-day threats. How does your vendor hold up? Logs [...]]]></description>
			<content:encoded><![CDATA[<p>Here are the five links that I found interesting for this week:</p>
<ul>
<li>The <a href="http://www.shadowserver.org/wiki/pmwiki.php" target="_blank">Shadowserver foundation</a> is comprised of a group of volunteer security professionals who gather information about Internet-based crime. One of the more interesting projects is a compilation of <a href="http://www.shadowserver.org/wiki/pmwiki.php/Stats/VirusYearlyStats" target="_blank">how various antivirus vendors fare against 0-day threats</a>. How does your vendor hold up?</li>
<li>Logs are not much good if you can&#8217;t trust them. Maintaining log integrity is vital to a robust incident response process. <a href="http://answers.oreilly.com/topic/424-how-to-protect-your-logs-from-tampering/" target="_blank">Here is a great article</a> on how to protect your logs from tampering. It&#8217;s not fool-proof, but it can go a long way.</li>
<li>Information security is a profession that necessitates a solid ethical foundation. Security professionals are often trusted with the most sensitive of data. <a href="http://www.honeynet.org/SecurityWorkshops/2011_Paris/Session4_2-Ethics" target="_blank">This presentation</a>, from the Honeynet Project, tackles some of the more thorny situations about performing ethical research.</li>
<li>Looking for a really awesome way to store and compare your Cisco configs? <a href="http://www.shrubbery.net/rancid/" target="_blank">Rancid</a>, or the Really Awesome New Cisco confIg Differ, may be just the tool for you. It stores Cisco configs in CVS and can let you know something changed. By the way, OSSEC is <a href="http://www.ossec.net/doc/manual/agent/agentless-monitoring.html" target="_blank">also capable</a> of something very similar.</li>
<li>Are you looking to use virtualization in your PCI program? It can be done, but like most technologies, has to be approached carefully. <a href="https://www.pcisecuritystandards.org/documents/Rth87Wp/Virtualization_InfoSupp_v2.pdf" target="_blank">This guide</a> will show you some of the things that need to be considered.</li>
</ul>
<p>That’s it for today. Have a great weekend!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.immutablesecurity.com/index.php/2011/09/09/the-immutable-friday-fav-five-for-september-9-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t Swallow the Blue Pill Just Yet</title>
		<link>http://www.immutablesecurity.com/index.php/2011/08/31/dont-swallow-the-blue-pill-just-yet/</link>
		<comments>http://www.immutablesecurity.com/index.php/2011/08/31/dont-swallow-the-blue-pill-just-yet/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 11:00:57 +0000</pubDate>
		<dc:creator>Michael Starks</dc:creator>
				<category><![CDATA[Computer Crime]]></category>
		<category><![CDATA[Risk Management]]></category>
		<category><![CDATA[Secure Administration]]></category>
		<category><![CDATA[Systems Hardening]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.immutablesecurity.com/?p=882</guid>
		<description><![CDATA[Virtualization is a quickly growing area in IT right now. The prospect of running dozens of virtual servers on one physical server is most appealing. As long as licensing costs don&#8217;t eat up too many of the savings, it really does have the potential to transform an infrastructure into something much more efficient. Of course, [...]]]></description>
			<content:encoded><![CDATA[<p>Virtualization is a quickly growing area in IT right now. The prospect of running dozens of virtual servers on one physical server is most appealing. As long as licensing costs don&#8217;t eat up too many of the savings, it really does have the potential to transform an infrastructure into something much more efficient.</p>
<p>Of course, with any new technologies there are risks. Sometimes the risks are completely new and sometimes they are the same risks we have been dealing with for years &#8212; just repackaged in a slightly different way.</p>
<p>When most people think of virtualization security, they think of things like breaking out of the guest machine onto the host. This would be a very serious attack if successful because it has the potential to leverage one attack into something that can compromise several hosts. Even malware is getting into the business. The <a href="http://en.wikipedia.org/wiki/Blue_Pill_(malware)" target="_blank">Blue Pill</a> proof-of-concept used a small hypervisor to intercept calls to and from the guest, thereby controlling it according to desires of the attacker.</p>
<p>These are real threats, but for most organizations they do not represent the most serious threats to virtualized hosts. I was reminded of this last week when I read about Jason Cornish, a former IT employee of drug maker Shionogi. Jason had a beef with his former employer and he took it out by logging in and deleting 88 virtualized hosts. That&#8217;s the functional equivalent of a tornado taking out a small data center. He was able to do this simply because of a password which was not changed upon his termination, thereby allowing him remote access.</p>
<p>What&#8217;s the lesson here? The point is that we cannot forget the fundamentals of information security when implementing new technologies. That means doing the non-sexy stuff like changing default passwords, revoking access immediately for terminated employees and sending logs to a centralized log server. In the virtual world, we might review the access levels of the virtual administrators to make sure they are appropriate, separate hosts of different sensitivities onto different hypervisors and get alerted when a virtual machine is added, deleted or moved.</p>
<p>We do need to keep an eye on evolving virtual security threats, but we also have to keep the other eye on the fundamentals. We need both.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.immutablesecurity.com/index.php/2011/08/31/dont-swallow-the-blue-pill-just-yet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Security Diplomat</title>
		<link>http://www.immutablesecurity.com/index.php/2011/01/30/the-security-diplomat/</link>
		<comments>http://www.immutablesecurity.com/index.php/2011/01/30/the-security-diplomat/#comments</comments>
		<pubDate>Sun, 30 Jan 2011 15:43:40 +0000</pubDate>
		<dc:creator>Michael Starks</dc:creator>
				<category><![CDATA[Dialogue]]></category>
		<category><![CDATA[Risk Management]]></category>
		<category><![CDATA[Secure Administration]]></category>
		<category><![CDATA[Secure Design]]></category>

		<guid isPermaLink="false">http://www.immutablesecurity.com/?p=782</guid>
		<description><![CDATA[I have a dirty little secret. It doesn&#8217;t have anything to do with the NSA, a leaked memo or pink leotards. But it&#8217;s a secret just as earth-shattering, just as awe-inspiring and just as potentially devastating as any other well-hidden secret that has been revealed. Intrigued? Ok, here it is: I have sometimes knowingly agreed [...]]]></description>
			<content:encoded><![CDATA[<p>I have a dirty little secret. It doesn&#8217;t have anything to do with the NSA, a leaked memo or pink leotards. But it&#8217;s a secret just as earth-shattering, just as awe-inspiring and just as potentially devastating as any other well-hidden secret that has been revealed. Intrigued? Ok, here it is: I have sometimes knowingly agreed to, or even <em>recommended </em>less than secure solutions. Let me give you a minute to collect yourselves.</p>
<p>Yeah, that&#8217;s right. Call the ISSA Ethics Committee. Call ISC(2). Call the President. I have been a bad, bad infosec professional. Do what you must, but I have a right to a defense. Allow me to explain my side of the story&#8230;</p>
<p>When I was just a young lad starting out in the security field, I had a pretty firm idea of what I thought it meant to be secure. I attended the right conferences, read the hardening guides and dutifully regurgitated what I had learned. <em>Why would anyone choose to be insecure?</em> I thought. That just didn&#8217;t make sense.  Security was about correctness. To be less-than-secure was like a mistake on an exam. It needed to be corrected.</p>
<p>As I went along, I learned that the take-it-or-leave-it approach had a few drawbacks. People didn&#8217;t really think the same way I did. They had their own jobs to worry about. When security got in the way, it was easier to route around it. When everyone was able to do their jobs every day, the &#8220;hackers are coming&#8221; argument became less and less effective.</p>
<p>Eventually, I noticed something interesting. The people that I had developed good relationships with were a bit more amenable to my suggestions. When I listened to the the challenges they faced and explained the benefits of what I was trying to do, they saw things in a different light. I made a bit more progress.</p>
<p>Today, I still try to build these important relationships. And when dealing with people who are not security minded, I am much more likely to make compromises. When asked to exclude a location from antivirus scanning that I know doesn&#8217;t need to be excluded, I might offer to make exclusions on read only, so that anything newly written will be scanned. When hardening a system, I might purposely leave out a setting that I think will likely cause the administrators to experience a lot of trouble and subsequently develop a negative association with security. I might even recommend that a risk not be addressed at this time, so as to focus limited resources on more important issues.</p>
<p>As infosec practitioners, we are the diplomats of our profession. We want others to come to us with security concerns, not try to route around us. We want to be partners with those we serve. And just like any other form of diplomacy, that involves compromise.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.immutablesecurity.com/index.php/2011/01/30/the-security-diplomat/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My 2011 Advice: New Threats Don&#8217;t Matter</title>
		<link>http://www.immutablesecurity.com/index.php/2011/01/09/my-2011-advice-new-threats-dont-matter/</link>
		<comments>http://www.immutablesecurity.com/index.php/2011/01/09/my-2011-advice-new-threats-dont-matter/#comments</comments>
		<pubDate>Sun, 09 Jan 2011 18:52:33 +0000</pubDate>
		<dc:creator>Michael Starks</dc:creator>
				<category><![CDATA[Secure Administration]]></category>
		<category><![CDATA[Secure Design]]></category>

		<guid isPermaLink="false">http://www.immutablesecurity.com/?p=778</guid>
		<description><![CDATA[Everyone is doing it. Whenever the new year rolls around, security bloggers feel the urge to predict the year ahead. We invent new acronyms like APT (Advanced Persistent Threat), talk about mobile malware shutting down communications networks and warn about cyber attackers as if they were just waiting to pounce on some undefendable threat. I [...]]]></description>
			<content:encoded><![CDATA[<p>Everyone is doing it. Whenever the new year rolls around, security bloggers feel the urge to predict the year ahead. We invent new acronyms like APT (Advanced Persistent Threat), talk about mobile malware shutting down communications networks and warn about cyber attackers as if they were just waiting to pounce on some undefendable threat. I am here to tell you that none of that matters.</p>
<p>It&#8217;s true that attacks do get more sophisticated. As technology gives us new options to communicate, we have to consider the security implications of using that new technology. We might need to update our <em>tactical </em>strategy to deal with these threats, but our <em>fundamental </em>strategy likely doesn&#8217;t need to be changed.</p>
<p>Security engineering principles transcend technology. If the principles are sound, they will survive new technology with little need for change. Core principles such as least privilege, compartmentalization, kneed-to-know and fail-safe apply even to threats that we don&#8217;t know about yet.</p>
<p>So, don&#8217;t sweat the new stuff. When considering new threats, remember that they are likely just old threats, repackaged. Keep your eye on the ball. Look at your existing countermeasures and, if you have done a good enough job applying the core principles, you may find that you are already protected.</p>
<p>Model likely threat scenarios. What would it mean to incident response if a worm did take out the cell network? Had you already considered that a natural disaster might occur and then implemented something like walkie-talkies? If so, then congratulations&#8211;you just protected yourself against the worm threat.</p>
<p>For myself, I&#8217;ll just keep doing what I have been doing. Oh, and while I have your attention: &#8220;Get off my lawn!&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.immutablesecurity.com/index.php/2011/01/09/my-2011-advice-new-threats-dont-matter/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Using Logrotate With Centralized Log Servers</title>
		<link>http://www.immutablesecurity.com/index.php/2010/05/19/using-logrotate-with-centralized-log-servers/</link>
		<comments>http://www.immutablesecurity.com/index.php/2010/05/19/using-logrotate-with-centralized-log-servers/#comments</comments>
		<pubDate>Wed, 19 May 2010 15:26:14 +0000</pubDate>
		<dc:creator>Michael Starks</dc:creator>
				<category><![CDATA[Log Management]]></category>
		<category><![CDATA[Secure Administration]]></category>

		<guid isPermaLink="false">http://www.immutablesecurity.com/?p=506</guid>
		<description><![CDATA[Logrotate is a fantastic little utility for, well, rotating logs. It has several options available. It can rotate by date, file size, set specific owners on rotated files, and it even gives you the capability to run pre and post-rotate scripts. Getting it to work on a centralized log server, however, can be a bit [...]]]></description>
			<content:encoded><![CDATA[<p>Logrotate is a fantastic little utility for, well, rotating logs. It has several options available. It can rotate by date, file size, set specific owners on rotated files, and it even gives you the capability to run pre and post-rotate scripts.</p>
<p>Getting it to work on a centralized log server, however, can be a bit tricky. The issue lies in the unique way these log servers are often configured. Rather than a static set of directories, log servers often dynamically create directories based on the hosts that are logging to them. It&#8217;s not uncommon to see a directory structure something along the lines of /mnt/logs/2010/May/18/host/messages. While logrotate can use wildcards in the directory structure definition, it gets a bit hairy when trying to define the rotated log directory.</p>
<p>There are two options for where to put the rotated logs. You can put them in another directory, or in the same directory as the rotated files. Another directory is usually the better option, as rotated logs in the same directory could be rotated again and again, unless you are careful with the way logs are created.</p>
<p>So what happens if the directory you specify for the rotated log files doesn&#8217;t exist (remember, the log server is creating them dynamically based on the hosts that report in)? In that case, logrotate will complain and refuse to rotate your logs.</p>
<p>By now you might be thinking, &#8220;Why, I&#8217;ll just use that handy pre-rotate option. Then I can have it run a script prior to the rotation.&#8221; Sorry, no dice. Logrotate will simply check the config prior to even starting and refuse to do anything useful.</p>
<p>The solution is to use a script, completely outside the scope of logrotate, to create these rotated logs directories just before logrotate runs. Let&#8217;s say all remote hosts log to /mnt/logs/yyyy/mmm/dd/&lt;hostname&gt;/&lt;log-name&gt;. Your logrotate.conf file might look like this:</p>
<blockquote><p>/mnt/logs/*/*/*/* {<br />
weekly<br />
dateext<br />
compress<br />
maxage 365<br />
olddir rotated</p>
<p>}</p></blockquote>
<p>This would rotate all logs within that directory structure to the relative directory called &#8220;rotated.&#8221; But of course we need the rotated directory to exist. So let&#8217;s create a small script to do that:</p>
<blockquote><p>#!/bin/bash</p>
<p># Create &#8220;rotated&#8221; directory so logrotate has somewhere to put the rotated files.<br />
# Logrotate will not do this by itself, even when putting the script in the &#8220;prerotate&#8221; section</p>
<p>for i in /mnt/logs/*/*/*; do<br />
if ! [ -d $i/rotated ]; then<br />
/bin/mkdir $i/rotated<br />
/bin/chown root.log_analyst $i/rotated<br />
/bin/chmod 550 $i/rotated<br />
fi<br />
done</p></blockquote>
<p>In the above script, we&#8217;re checking to see if the directory exists, and if it doesn&#8217;t, we create it. Then we set proper permissions, owner and group in order to ensure integrity of the rotated log directory. I am assuming a group of log_analyst, so change as appropriate.</p>
<p>The final step it to ensure the script runs just before the logrotate happens. In RHEL, logrotate is called from within the cron.daily directory. So we&#8217;ll just name the script make_rotated.sh and link it in this directory in such a way that it runs before logrotate:</p>
<blockquote><p>[root@hostname log]# ll /etc/cron.daily/ | grep logrotate<br />
total 64<br />
lrwxrwxrwx 1 root root   31 Apr  8 15:19 01_pre-logrotate -&gt; /usr/local/sbin/make_rotated.sh<br />
-rwx&#8212;&#8212; 1 root root  180 Feb 26  2009 logrotate</p></blockquote>
<p>There are certainly other ways to solve this problem, but this seems to work well. Until next time&#8230;</p>
<p style="padding-left: 30px;">
]]></content:encoded>
			<wfw:commentRss>http://www.immutablesecurity.com/index.php/2010/05/19/using-logrotate-with-centralized-log-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OSSEC In the Enterprise: Wednesday, May 19, 2010</title>
		<link>http://www.immutablesecurity.com/index.php/2010/05/13/ossec-in-the-enterprise-wednesday-may-19-2010/</link>
		<comments>http://www.immutablesecurity.com/index.php/2010/05/13/ossec-in-the-enterprise-wednesday-may-19-2010/#comments</comments>
		<pubDate>Thu, 13 May 2010 18:31:00 +0000</pubDate>
		<dc:creator>Michael Starks</dc:creator>
				<category><![CDATA[Intrusion Detection]]></category>
		<category><![CDATA[Log Analysis]]></category>
		<category><![CDATA[Secure Administration]]></category>
		<category><![CDATA[Secure Design]]></category>
		<category><![CDATA[ISSA]]></category>
		<category><![CDATA[OSSEC]]></category>

		<guid isPermaLink="false">http://www.immutablesecurity.com/?p=496</guid>
		<description><![CDATA[For those that did not see me at the Rochester Security Summit last year, and who would like to see me present my OSSEC in the Enterprise presentation, I will be giving it again at the ISSA Ft. Worth chapter meeting, next Wednesday. Details are as follows: Meeting Location: Devry University, 301 W. Commerce Street, [...]]]></description>
			<content:encoded><![CDATA[<p>For those that did not see me at the <a href="http://www.immutablesecurity.com/index.php/2009/09/10/ossec-at-the-rochester-security-summit/" target="_blank">Rochester Security Summit last year</a>, and who would like to see me present my <span style="text-decoration: underline;">OSSEC in the Enterprise</span> presentation, I will be giving it again at the ISSA Ft. Worth chapter meeting, next Wednesday. Details are as follows:</p>
<p>Meeting Location: <a href="http://maps.google.com/maps?ie=UTF8&amp;q=Devry+University,+301+W.+Commerce+Street,+Fort+Worth,+TX%C2%A076102&amp;fb=1&amp;gl=us&amp;hq=Devry+University,&amp;hnear=301+W.+Commerce+Street,+Fort+Worth,+TX+76102&amp;cid=0,0,8074020318263027633&amp;ei=wnLsS-mAE4K0lQeQyPW0CA&amp;ved=0CBMQnwIwAA&amp;ll=32.758046,-97.330649&amp;spn=0.009564,0.016329&amp;z=16" target="_blank">Devry University</a>, 301 W. Commerce Street, Fort Worth, TX 76102</p>
<p>Phone: 817-810-9114</p>
<p>Parking is up to you, there is a parking garage, lots &amp; meters.</p>
<p>FWT Consulting will be sponsoring the meeting &amp; providing lunch, so please RSVP to steve.streiffert &lt;a t&gt; gmail.com by Monday, May 17, 2010.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.immutablesecurity.com/index.php/2010/05/13/ossec-in-the-enterprise-wednesday-may-19-2010/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>When Insecure Really Isn&#8217;t</title>
		<link>http://www.immutablesecurity.com/index.php/2010/05/05/when-insecure-really-isnt/</link>
		<comments>http://www.immutablesecurity.com/index.php/2010/05/05/when-insecure-really-isnt/#comments</comments>
		<pubDate>Wed, 05 May 2010 22:25:36 +0000</pubDate>
		<dc:creator>Michael Starks</dc:creator>
				<category><![CDATA[Secure Administration]]></category>
		<category><![CDATA[Secure Design]]></category>
		<category><![CDATA[Antivirus]]></category>
		<category><![CDATA[Best Practices]]></category>

		<guid isPermaLink="false">http://www.immutablesecurity.com/?p=493</guid>
		<description><![CDATA[Encrypted is good. Clear-text is bad. AV is good. Not having AV is bad. Those are the messages we have been receiving and teaching for some time now. And while they do contain sound security advice, it is important to also consider the context of the situation at hand. A colleague of mine recently requested a [...]]]></description>
			<content:encoded><![CDATA[<p>Encrypted is good. Clear-text is bad. AV is good. Not having AV is bad. Those are the messages we have been receiving and teaching for some time now. And while they do contain sound security advice, it is important to also consider the context of the situation at hand.</p>
<p>A colleague of mine recently requested a firewall exception for FTP traffic. The security policy did not normally allow clear-text traffic, which is generally a good policy to have, but in this case it was justified.</p>
<p>He was trying to get DAT updates for AV on a Linux box (we&#8217;ll get to that in a minute), and anonymous FTP was the best way to do it.</p>
<p>Consider this:</p>
<ol>
<li>There was already an FTP service running, so adding an additional service would mean one more to patch, secure, etc.</li>
<li>The access allowed was only anonymous, making the issue of clear-text password transition moot.</li>
<li>Only read access was allowed, thereby mitigating file integrity issues.</li>
<li>Since these were ultimately publicly available DAT files, file confidentiality was not an issue.</li>
</ol>
<p>After careful examination, it was clear that clear-text FTP was the best option.</p>
<p>Antivirus on Linux is another area where the cure may be worse than the disease. Although you&#8217;re not likely to win over your auditor friends, sometimes it can be demonstrated that running AV on Linux is a bigger threat than not running it.</p>
<p>Antivirus software is software, just like every other kind of software. It is prone to security failures and attacks. Is an AV agent with a history of vulnerabilities more of a liability on a system which is not likely to be a target of viruses? Perhaps, perhaps not. Again, it depends a lot on context.</p>
<p>Context helps us to make good security decisions&#8211;decisions that are based on risk, reason and facts, not necessarily best-practices or requirements. Keep an open mind.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.immutablesecurity.com/index.php/2010/05/05/when-insecure-really-isnt/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>An Analysis of the Analysis of the Apache.org Attack</title>
		<link>http://www.immutablesecurity.com/index.php/2010/04/18/an-analysis-of-the-analysis-of-the-apache-org-attack/</link>
		<comments>http://www.immutablesecurity.com/index.php/2010/04/18/an-analysis-of-the-analysis-of-the-apache-org-attack/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 00:43:15 +0000</pubDate>
		<dc:creator>Michael Starks</dc:creator>
				<category><![CDATA[Computer Crime]]></category>
		<category><![CDATA[Ethics]]></category>
		<category><![CDATA[Incident Response]]></category>
		<category><![CDATA[Intrusion Detection]]></category>
		<category><![CDATA[Log Analysis]]></category>
		<category><![CDATA[Secure Administration]]></category>
		<category><![CDATA[Secure Design]]></category>
		<category><![CDATA[Systems Hardening]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Breaches]]></category>
		<category><![CDATA[Social Engineering]]></category>

		<guid isPermaLink="false">http://www.immutablesecurity.com/?p=484</guid>
		<description><![CDATA[Over at the Apache blog, you&#8217;ll find a nice and detailed incident report on the recent, successful attack on Apache.org. I thought it might be worth a few minutes to share my thoughts on their write-up. First, I would like to say that the level of transparency in this response is truly commendable. Rather than [...]]]></description>
			<content:encoded><![CDATA[<p>Over at the Apache blog, you&#8217;ll find a <a href="https://blogs.apache.org/infra/entry/apache_org_04_09_2010" target="_blank">nice and detailed incident report</a> on the recent, successful attack on Apache.org. I thought it might be worth a few minutes to share my thoughts on their write-up.</p>
<p>First, I would like to say that the level of transparency in this response is truly commendable. Rather than sweep this under the rug, they have chosen to share the details of what happened, why it happened (more on that in a moment) and what their plans are to, hopefully, prevent future breaches.</p>
<p>I encourage you to read the entire post, because it is a good account of how actual, real-world attacks happen. Targeted attacks take advantage of trust (both in people and machines), shared and weak passwords, too much privilege and an assortment of other security 101 vulnerabilities.</p>
<p>The attacks consisted of a XSS vulnerability, brute-force logins, a shortened URL, password sniffing, password re-use and social engineering. Pretty typical stuff, really.</p>
<p>What I find most interesting about this report is the emphasis on technical countermeasures in the <span style="text-decoration: underline;">What are we Changing?</span> section, when the attack succeeded primarily due to vulnerabilities in human beings.</p>
<ul>
<li>The Infrastructure Team members clicked on a cloaked and untrusted link, which launched a XSS attack.</li>
<li>A brute force login succeeded against a poorly chosen password. But prior to it being successful, no one seemed to be getting alerts on so many failed login attempts.</li>
<li>They once again exploited the Infrastructure Team by getting them to log in with a password that the team members, themselves, did not choose.</li>
<li>They took advantage of cached passwords on the server.</li>
<li>Slicehost didn&#8217;t respond to the attack when notified, which enabled one host to continue its attack against someone else.</li>
</ul>
<p>These are all people issues. It&#8217;s the same stuff that we security types have been trying to hammer into the brains of people for years now. There are certainly technical countermeasures which could have helped, but this was an attack on people.</p>
<p>It&#8217;s easy for us to play armchair quarterback and be critical of the response, however that is not my intention, Rather, it is my intent to simply cast another light on the response so we can all learn and secure our assets more effectively.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.immutablesecurity.com/index.php/2010/04/18/an-analysis-of-the-analysis-of-the-apache-org-attack/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Five Things to Monitor During a Layoff</title>
		<link>http://www.immutablesecurity.com/index.php/2010/04/14/five-things-to-monitor-during-a-layoff/</link>
		<comments>http://www.immutablesecurity.com/index.php/2010/04/14/five-things-to-monitor-during-a-layoff/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 21:19:50 +0000</pubDate>
		<dc:creator>Michael Starks</dc:creator>
				<category><![CDATA[Computer Crime]]></category>
		<category><![CDATA[Intrusion Detection]]></category>
		<category><![CDATA[Secure Administration]]></category>

		<guid isPermaLink="false">http://www.immutablesecurity.com/?p=479</guid>
		<description><![CDATA[Letting people go is rarely a feel-good experience. Even if everything goes smoothly, there are always human emotions involved, and those emotions make some people unpredictable.  It&#8217;s important, therefore, to make sure extra attention and detail is paid to certain areas before and during a layoff. Here are five things to watch out for in [...]]]></description>
			<content:encoded><![CDATA[<p>Letting people go is rarely a feel-good experience. Even if everything goes smoothly, there are always human emotions involved, and those emotions make some people unpredictable.  It&#8217;s important, therefore, to make sure extra attention and detail is paid to certain areas before and during a layoff. Here are five things to watch out for in your logs and monitoring tools.</p>
<ol>
<li><strong>Outbound connections to a single IP. </strong>If you have the benefit of knowing what normal network traffic patterns look like, watch for variations and patterns that may indicate a back-door connection being initiated from within the network. Does outbound traffic on one port spike at around 5:00 PM and stay that way for an extended period of time? Does it look encrypted? Is it using a common port like 53, normally reserved for DNS, but does not seem to be DNS traffic? These could all be indications of a back-door or unauthorized remote access channel.</li>
<li><strong>New and changed scheduled tasks/cron jobs. </strong>Pay special attention to scheduled tasks and cron jobs and the scripts they run. Monitor changes to those scripts. Look for new and changed tasks and cron jobs. For Windows tasks, refer to IDs 602, 4698, 4699, 4700, 4701 and 4702. For &#8216;nix, look for changes in the cron log. Scheduled tasks and cron jobs are often used to plant logic bombs, which can execute even months after an employee has left.</li>
<li><strong>E-mail to competitors and media. </strong>E-mail going to domains which are not considered &#8220;friendly&#8221; to the organization may indicate that someone has a hatchet to bury. In particular, if there are several of these organizations listed as recipients in the same e-mail, that could be someone trying to sling mud or disseminate confidential information.</li>
<li> <strong>Data leakage. </strong>Let&#8217;s get one thing straight. If someone wants to steal data, chances are they will be able to do so undetected if they are smart enough. Even so, people don&#8217;t always take the time to cover their tracks. Some things to check: <a href="http://open.loglogic.com/forum/logging-tip-day-12-proxy-log-fun" target="_blank">proxy</a> and mail gateway logs for interesting content types (i.e. attachments), <a href="http://blog.rootshell.be/2010/03/15/detecting-usb-storage-usage-with-ossec/" target="_self">USB drives being plugged in</a>, and the good ol&#8217; physical equipment walking out the door.</li>
<li><strong>New and Changed Accounts. <span style="font-weight: normal;">Some people aren&#8217;t too good at letting go. They may try to maintain access into the environment. This may involve either a password change or a new account. People know their account may be disabled, so they may try to create a new, innocuous looking account to maintain access. Perhaps they will try to use a service account with a well-known password. Whatever the case, pay special attention to accounts.</span></strong></li>
</ol>
<p>Perhaps the best thing to do is to level with your staff as much as is possible. Treating people with respect and dignity could go much further than any technical measure you can dream up.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.immutablesecurity.com/index.php/2010/04/14/five-things-to-monitor-during-a-layoff/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Three Things to Remember When Configuring Logging</title>
		<link>http://www.immutablesecurity.com/index.php/2010/04/02/three-things-to-remember-when-configuring-logging/</link>
		<comments>http://www.immutablesecurity.com/index.php/2010/04/02/three-things-to-remember-when-configuring-logging/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 18:48:14 +0000</pubDate>
		<dc:creator>Michael Starks</dc:creator>
				<category><![CDATA[Incident Response]]></category>
		<category><![CDATA[Intrusion Detection]]></category>
		<category><![CDATA[Log Analysis]]></category>
		<category><![CDATA[Secure Administration]]></category>
		<category><![CDATA[Systems Hardening]]></category>
		<category><![CDATA[OSSEC]]></category>
		<category><![CDATA[Syslog]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.immutablesecurity.com/?p=466</guid>
		<description><![CDATA[You set up a centralized logging server. Check. You installed the OSSEC manager to analyze your logs in real-time. Check. You even managed to implement high availability. Good going! Now your ready to start configuring clients. It should be as simple as installing an agent and pointing it to the log server, right? Maybe so, [...]]]></description>
			<content:encoded><![CDATA[<p>You set up a centralized logging server. Check. You installed the <a href="http://www.ossec.net" target="_blank">OSSEC</a> manager to analyze your logs in real-time. Check. You even managed to implement high availability. Good going! Now your ready to start configuring clients. It should be as simple as installing an agent and pointing it to the log server, right? Maybe so, but don&#8217;t forget these other important steps to make the most of your logs.</p>
<ol>
<li><strong>Set the time to sync with at least one time source. </strong><a href="http://doc.ntp.org/3-5.93e/notes.html" target="_blank">Three is even better</a>. If you don&#8217;t ensure the client has synchronized time, putting an event timeline together after a compromise is going to be that much more difficult. With properly synchronized time, patterns emerge that you might otherwise miss.</li>
<li><strong>Set the auditing policy. </strong>Unless you tell your system what to audit, there may never be any logs to send to the log server. For a Windows domain, a well configured group policy can ensure consistency across the enterprise. For stand-alone Windows systems, a security template can serve the same purpose. For &#8216;nix systems, pay special attention to the facility and priorities in syslog.conf</li>
<li><strong>Review services which listen on the network. </strong>Did someone install WinSSHd on the Windows server you configured for logging? If you only look at the usual three Windows logs, you could be missing important information about potential attacks. Make sure to review the output of &#8220;netstat -an&#8221; for clues as to what may be offering services on the host. Once identified, configure them for logging.</li>
</ol>
<p>Finally, it pays to take a few moments to make sure logging is working as intended. Countless administrators and log analysts have been bitten by situations where they try to refer to logs after a breach, only to find they&#8217;re not there.</p>
<p>Oh, and about that whole ballet thing from yesterday, well, I have decided that pink is not my color after all. Now that April Fool&#8217;s day is over, let&#8217;s get back to business. :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.immutablesecurity.com/index.php/2010/04/02/three-things-to-remember-when-configuring-logging/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

