I'm attempting to check for malware, spam and any kind of injection/exploitation on a sql dump that has been provided and was wondering what kind of tools are there already in place to help with this?
Edit:
As suggested by an admin I should expand this question out to include the scenario I'm facing. Well it basically comes down to a customer sends me a sql dump of their database to import and before proceeding I wish to be able to verify that there is no SQLi or user injection in the SQL and not datasets.
Update: Sometimes I wonder about areas of the InfoSec community's decision not to take things like this serious. However that stated, I did locate some resources that come close but not enough:
- http://samate.nist.gov/index.php/Source_Code_Security_Analyzers.html
- Are there any tools for scanning for SQL injection vulnerabilities while logged in?
Since none of these work for this goal I will be authoring and releasing the code to the public on my github page. I'll post further details here and at http://dwightaspencer.com/ once I have a public beta ready.
While I can see the spam part would be a tall order, but that can be done with a well defined/tuned bayesian setup. Which again would be diving into the datasets then running against maldel/clamav/spamassassin.
I'm more concerned about scanning for exploit code and injections in the sqldump and which tools are available to detect these at this point than policing/sanitizing datasets.
– Dwight Spencer Jun 29 '14 at 00:22