Thursday, February 5, 2009

hackerscenter.com

Howdy readers,

I found this nice website http://www.hackerscenter.com .

Security Media

Everybody knows youtube. The other day I stumbled upon securitytube. A site with currently more than 165 video's about security and related items. Yes, I like video as a format. I enjoy reading but if a video is as it should you can learn a lot. I learned quite a lot from Irongeek his website too. And of course on youtube you can find some interesting stuff. If you like to watch a nice tech-show check out Hak5.

I like to listen to podcasts as well, one of my favorite security podcasts is PaulDotCom.

If you have interesting websites, podcasts, RSS feeds, ... share them with me :)

Monday, February 2, 2009

Securing a LAMP Server ... follow up

Recently I've been working on a LAMP Server. I learned a lot and got an interesting pointer from Christophe Vandeplas. The center for Internet Security has a collection of nice scoring tools/benchmarks to verify if a system is correctly implemented.

I recommend this exercise to everybody. You make a VMWare server on machine (or use a virtual box if you like open source). Set a box up and do the homework :).

Next Wednesday I'll be joining our Belgian OWASP chapter. On the agenda:
  • Best Practices Guide Web Application Firewalls
  • Research on Belgian bank trojan attacks
I hope to meet you there. If you can't be there I'll make a post with my impressions.

Wednesday, January 28, 2009

No backup and the database in suspect mode

This week, I got a call to help out with a database in suspect mode. I tried the usual MS SQL arsenal of tricks to get the CRM-database of that customer back. After more than 20 hours of repair commands (those included a night of sleep) I had to give an negative answer to the customer.

In the afternoon I had another call to ask if we could try to extract the data and dump it into another database or flat file. I had no clue how we could do this since everything in the last 20 hours failed. My collegue Gert Lievens found a technique on the Internet that we never tried before but worked :). We got everything back except for a primary key on 1 table and 1 index on that same table.

This is how it works:
First you change the database from suspect mode to emergency mode. Next you make sure you're the only one using it by forcing it in single user mode (with no wait of course). Then you make a DTS package where you use the copy database component. We configured the package to work in small steps (tables, views, functions, ....) and finally we found that the error was on the primary key and index for that table. So we told the DTS package to make a copy of that specific table but leave the primary key and indexes out. At the end of the day we had an identical copy of the database and a happy customer.

There are some lessons to be learned here:
1. Make sure your backups are ok if you manage a database.
2. There is another technique to get data back that I learned about.

Tuesday, January 20, 2009

Enter at own risk (follow up story)

In the month of November 2008 I had a bad restaurant expirience (
http://erikvanderhasselt.blogspot.com/2008/11/enter-at-own-risk-dont-go-eat-there.html) and filed a complaint at our federal agency for food safety.

I got an e-mail today from the agency telling that their inquery has finished and that my complaint was grounded and the necessary measures will be taken. What that means isn't in the text but I am happy with the result.

Wednesday, January 7, 2009

Undelete Plus : data recovery tool

We all know that situation, you get a call from a friend to tell you the data on his usb stick or hard disk has gone. I have some recovery software but recently Christophe Vandeplas has told me about UndeletePlus.

It is a free little tool, I've played around with it and I hope it will help me when I get that call again.