Thursday, August 7, 2008
Cross Site Request Forgery and Same Origin Policy
Monday, August 4, 2008
PHPCharset Encoder
http://h4k.in/encoding/index.php
Tuesday, July 29, 2008
Microsoft Source Code Analyzer for SQL Injection tool
Saturday, July 26, 2008
Chronology of Data Breaches
Friday, July 25, 2008
Coolest thing since sliced cheese
Tuesday, July 22, 2008
LifeCycle Security
A friend of mine [and group of renegade badasses] has started a new security conference based around Web Application Security. If you are going to be at Blackhat next month, be sure to get hooked up for this show. Also...if you are a member of OWASP, please feel free to use this invitation for free admission.
++++++++++++++++++++++
- Name:
- Company:
- Address:
- E-mail:
Tuesday, June 24, 2008
Introducing HP Scrawlr
[rip from HP blog site]
Scrawlr, developed by the HP Web Security Research Group in coordination with the MSRC, is short for SQL Injector and Crawler. Scrawlr will crawl a website while simultaneously analyzing the parameters of each individual web page for SQL Injection vulnerabilities. Scrawlr is lightning fast and uses our intelligent engine technology to dynamically craft SQL Injection attacks on the fly. It can even provide proof positive results by displaying the type of backend database in use and a list of available table names. There is no denying you have SQL Injection when I can show you table names!
- Technical details for Scrawlr
- Identify Verbose SQL Injection vulnerabilities in URL parameters
- Can be configured to use a Proxy to access the web site
- Will identify the type of SQL server in use
- Will extract table names (verbose only) to guarantee no false positives
- Scrawlr does have some limitations versus our professional solutions and our fully functional SQL Injector tool
- Will only crawls up to 1500 pages
- Does not support sites requiring authentication
- Does not perform Blind SQL injection
- Cannot retrieve database contents
- Does not support JavaScript or flash parsing
- Will not test forms for SQL Injection (POST Parameters)
You can download Scrawlr by visiting the following link:
https://download.spidynamics.com/products/scrawlr/
Thursday, May 8, 2008
A Risk Management-Based Approach to Web Application Security
At the end of the day, it all comes down to the Software Development Life Cycle (SDLC). All vulnerabilities, big or small, can be traced back to a few lines of code written by a Developer who was hoping to achieve a bit of functionality. According to Gartner, “By 2009, 80 percent of companies will have suffered an application security incident”. The significance of this statement is astounding, due to the fact that most organizations rely heavily on their web presence for daily e-survival.
While the majority of organizations have yet to merge their development and security processes, the move towards producing secure Web Applications is absolutely critical. Unfortunately, most Development, Quality Assurance and Information Security teams operate in isolated communities and are rarely driven by the sentiment that security is fundamental for all parties involved. Ultimately, the goal for any organization is to exist with a strong, well-defined process to the SDLC; however, development of such a program can be quite overwhelming - even for the most mature organizations.
Risk Management provides a structured process for identifying, assessing and quantifying risk for an environment. By applying a Risk Management-based approach, your organization will be able to kick-start its program and achieve success through a more palatable set of goals.
Through this approach, several significant variables are quantified in an effort to understand the threat against your Web Application infrastructure. These variables include:
- Asset Value (AV)
- Vulnerability Severity (VS)
- Likelihood of Threat (TH)
- Applied Countermeasures (CM)
- Weighted Value for severity of vulnerabilities (WV)
Friday, May 2, 2008
Web Security 101
Over the past few weeks, I've read several posts from folks around the industry on how to secure web applications and I've read many interesting viewpoints. In my opinion, there are seven basic ideas that I believe any security professional should carry with them for web applications.
Test Everything!
The first concept for every security professional is to test everything. There is no amount of testing that can be accomplished -- test and simply keep testing. Just because you ran one scan with some tool and reviewed the results....testing should not end. What was once a very secure application could absolutely be compromised tomorrow.
Secure the foundation
Web Applications are nothing more than applications running on an Operating System so as such, it is still absolutely critical to secure the environment that they live in.
Encrypt your data
Use of data encryption may be utilized in a number of areas within your architecture. Whether you are using SSL certificates to data encryption on the database to the file system. I'm not sure I have the ability to recommend the "type" of encryption, but use of encryption is highly recommended.
Input Validation
With Application Security vulnerabilities, the majority of the vulnerabilites lie with poor input validation. Using input validation with all areas of the application is absolutely critical. If you have the ability to discover tools that will perform Input Analysis on your application prior to going live, I would highly recommend employing them. For those not familiar with Input Analysis techniques, these are solutions that will search for any component of your application where input is taken in (controls, form fields, etc) and assists with the validation of those points.
Strong Authentication
Authentication is key to applications and the use of strongly authenticated users or sessions is necessary. If strong authentication is not always an option, at the very least, please encourage your users (or security policy) to use strong passwords.
Control Access to the Application
As discussed in our AJAX post, validation of data is a very difficult aspect of security around your web application. The idea that we are able to validate every single request to your web application is sometimes difficult, however, it's my recommendation to your best with this.
Session Management
Session Management is yet another very serious aspect of securing your web application. Points of weakness for many web applications is found when developers make some great attempt to start creating their own session management schemes. Three words that I have for you: 1) Cryptographically Strong, (2) Random, (3) strong protection.
Again, these are only a few thoughts that I'm throwing around here ....there are a thousand other things that could be considered so please don't consider this the almighty list [no flames, please].