Home > Software Quality Tips > Software Testing > Hack maliciously to boost your software's security
Software Quality Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

SOFTWARE TESTING

Hack maliciously to boost your software's security


Kevin Beaver, CISSP
05.28.2009
Rating: --- (out of 5)


Software quality news and advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Kevin Beaver
Everyone claims to know the "right way" to go about testing the security of Web applications. "Perform an external scan," the auditors recommend. "Just use our vulnerability scanner," the vendors proclaim. "Do a peer review of the source code," the quality assurance (QA) analysts declare. And then there are the government, industry regulatory, and standards bodies who believe they know what it takes to secure an app. Regardless, it's their way or the highway. Ha!

With everything else being equal, unrelenting and almost aggressive malicious attacks are the absolute best way for uncovering Web security holes. In this tip, we'll cover why you must literally go through your Web systems and throw everything you possibly can at them. This tip will get you started on using malicious manipulation to boost security. In forthcoming tips, I'll show how to do malicious hacking in various different software development and testing scenarios.

There's so much information available for uncovering Web application flaws, but there's no good place to start. So how can you, the security admin, developer or IT manager, filter through the noise and distill exactly what needs to be done to find the Web flaws that count? Let me be clear, it's simple. There is no one best way to go about it. As lawyers and consultants like to say, "it all depends." It depends on the type of business you're in and the regulations you fall under. It also depends on what type of Web presence you have and how sensitive information is processed, stored or otherwise passed through your system. It depends on how much management supports your efforts and, frankly, how much money you have to spend.

Every organization and every Web application is different. Ironically, this is one of the things that management misunderstands the most. Web security testing is not a black- and-white science. It's just as much an art, and one that requires good tools, creativity, along with a confident security assessor.

Choosing the one thing that stands out as being the most important for uncovering the obvious and not so obvious Web vulnerabilities is pretty easy. Some of this requires Web vulnerability scanning tools like WebInspect, Acunetix WVS and N-Stalker. No matter how good you are with Web apps and security, there's still no replacing the requests that tools such as these can throw at an application. They can mimic hack attacks like no human possibly could.

Don't let me steer you in the wrong direction though. Based on my experience testing Web applications over the years, the ability to poke, prod, and control an application with ill-gotten gains in mind is the key for making things happen. It's required if you're going to find the flaws that really matter. At the heart of this is manipulation, which often a matter of just the right poking and prodding to see how the application trusts you and what it spits back. This will rarely require special "hax0r skillz". It's merely a matter of understanding the basic operation of Web applications and thinking of creative ways to hack and throw just the right jabs to force them into submission.

Many, many times I've tested Web applications with automated scanners, only to realize I wasn't even halfway home. Beyond the scanning phase, I've seen situations such as creative URL manipulation, weak passwords or sensitive files stored in download folders that have turned two to three day Web security "reviews" into week-long plus analyses bordering on data breach situations. All because of some basic hacking -- manipulation -- of these applications that would've gone undiscovered otherwise.

I can't stress enough the value of in-depth ethical hacking of your Web applications. There's no replacement for manual manipulation; just you and your Web browser. Get past the one-scan-fits-all mindset. It's dangerous and it'll come back and bite you if you rely on just the basics to get by.


About the author: Kevin Beaver is an independent information security consultant, speaker and expert witness with Atlanta-based Principle Logic, LLC. He has over 20 years experience in the industry and specializes in performing independent information security assessments revolving around compliance and information risk management. Kevin has authored/co-authored seven books on information security including the ethical hacking books, Hacking for Dummies and Hacking Wireless Networks for Dummies (Wiley). He's also the creator of the Security On Wheels IT security audio books.


Rate this Tip
To rate tips, you must be a member of SearchSoftwareQuality.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Software security testing and techniques
Testing strategies for complex environments
Mobile applications and regression testing
Ways to approach application performance testing on a tight budget
How can I tell if my software security has been breached?
Is online application testing for smartphones different from other software testing?
Software testers facing six big challenges today, StarWest keynoter says
Lesser-known free software testing tools testers should try
Is manually testing a software project for flaws too risky?
Affordable automated testing tools for securing websites
SMS attacks against BlackBerry certificate-handling flaw possible

Software security testing tools
How can I tell if my software security has been breached?
Lesser-known free software testing tools testers should try
Demo: Using WebGoat, a free software testing tool
Rich Internet applications security testing checklist
Finding cross-site scripting (XSS) application flaws checklist
Webgoat Tutorial
Retaking command of your hacked software
Identifying whether or not your site or software has been hacked
Selecting the best tool for stress and load testing
Web 2.0 application security troubleshooting, testing tutorial

Software Testing
How to apply modeling techniques to support software testing
Calculating mean time to failure in performance testing
The lowdown on PCI compliance
5 ways to answer executives' unfair software test, QA questions
10 steps to acing Web app security assessments
Three software regression testing steps can perfect defect fixes
Exploring mobile layout testing, emulators and goals
Preparing for testing applications in the cloud
Testing functionality, performance of mobile Web applications
Testing mobile Web applications for usability and context

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
penetration testing  (SearchSoftwareQuality.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Software Design & Testing - Project Management
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2006 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts