Feeds

Don't blame Willy the Mailboy for software security flaws

In defense of developers

Security and trust: The backbone of doing business over the internet

Uncertain certification

There is Sun/Oracle's Java Certified Programmer, for example. But certification is of questionable use to the employer, as certification involves rote learning without requiring a true understanding of the subject. For programmers, certification is also risky, quickly outdated. And it can be costly. Anyone out there still have a Certified Novell Engineer docket stapled to their yellowing CV?

Then there are more general-purpose, rigor-oriented qualifications for coders: the all-encompassing SWEBOK offers an IEEE-stamped certification. But - more's the pity - employers care little for such things. Invariably, they return to the time-honored qualification - the university or college degree. But even that tends to be a guideline: hands-on experience ends up being more important for many employers.

Nevertheless, security vendors such as Fortify would like to train - and certify - your entire IT workforce to be more aware of SQL and LDAP injection attacks, cross-site scripting, and so forth. Such vendors thrive on the corporate paranoia brought about by high-profile web front-end attacks and customer data-loss snafus. Their Fortify 360 product will act as a gateway to your source control system and monitor any code commits for security vulnerabilities.

While I have some reservations about Fortify 360's usefulness, it's a good example of how management should be taking the lead to impose processes on development, rather than blaming the programmers for a breakdown in process. It's good to see that QA - which this really is - has come back into fashion, despite being re-branded in the guise of security and the paranoia of an "unseen enemy that cannot be defined".

The vulnerabilities highlighted by Fortify's Audit Workbench are good and worthy flaws, and there's a good chance that your organization will be more secure if they embrace Fortify wholeheartedly. At the very least, your chief executive will sleep better. But there's a whole category of bugs and rules that look like they really are just there to tuck your CEO in at night. For example, the following code is incredibly insecure and may bring down all of civilization, apparently:

public void login(String username, String password) {
}

First, the password is called "password," so someone scanning the compiled code could find that quite easily. Second, it's stored in a String, and Java likes to intern all its Strings in a big reusable cache - so a wily hacker will head straight for the String table and scan it for passwords. So whatever you do, store your passwords in char arrays, and obfuscate your variable names to throw hackers off the scent - "absolutelyNotAPasswordNoWay," perhaps.

There we have an example that managers will love because it seems profound, and it allows them to impose a process while still blaming programmers. But let's face it, if the user has sufficient access to the JVM to trawl the String table, then he's already pwned your organization, and it has siphoned several billion of your corporate dollars into his suburban Jacuzzi extension project.

A far more insidious problem is with insider programmers who hack the system to launder funds - the recent TJX hack case being a case in point.

But in such cases, we still have the traditional "after the event" fallback known as "the law," and preventative, compulsory regulations such as PCI Compliance, which instructs management to put barriers in their organization to prevent the wrong people from seeing credit card numbers or personal account details.

In most cases, the onus is on management to enforce regulatory procedures, which means there's no need for programmers' heads to be on the block. But as long as there are security consultants and conferences to speak at, developers will continue to be blamed for breakdowns in process and QA. ®

Matt Stephens is co-author of Use Case Driven Object Modeling with UML: Theory and Practice, and the upcoming Design Driven Testing: Test Smarter, Not Harder.

Security and trust: The backbone of doing business over the internet

More from The Register

next story
New 'Cosmos' browser surfs the net by TXT alone
No data plan? No WiFi? No worries ... except sluggish download speed
'Windows 9' LEAK: Microsoft's playing catchup with Linux
Multiple desktops and live tiles in restored Start button star in new vids
iOS 8 release: WebGL now runs everywhere. Hurrah for 3D graphics!
HTML 5's pretty neat ... when your browser supports it
Mathematica hits the Web
Wolfram embraces the cloud, promies private cloud cut of its number-cruncher
Google extends app refund window to two hours
You now have 120 minutes to finish that game instead of 15
Intel: Hey, enterprises, drop everything and DO HADOOP
Big Data analytics projected to run on more servers than any other app
Mozilla shutters Labs, tells nobody it's been dead for five months
Staffer's blog reveals all as projects languish on GitHub
SUSE Linux owner Attachmate gobbled by Micro Focus for $2.3bn
Merger will lead to mainframe and COBOL powerhouse
iOS 8 Healthkit gets a bug SO Apple KILLS it. That's real healthcare!
Not fit for purpose on day of launch, says Cupertino
prev story

Whitepapers

Providing a secure and efficient Helpdesk
A single remote control platform for user support is be key to providing an efficient helpdesk. Retain full control over the way in which screen and keystroke data is transmitted.
WIN a very cool portable ZX Spectrum
Win a one-off portable Spectrum built by legendary hardware hacker Ben Heck
Saudi Petroleum chooses Tegile storage solution
A storage solution that addresses company growth and performance for business-critical applications of caseware archive and search along with other key operational systems.
Protecting users from Firesheep and other Sidejacking attacks with SSL
Discussing the vulnerabilities inherent in Wi-Fi networks, and how using TLS/SSL for your entire site will assure security.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.