How do you turn a small group of security pros into an organized online crime group? Read the six rules here.
Now, black hats are selling exploits for tens of thousands of dollars as the malware industry capitalizes on flaws to capture passwords, credentials for banking sites and personal information for identity theft and financial fraud.
Learning how black-hat hackers think, what they're looking for and how they get it should be a fundamental part of any company's security strategy.
According to George Kurtz, author of "Hacking Exposed," hackers' targets have changed dramatically in the last few years.
"When I got into the game ... it was, 'We don't have a firewall, we have a packet-routing filter.' Fast-forward to today, and you've got very interactive applications: You've got Web 2.0 tying in back-end databases and all the exposures around that," said Kurtz, who is also the founder of Foundstone, an organization that teaches hacking and secure coding practices. Foundstone is now a division of McAfee, and Kurtz, of Mission Viejo, Calif., is senior vice president of McAfee's enterprise division.
Indeed, applications are increasingly drawing hackers' attention. According to research by Gartner and Symantec, close to 90 percent of software attacks were aimed at the application layer as of June 2006.
"Once you open Port 80, you have unfettered access to an application," Kurtz said.
Application-level flaws aren't new. In 2002, Poteet won eWEEK's OpenHack IV competition, in which people were invited to hack a test e-commerce site. Poteet was able to hack the version of the site tied to an Oracle database application.
Basically, the flaw that Poteet exploited was a screen in which users could edit their profile. The user name constituted one fieldsupposedly not an editable one. But as soon as input was accepted from the front end, with the Web server taking data from a browser, it didn't matter whether the field was designed to be editable or notat that stage, everything's editable.
Poteet changed the name in the field to "A Smith," and then he waited, like a spider for a fly. As soon as somebody named "A Smith" logged on, he pounced, immediately gaining access to all of A Smith's data.
Click here to learn more about hackers targeting Homeland Security.
The problem is, most application developers don't think the way Poteet did during OpenHack.
Poteet said he has consulted with many companies and has grown accustomed to seeing not just a vulnerability here or there, but a vulnerability in every field in every screen of every application in question.
And we're not talking mom-and-pop shopsmost of Poteet's clients are Fortune 500 companies, and many of them are financial institutions. But, even in organizations within the financial realman industry known for being well-versed and experienced with security issuesthose who work on code still leave well-known security holes that draw attackers like flies to honey.
Fool Me Once ...
If there's one sure thing when it comes to security, it's that people make the same mistakesover and over and over. It's something that hackers have come to count on.
Common holes include data in error messages that can be used to access systems, SQL injections, XSS (cross-site scripting) and access control in J2EE (Java 2 Platform, Enterprise Edition) applications.
Hackers especially love SQL injection: A good SQL injection will elicit data from all the tables in your database. And if attackers gain edit capability in a user query, they can change data in the database.
Learning to think like your most common opponent isn't that hard. Click here to read more.
These issues are among the top 10 most frequent mistakes made in application security, as outlined by the Open Web Application Security Project.
Also included in that list is usable information provided in error messages.
Take this error message: "Microsoft OLE DB Provider for SQL Server error '80040e14' Column 'newsTBL.NEWS_ID' is invalid in the select list because it is not contained in an aggregate function and there is no GROUP BY clause. G:\WEBSITES\WWW.SAMPLECOMPANY.COM/internal/dbSys.inc, line 241."
From that one error message, a potential attacker will learn that the application uses OLE DB to communicate to the database, that it uses SQL Server as the database, that SQL commands can be passed to the database and that there's a table called newsTBL in the database, among other things.
Next Page: Terrible trends.