Prevent an APT (Advanced Persistent Threat ) Attack Now!
If we asked security professionals to name the most vulnerable technology in most organizations, these experts would largely nominate the computer users. Security professionals and hackers alike know that your mistakes can give them control over your computer and any accesses you have. Why should a hacker attack a server or network, when he or she can just attack you, gaining your access rights simply by sending you an email message?
Recognizing this problem back in 2006, a former co-worker of mine, Thierry Wohnlich, wrote the InformIT article "Building a Human Firewall: Raising Awareness to Protect Against Social Engineering." The thrust of the article is improving security by protecting IT's most vulnerable component: users. Reading his article, you'll see that Thierry anticipated a new attack—the advanced persistent threat (APT) attack—first played out, many believe, in the Aurora attacks against Google in 2009.
The Aurora attacks exhibited specific factors of the APT acronym:
- Advanced. The Aurora attacks used varied malware and social engineering methods to compromise important people's accounts and computers.
- Persistent. Despite some aspects of the Aurora attack being detected and addressed, the attacks continued. They soon began adopting a "low and slow" pattern, flying under the radar of scanners. Because attacks were spaced widely apart, the pattern was also difficult to detect.
- Threatening. The Aurora attack proved that the end goal wasn't just a one-time victory that rated headlines. Instead, these attackers wanted to spend a long time controlling the information flow of Google and other organizations.
Alarming? Definitely. The Aurora attacks slid past many antivirus solutions. They invaded social networking sites stealthily, while hitting Google systems outright. Aurora proved that the "human interface" was the favored hacking target. These devastating attacks made Google rethink plans for providing service in China.
Smaller than Google? You might think no one would target you for an APT attack. If your organization has these interesting qualities, think again:
- Known security vulnerabilities. Your organization might be a practice run for new hackers.
- Personal information. Your university or high school might be a research node, used for digging up background information needed to impersonate a target's old friend.
- Valuable intellectual property. Today's successful businesses feature intangible items—processes and ideas. By grabbing your information, someone could beat your company to the marketplace.
- Popular "watering hole" services. Your website's forum could become the perfect means to infect thousands of users anonymously.
Understanding why your organization might be targeted by APT attackers is less important than knowing the 12 signs of an ongoing APT attack. We'll look at the top eight signs in this article; for four more, watch my blog posts.
As an organization's IT consumer, you need to start by becoming aware of the role that you play in APT attacks:
- You, not your organization's computers, are the most likely target.
- Your laptop, not your organization's servers, is a very likely target.
- You, not your organization's leaders or information security staff, are the most important security agent in the organization. No firewall can stop the damage if you don't do your part.
Now let's look at symptoms. Whether you're an IT consumer (sometimes called a "user") or an IT worker, such as a system administrator or an applications administrator, use a checklist like the following regularly to help you detect and address any signs of an APT attack in progress, or alert someone else to the problem. These issues are discussed in detail after the list. (Note that the numbers in the checklist are merely for use in matching headings in the following discussion.)
Item |
Symptom or Concern |
Date |
1 |
Nonfunctioning antivirus software |
|
2 |
Odd traffic patterns in your applications and logins, or a surge in Help Desk usage |
|
3 |
Unusual password-reset patterns |
|
4 |
Atypical hacking tools |
|
5 |
Strange access requests to the Internet |
|
6 |
Peculiar arrangements of information or stealth backups |
|
7 |
Unpatched operating system and application software |
|
8 |
Computers routinely running with local administrator or root access rights |
|
1. Check for nonfunctioning antivirus (AV) software.
Hackers are opportunistic. By spreading old viruses, they can divert IT workers from finding APT attacks. You need functional AV.
IT workers: Check for reports of antivirus signatures and settings failing to update.
IT consumers: Do you have antivirus software installed? Try scanning a file—does your AV work? When were updates installed? If they're older than a few weeks, call the Help Desk.
2. Check for odd traffic patterns in your applications and logins, as well as Help Desk usage spikes.
IT workers: Are you finding odd IP addresses in your application or operating system logs? Do your DNS servers report queries from odd IP addresses? Review my 2005 article "Evaluating Your Firewall" for details.
IT consumers: Many organizational workgroups create and support their own IT applications—special spreadsheets, Access databases, possibly an internal website. Only the team can access the logs for those custom tools. If you're on such a team, are you reviewing web traffic, possibly from unusual IP addresses? Have you sent your logs to any security information and event management (SIEM) log-scanning tools? Does your laptop run slowly, as if a second person is working with it? Has your organization enabled computer personal firewalls? If so, who reviews the logs?
3. Check for unusual password-reset patterns.
IT workers: How many IT consumers need password resets, or report that their accounts are locked up for no reason? Most IT workers check for password-reset requests, but that's only half the story. Depending on your organization's size, important apps used by many people, especially when used by remote workers, must generate a few password-reset requests each week.
If you find no password-reset requests, no account-lockout complaints, do you review account-lockout settings, which trigger when password-guessing attacks are run? Some APT attacks will assault the security settings themselves.
IT consumers: You are the best detector of account-lockout problems! If you type too many wrong passwords, does your account lock up? If so, does it unlock too quickly? Either issue can indicate that a hacker has reversed important security checks against hacker tools.
4. Check for the presence of atypical hacking tools.
IT workers: Do you review computer filesystems for new applications? Do you enforce application white-listing, thereby preventing stealth installations of hacking tools? Is a policy enforced against installing hacker tools without alerting the security team? Does such a policy affect all computers, or just servers? Would a server survey show leftover tools from past attacks? What's your "scrubbing" policy after a hack is detected?
IT consumers: Do new applications show up in the Programs or Applications menu of your laptop with no notice? Common examples include remote control tools, network scanners, etc. Try an antivirus scan. If AV reports finding attack tools on your computer, contact IT fast.
5. Check for strange access requests to the Internet.
IT workers: My 2005 article "Evaluating Your Firewall" discussed an attack that used the victim's computers to attack other Internet hosts. You should have egress monitoring in place and ensure all traffic exits through a firewall. Check your egress logs. Are internal hosts making persistent external connections that don't have a business purpose? Check your outbound proxy server logs.
IT consumers: If you maintain workgroup applications, do your applications make external connections that aren't part of your team's design? Is your laptop's performance slowing, as if background processing is taking all the resources? Does your browser history display odd website connections you don't remember making?
6. Peculiar information caches and stealth backups.
IT workers: APT attackers might stage your organization's information into caches—often encrypted, compressed, and archived for fast relay to an Internet computer or external file-transfer service. Check application logs for unusual behavior, such as file transfers to clients. What Internet connectivity will your firewall prevent? Could an internal attacker use anonymous FTP—or worse, SSH—to move data to external computers? Review my 2006 article "SSH Issues: Does Installing SSH Enable More Exploits Than It Solves?" for risks specific to SSH. Modern firewall design controls outbound access as well as inbound access.
Check each server's file-sharing settings, such as for Windows CIFS or UNIX NFS shares. Too many administrators give a logged-in user access to information that's normally secured against network access. If a hacker logs on with a stolen password, can the hacker use an NFS client to access data?
IT consumers: Do you store information in folders that are expected or easily guessed—folders such as Documents? If you create and use special directories, your organization's backup and information encryption tools may not work. As you look through your laptop, are you surprised to find other directories with data? Is your free storage shrinking quickly? This is worth a quick call to IT, especially if you're an important manager.
7. Check for unpatched operating system and application software.
IT workers: Too many organizations fail to apply important patches to operating systems and applications, especially for free "utility" applications such as PDF readers, Flash players, and office suite tools. Knowing this, hackers target these vulnerabilities by enticing your IT consumers with email that has "attackware" or "attackments" such as PDF files, Flash files, and documents with buggy macros attached. How effective is your patching system, especially for those free software bits like the Java Runtime Environment (JRE)?
Equally bad are unpatched operating systems. Some buffer-overflow attacks enable hackers to run commands at full privilege levels, without any need to know a privilege password. Then the attacker can create new privileged login accounts, attack security settings, and so on.
IT consumers: Does your local workgroup maintain applications and servers that aren't on your security department's radar? Be sure to disclose your mission-critical workgroup IT environment, especially if it was built as a "stealth" turnkey system. Too many turnkey systems lack security specifications. Maintained separately, they also might not be included in organizational security monitoring.
Check your laptop. Are you using dated tools that are no longer supported by the vendor? If you're basing mission-critical work on Windows 2000 or Mac OS 10.3, your data and your computer are at high risk for remote control and compromise. Have you installed a special browser? Do you check that browser for updates regularly, or do you disregard alerts that a new version is available and must be installed?
Any IT environment, any extra software installed, requires special security handling.
8. Check for computers routinely running with local administrator or root access rights.
IT workers: Do your policies allow direct login with system privilege? That makes hacking your systems much easier! Other designs require hacking a general-privilege account before even trying to attack the high-privilege account. Both hacks are likely to draw attention. Don't allow direct authentication and use of high-privilege accounts.
Every organization must have a design that separates risky security work, such as Internet browsing, from specific administrative activity, such as account creation. Separating these actions complicates running downloaded scripts with the privilege needed to hack a computer or a trusted identity.
IT consumers: Does your organization allow you to run Windows with administrator privilege? That's a big security failure. Now consider the opposite problem: Does your organization control Windows administrator privilege, yet you seem to be able to install any software you like? If so, a hacker may have compromised your account and given you permanent administrator privilege, better enabling hacks against your account and your organization's other computers.
What's Next?
As we've seen, APT attacks are difficult to detect. Prevention? Good luck. The attackers count on both IT consumers and IT workers assuming that "someone else" is responsible for system security, when actually no one will report any problems. Attackers need IT workers and IT consumers to ignore growing issues, delay needed patches, and avoid working together.
Most IT workers reading this article will also notice that these hacking symptoms can be caused by other factors. Is slow performance caused by a hacker's simultaneous use of the laptop, or is it another problem with the network? Time for a disk defrag, a stealth repository of data, or a script that went awry and calculated the wrong directory for the work file? Having many possible causes for symptoms makes prevention much less likely.
Information technology is a very busy job, open to a lot of causes creating problems. This doesn't decrease the likelihood that your organization is under attack. To detect and to frustrate (can't prevent? f-r-u-s-t-r-a-t-e) the APT attack, you'll need the following:
- Coordinated communication paths between IT workers, IT consumers, and the Help Desk
- Active monitoring systems that help IT to measure baselines and default activity
- Plenty of training
- Books and articles like this one
- Lots of consulting hours from a security consultancy
What signs of attack would your organization's team find with a 30-day review? What security awareness programs will your organization start? Interested in another four items for your checklist? Watch my blogs and be ready to add comments.
As you can see, there's plenty to do, and a lot we all need to discuss. This article is only a start. The real work begins now.