Wednesday, January 28, 2009

The BIOS Chip and BIOS Recovery

The BIOS Chip and BIOS Recovery
Before 1990 or so BIOSes were held on ROM chips that could not be altered. As its complexity and need for updates grew, BIOS firmware was subsequently stored on EEPROM or flash memory devices. The first flash chips attached to the ISA bus. Starting in 1998, the BIOS flash moved to the LPC bus, a functional replacement for ISA, following a new standard implementation known as "firmware hub" (FWH). In 2006, the first systems supporting a Serial Peripheral Interface (SPI) appeared, and the BIOS flash moved again.
EEPROM chips are advantageous because they can easily be updated by the user; hardware manufacturers frequently issue BIOS updates to upgrade their products, improve compatibility and remove bugs. However, the risk is that an improperly executed or aborted BIOS update can render the computer or device unusable. To recover from BIOS corruption, some new motherboards have a backup BIOS (i.e. they are referred to as "Dual BIOS" boards, Gigabyte even offers a motherboard with quad BIOS). Also, most BIOSes have a "boot block" which is a portion of the ROM that runs first and is not updateable. This code will verify that the rest of the BIOS is intact (via checksum, hash, etc.) before transferring control to it. If the boot block detects that the main BIOS is corrupted, then it will typically initiate a recovery process, by booting to a removable device (floppy, CD or USB memory) so that the user can try flashing again.
Due to the limitation on the number of times that flash memory can be flashed, a flash-based BIOS is vulnerable to "flash-burn" viruses that repeatedly write to the flash, permanently corrupting the chip. Such attacks can be prevented by some form of write-protection, the ultimate protection being the replacement of the flash memory with a true ROM.

Sunday, January 25, 2009

Remove Windows XP's Messenger

How to Remove Windows XP's Messenger
open the Add and Remove Programs applet in the Control Panel. Click the Add / Remove Windows Components icon. You should see "Windows Messenger" in that list. Remove the checkmark from its box, and you should be set.

ANTIVIRUS PROGRAMS

Which anti-virus program is the best?

A number of computer magazines perform regular anti-virus roundups and note the best performers. But over the long haul, which anti-virus program is the best one for you?


Each year, one of the magazines I write for regularly, Australian PC User, does an in-depth assessment of the main anti-virus programs available, and gives the nod to the anti-virus program which does the best job. The most recent winner of the PC User anti-virus gong was Eset's NOD32. In fact, NOD32 has claimed the top spot in the last four PC User anti-virus shootouts. It's priced competitively and runs at lightning speed.

What more could you want?

Well, some people do want more. For instance:

  • Those on a strict budget want to know whether they can use free anti-virus software and still get decent protection.
  • Those who have used one anti-virus product for years want to know whether they should stick with it or give it the heave ho.
  • Those battling spyware and spam want a product that can defend them on all fronts.
  • Those whose systems came with anti-virus Product X already installed want to know it it's good enough to do the job.
  • Some people want a program that not only offers good protection but which also provides a little handholding.

NOD32 is a great choice for many users, but it's not everyone's cup of tea.

The problem with anti-virus tests

One of the problems with anti-virus tests is that they focus almost exclusively on accuracy and scanning performance. But what about usability? What about the way the program interacts with your operating system and other applications over time? What about a friendly interface, understandable error messages, unobtrusive virus handling, configurability? How about aesthetics?

Those may seem like trivial issues in comparison to effectiveness and accuracy, but in many ways issues such as aesthetics have an influence on the effectiveness of any program. If you hate the way an anti-virus program looks, works and alerts you to problems, chances are you'll either stop using the program or limit how often or how closely it monitors your computer. It will no longer be as effective.

That's not to say NOD32 is defective in these areas, but it's certainly a utilitarian product, designed to do a single job very well without coddling the user. For experienced computer users, it's the perfect choice.

If you don't think of yourself as an experienced user, or if you're recommending anti-virus software to someone who lacks computer nous, there are alternative choices well worth considering. After all, 17 products in PC User's September 2004 wrap-up received the independent Virus Bulletin's top-rank VB100% Award; three products in addition to NOD32 scored perfectly in every single test. In a usability shootout, some of those other programs would trounce NOD32.

So let's take a look at some of the alternatives.

Freebies

Traditional advice about free anti-virus software is that it's okay as an emergency interim measure and better than no protection if you really cannot afford to buy a "real" anti-virus product, but not all that reliable in the long term. That judgment was based on the limitations imposed on free versions and their track record in anti-virus tests over the years.

It's probably time to revise that assessment. Take, for example, AVG from Grisoft, one of the best-known free anti-virus programs. In the past, it only rarely earned the VB 100% Award; in the last two years, it has earned the award six times on multiple platforms. That's a good recommendation. In addition, if you look at the limitations placed on the free version, you'll find very few of them are likely to have a major impact on the program's effectiveness, unless you work in a large networking environment. You can only schedule a single scan per day (but you can run any number of scans manually); you can only schedule one update per day (but once again you can update manually at any time); it can't be installed on server operating systems; there's no technical support; and several advanced testing options are not available. For the average home user, those limitations are immaterial and AVG makes a good choice. Even better, because it's free you can try it out and see whether you like how it works.

AVG is not the only free program out there. A Google search for "free anti-virus" will turn up a number of other products, including AntiVir Personal Edition, which runs on Linux, Solaris and a number of other operating systems in addition to Windows; avast! 4 Home Edition, which missed out on a VB 100% Award running on Windows XP, but has a fairly good track record overall; and BitDefender Free Edition v7, probably the only anti-virus program with a skinnable interface.

Combos

Viruses are only one of the threats you face as a computer user. Spyware, phishing scams, intruders, spam…the list is long and gruesome. In fact, for most people these days spyware is a far greater danger than viruses. So products which combine multiple lines of defense – firewall, anti-spyware, spam blocker, anti-virus, and so on – are particularly attractive. Instead of having to pay for the individual components, you can get a bargain by opting for a security suite.

The leading suites are McAfee Internet Security Suite, Norton Internet Security, PC-cillin Internet Security and ZoneAlarm Security Suite. Each includes an anti-virus module, a firewall and a content filter. Some add a spam filter and a spyware remover. Each of the anti-virus modules, in their standalone form, scored a VB 100% Award in the latest testing.

Despite the financial benefits and ease of installing a single security suite, there are some drawbacks to these combination programs. Firstly, the interface can get a little cluttered and the array of options somewhat dazzling. PC-cillin provides an exceptional interface and Norton is pretty good, too; McAfee falls down in this regard.

Secondly, individual components in a suite are not necessarily of the highest calibre. For example, even if you choose a suite with an anti-spyware tool, you'll probably need to install additional spyware removers to ensure good protection.

Finally, the all-in-one approach of the suites can lead to some pretty hefty code bloat. Norton Internet Security, for example, is just too heavy for its own good. It bogs down your system, causing slow boot up, slow application load times and a general decline in performance. You'll frequently find Norton scores very well in tests in computer publications, but user ratings (including my own assessment) fall far short of those scores. That's because its performance deficiencies show up over time and are exacerbated on a well-used machine. McAfee, too, suffers similar performance problems.

If you want to use a suite, try the 2005 version of PC-cillin Internet Security. It provides excellent anti-virus protection, a spyware scanner, spam blocker, and a content blocker. Its firewall is so-so and you may want to adjust the frequency of its pop-up alerts, but it won't hurt your computer's performance and it's a pleasure to use. It's also available in an economical 3-pack – great for homes with several computers.

Online scanners

If you're in the unfortunate position of having no anti-virus software installed and you think your system may be infected, you can always try one of the free online scanners. These Web-based programs are stop-gap measures only, but useful in times of emergency. They can also provide a useful test of your existing anti-virus defences: run your computer through a battery of online scanners and you may be surprised to find viruses lurking on your seemingly well-defended machine.

Trend Micro's Housecall provides free online virus and spyware scanning. (Click the image to see a full-size screenshot.)

There are almost a dozen online scanners available. Note that some of these programs do nothing more than scan your computer for viruses; they won't remove them if they find them. Some do a full job of scanning and disinfecting, while some even add spyware scanning and removal to their tests. You'll need to use Internet Explorer to access most of these online scanners, because they run ActiveX scripts to perform their task, so if you're a Firefox or Mozilla user, be ready to load up IE for a change.

Four of the best online scanners are BitDefender Online, Panda ActiveScan, RAV AntiVirus Online Virus Scan and Trend House call.

Conclusion

There's plenty of choice when it comes to choosing effective anti-virus software. You probably won't go wrong if you choose any of the 17 programs listed below in the Award Winners box: each scored a perfect 100% on Virus Bulletin's recent tests. Most of these programs provide a trial version you can download and take for a spin, but note that some anti-virus programs are notoriously difficult to uninstall (Norton is one such), so make sure you set a System Restore point before installing.

Whichever program you choose, make sure you keep it up to date. New threats emerge on an almost daily basis, so even the best anti-virus program is only as good as its last update.

Award winners

Each of these programs qualified as a VB 100% Award winner in recent tests:


Authentium COMMAND Antivirus

Computer Associates eTrust Antivirus 7.1

Computer Associates Vet Anti-Virus

Cat Quick Heal X-Gen

* Eset NOD32 Antivirus System

FRISK F-Prot Antivirus

F-Secure Anti-Virus

* G DATA AntiVirustKit

Grisoft AVG Anti-Virus Professional

H+BEDV AntiVir

* Kaspersky Anti-Virus

McAfee VirusScan

Norman Virus Control

* Norton AntiVirus

Sophos Anti-Virus

Trend Micro PC-cillin

VirusBuster

Web passwords

How to make "Web passwords" made easy

Learn how to create secure passwords for all your online activities – without making your brain hurt.


A while back I visited my brother. He's always happy to talk tech with me and on this occasion he was delighted to show me his latest handheld computing toy. He presented it to me with obvious relish and watched as I started it up. It opened to a password screen. Within one second – on my first attempt, mind you – I cracked his password and was into the device.

"How'd you do that?" asked my clearly disconcerted brother.

"I chose the most obvious password you would choose...and it worked."

As far as I know, my brother no longer uses his daughter's name as a password. I hope you don't, either.

Open sesame

So, how crackable are your passwords? As easy as my brother's? Or do you cunningly resort to using your daughter's – or mother's, sister's, brother's, father's, partner's, pet's, favourite sports star's – name reversed or with a number on the end? That's not so cunning, I'm afraid. Anyone who knows you is already halfway to cracking your password. Anyone who has a password cracking tool – easily locatable on the Internet – won't have any problems getting into your system.

Brute-force password cracking programs, which are used both by crackers and by system administrators wishing to test the strength of employees' passwords, can crack most passwords within a couple of days.

Take, for example, the experience of one large technology company which used @Stake's LC3 password auditing tool to test its password security. Within 10 minutes, 18 percent of the company's passwords had been cracked. Within 48 hours, that figure rose to 90 percent. And this was at a company where employees were required to choose passwords of nine characters or more containing mixed case and including numbers or symbols.

How do you think your password would fare?

The password dilemma

The trouble with passwords is they need to be cryptic enough they're not easily cracked and yet memorable enough our poor human brains can keep them stored safely.

In companies where users are required to change their passwords on a regular basis, most users resort to one of two tactics. The first is to write the password down and keep it somewhere handy but out of sight. The second is to rotate the same few passwords month after month. Both methods are highly insecure.

Unfortunately, with the growth of the Internet, password protection has become an increasingly big issue. Having your computer online makes it more accessible to intruders. At the same time, you probably find yourself having to come up with more and more passwords: One for your PC; one for your Internet Service Provider; one for logging in to your work computer remotely; one for your favorite instant messaging program; one for each shopping site you visit; one for each online banking service you use; one for your brokerage account; innumerable ones for Web sites which require password access. It's not uncommon for computer users to have several dozen logins or passwords.

That makes trying to find a solution which recognizes both human limits and security needs no easy task.

Good passwords

So what constitutes a good password? Here are some tests you should apply to all your passwords:

  • It should be memorable. If you have to write it down, it's of no use.
  • It shouldn't be easily guessable.
  • It should be at least six characters long. Shorter passwords are far more easily cracked. Some sites limit passwords to four characters. That's okay if the site's purpose is trivial, but be wary of storing any sensitive information on such a site.
  • It should contain a combination of uppercase and lowercase letters, numbers and punctuation marks.
  • It should be unique. Don't use the same password for multiple purposes. In particular, don't mix work and pleasure passwords.

A practical solution

If you read through that list of good password requirements and think "My brain hurts", never fear. There's a way to meet all those requirements without taxing your synapses too much.

How? By using a password creation technique recommended by the US government's National Infrastructure Protection Center. It's easy to do:

  1. Choose a phrase you will remember.
  2. Choose a date you will remember.
  3. Interlace the date with the first letters in the phrase.

For instance, if your phrase is I wanna be your lover, baby and your date is 25/1/60, interlacing the date and first part of the phrase will give you:

I2w5a1n6n0

Add another level of security by including punctuation. For instance, we could grab the item of punctuation from the selected phrase and place it at the end of the password:

I2w5a1n6n0,

To ratchet up the security another notch, modify the password for each site or service you use by adding a distinguishing letter or number for that site. For instance, you might choose to include the third letter – capitalised – of a site's domain name in the password, and make that letter the third last character in the password.

For example, if your password is I2w5a1n6n0, and you want to modify it for use at Hotmail and for your Internet Service Provider, Bigpond, you'd end up with the following two passwords:

Hotmail: I2w5a1n6nT0,

Bigpond: I2w5a1n6nG0,

Even though the password itself isn't easy to remember, it's very easily reconstructed. That's the beauty of this method, and you can apply it to all your passwords: Internet passwords, computer log-ons, encryption passwords.

Just remember: Never reveal your phrase and date choice to anyone else.

Change is good

To take your password security one final step, change your password regularly.

How often is 'regularly'? Most good passwords of this size can probably be cracked within a couple of months, given enough computing power. So you should change your password before those two months expire. Do so more frequently if you feel particularly vulnerable, and do so immediately if you do anything to compromise your chosen phrase and date.

To change it, simply come up with a new memorable phrase and date combo.

Password no-nos

When choosing a password, never:

  • Use a word found in a dictionary (even a foreign language or technical dictionary).
  • Use a dictionary word followed by two numbers.
  • Use a word which contains any sequence of four or more letters which can be found in a dictionary.
  • Use any dictionary word or sequence reversed.
  • Use the names of people (family members, friends, celebrities, and so on), places, pets.
  • Write it down and store it near your computer.
  • Share it with anyone else.
  • Use the same password for more than one account.
  • Use the same password for an extended period of time.
  • Use the default password provided by a site or computer manufacturer.