GreenSQL - An Open Source Database Firewall - Yuli Stremovsky
GreenSQL - An Open Source Database Firewall - Yuli Stremovsky
GreenSQL - An Open Source Database Firewall - Yuli Stremovsky
Yuli Stremovsky
Agenda
• Database Security
• What is GreenSQL ?
• Management Console
• Demo
• GreenSQL Roadmap
The need
It uses stealth
techniques to go
unnoticed for as long Hackers create
as possible. much more SQL
Injection attacks
Pricelist
Latest Victims
• Oct 2009 - One of NASA's was vulnerable to a SQL injection attacks.
All of this despite the fact that the agency’s IT budget in fiscal year
2009 was $1.6 billion, of which $15 million was dedicated to IT
security.
• Mar 2009 & Nov 2009 - SQL injection attack exposes sensitive
customer data on Symantec web server.
• Nov 2009 - Russian cyber gang uses SQL injection attack crack deep
inside the network of a giant U.S. debit and credit-card processor.
• Nov 2009 - An SQL injection flaw has been detected on the Yahoo!
Website. The vulnerability was on the Yahoo job section.
Testing
Application
connections
Wiki Replication
Forums Reporting
Blog Backup
Financial data
Database
Private data Monitoring
connections
Customer data
User
High privileged
users Administrators
• Legitimate Query:
SELECT * from users
WHERE username = ‘admin’ and
password = ‘123’
Web Apps
Client/Server Apps
Web services/ SOAP
Legacy Apps
SQL Proxy
Risk Matrix
Calculation
SQL Queries
/WL/Policy
Good / Block/
Warn / Learn
Forward and
DB Server 1 DB Server 2 DB Server 3 DB Server N Integration
How it works?
• Reverse Proxy
• Number of databases
• Number of backend DB servers
• Deployment options:
– Can be installed together with the DB server
– Can be installed on dedicated server / VPS
Using the Database Securely
Ecommerce
CMS
Testing
Wiki
Replication
Application
connections
Forums
Reporting
Blog Backup
Database
Monitoring
connections
User
• Multiple modes
– IDS/IPS / learning / Firewall
• Easy to use
• Pattern Recognition (signatures)
• Heuristics (risk calculation)
• Open Source
GreenSQL Advantages – Cont’
• Sensitive tables
• Multiple queries ( ; / UNION )
• SQL comments
• Empty password
• SQL tautology - true statements (1=1)
• Administrative commands
• Information disclosure commands
But, I’m a kick ass developer
So why should I use GreenSQL
• Legacy code
• Not only Web application and web
services use your database
• Protects the database console access
• 0 day database attacks prevention
• No direct access to the database machine
GreenSQL: Demonstration
http://demo.greensql.net/
http://www.greensql.net/sql-injection-test
Open Source Roadmap
Installation GreenSQL
Support Optimization
E-mail
Submission
Consulting
Service
portal Software
Updates
Questions
Thank You
• Yuli Stremovsky
• [email protected]
http://blog.greensql.com
http://twitter.com/greensql