News Blog

News Blog


Cyber security alert: Top 25 software writing blunders

A new report warns that your computer software is probably less secure than you think. The SysAdmin, Audit, Network, Security (SANS Institute), a cooperative research and education organization in Bethesda, Md., that also provides computer security training, Monday released a reporting outlining the top 25 most dangerous errors that programmers make that may lead to security breaches and open the door to cyber crime and espionage.

Nonprogrammers probably won't glean much from the list, given that the errors listed have techy titles such as, "Improper Input Validation" and "Cleartext Transmission of Sensitive Information." Regardless of whether you understand what they mean, these problems affect much of the software that you use and potentially expose sensitive personal information to hackers.

Consider this scenario: you're buying a book online, but the Web site you're using was written with software containing some of these "top 25" errors. In laymen's terms, improper input validation means that a hacker can enter garbage data (random letters, numbers and symbols) into the fields on the Web site's "payment" page, causing that page to malfunction, possibly allowing hackers to access the credit card numbers (along with expiration dates) of the site's customers. The software code doesn't include instructions to check (or validate) whether data entered into a given field is realistic (for example, a 20-digit credit card number should be rejected right away). If the site transfers and stores data in "cleartext" (read: unencrypted), it commits another error on the list and makes the hacker's job even easier.

A handful of these programming mistakes led to more than 1.5 million Web site security breaches last year alone, according to SANS. The report notes that compromised computers were used to attack other poorly secured computers, creating a cascading effect that allowed untold numbers of PCs to be hacked.

Hacking causes businesses, government agencies and people in general major headaches on a daily basis. In 2001, British citizen Gary McKinnon allegedly hacked into NASA's computers, stole 950 passwords and deleted files at a naval base in New Jersey (responsible for replenishing munitions and supplies for the Atlantic fleet), costing the U.S. government $700,000, according to PC World. (It would have been much worse of McKinnon had planted viruses in these computers.) The U.S. is still fighting to have McKinnon—who claims he was searching for info to prove the U.S. government has knowledge of UFOs—extradited from the U.K.

Software writing has always been something of a black art, given the number of computer programming languages out there and the general lack of guidelines or architecture that programmers are required to follow, IBM fellow and self-proclaimed "software archaeologist" Grady Booch told Scientific American.com in June. Programmers are taught to get their creations to work, no matter what it takes. As a result, there is very little consistency from one program to the next.

Another problem: software writers in the 1980s and 1990s pushed to create more dynamic software that would attract new customers without much regard to security. Microsoft is a prime example of this and has spent the past decade shoring up its Windows operating system and other software that have become popular hacker targets. The emergence of the Web, and, with it, computers connecting into an unsecured public network exacerbated the problem by giving hackers remote access to their targets (they no longer had to sit in front of a computer in order to break into it).

The first step toward solving the problem, SANS director Mason Brown said in a statement, is "to make sure every programmer knows how to write code that is free of the Top 25 errors, and then we need to make sure every programming team has processes in place to find, fix, or avoid these problems."

Security experts acknowledge that improved software isn't going to prevent all cyber attackers but they say this is a good start. "The real dedicated serial attacker will probably find a way in even if all these errors were removed," Patrick Lincoln, director of the Computer Science Laboratory at SRI International, told the BBC. "But a high school hacker with malicious intent—ankle-biters if you will—would be deterred from breaking in."

Image: © iStockphoto.com; Sami Suni

Tags: SANS, Microsoft, software, hacker
More News Blog: Next: Feds fail to use effective drug treatment plans in prison Previous: No way, dude: DEA just says "no" to scientist's pot request

3 Comments

Add Comment
View
  1. 1. teuth-seker 07:13 PM 1/14/09

    Does the ordinary person care, I think not, especially if they are using a Mac with os 10.5.6... I have been very lucky have had a mac system for more than twenty years and never had any problem..

    Reply | Report Abuse | Link to this
  2. 2. ender3711 in reply to teuth-seker 10:22 PM 1/14/09

    Is Scientific American for the 'ordinary person'? I think not.

    Reply | Report Abuse | Link to this
  3. 3. mlangdon 09:06 AM 1/24/09

    This is the problem with commercial software. Its creation is an opaque process. This is the same problem with MS and its Certification Exams. The software doesn't usually work the way it is portrayed with the exams.

    Reply | Report Abuse | Link to this
Leave this field empty

Add a Comment

You must sign in or register as a ScientificAmerican.com member to submit a comment.
Click one of the buttons below to register using an existing Social Account.

More from Scientific American

See what we're tweeting about

Scientific American Editors

More »

Free Newsletters


Get the best from Scientific American in your inbox

Solve Innovation Challenges

Powered By: Innocentive

  SA Digital
  SA Digital

Science Jobs of the Week

Email this Article

Cyber security alert: Top 25 software writing blunders: Scientific American Blog

X
Scientific American Magazine

Subscribe Today

Save 66% off the cover price and get a free gift!

Learn More >>

X

Please Log In

Forgot: Password

X

Account Linking

Welcome, . Do you have an existing ScientificAmerican.com account?

Yes, please link my existing account with for quick, secure access.



Forgot Password?

No, I would like to create a new account with my profile information.

Create Account
X

Report Abuse

Are you sure?

X

Institutional Access

It has been identified that the institution you are trying to access this article from has institutional site license access to Scientific American on nature.com. To access this article in its entirety through site license access, click below.

Site license access
X

Error

X

Share this Article

X

About the Bering in Mind Blog

In this column presented by Scientific American Mind magazine, research psychologist Jesse Bering of Queen's University Belfast ponders some of the more obscure aspects of everyday human behavior. Ever wonder why yawning is contagious, why we point with our index fingers instead of our thumbs or whether being breastfed as an infant influences your sexual preferences as an adult? Get a closer look at the latest data as "Bering in Mind" tackles these and other quirky questions about human nature. Sign up for the RSS feed or friend Dr. Bering on Facebook and never miss an installment again.

X

About the Cross-check Blog

Every week, John Horgan takes a puckish, provocative look at breaking science. A former staff writer at Scientific American, he is the author of several books—most notably, The End of Science: Facing the Limits of Knowledge in the Twilight of the Scientific Age. He currently directs the Center for Science Writings at Stevens Institute of Technology. He lives in New York State's Hudson Highlands, where he plays ice hockey each winter to hone his cross-checking skills.

X

Expeditions Blog

Ever wonder what it's really like to be working in Antarctica or collecting core samples from the middle of the Pacific Ocean? Get a first-hand feel for scientific exploration by following the blog posts of researchers out in the field.

X

About the Extinction Countdown Blog

Several times a week, John Platt shines a light on endangered species from all over the globe, exploring not just why they are dying out but also what's being done to rescue them from oblivion. From unusual or little-known organisms like the giant spitting earthworm and the stinking hawk's-beard to popular favorites like cheetahs and koalas, Platt, a journalist specializing in environmental issues and technology, does his part to slow the countdown.

X

About the Guest Blog

The editors of Scientific American regularly encounter perspectives on science and technology that we believe our readers would find thought-provoking, fascinating, debatable and challenging. The guest blog is a forum for such opinions. The views expressed belong to the author and are not necessarily shared by Scientific American.

X

About the Solar at Home Blog

Follow Scientific American editor George Musser as he installs--or tries to install--solar photovoltaic panels on the roof of his suburban New Jersey home. You'll learn the literal nuts and bolts of going green with the sun and get energy-saving tips even if you aren't putting up panels.

Write to us with tips or comments at blog@sciam.com and follow us on Twitter: http://twitter.com/sciam.

X