Welcome to the Aconiac Security Group Blog

This blog includes company news, company statements, tutorials, guides and much more. So please add this blog to your RSS reader and let us help you to become better security professionals.
Disclaimer: The views of individual bloggers may not be the views of Aconiac as a whole.

The official Aconiac company blog

Tag: threats

As some of you may have noticed, Google has received some heat the last couple of weeks due to claims that they intercepted private data from open wifi-networks when driving around to complete Google Street View coverage. One of the many articles on this subject can be found here: http://www.computerworld.com/s/article/9176810/Google_stops_sniffing_Wi_Fi_data_after_privacy_gaffe

First off: I am very much against any form of privacy infringement and believe quite strongly that most forms of proactive surveillance against non-criminals are futile at best and damaging for national security at worst. However this whole case is just somewhat ridiculous.

Yes, Google made a mistake in not disabling that specific piece of software, but calling the data they gathered private is a bit of a joke. What they gathered was data sent unencrypted over a public network. If you’re sending confidential information over a public network unencrypted, Google stealing your deep-dark secrets is the least of your worries. They did it by mistake – many others do it intentionally!

In fact where I’m sitting right now, I can see no less than 7 open wifi-networks. Most are private homes and most of them have, according to Kismet, traffic flowing over them right now. This means that if I wanted to, I could activate software like Kismet or Wireshark and use this to steal every single bit of unencrypted data sent over this network. In fact, I would be able to do this with almost no chance of ever being detected in doing so. Even if the network owners tried to catch me, they most likely would not be able to. That’s simply how easy and risk-free it is.

The reason why I can do this, is because wifi-networks work by transmitting data outward on a given frequency and then let all clients in that network receive all data. It’s then the client’s computer that needs to filter out what was meant for it and what was meant for everyone else. If a computer behaves “nicely” it’ll discard anything not meant for it, but if it’s been put up to intentionally receive everything, you’ve created a so called “sniffer” and all unencrypted data is up for graps.

While software like Wireshark allows you to only “sniff” data sent over the network you’re connected to, Kismet let’s you “sniff” from any network without ever connecting to that network. This effectively makes you completely invisible to the network owners, so they have no way of knowing, that you’re stealing everything they send.

Sadly, most users are completely oblivious to these facts and use open networks as if they we’re their home networks. And sadly in some cases they even are (as was the case with most of the 7 networks here). So effectively, when Google was driving around gathering private data from open wifi-networks, they weren’t really “sniffing” because they had no intention of gathering that data. The users on those networks were however shouting every single bit of so called “private” information in all directions, forcing Google wifi-analysis software to capture and save it.

Now, to be fair: Google weren’t really being smart here and should not have captured data sent over unencrypted networks. It was a bad move and while they didn’t intend to do so, it probably still didn’t give them a boost in their reputation!

That being said, I must however still say, that the real problem here is the user and the open networks. If you don’t want your data to be scooped up by Google, don’t send it unencrypted over an open network. Chances are someone far worse than Google is listening in – especially if it’s a public network near train stations or the like. Sending data over a open wifi-network is, for all intents and purposes, the equivalent of shouting the same information out your office window.

Back in April 2010 we published a blog post describing the secure way of working from open wifi-networks – We recommend you read up on that and use the techniques mentioned there in order to keep private data private in the future.

As we have stated several times before (New OWASP guide: Secure Application Development on Facebook and Ruby on Rails Security Guide) OWASP, The Open Web Application Security Project, is a great organization tasked with providing comprehensive security knowledge for companies, individuals, organizations and developers.

This week they came out with a new finished OWASP Project: The Top 10 Security Threats of 2010.

The project website is located here and the full 22 page report can be found here: OWASP Top 10 for 2010 (pdf)

Basically what this is, is a break down of the most severe security issues in web applications for the year 2010. What’s especially scary about it is however, that these 10 security issues have stayed largely unchanged since the Top 10 of 2007. In fact only two issues have been replaced on the list, making the OWASP top 10 security threats of 2010 (the new ones are bold):

  1. Injection
  2. Cross-Site Scripting (XSS)
  3. Broken Authentication and Session Management
  4. Insecure Direct Object References
  5. Cross-Site Request Forgery (CSRF)
  6. Security Misconfiguration
  7. Insecure Cryptographic Storage
  8. Failure to Restrict URL Access
  9. Insufficient Transport Layer Protection
  10. Unvalidated Redirects and Forwards

What this shows us is that despite the efforts of OWASP, Aconiac and similar organizations, the security field has stayed largely unchanged and developers are still making the same mistakes in their designs and code. It might very well not be entirely possible to change this fact in general, even given 10 years from now.

But while companies in general may be making these mistakes, you don’t have to! The OWASP report includes several pages describing the security issues in detail, including an analysis of the risk it imposes on your business and what impact a breach might result in. We encourage you to download and read the entire 22 page PDF and make it mandatory reading for every developer and designer in your organization.

Have you ever been on the road towards a meeting or a vacation, and then just suddenly stumbled upon an open network while waiting for a plane or drinking a cup of coffee? Most people probably have..

And have you even been a bit too tempted and logged onto this open network? Again, most probably have.

Now, have you then started working while on this network and directly sent corporate information or handled information on your corporate systems? Sadly, many have and if you’re one of them: Read on! Using open networks directly for sensitive data (like corporate data) is a big security no-no!

So why would this be a problem? Isn’t it just free internet for the masses? Well, yes and no. Yes it’s probably a network you are completely free to use. It might even be a network owned by the office building, hotel, airport or which ever company you’re at. But due to the way wifi-networks are designed, everything you send over this network is completely public. Every person, on the network or simply in the vicinity, can easily set up a simple network scanner like Wireshark or Kismet and directly save all the information you send over this network, including all e-mails, websites you visit, data you send to websites, data you receive – plain and simply everything! And you have no way of detecting this! None what so ever! There is absolutely no way to check for eavesdroppers on an open unencrypted network.

To add insult to injury, eavesdropping on a network is extremely easy to do and there are several easy to use tools out there that hordes of 15 year old script kiddies love to use to steal as much information as they possibly can – for no other reason than: They can!

So are we advocating not using public open wifi-networks? No, not at all – you just need to use them correctly!

You can look at it like this: A public open wifi-network gives you a gateway on which you can build a connection to your workplace and work from there. How do you do this? Well basically there are several solutions here:

  • Make the network encrypted.
    Well normally you won’t have the option of doing this, but in most cases it is simply better to keep smaller networks encrypted and then only use encrypted networks. Preferably using WPA2-PSK or WPA-Enterprise as encryption schemes. This is however most likely not a possible solution!
  • Use a VPN connection
    A VPN (
    Virtual Private Network) is a technology with which you can remotely connect to your organization’s network in a completely encrypted manner. It is by far the most transparently secure solution available and is generally the one we would suggest to companies wanting their employees to be mobile always.
    There are several VPN solutions available out there, including big corporate solutions from companies like Cisco and open source solutions like OpenVPN.
  • Access resources with SSL/TLS
    While VPN applies to all network traffic sent from your computer, there is also the other option of encrypting critical parts of your work like e-mail, FTP access, critical websites etc. There are protocols to support this for almost all the different kinds of traffic including: POP3S and IMAPS for email, SFTP for FTP and HTTPS for websites.
    Using this solution may in many ways be simpler, but it assumes you know beforehand every place from which you will be needing critical information. It also puts a considerable extra security concern onto the individual employee, since this person now has to deduce whether or not the given communication he/she is doing at the moment is secure or not. Using VPN, these concerns go away in most cases.
  • Remote desktop solutions
    Another option, that’s somewhat similar to the VPN option, is to have the employee make a secure connection to a server at the workplace and from there open up a terminal service running another computer remotely. Solutions like this are available in many forms like VNC, RDP and proprietary solutions from companies like Citrix. This gives the employee a remote view of his/her workstation desktop even though he/she is no way near the actual office and, most importantly, it makes it possible for him/her to work securely from any network.

So you can look at it like this: If you’re not doing any of the above, you have a problem and should take it up with your company in order to get a security policy on the matter and making it safe for the company to work from anywhere! Mobility is one of the top priorities in business these days, and you really want to use the opportunities laid before you well, without screwing yourself because of bad security.

So remember: Public open networks aren’t bad, but you need to keep your assets safe while using them!

McAfee came out with a blog post on March the 17th concerning a new scam targeted against Facebook users. An attack that had quite a significant success, and therefore clearly shows an issue that still isn’t being sufficiently adressed by private individuals as well as companies.

The original blog-post can be found here: http://www.avertlabs.com/research/blog/index.php/2010/03/17/facebook-suffers-password-reset-scam/

For the people who didn’t feel like going in and reading the original blog-post, I can give a small summary of it here:

Basically what it says is, that McAfee has been tracking a Facebook e-mail scam where users are being sent fake e-mails with the subject “Facebook Password Reset Confirmation! Customer Support.” including a message saying that the user’s password has been changed due to security reasons and that the new password is attached to the e-mail as a .zip file.

The scam is especially interesting because people generally fell for it. Within record time, it skyrocketed to number 6 on the Global Virus Map’s Top 10 list.

What this shows me, is that companies and other organizations still have a huge education task ahead of them with regards to security. Looking at the simple scam e-mail in its entirity, this is what the content says:

Dear user of facebook,

Because of the measures taken to provide safety to our clients, your password has been changed.

You can find your new password in attached document.

Thanks,

Your Facebook.

There are several tell-tale signs that this is clear cut scam mail.

First and foremost, Facebook directly warns against any e-mails claiming to be from them, if they include such things as requests for account information or include attachments.  All Facebook’s information on scam prevention can actually be found at: http://www.facebook.com/security?v=app_4949752878 . All companies should consider including this document in their general security training of all personel! Given a few years, Facebook, Twitter and the like will be used by the vast majority of all internet users (even more so than now), including traditionally non-technical users that don’t necessarily have the insight to detect attempts at IT-fraud.

But even if Facebook didn’t come out with any general information about what an official e-mail from them would look like (as most companies/organizations don’t), there are still several tell-tale signs:

Looking at the e-mail as it has been sent to most people, here are a list of my observations of scam-like characteristics:

  • The e-mail is not recipient specific.
    What I mean by this is that the e-mail doesn’t mention the user specifically, but only refers to this person as “user of facebook”. This is highly unusual for a website so focused on user information. A website that would easily have access to specific information about i.e. your first name. Note however, that the lack of a personalized greeting is not necessarily an indicator of spam. In several situations some companies will probably choose to send out a non-personal greeting, but in such a case it would usually be worded differently and it would definitely not have included any profile information (i.e. a new password as an attachment)
  • The presence of an attachment.
    Attachments are almost never used by any company, group or organization. If attachments are used, it will generally be because the recipient requested the given attachment. If you ever receive an attachment you didn’t expect (and I do mean EVER.. no matter who it’s from), be very skeptical! Call the sender up on the phone and ask for confirmation.
  • Spelling, grammar and the like.
    Another tell-tale sign is the use of language and wording in a message. Would the real Facebook really refer to themselves as “facebook”, instead of “Facebook”. The lack of correct grammar might be possible for small companies, since they might not have anyone to check such things, but for any large company you can expect, that if there are more than a few simple microscopic typos (i.e. “teh” instead of “the”), it’s most likely a scam. Call the claimed sender on the phone for confirmation.
    Also Facebook would probably not call you their “client”, but instead their “user”.
  • The e-mail is in plain text.
    Not all will agree with me on this point, but I do believe that serious individuals (especially companies) will generally send an e-mail in HTML with graphics, tables and layout and not as so called “plain text”, which is just simply characters + punctuation, with no possibility for images, tables, layout, text formating or anything of that sort. This is, as most rules above here, not a general rule and should not be used exclusively to discard an e-mail as a scam.
  • Odd sign offs
    Somewhat related to the issue of spelling and language use, would Facebook really end an e-mail with “Thanks, Your Facebook”? Wouldn’t it be more likely they would end an e-mail with something along the lines of “Thanks, The Facebook Team”? Again this is not a clear cut sign of a scam, but this in union with other issues should put up a red flag for you. As always: Call for confirmation if in doubt! Any serious person will not mind that you care about security, they will most likely applaud it!
  • Non-authenticated requests
    Whenever an e-mail asks you for any information you wouldn’t shout out in public, then that’s usually not information you should be sending through an e-mail in any way or form. That’s basically why we have encryption and digital signing for e-mails.
    But especially whenever an e-mails asks for account information or claim to include it, you should be skeptical. Normally whenever you access your account on the website (i.e. http://www.facebook.com/) you’ve gone through some form of authentication process, usually by means of simple username and password. You haven’t done this when checking your mail, so the website has no way of knowing it has reached the correct user with the relevant information or information request. A normal request for information will therefore include you having to go to the company or organization’s website and go through a process there – not on e-mail!
    Once again, there are exceptions and some companies don’t care much about the security and therefore do request information through an e-mail. So when in doubt: Call the company and ask for confirmation!
  • Sender is wrong
    Obviously there is the option of checking the domain from which the e-mail was sent, but often times most users won’t be able to tell the difference between a correct subdomain and an incorrect one. So for most users this isn’t a viable solution for training.

All in all the real problem is that people are simply not skeptical enough and trust information sent to them over e-mail, social networks and text messages.

As companies and organizations, you need to make a continuous effort to educate your employees in all forms of basic security. Security isn’t only relevant for the IT-staff. All staffers need to have some basic understanding of what a scam might look like, no matter if it comes through an e-mail, a phone call or even physically at the business location.

There are several resources available to help you design an education program for your employees and if you need professional assistance, Aconiac is always available for a consultation.

NOTE: This news item was originally posted on December 30, 2008

Security threats in 2009

2008 will soon be over and a new and exciting year lies in front of us. 2008 was an interesting year for computer security. We saw, once again, escalating threats towards companies from almost all fronts. Especially the leaks of unencrypted data in England, the automated SQL injection mass-attacks and the attacks on social network services were some of the big public problems in 2008.
But then how will 2009 be? Now, it’s obviously very hard to predict the future in such a dynamic world, however we have made an effort to come up with our ideas for what might be, the 10 biggest security threats in 2009:

  1. Weak economy

    The economic crisis, which right now is devastating many businesses all over the world, will most likely result in companies having to cut down on expenses. In these kinds of expense cuts, typically what gets cut first is the administrative expenses like e.g. computer security and preventive measures. We can therefore expect to see an increase in the amount of security issues in software and systems developed in 2009.

  2. Lack of education

    One of the greatest threats towards security in a company is and will always be education. This has been, in our minds, the biggest issue in 2008 and actually have always been the biggest issue. Users of IT solutions do not understand the security problems in such a way, that they can effectively protect themselves. We will therefore, once again this year, probably see an increase in successful hacker attacks – attacks that largely could be prevented by increased education.

  3. Mobile devices

    Employees are becoming more and more mobile as each day passes. One of the big things that really got a boost in 2008 was mobile broadband. This technology specifically, can lead to employees beginning to do their jobs outside of the company’s secure parameters. A trend that could ultimately lead to catastrophic data leakage, that is if it is not prevented by good policies and encryption.

  4. Outsourcing

    Due to the economic crisis, a lot of companies will probably begin to outsource certain tasks to cheaper labor in other countries. This act however has a lot of serious security implications, since the company now no longer has control of how its data is handled. It is therefore extremely important, that companies make a proper security policy with their outsourcing partner and that this policy is actually followed.

  5. Espionage

    The time when hackers were just small kids in a basement is, by far, over. Today several indications are showing that hacking has, in several cases, been used by e.g. China to attack government institutions in the USA. This type of attack, which for the record can have catastrophic consequences, will likely escalate in 2009, where we will see even more examples of this form of Internet warfare.

  6. Anonymity/Privacy

    While nations all over the world are using more and more censorship and surveillance, many freedom-loving employees will begin to work harder to secure their privacy and the right to free speech. This will probably manifest itself in an increased use of software to break blocking mechanisms and hide information about the user. With this increased usage, it will become much harder for companies to identify malicious users, since it will now not only be the criminals who are attempting to hide from identification.

  7. Apple’s Mac OS X

    While viruses and spyware are everyday fears of Windows users, Apple’s Mac OS X has up until now avoided most problems. They’ve actually avoided it so well, that many Mac users are now, mistakenly, believing Mac OS X can not be infected with malicious software, like e.g. a virus. Apple had a record high sale of Macs in 2008 and as their market share increases, so will the number of attacks on the platform increase. Sooner or later it will therefore become a security risk to have an unprotected Mac OS X on the company network and companies should therefore implement effective security policies for Mac users.

  8. Insecure websites

    A lot of companies and government institutions still have websites with several security issues of varying types. With the increasing economic crisis and the likewise increasing amount of computer criminals, it is very likely many more companies will be attacked from the web this year. Even many more than earlier years.

  9. SMS Scams (SMiShing)

    With the expanded use of SMSs for almost any thinkable communication, criminals will soon begin to notice the possibilities in the use of SMS to scam individuals and companies. Most do not know, that it is extremely easy to fake an SMS so that it seems as if the SMS is from “Mom” or “The Boss”. This makes it easy for criminals to scam people into wiring funds or giving out passwords.

  10. Social networks

    Social networks are not as big of a threat as some security companies would have you believe, however there are several dangers you should take seriously as a company owner. Like e.g. in 2008 there were several attempts at spreading viruses through Facebook and especially MSN Messenger is often a target for computer criminals. All of these attacks can however generally be avoided with simple education of one’s employees. We don’t recommended blocking the access to social networks for your employees, even though we know certain companies do this today.