Welcome Guest. | Log In | Register | Membership Benefits

Tech Insight: What You Should Know About Detecting A Targeted Attack

Logging events and running a SIEM are key, but so is properly training your first line of defense, the end user

Mar 04, 2011 | 03:48 PM | 

By John H. Sawyer
Dark Reading
With recent targeted attacks like that against HBGary, we've seen firsthand how no one is safe from a data breach -- not even a well-known security company. What's fascinating about targeted attacks is that the details are rarely made public, and when they are, the lessons learned typically cover the vulnerabilities and prevention, with little to no focus on detection.

On nearly every breach case I've worked, there has been evidence in the Windows Event logs, Apache logs, or the intrusion detection system (IDS) that, had someone been monitoring them, would have alerted staff to an attack. Verizon's 2010 Data Breach Investigation Report parallels my experience: It states that 87 percent of victims "had evidence of the breach in their log files, yet missed it."

Incredible statistic, right? Now step back and ask yourself if your company would be part of that 87 percent if an attack took place this weekend. Are you prepared to survive a targeted attack, or better yet, ready to detect it as it happens?

The challenge of detecting a targeted attack is that it can come from anywhere. The first attempt may be a probe of your Internet-facing servers to see what vulnerabilities affect your Web and mail servers.

If that doesn't turn up anything interesting, then the next attempt might be a spear-phishing attack against the soft, chewy center of your company -- its people. Detecting attacks attempting to exploit human assets is often nearly impossible without regular training and awareness. You can't install Snort on your CEO and CFO.

To detect a socially engineered attack requires both technical controls and user awareness and training, backed by policies. The external probes would go unnoticed by users, but an IDS, a Web application firewall, and possibly rules monitoring the Web server logs would flag the activity as malicious. On the other hand, mail security solutions would likely miss a well-crafted spear phish while trained users could identify the message and forward it onto the security team for analysis.

On the technical side, logging needs to be enabled, and monitoring of those logs needs to take place so that early detection can occur. Open-source log monitoring and commercial SIEM solutions can help by identifying patterns indicative of an attack that an analyst can then investigate further.

Say that the external probe includes a brief brute-force attack against a website's form-based authentication, or SQL injection attempts. A log monitoring system should be able to alert the security team where an entry-level analyst will investigate and pass it along if it needs attention of a senior team member. Analysis will confirm whether the attack was successful and if a rule needs to be placed on the firewall to block the attack source.

The key is to have logging enabled before an attack occurs. However, even if monitoring isn't performed in real time, it's important to have logs because they provide a forensic trail if an attack is discovered later. And with the ever-decreasing cost of drive storage, that shouldn't be a complaint anymore.

Good communication among the security team and an incident tracking system are also crucial in large environments to help spot trends. An attack against a server or two at one location may seem insignificant until you find that the same attack occurred at two other locations. Or the source of the attack was identified sending malware though the mail server.

And, of course, there's the people side, where detection gets infinitely more difficult. Many security professionals will tell you that user awareness and training is simply useless. My advice to the security professionals is to stop trying to do the training themselves and hire someone who specializes in training and awareness.

There are many professionals out there whose specialty is developing effective awareness programs and training personnel on complex topics like computer security. Work with those professionals to create information fliers, posters, e-mails, etc., that communicate to the users in your organization the threats they will face through e-mail, online, and on the phone. Users rarely realize that attackers can pick up the phone and use it for a social engineering attack. Instead, they're stuck in the mindset that attacks will always be computer-based.

A key area of focus for awareness and training is the detection of the different threats and how they should be communicated to the security team. Users are often the first line of detection with spear-phishing and client-side attacks -- they just have to know what to look for. And when they do identify something suspicious, it should be put into the incident tracking system to help correlate it with other potentially related issues.

Logging everything or buying a SIEM certainly isn't a panacea, but both of these approaches do help. Just don't forget that the detection of targeted attacks takes more than technical controls.

Have a comment on this story? Please click "Add Your Comment" below. If you'd like to contact Dark Reading's editors directly, send us a message.



Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dark Reading encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dark Reading moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing/SPAM. Dark Reading further reserves the right to disable the profile of any commenter participating in said activities.

Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
Subscribe to RSS



Security Monitoring Reports

report Fundamentals of User Activity Monitoring
Benchmarking normal activity and then monitoring for users who stray from that norm is an essential strategy for getting ahead of potential data and system breaches. But choosing the right tools is only part of the effort. Without sufficient training, efficient deployment and a good response plan, attackers could gain the upper hand.

report Does SIEM Make Sense For Your Company?
A security information and event management system serves as a repository for all the security alerts and logging systems from a firm's devices. But this can be overkill for a company that is understaffed or has overestimated its security information needs. In this report, we discuss 10 questions to ask yourself in determining whether SIEM makes sense for you--and how to pick the right system if it does.

report Monitoring Tools and Logs Make All The Difference
It's no longer a matter of "if" you get hacked, but when. In this special report, we take a look at ways to measure your security posture and the challenges that lie ahead with the emerging threat landscape.

Other reports from the Security Monitoring Tech Center:

Related Content

Security Management 2.0: Time to Replace Your SIEM?
Is it time? Are you waving the white flag? Has your first gen SIEM failed to meet expectations despite your investment? If you are questioning whether your existing product or service can get the job done, you are not alone. Read this Securosis white paper to learn how easy it can be to replace your SIEM with a next generation solution.

IT Executive Guide to Security Intelligence: Transitioning from SIEM to Total Security Intelligence
Read this whitepaper to learn how adopting a next generation SIEM solution provides security intelligence, to allow organizations to maintain comprehensive and cost-effective information security. Discover how security intelligence enables critical concerns in five key areas: Data silo consolidation, threat detection, fraud discovery, risk assessment/risk management, and regulatory compliance.

The Return on Security of QRadar: Improving Operational Efficiencies in Federal Government
In this study, IANS interviewed two Q1 Labs customers using QRadar to assess their Return On Security (ROS). The two customers were providers of service to the U.S. Government and had highly secure environments dealing with extremely sensitive data. The data yielded from the interviews showed substantial benefit to the organizations for the cost, both in money and staff time.

SANS What Works Webcast: Worldwide Retailer Boosts Privacy with Security Intelligence
A leading retailer with stores worldwide was seeking a more innovative tool to protect customer privacy and intellectual property. PCI compliance mandated log collection, but a vast number of different tools generated an overwhelming amount of log data, making it difficult for the small security team to review it effectively. The solution the company chose had to fit into a diverse network, provide intelligent reporting and offer a centralized management console.

Learn How Security Intelligence Can Help Combat WikiLeaks Stuxnet and Advanced Threats
WikiLeaks and Stuxnet have illustrated a few fundamental IT security issues that have underscored the need for Total Security Intelligence to counter advanced threats and to detect anomalous behavior. See how government and commercial organizations are using QRadar as an integral component of their IT security program to identify emerging threats based on context and situational awareness.




Featured Webcasts
Featured Whitepapers
Featured Reports