Management Matters Management MattersManagement Matters
Practical advice for federal leaders on managing people, processes and projects.

Dangerous Digits

Security used to be pretty straightforward stuff: Apply the patches that software makers and security firms issued every week, and you could rest assured that you were 95 percent protected from hackers or viruses.

Now the threats are a lot more serious and a lot more difficult to fight.

Among the most serious information security threats are failing to consistently apply patches to systems and spear phishing attacks, in which a hacker sends an e-mail to a federal employee asking for personal, sensitive network information such as a user name and password.

A third type of threat is on the rise and now accounts for about a third of all successful cyberattacks on networks in the private and public sectors. It's called "invalidated inputs" or "input checking." To launch an invalidated input attack, a hacker types incorrect information into a text field on a government Web site. For example, to obtain a form, an agency might ask a user to type his or her age into a field appearing on the Web site. The application is expecting, in all likelihood, a double-digit number, say, 48.

But a hacker purposely types in more than two numbers, most likely a lot more numbers, and hides malicious code within that string of numbers. That code latches onto the software code that manages the release of information to users. The evil code could trick the government network into returning confidential information, including employees' financial records, Social Security numbers, health information or classified data.

It gets even more complicated on sites where people can type comments into a boxed text field. Any person can submit an answer that includes malicious code that could invade the system.

The government does not track -- at least in a public way -- the number of input-checking attacks that agencies have encountered. The threat is a big one, however. A 2006 study of 31,000 public and private sector sites by the Web Application Security Consortium, an international group of experts who develop security standards, found that 80 percent had been attacked by fake codes sent in by hackers.

Chances are your agency already has been hit by such an attack. If not, it's only a matter of time before it happens. The problem, security experts say, is most government and commercial codes are not as rigorous as they should be to prevent the false code from gaining entry. "Input validation flaws are built into the software," says Karen Scarfone, a computer scientist at the National Institute of Standards and Technology. "In general, it is because software isn't written as securely as it should be."

One rule of thumb for IT security managers is to ensure that each field in a Web application accepts only those characters that would be expected for a particular request. For example, in a ZIP code field, the application should allow only the user to key in five numbers -- no more, no less. Responses for names and addresses could be limited to a certain length. Information security managers also could require that any input be run against a library of known answers, such as a database of ZIP codes and addresses, to confirm that the information is valid before accepting it into a system.

There is no magic bullet that will completely stop input checking, but security experts recommend that agency IT shops regularly scan applications for false messages. "This happens every day," says Bill Geimer, a program manager at the U.S. Agency for International Development. "Just check your inputs -- you will get a lot of your vulnerabilities fixed."

Computer experts say systems should be scanned every time something new is added to the server, such as a press release, an alert about a new program, an updated roster of executives or any new software installed from an outside vendor or built by the IT staff. Agencies should scan their sites once a month to spot fake code.

Some commercial off-the-shelf products can help find bad code. SPI Dynamics, an Atlanta-based Web application security firm that has nearly 100 federal, state and local government clients, sells a product called WebInspect, which security professionals use to test sites for corrupted code. The software starts at $6,000 for one Web server license, which allows users to install the software on multiple machines. But users can scan only one specific IP address.

Other steps that information security managers can take include:

  • Make sure programmers have the skills to write computer code that is so tight it can deter computer attacks.
  • Test new applications with a Web security device.
  • Be sure contracts with integrators include a specific clause for validating computer systems.
  • Test systems with fake attacks.
  • Vet every bit of data in your system.

Security firms and organizations continue to develop tools to fight input checking. The SANS Institute in Bethesda, Md., which provides cybersecurity training and manages the Internet Storm Center, planned to unveil an exam for programmers in August to make sure they know how to validate information submitted to agency Web sites. The exam, sponsored by the Software Security Institute, which is part of SANS, will be available to colleges and other institutions in January 2008.

These tools and processes are designed to prevent input checking, rather than find the malicious code after it has infiltrated a system, says Jeff Williams, chief information officer of Aspect Security in Columbia, Md., and chairman of the foundation of the Open Web Application Security Project. "Attackers try again and again and again," he says. "And eventually, they find a hole. We need to stop them much earlier."

Judi Hasson is a Washington-based freelance journalist covering government information technology.

Close [ x ] More from GovExec

Thank you for subscribing to newsletters from
We think these reports might interest you:

  • Sponsored by G Suite

    Cross-Agency Teamwork, Anytime and Anywhere

    Dan McCrae, director of IT service delivery division, National Oceanic and Atmospheric Administration (NOAA)

  • Data-Centric Security vs. Database-Level Security

    Database-level encryption had its origins in the 1990s and early 2000s in response to very basic risks which largely revolved around the theft of servers, backup tapes and other physical-layer assets. As noted in Verizon’s 2014, Data Breach Investigations Report (DBIR)1, threats today are far more advanced and dangerous.

  • Sponsored by One Identity

    One Nation Under Guard: Securing User Identities Across State and Local Government

    In 2016, the government can expect even more sophisticated threats on the horizon, making it all the more imperative that agencies enforce proper identity and access management (IAM) practices. In order to better measure the current state of IAM at the state and local level, Government Business Council (GBC) conducted an in-depth research study of state and local employees.

  • Sponsored by Aquilent

    The Next Federal Evolution of Cloud

    This GBC report explains the evolution of cloud computing in federal government, and provides an outlook for the future of the cloud in government IT.

  • Sponsored by LTC Partners, administrators of the Federal Long Term Care Insurance Program

    Approaching the Brink of Federal Retirement

    Approximately 10,000 baby boomers are reaching retirement age per day, and a growing number of federal employees are preparing themselves for the next chapter of their lives. Learn how to tackle the challenges that today's workforce faces in laying the groundwork for a smooth and secure retirement.

  • Sponsored by Hewlett Packard Enterprise

    Cyber Defense 101: Arming the Next Generation of Government Employees

    Read this issue brief to learn about the sector's most potent challenges in the new cyber landscape and how government organizations are building a robust, threat-aware infrastructure

  • Sponsored by Aquilent

    GBC Issue Brief: Cultivating Digital Services in the Federal Landscape

    Read this GBC issue brief to learn more about the current state of digital services in the government, and how key players are pushing enhancements towards a user-centric approach.


When you download a report, your information may be shared with the underwriters of that document.