Showing posts with label 2-step verification. Show all posts
Showing posts with label 2-step verification. Show all posts

Wednesday, August 14, 2013

Some defenses against Advanced Persistent Threats




Remember that Advanced Persistent Threats (APTs) take advantage of vulnerabilities in software such as the Web browser, Microsoft Office applications, or Adobe Acrobat to install malware (think of malware as bad software) -- usually a remote access tool (RAT) on your system that communicates with the attacker through command-and-control servers. As an individual, your best defense against these attacks is to make sure that you apply all available software updates. On Windows systems, you can set up automatic updates so that this happens routinely. If not, you should check manually by running Windows Update (or by looking for a "check for updates" option that's available in most software applications). The main point is that you need to make sure your system's software is up to date, so that at least the known vulnerabilities are patched up.

In addition to keeping up with software updates, you should also use some security software such as Microsoft Security Essential or any of the many commercial products. You need to deploy all currently available defenses even though it's impossible to fully defend against APTs because, in addition to known vulnerabilities, software often contains vulnerabilities that may have been discovered by the attackers, but not yet patched by the software vendor.

Additionally, you should use 2-factor authentication for sensitive transactions, including logging into social networking sites such as Google+, LinkedIn, and Facebook. For example, Google+ provides 2-factor authentication that works for logging into all services such as Gmail, Blogger, Google+, and others (see my previous video http://nbtmv.blogspot.com/2011/11/nbtmv-turn-on-2-step-verification-on.html for more information).

Organizations have more resources and can use more advanced defenses that are based on some key behavior of all APTs -- they install malware on the system, then periodically communicate to the command-control-server.

First, organizations should start with the existing defenses of firewall and usual patching and anti-virus regimen. Beyond that, there are security appliances (basically computers that inspect network traffic) available that can inspect email and web traffic to detect suspicious behavior and, potentially stop installation of malware. Third, organizations should collect event logs of various activities occurring in their systems and analyze those logs to detect any potential APT activities.

These are not perfect defenses, but they are a start. Unfortunately, it seems that APT attacks are bound to succeed, so organizations would just have to be prepared to deal with the aftermath.

As for individuals, I wish some low-cost security appliance were available to help us deal with the APT problem.

Note: There are some promising defenses based on running applications in a virtual environments where the activities of the malware could be contained before it causes damage, but this seems to be a cat-and-mouse game between the defenders and the attackers. Attackers are now designing malware that try to avoid being caught by looking for user activity such as mouse move or simply go to sleep for some time before initiating any contact with the remote command-and-control server.

Tuesday, November 22, 2011

NBTMV - Turn on 2-step verification on your Google account



In previous videos I have mentioned how important it is to turn on 2-step verification (or 2-factor authentication) on your Google account. In this three-minute video, I’ll walk you through the process because you really ought to do this.
After you turn on 2-step verification, to log into your Google account, you have to first enter your normal password and then you have to enter a verification code that Google sends to your phone. Even if someone steals your password, they’d face the additional step of having to enter the verification code before getting into your account. That;s why you should turn on 2-step verification -- to get the benefit of an extra layer of security.
To set up 2-step verification, first log into your Gmail (or Google+) account and click on your name or your profile photo on the upper right hand corner. You’ll get a Google Accounts overview page showing all the settings. Click the “Edit” link next to “Using 2-step verification”. That will take you to the page where you have to enter your current password and then you'll get the page where you can click a link to turn on 2-step verification. You’ll then go through steps where you enter a phone number to receive the verification code and test that it works. You also need to enter a backup phone number for the verification code, in case your primary phone is not available.
At this point, you should also generate the printable backup codes that you can use when you don’t have your phone or can’t use your phone. Google generates 10 backup verification codes that you should print out and carry in your wallet. In a pinch, you can use these one at a time when you need them.
For accessing Google services such as Gmail on a smartphone or a tablet or when you read Gmail using Microsoft Outlook, you have to generate and use application-specific passwords. There is a link on 2-factor authentication page for application specific passwords. You should pick a descriptive name for the application such as “Gmail on my smartphone” and then click Generate Password. Then enter that long complicated looking password (ignore the spaces) in place of your normal password. You have to enter the password only once for each application and you can always revoke a password and generate a new one.
That, in a nutshell, is how you turn on 2-step verification. If you haven't done so already, I hope you'd turn it on as soon possible.
Here's some more information to help you...
To learn a bit more about 2-step verification, see the Google support page on Getting started with 2-step verification and for more on application-specific passwords, you can:  Watch the video on application-specific passwords