Thursday, February 28, 2013

News of the Day - February 28, 2013

Imperva claims anti-virus solutions offer no protection against zero-day threats.

Ixia and LogRythm team up to develop network security incident remediation solution.

More on MiniDuke cyber-espionage campaign.

This is (another) test of the emergency copyright alert system. What does a "six strikes" alert actually look like?

Mock trial plays out "self defense" hacking scenario.

China claims U.S. is hacking their computers.

EU plans to take action against Google for privacy concerns before summer.

EU to fine Microsoft for not offering a choice of browsers.

Some good (and free) online courses.

AT&T hacker to be sentenced March 18.

Wednesday, February 27, 2013

News of the Day - February 27, 2013

Rather than posting a bunch of individual news articles, I thought I'd collect them throughout the day and post them in my blog. If this works well, I'll continue. If it doesn't, I'll keep experimenting. In any event, the following are some of the news articles that caught my attention today. I've provided a few editorial comments just to keep things interesting.

Malware archeology. Symantec discovered an early version of stuxnet dating back to 2005. http://securityaffairs.co/wordpress/12616/malware/stuxnet-was-dated-2005-symantec-discovered-earlier-version-05.html

Skyrocketing attacks on U.S. infrastructure are real cyber threat. http://www.forbes.com/sites/eliseackerman/2013/02/27/forget-twitter-hacks-verizon-says-skyrocketing-attacks-on-u-s-infrastructure-are-real-cyber-threat/

Are we forgetting basic security protection on our most critical systems? http://securitywatch.pcmag.com/none/308586-rsa-stopthehacker-expands-antivirus-scanning-for-websites
Editorial - Antivirus can be bypassed fairly easily. That isn't really up for debate. Unfortunately, for many, the fact that AV can be bypassed is reason not to use it. I believe that mindset is wrong. Let's us an analogy to see just how dumb that approach is. Consider vaccinations. We vaccinate our children against diseases like smallpox and polio. Many of us get vaccinated against the flu every year. Do these vaccinations stop us from getting sick entirely? Absolutely not, but they do stop us from catching certain strains of certain diseases. The same can be said for AV. Even if it is 60% or 50% effective, it still stops 50% or 60% of the malware and that is better than nothing. I believe this overall mindset problem stems from the fact that most security people come from the IT world. In the IT world, if you network was up and running 90% or even 95% of the time, that would be a complete failure. Looking at the converse, having your network down 5% or 10% of the time is a guaranteed resume generating event. In the IT world we shoot for as close to 100% as possible, thus our mindset tends to be to throw away solutions that are less effective. That is valuable in the broader IT industry but with security, incremental gains are always positive (assuming they are also cost effective). Think about the math. If our security rates a "1" on January 1st (on whatever arbitrary scale you want to use) and you make a 1% improvement each of the 5 business days throughout the full 52 week year, your final security, on the same arbitrary scale, will be 168.8. As people focused, at least to some degree, on security, we need to keep the concept of incremental gains top-of-mind and do our best to eliminate the "100% or nothing" mentality. On, an deploy AV on your web servers.
NIST begins process of creating a national cyber security framework. http://www.nist.gov/itl/csd/framework-022613.cfm 

Fixing XSS: A practical guide for developers. http://www.coverity.com/srl/a-guide-to-fixing-xss-for-devs.html 

Bit9 blames SQL injection for security breach. https://www.infoworld.com/d/security/hacking-victim-bit9-blames-sql-injection-flaw-213488?source=rss_security
Editorial - I know this isn't the point of the previous article about SQL injection but the language used drives me a bit nuts. Blaming SQL injection for a breach is, in my opinion, like blaming a gun for a shooting or a car for an accident. The fault is not with SQL injection. the fault lies with developers who wrote an insecure application that did not validate user input correctly. The fault lies with the company who decided not to deploy a web application firewall. As long as we, as an industry, continue to blame the vulnerability instead of those who created or allowed the vulnerability to occur, we will continue to lose.
Critical security updates for Adobe reader and Java. http://krebsonsecurity.com/2013/02/critical-security-updates-for-adobe-reader-java/ 




State sponsored hackers snatch more than 1TB data per day. http://news.hitb.org/content/state-sponsored-hackers-have-been-snatching-more-1tb-data-day 

China wants hacking allegations to stop. REALLY? http://news.hitb.org/content/china-wants-hacking-allegations-stop 




Use strong passwords. Not rocket science or groundbreaking advise but this article provides a good overview of how to do passwords right. http://news.yahoo.com/review-strong-passwords-other-security-211025295.html

Friday, February 15, 2013

OODA Security

While teaching a SANS course recently, I had the opportunity to watch a presentation by John Strand of Black Hills Information Security. His organization recently released the Active Defense Harbinger Distribution (ADHD) Linux distribution. This tool, focusing on “active defense” is fantastic but something other than the tool prompted this blog entry.

During his presentation, John talked about OODA loop. OODA stands for observe, orient, decide and act. This concept was originally developed by US Air Force Colonel John Boyd. The concept is that when engaging an enemy pilot, the one that can complete the OODA loop faster will fly home. The one who takes longer to get to “act” winds up taking an unexpected trip to the earth. John applies the OODA loop to information security as part of his ADHD presentation. That got me thinking.

Imagine you walk into your house - someplace you know very well. How long does it take you to observe that there is a problem? How long to orient yourself to the situation? How long to decide to take an action? How long to act? For most of us, the OODA loop can be completed very quickly when we are in familiar surroundings. Now consider a place you have never been. Would you even notice something out of place? How long would it take for you to orient yourself to the surroundings? Unfamiliar situations dramatically extend the OODA loop.

OK, so lets try to put this in the context of information security. Studies show that most organizations find out about a breach only after being notified by a third part and that occurs months after the breach occurred. How is it that the attackers “flip the script” when it comes to the OODA loop. The enter a strange environment but are able to observe, orient, decide and act well before those supposedly familiar with the environment even get to the observe phase? This is, in my opinion, the essence of the problem we face in information security.

I believe the answers are conceptually simple. First, we don’t know our own environments. We have no idea what normal is and thus are entirely unable to identify abnormal. Second, we don’t take advantage of the fact that normal user behavior and attacker behavior are massively different. Normal users connect to a limited number of computers on a limited number of ports during limited times of the day. Normal users know the environment, as least as far as they know what they need to do to get their jobs done. Attackers on the other hand, must spend time learning their environment. They perform ping sweeps, port scans, vulnerability scans, etc. This is all behavior that can, and should be detected.

So what do we do? I think the answer is remarkably simple. First,we establish good baselines so we can better know our own environments. This will allow us to faster identify when things are abnormal. Next, we take advantage of the fact that attacker will need to take steps to learn our environment. Putting in place egress filtering on perimeter firewalls and logging blocked traffic can play that role as can logged ACLs between internal network VLANs.