Posts belonging to Category 'Best Practices'

The twits tweeting on Twitter..

So I know this post will be a very unpopular among many of my social marketing friends who feel that tweeter is the best thing since sliced bread.  I will admit while I find most technologies coming out today as fairly useful.  I could not find any useful purpose for twitter in my daily life.  Until Today….

Electronic Survellance

When you are trying to pull off an attack, any attack, the first thing you have to do is gain as much intelligence about your target as you can.  When performing a social engineering attack, we have to find as much information about our victim employees as   possible.  If I am going to successfully trick you into clicking an unsolicitated email, I must send you an email that will perk your interest.  Before, this involed scouring websites, forums, and social networking sites.  While these were very useful, it could be static, you were into cars 6 months ago, but now not so much.   The key to a successful social engineering based attack is simple – If you know enough information, the victim will never suspect you are an attacker.

So what is Twitter?  It is a micro blogger that only allows 140 characters at a time.  So people are forced to blog on very small timely subject.  From what they ate for breakfast to about current events, ”Tweets” are frequent and the subjects are far reaching.  This can be likened to a cyber glimpse into someone’s life.  And that is a dream for a malicous attacker.  If I as an attacker am trying to find information about you that I can use,  then twitter becomes a must read for me.  Granted it may seem like what song your listening to doesn’t seem like a security issue.  Remember, a successful social engineering attack conviences you I am someone harmless.  Sending an email from the Hannah Montanna fan club saying to join may not be a draw for alot of people, but if I find that employee who is Tweeting about Hannah Montana then I have found my ticket in.

The key to gathering successful intelligence is to first linking the employee’s business information to a personal identity.  Tweeter can again help.  If I am trying to find information on a  Dr. Jane Doe who is a chemical engineer.  I do a search for a Jane Doe on Twitter and I find a tweeter who is tweeting about working on a chemical molacule chances are I have found a match.  From there I would look at her handle and see if that handle is used anywhere else on the internet.

Tweeter to a Jailbird

Your employees are twittering, do you know what they are saying?  Have they said anything negative about your company?  Have they let out any company/trade secrets? I did a twitter search for Layoffs and check out some of these hits I found. (These are hits from within the last hour) 

“I can’t “publicly” confirm or deny any layoffs. You will see a press release soon on Q1 results with details contained therein. “
My co. offered 65 + 5 yrs. employees or 20 yr. employees a BUYOUT that sucks. Insulting offer. I sense layoffs are coming next.
“Just entered the ranks of the unemployed!!! Layoffs at *****! Couldn’t have come on a brighter, sunshiney-er day!!! “
“They have bhind scenes. So far I’m ok but they can’t cut too much from me. We knew layoffs in works. Fred always said he wouldn’t “
 

Most companies have a procedure in place to determine  what company information is release, when it is release, and who releases it.  I find it highly unlikely that these  tweets were approved by the company’s management as offical statements from the company.  Let’s think about other instances, is your company about ready to release a new offering that is secret right now?  Do you have an expected new offering that has some issue?  Were your financials not quite where they were expected? 

If your company is a publically traded company, Tweets of secret information could be seen as insider information.  At that point you better have a PDA that will survive 5-7 years (with good behavior :) ).

Plugging the holes

Again as with many security fixes it comes down to your end-user employees.  Security Awareness training and proper policies put in place.  Have policies that state what business information that should not be release by unauthorized employees under any form.  Make sure your employees know the risks of tweeting business information and ensure these policies are enforced.

You and Your Personal Password Policy

Passwords..  I don’t think there is a single person that doesn’t know what a password does.  And most people understand why a good password is important. But how many people actually have a fairly strong personal password policy.

A Personal Password Policy?? 

Simply put, how do you create a strong password and how do you determine when to use a particular password.

Many people have a very similar method.  They will create a single password, some will create a fairly strong but cryptic password, others will create one just strong enough to pass their company’s password policy (maryk uses m@ryk1, then m@ryk2 etc etc).  They will then use this password everywhere possible. Sound Familar?

For us security nerds, we refer to a password as something we know, (a smartcard would be something we have, hence dual authentication).  This password gives us access to either information or power to perform functions.  Some of these privledged areas are more important than others.  

So what is the issue?

When you use your password at a site or on an application that password is being stored somewhere at that location (how else could they verify you are typing the correct password in??).  You do not know who is looking at that password, you cannot control if that site or application is hacked and your password is stolen.  Or if someone you know may have knowledge of your password.  Going back to your single password, we have a problem.  Essentially someone with the knowledge of that password could gain access to pretty much anywhere you authenticate.  Not a good policy….

Let’s take a look at how to create a good personal password policy.  Let’s start with the when….

I need how many Passwords??

When developing your password policy you need to determine when to use a particular password.  Always look at what you are protecting, how important is it?  Determine your levels of sensitivity and from their create passwords to be use only in those various levels.  How many levels do you need?  Many say between 3 -5, but hey this is YOUR personal policy, do what is best for you.  Here is a great example from the folks at www.joomla.org.

 

Overview

Most users may not need more than 3 levels of passwords and webmasters no more than 5. Each level must be completely unrelated to the others in terms of which ids and passwords are used.

Directions

Level 5 (Public) - is the password you use on public sites. It is not imperative that you use a different password on every site. In fact it’s more effective to use a different username on every site than it is to use a different password truth be told! Knowing the username allows easy hacking…half the work is done! knowing the password is useless unless you know what account it goes to!

Level 4 (Webmaster) - Reserved for SQL Only. this is a password that would only be used by SQL and limited to a specific database in SQL. The best way to protect SQL is by limiting each account to just being able to do the minimum that DB requires. In some cases it is even wise to have a read only account for display and a separate write account that the backend write functions use. But that doesn’t apply to J! at all… for J! the best practice is to set up an individual account (not root for sure) that only has read and write access to the J! DB nothing else.

Level 3 (Webmaster) - FTP and Server Access. these can be the same user:pass combo since both if compromised can do the most damage. doesn’t matter if the backend or Cpanel is safe if the FTP is not and the same goes the other way!

Level 2 (Personal Data Access) - This password should be used for any sites or locations that contain personal data with the exception of Banking (see level 1). these sites are often used for social engineering data such as medical records, service accounts and any financial records not directly related to banking! You want these to be secure but also different from the real threat of security…your money!

Level 1 (Banking!) - this needs to be the most secure in fact if you have two different banks it actually pays to have a different user:pass for each just to be sure!

As you see in this example, they discuss that in many cases your username is more important to change between sites than your password.  There is some obvious issues, first in many sites and applications your username is picked for you.  And in many other sites (with public sites such as myspace or youtube) your username identifies you to others.  With that being said, it is not a bad idea to have various usernames you use for your different levels of sensitivity.

Now how many passwords per level?  The more the merrier.  Now before you start worring about how many passwords you will have to tattoo to your arm to remember them, let’s talk about a few methods to create secure but easy to remember passwords.

Goodbye Password, Hello PassPhrases

Look at these two passwords

m@h1lodK

Mary had 1 little lamb

Which one is the stronger? Which one is easier to remember?

If you said the second to both you are correct…   But wait Dave! that first password has it all special characters, numbers, upper and lower case.  The second is a childs rhyme that everyone knows.

True.. Let’s breakdown these passwords.  The first one is eight characters long. It is alpha numeric, as well as a special character (@)

Our second password is twenty-two characters, it is also alpha-numeric, as this password has four special characters.  Don’t see them?  Read between the lines, or should I say the words..

The space.  As human’s we see a space as nothingness, a way to separate words.  Computers don’t see “nothingness”, to them a space is a special character.  Welcome to the world of passphrases.

To date most operating systems allow spaces in their passwords, as well as long passwords.  Windows XP and above allow up to 256 characters.  Wouldn’t your system admin be proud :) .  Now you only need something easy to remember.  How about song titles from your least favorite band, sports teams (city included), historical figures. Pretty much anything will work, well almost anything.  Stay away from personal relationships (Quit using your dog’s name or your son’s cute nickname), you like ford vehicles eh? You even have a blog about Fords?  Well I would then stay away from usuing their car models for pass phrases.  These type of passwords are easier to figure out by a competent attacker.

For those other sites that don’t allow passphrases.  Well you’re gonna have to suck it up and come up some of the trust ole complex passwords, hard to crack, harder to remember. That brings me to our final consideration.

It is not a sin to write a password down

That’s right! Nothing wrong with it.  I mean do we really expect you to remember that database password you will only type once a year?  Of course not!  There is nothing wrong with writing them down, as long as they are stored in a protected place.  This protected place is not under your keyboard, or in you desk drawer, or in that file cabinet you share with five people.  This place is a secure location that you can verify who has access and if someone has read those password.  This could be a electronic wallet on your PC (that uses biometrics or other security access) or it could even be in a sealed envelope in a safe or vault.  In fact, this was a common practice I would do with the network administrator passwords, in case I ever got “run over by that train” those that came behind me wouldn’t be out of luck.

 

I know that coming up with new passwords are about as fun as brushing your dog’s teeth.  It is a must do these days, and hey you’ll impress the next person that watches you log in at work.

 

Dave