Archive for the 'Security' Category

Phishing Scam strikes the Arizona State Credit Union

Today I received an email from Arizona State Credit Union. It appears my account had been locked thanks to some pesky hackers from Europe. Wait a minute … I don’t even have an account with AZSTCU!

I get these phishing scams in my email every day. Phishers try to get your account data: username/password, Social Security number, birthday, account number and so on. They usually present you with a form to fill out that looks like it is from a trusted entity, in this case your bank. When they get this information they can either act on it, or sell it on the information black market. In this case the information targeted is your AZSTCU username and password.

This one is interesting because it is geographically targeted. The attacker is looking for customers of an Arizona Credit Union instead of a national or worldwide organization. He/she could have linked my web page to Arizona and harvested my email there. Here is the text of the email:

Continue reading ‘Phishing Scam strikes the Arizona State Credit Union’

State of the hack

Cross site scripting has become the single most popular hack, beating even the ever popular buffer overflow. I’m reposting the MITRE report here, in a slightly modified format, for my own purposes.

Rank

Flaw

TOTAL

2001

2002

2003

2004

2005

2006

Total

 

16192

1434

2138

1173

2534

4538

4375

[ 1]

XSS

13.9%

02.2% (11)

08.7% ( 2)

07.5% ( 2)

10.9% ( 2)

16.0% ( 1)

21.5% ( 1)

[ 2]

buf

13.3%

19.5% ( 1)

20.3% ( 1)

22.5% ( 1)

15.4% ( 1)

09.8% ( 3)

07.9% ( 4)

[ 3]

sql-inject

08.7%

00.4% (28)

01.8% (12)

03.0% ( 4)

05.5% ( 3)

12.9% ( 2)

14.0% ( 2)

[ 4]

dot

04.7%

08.9% ( 2)

05.1% ( 3)

02.9% ( 5)

04.1% ( 4)

04.3% ( 4)

04.4% ( 5)

[ 5]

php-include

03.5%

00.1% (32)

00.3% (30)

00.8% (16)

01.4% (10)

02.1% ( 6)

09.5% ( 3)

[ 6]

infoleak

03.3%

02.6% ( 9)

04.2% ( 5)

02.6% ( 7)

03.7% ( 5)

03.9% ( 5)

02.6% ( 6)

[ 7]

dos-malform

02.9%

04.8% ( 3)

05.1% ( 4)

02.5% ( 8)

03.4% ( 6)

01.8% ( 8)

02.0% ( 7)

[ 8]

link

02.0%

04.5% ( 4)

02.1% ( 9)

03.5% ( 3)

02.8% ( 7)

01.9% ( 7)

00.5% (16)

[ 9]

format-string

01.8%

03.2% ( 7)

01.8% (10)

02.7% ( 6)

02.4% ( 8)

01.7% ( 9)

01.0% (10)

[10]

crypt

01.6%

03.8% ( 5)

02.7% ( 6)

01.5% ( 9)

00.9% (16)

01.5% (10)

00.9% (13)

[11]

priv

01.4%

02.5% (10)

02.2% ( 8)

01.0% (12)

01.3% (11)

01.5% (11)

00.9% (12)

[12]

metachar

01.3%

03.8% ( 6)

02.6% ( 7)

00.7% (17)

01.0% (14)

01.3% (12)

00.3% (21)

[13]

perm

01.3%

02.7% ( 8)

01.8% (11)

01.3% (11)

00.9% (15)

01.1% (13)

01.1% ( 9)

[14]

int-overflow

01.0%

00.1% (30)

00.4% (26)

01.4% (10)

01.9% ( 9)

00.8% (14)

01.2% ( 8)

[15]

dos-flood

00.8%

02.0% (12)

01.7% (13)

00.5% (19)

01.2% (12)

00.2% (27)

00.4% (17)

[16]

pass

00.8%

01.1% (17)

01.3% (15)

00.2% (26)

01.1% (13)

00.8% (15)

00.4% (18)

[17]

auth

00.8%

01.5% (13)

01.3% (14)

00.5% (20)

00.7% (17)

00.5% (19)

00.7% (14)

[18]

webroot

00.5%

00.1% (29)

00.2% (31)

00.3% (25)

00.2% (29)

00.7% (16)

00.9% (11)

[19]

form-field

00.5%

00.7% (23)

00.8% (17)

00.5% (21)

00.2% (25)

00.4% (20)

00.5% (15)

[20]

relpath

00.4%

00.8% (22)

00.3% (29)

00.9% (14)

00.6% (18)

00.3% (23)

00.3% (20)

[21]

race

00.4%

00.5% (26)

00.4% (22)

00.6% (18)

00.4% (21)

00.6% (17)

00.3% (24)

[22]

memleak

00.4%

01.1% (18)

00.2% (32)

00.4% (22)

00.5% (19)

00.3% (22)

00.2% (26)

[23]

msdos-device

00.4%

01.0% (20)

00.6% (19)

00.9% (13)

00.2% (24)

00.2% (28)

00.0% (34)

[24]

crlf

00.3%

00.2% (33)

00.1% (31)

00.5% (20)

00.4% (21)

00.3% (19)

[25]

default

00.3%

01.1% (16)

00.7% (18)

00.1% (32)

00.2% (26)

00.1% (33)

00.1% (29)

[26]

spoof

00.3%

01.0% (19)

00.3% (28)

00.1% (29)

00.1% (33)

00.2% (25)

00.3% (25)

[27]

sandbox

00.3%

01.2% (15)

01.0% (16)

00.2% (31)

00.0% (34)

[28]

rand

00.3%

01.2% (14)

00.6% (20)

00.3% (24)

00.2% (32)

00.0% (35)

00.2% (27)

[29]

upload

00.3%

00.0% (36)

00.1% (30)

00.2% (27)

00.5% (18)

00.3% (22)

[30]

signedness

00.2%

00.1% (31)

00.4% (23)

00.8% (15)

00.2% (22)

00.3% (24)

00.0% (32)

[31]

dos-release

00.2%

00.9% (21)

00.5% (21)

00.2% (27)

00.2% (28)

[32]

CF

00.2%

00.7% (24)

00.3% (27)

00.2% (28)

00.1% (31)

00.1% (28)

[33]

eval-inject

00.2%

00.0% (35)

00.2% (26)

00.3% (23)

[34]

design

00.1%

00.6% (25)

00.4% (24)

00.1% (33)

00.0% (34)

00.1% (32)

00.0% (31)

[35]

double-free

00.1%

00.1% (35)

00.3% (23)

00.2% (23)

00.1% (30)

00.1% (30)

[36]

CSRF

00.1%

00.0% (37)

00.2% (30)

00.2% (29)

00.0% (33)

[37]

type-check

00.1%

00.4% (27)

00.4% (25)

00.0% (36)

00.0% (35)

[38]

none

00.0%

00.1% (34)

UNKNOWN/UNSPECIFIED ITEMS

 

unk

09.0%

07.9%

07.1%

07.0%

08.2%

08.9%

11.5%

 

other

15.2%

16.7%

19.0%

11.8%

17.2%

13.1%

14.9%

 

not-specified

06.9%

00.1%

03.0%

20.5%

11.3%

11.3%

00.3%

Continue reading for definitions:
Continue reading ‘State of the hack’

Diebold voting machines: Unfit for Duty

Princeton University conducted an independant study of the Diebold AccuVote-TS voting machines:

Check out the Princeton report here.

Princeton scientists demonstrate the flaw on this video.

Watch this Fox news report here.


PBS report on the voting machines.

Update Flash now! Do it.

Multiple vulnerabilities have been found in Flash media player, software that is almost universally installed across the Internet. These vulnerabilities can allow a hacker to take over your computer. Download the update here:

Adobe Flash Download

If you are wondering what version you currently have installed check this page.

Vulnerability found in Mini Espresso Gadget

MMMmmm.

Recently my business partner gave me one of these marvelous machines from across the ocean. A gift from Italy.

The problem I usually encounter with these mini espresso makers is that they are all designed for electric stoves. The base is so small it will drop through the grate of my gas stove. This one fits, barely. It’s steady enough, but it’s in a precarious position. When you remove one cup the unit becomes further unbalanced. Combine that with the brass hooks that are just waiting to catch the cup as you remove it and you have a recipe for DISASTER:

AAAaaargh.

Minimal Security Standards for the Small Business

Computer Security. Who cares? You didn’t build your business in order to spend all your time defending your network from bad guys, you want to concentrate on your core competencies. Besides who is interested in hacking my network anyway?

Lot’s of people. The barbarians are at the gates:

Spam Gangs
Spam gangs are groups of people who make money by sending out massive quantities of SPAM. Many of them operate out of Russia and Asia. Since the IP Address they send the spam from will eventually get blacklisted, they constantly need to switch to a new address. Your computer has one. Your computer also has bandwidth, in the form of your connection to the internet. It is very cost effective for the spam gangs to hack your computer, use it to send out mass amounts of spam email and let you deal with the aftermath, such as being blacklisted.


Russian Organized Crime

Hacking and identity theft has become big business in Russia. Your accounting data is a prime target. Your computer, IP address and your bandwidth are also valuable in launching attacks against other targets. The financial damage to you and your customers could sink most small organizations. Add in legal liability and damage to your reputation.

Worms, Virii and Spyware
Malicous programs programs, test your security every second of the day. If you have a weak link in your security, you will be compromised. If you use a computer, I’m sure you’ve encountered one of these pests. To call them a pest however is to underestimate them. The noisy ones, the ones that attract attention, pop up windows, slow down your PC, delete files and so forth, these are not the dangerous ones. The ones that give remote control to an attacker, the ones that search your computer for credit card or social security numbers, these are the truly damaging specimens. You won’t even notice they are there.

Alright. As the owner of a small business what do I do?

Start by recognizing that information security is a process. You need to treat it like your other ongoing business processes such as sales, accounting and marketing. Start by creating a policy. I’m going to give you a basic sample:

  1. All network access will be regulated by a firewall.
  2. All workstations will have antivirus, antispyware and firewall software installed and configured.
  3. All accounts and logins will have a decent password.
  4. Any wireless connections will be encrypted.
  5. All computers will be kept up to date, with patches and security fixes.
  6. Important data is backed up to a secure location.

Sure it’s incomplete, but if you enforce this simple policy then you are no longer a soft target. Remember that security is a process, so each policy item must be audited on a regular basis:

  1. The firewall rules should be tested for effectiveness, and should be monitored for signs of an active determined attack.
  2. The configuration and status of antivirus, antispyware and firewall software needs to be checked.
  3. Passwords should be run against a password cracker, to reveal weak passwords.
  4. Wireless connections should be audited.
  5. Patch status and workstation configuration should be audited. You can use the Microsoft Baseline Security Analyzer to make this task considerably easier.
  6. Test your backup!
    1. Start with the policy, enforce it, audit on a regular basis. That’s the process. Rinse and repeat.

Securing Windows XP - Part 1: Antivirus w/ Free Software

I use a simple recipe to keep virus free

  1. Clamwin
  2. Firefox:
  3. Clamwin Glue for Firefox
  4. Common Sense

Clamwin is a free anti-virus scanner, with high detection rates. The only thing that keeps it off the desktop of many users is that it’s missing what many consider to be a critical feature; real time scanning. Most modern anti-virus programs remain in memory, and check every file when it is opened, moved or created. This is a very thorough way to check for virii but it is very taxing on the performance of your system. Since I need those computational cycles for other tasks I usually disable or limit real time scanning to newly created files.

It is perfectly safe not to use real time scanning, but you need to understand how a virus comes to infect your computer in the first place. A virus sneaks inside your computer on a file that you introduce by one of the following means:

  1. You download it
  2. You get it in an email
  3. You bring it on removable media, like a floppy disc, CD, or a usb thumb drive

So all you really need to do, in order to keep your computer clean and virus free, is to scan all the files at these entry points before you use them. That’s where common sense comes in.

Luckily there are tools to make this a bit easier. Clamwin Glue for Firefox scans anything you download using Firefox. Clamwin also has a plugin for Microsoft Outlook. This covers the most common points of entry automatically. Add a nightly scan of your entire system, and you’ve got a free anti-virus solution that doesn’t constantly burn CPU cycles.

Diebold voting machines weaken Democracy

The latest Diebold debacle makes one think. If a county clerk is fired for attempting to assess the security of these voting machines, and the public is not allowed access to the source code then our Democracy has taken a fundamental shift. Our current sytem is open and verifiable. The system provided by Diebold is not! Don’t get me wrong, I’m not against computer based voting. In fact I think it is a good idea. However I think that a voting system needs the following to be compatable with American Democracy:

1.) Open Source

The American public has a right to know exactly how each vote is tallied. This means that the source code and design of any voting machine needs to be made available for public review.

2.) Immutable

A hard drive or flash card is not an acceptable media for storing votes. Each vote should be recorded on at least two permanent media sources. This redundancy is necessary to protect against equipment failure. For example the vote may be both printed out and written to a cdrom.

3.) Verifiable

Furthermore each vote should have a cryptographic checksum, which the voter receives as a receipt. The checksum will not show the actual contents of the vote, just that the vote was counted and is unaltered. The voter should be able to verify his vote online, and also could submit his receipt to his party or an independant observer.

For more information on the Diebold voting fiasco:
SecurityFocus
BradBlog
Wired
Click here to support whistelblower Bruce Funk.

Use Microsoft Word, get hacked.

As reported on Slashdot and eWEEK, a critical bug in Microsoft Word can allow an attacker to gain complete control of your computer. This exploit seems to be targeted towards espionage, but could be altered to do most anything. Don’t open any Word attachments that you are not expecting!

Storing your passwords securely

For the past couple of years I’ve been using Password Safe, a tool originally written by Bruce Schneier. I’ve stuck with it mainly because I appreciate being able to run it from a usb keychain. It’s a simple .exe and works very well. However it only runs on Windows, a drawback to an iBook owner.

Enter Keepass. It has all the features I like about Password Safe. It’s a small executable, with no install necessary to run it. It’s got a multitude of features and includes a really nice password generator.

Password Safe is vulnerable to keylogger attacks. What isn’t? Keepass gives you a couple of options to help prevent snooping. It allows you to place a key on a disc, to further secure your database. You need to insert the disc, to access your db. Combined with a strong password this is good security. There is also an on-screen keyboard plugin, for the real paranoid.

Keepass:
http://keepass.sourceforge.net/index.php
Password Safe:
http://www.schneier.com/passsafe.html