Archive for November, 2007

Counter-Hacking in New Jersery….

Monday, November 19th, 2007

I have finally returned home after spending the last seven days sequestered in a lavish hotel about ten miles south of Red Bank, NJ (home of Kevin Smith and his comic book store) I was there to attend training called “Hacker Techniques, Exploits & Incident Handling” for my GCIH (GIAC Certified Incident Handler) certification. What an amazing week!

From Sun Tzu’s ‘The Art of War’ (Translation and commentary by Lionel Giles, Sourced from Project Gutenberg):

“If you know the enemy and know yourself, you need not fear the result of a hundred battles. If you know yourself but not the enemy, for every victory gained you will also suffer a defeat.”
-Sun Tzu, Art of War

We started with the an overview of the basics of incident handling and quickly moved into “Knowing the enemy…” by studying all sorts of really amazing (and sometimes ridiculously simple) attack vectors and ways to exploit them. Network attacks, various Unix/Linux attacks, Windows attacks… you name it, we probably covered it. From simple smurf attacks to buffer overflows to kernel level rootkits and even hints of escaping virtual machines! (pretty scary stuff) The class started at 9:00am sharp every morning, continuing on until 8:00 or 8:30pm nearly every night (we took a night off on Wednesday, and class ended Saturday afternoon).

The culmination of the training was a ‘Capture the Flag’ style game where we were allowed to flex our new skills against a series of windows (2k and 2k3 servers) and linux servers in an attempt to attack each server, gain access and find a file that contained clues to our final objective. Several of the participants played as three to six man teams, while others hacked alone. I started out with a couple of very able cohorts, but we each became quickly immersed in the process and became defacto ‘lone gunmen’. We were allowed to begin our attacks at 9:30am with the first flags found within twenty minutes. The second flags fell much later (near 11:30a).

I was poking and prodding each machine, furiously trying many different attack vectors while others around me seemed to be surging ahead, locked into combat with a particular exploit or two that were certain to win them the game. I managed to quickly get the first flag a little bit after everyone else (not a good sign), next I captured the fourth flag around 11:00a. I managed to get the third flag (the hardest one of the four by far) and finally captured the second flag at about 12:50p. With all of the flags captured, I managed to assemble each of the clues provided by the flags, which pointed to a file with a password protected, steganographically embedded message. I analyzed the file and was able to extract the hidden phrase, and lo and behold yours truly won the game just after 1:00pm.

About twenty minutes later a team of six people managed to snag second place, and after another twenty minutes, third and fourth place was claimed.

The point of all this was to embody the teaching of Sun Tzu and “know the enemy and know yourself” so that we can all better defend our networks and servers by “Counterhacking” if you will. My instructor literally wrote the definitive book on the subject:

Now comes the hard part… I will spend the next week and a half (possibly more) studying all of the material in-depth to prepare for the two 90 minute tests in order to earn the certification.

I can’t recommend this training highly enough to those whose job is to serve as systems administrators, network administrators or security administrators. The skills learned will be of immense value in assessing and securing our corporate infrastructures.

NaNoWriMo

Friday, November 2nd, 2007

Well, I actually did it this year! I signed myself up for NaNoWriMo (National Novel Writing Month) It’s kind of a pledge to write a 50,000 word novel in thirty days. I tend to write in spurts (just look at the frequency of my blog posts!) and lack the discipline to write daily. If I gain anything from this experience, I’m hoping to scrape just a bit of discipline out of the process and continue to write in a more consistent manner.

I’m trying something quite a bit different with my writing. I essentially have two modes of writing: First there’s the “Train-of-thought” mode where I have a simple subject and just sit down and let it spill out all in a single sitting (such as this blog-post). Second is the “Hyper-Analytical” mode which requires years of research, outlining, brainstorming and generally enough pre-work to prevent the “Great Work” from ever achieving fruition.

So for my NaNoWriMo novel, I’m taking a whole new approach. No plans. No outlines. Not even enough of a thought to attempt to “Train-of-thought” it.

So far, I’ve got about 600 words. And, I think, it’s the start of something that’s at least better than my average as far as story-telling goes.

I’m doing my best to stay out of the story’s way and just let it write itself. So I’m discovering the characters and the story as if I were reading an already published story. It’s kind of a weird feeling, and liberating as well. I’m quite eager to see just how far I can take this and what the finished product looks like.

And it looks like I’m quite good company this… Charlie has signed up, as has Marty. I’ve read fiction from both of them and have been begging for more, so hopefully this is the little nudge that we each need to finally crank out a bit of fiction!