After reading Michael’s earlier post about SDL, I started digging a bit deeper into Microsoft’s SDL documentation and came across this pretty cool page. I wonder if anyone has a similar page for Unix-like OSes?
Microsoft’s banned function calls
May 21st, 2009 by Brett EdgarWhy spyware IDS alerts are useful
May 21st, 2009 by Brett EdgarAs you may know, our company provides 24×7 Network Security Monitoring services to many customers. Our clients vary widely in size, industry, and information security maturity. Even so, we see many similar successes, failures, and trends in security monitoring alerts between these customers. Spyware infections tendsto be a significant number of the incident reports we generate. Today, I would like to write about the reason spyware alerts are a threat to your organization, why you should take them seriously and respond timely, and what you can do to decrease these incidents on your network.
The danger of spyware is two-fold. First, it indicates a deficiency on the part of the user in general information security knowledge and specific corporate information security policies. A spyware infection means that the user likely installed unapproved software on his/her system. Perhaps the user was doing non-business related web surfing and found the “Totally Awesome Change Your Life Toolbar” from hAcme Software, Inc. Or maybe the user was tricked into installing this software via social engineering. (“Click here to install a media player to see Jane E. Celebrity in a bikini!”) Either way, the user was not aware of the dangers of his/her actions wrt. information security and wrt. corporate security policies. (You do have policies defining acceptable use of corporate information resources and punishment for misuse, right?)
The second danger (related to the first–in fact, the first is a consequence of the second, so maybe I should have reversed these points–oh well) indicated by a spyware infection is that the user has sufficient rights to execute unapproved software on his/her system that can modify his/her settings and hijack information. With these rights the user may be delivered and subsequently execute much more damaging malware that exfiltrates personal and/or corporate information or receives and executes instructions from external attackers. This malware may be delivered by the spyware itself. Regardless of how it is delivered, your organization has a problem, and it needs to be fixed.
For these two reasons above you should take spyware infections seriously and respond to them in a timely manner. But what can you do to limit future infections?
- Limit user rights. Do not make them a member of the local Administrator or Power Users groups. If you have applications that require Administrator privileges to run (QuickBooks, I’m looking in your diretion), get rid of them. That is a poorly designed application and is likely going to have far worse flaws.
- One word: Education. Provide it to your users. If you don’t have a sufficiently trained and knowledgeable employee who can teach one day classes on information security, there are plenty of companies that provide that service–and you won’t have to develop the curriculum. Google is your friend, here.
- Follow the hardening guidelines from Microsoft, NIST and NSA on how to secure your Windows systems and networks.
- Use Group Policy or other enforcement mechanisms available from companies like Cisco, Symantec, etc., to whitelist applications. Only applications listed in the whitelist can be executed by the user. Use Group Policy to disable all but a few approved Internet Explorer BHOs (Browser Helper Objects). This will prevent a lot of the toolbar spyware software from infecting your systems.
- Get serious about your corporate information security posture. Convince upper management to dedicate sufficient time and money to sustaining a CISO position.
Java App Store
May 21st, 2009 by Brett EdgarSun Microsystems’s CEO announced yesterday its intention (or is it now Oracle’s intention?) to launch an App Store for Java software a la Apple’s iTunes App Store for iPods and iPhones. Slashdotters responded with typical jokes about how slow Java apps seem to be. Jokes about molasses aside, is this a good idea? Will it catch on? Initial reactions are mixed.
If executed properly, I think a Java App Store may work. The announcement indicates that Sun engineers will be reviewing all submissions prior to publishing the apps to the world in an effort to minimally evaluate them for “safety and content”, whatever that means. If the evaluations are not too heavy-handed, this may work. If the prices aren’t extravagant, Sun may reach a wide audience, indeed.
Two simple outbound firewall rules
May 20th, 2009 by Brett EdgarIt amazes me that there are some simple firewall rules that everyone can do to aid in the defense of their internal network, yet seem to be rarely implemented. These rules limit *outbound* traffic. It seems, unfortunately, many network administrators neglect to limit traffic from their internal network to less-trusted (e.g., VPN, DMZ, and Internet) networks. Too often this is due to the fact that the admins are too busy trying to keep upper management happy by ensuring that public services (web and e-mail) are accessible to customers and potential customers with five-nines uptime. This is a sad state of affairs.
How many customers are you really going to lose if your website is down for 5 minutes? If a customer finds that your website is inaccessible for a short time, they are likely going to first suspect their PC or their ISP network before they blame your organization. Even if it they do eventually blame you before the problem is resolved, who is really going to be that mad about it? If Google goes down for 15 minutes (as recently happened), I just chalk it up to bad luck. I don’t fault Google. So what, I wasn’t able to hit GMail for 15 minutes? My life is not over. Computers suck. Stuff happens. Services become inaccessible. Big deal.
Now, think about how many customers are you going to lose if your organization is in disarray and can’t close sales deals due to some malware spreading internally? How about your reputation when all your customer information is stolen and posted on the Internet for your competitors (and customers) to see? What if you lose personal data like SSNs or bank account numbers? The list of damaging items that can be lost from inside your network is long and scary. A reasonable person (like myself) would much rather your organization’s Internet services be down for a few minutes (or, heck, even a few hours) than for your organization to lose their confidential data. Even if you are providing me a service (VoIP or spam filtering, for example), I can stand a few minutes of unexpected downtime (albeit a very few minutes…like 5). That’s just life.
So enough of the rant. Here are two simple rules to aid you in detecting malware spreading inside your network. Of course, you’ll have to be paying some attention to your firewall logs to notice. You are paying attention, aren’t you?
- Block outbound SMTP that does not originate from your internal e-mail server(s).
- Block outbound DNS requests that do not originate from your internal DNS server(s).
Simple. Quick. Powerful. But why are these rules helpful?
The first rule above will catch spambots. Spambots are malware that sit on a PC and spew tons of spam. If you have an internal machine spewing e-mail to the Internet, and it’s not your internal mail relay, then that machine is h0sed and you need to examine it. It’s likely to have more than just one piece of malicious software on it.
The second rule will catch malware that is exploiting the fact that most organizations don’t block outbound DNS. These malware will use hardcoded public DNS servers to resolve hostnames, all the while avoiding being logged by the legitimate internal DNS server(s). The hostnames the malware are resolving are often used to aid an attacker in maintaining command and control.
If you can identify infected internal machines through your firewall logs, you can clean the malware and identify further holes in your internal security posture (like foolish users who installed “Whack-a-mole 2009″ from hAcme Games, Inc., on their corporate PC).
New SDL templates for Visual Studio Team System
May 20th, 2009 by Michael OglesbyThis week Microsoft released a set of SDL (Secure Development Lifecycle) process templates designed to make it easier for software teams to integrate SDL into their development processes. These templates integrate with Visual Studio Team System by adding SDL workflows and processes and providing the ability to measure and audit the results.
It can be difficult to transition from general SDL concepts and theory to actual workable processes. Perhaps you read a book on SDL or an auditor told you that you need to perform SDL on your projects. How do you make the move from theory to practice? These templates will let you hit the ground running by providing a strong basic SDL workflow that you can customize to your needs.
If your development team is already using Visual Studio Team System, I highly recommend you evaluate how these templates can help your project or team. And hey, they’re free! I always like free tools that make security simpler and easier to achieve.
There’s fast…
May 12th, 2009 by Dominic Schulte…and there’s this [jeremiahgrossman.blogspot.com]. The Internets can be a little scary.
If you’re searching for ways to get buy-in or resources for SDLC, vulnerability management, or security testing improvements, this example should help.
Avoid Becoming a Data Loss Victim
May 4th, 2009 by Nathaniel JamesWith the current US economy downturn, cyber crime is increasing at an alarming rate. Let’s face it – data loss can quickly become a public relations nightmare for any business. Solid Core conducted a survey [solidcore.com] of 201 IT and compliance professionals and found that more than half of the respondents admitted their organization either experienced or did not know if they had experienced a compliance control deficiency in the last year.
The Internet Crime Complaint Center, a partnership between the FBI and the National White Collar Crime Center, released the 2008 Annual Report on the number of Internet crime complaints received. This report [ic3.gov] was made available on March 31, 2009.
The 2008 Annual Report states that complaints of online crime hit a record high in 2008. The Internet Crime Complaint Center received a total of 275,284 complaints, a 33.1% increase over the previous year. The total dollar loss linked to online fraud was $265 million, about $25 million more than in 2007. The average individual loss totaled roughly around $931 dollars.
Now more than ever, it’s extremely critical for everyone to do their part and be vigilant when it comes to network and enterprise security. Still, with the recent gains in the stock market, I’m hopeful this trend will become more positive.
Security Advisory: Adobe Acrobat vulnerability
February 20th, 2009 by Brett EdgarYou know it’s a bad week when circumstances warrant two Security Advisory posts. There is a zero-day vulnerability making the rounds that affects Adobe Acrobat and Acrobat Reader versions 9. The exploit arrives in a PDF file and exploits the ability of Acrobat to run JavaScript embedded in PDF files. The vulnerability can be completely mitigated by disabling the execution of JavaScript in PDF files (such a PDF is very rare, anyways).
Unfortunately, there is no easy way to affect this Acrobat configuration change across all of your corporate PCs at once. It does make me wish that Adobe provided a Active Directory Group Policy plug-in to enforce certain configuration settings on a domain-wide basis.
Suggestions:
- As the PDF is an otherwise well-formed document, there is no easy way to detect a malicious document with any signature-based network monitoring like True’s NSM service. The best advice I can provide is to ensure that all anti-virus signatures are up-to-date across your enterprise although the AV vendors are playing catch-up at this point, and I cannot find any definitive answer as to whether any of them can detect this exploit yet. Some people are saying that Symantec may possibly detect this in some form.
- I suspect that the largest number of deliveries of a malicious PDF would arrive via e-mail, and so I would also recommend that you remind your users via e-mail to avoid opening PDFs which arrive unexpectedly in e-mail, are from untrusted (non-business related) sources, and/or are named in such a way as to suggest that they are recreational and non-business in nature.
By far the quickest, easiest and likely (at this point) most-effective action you can take is to notify your users via e-mail as I describe in
suggestion #2.
Security Advisory: MS09-002 exploit in the wild
February 18th, 2009 by Brett EdgarMicrosoft recently released a patch for security issue MS09-002 which is a vulnerability in Internet Explorer 7 that allows remote code execution. There is now an exploit in the wild for this vulnerability. The current version of this exploit steals personal data and exfiltrates it to a remote site. I would expect that RBN and BotNet infection vectors would also appear in short order.
If you are one of our NSM customers, please be assured that our NSM processes will be looking for this exploit code and we will be alerting you as necessary; however, this is a new exploit and is likely to change quickly as different malicious entities obtain the exploit code and change it to fit their nefarious needs. As such, it will be difficult to detect all versions of the exploit for several days.
I want to encourage you to ensure that all workstations on your corporate network are patched against this vulnerability, if at all possible. This occasion is an excellent reminder that it is always a good idea to update workstations (not servers) within one or two days of Microsoft’s Patch Tuesday security releases.
If you have no method of pushing patches to machines, I would encourage you to send an e-mail to your users reminding them to refrain from visiting non-business-related websites as much as possible to reduce the risk of infection by this (and other) exploits.
The patch for MS09-002 is available via Windows Update and/or Windows Software Update Services (WSUS) if your organization distributes patches internally.