Depth of Code

Hani’s blog

Google Summer of Code with Nmap recap

Aug 22, 2012

  This summer, I have worked with the Nmap Security Scanner as part of the Google Summer of Code. I will try to summarize in this post what was for me one of the best experiences ever.
  I applied for GSoC as a NSE Web scanning specialist, which at the time was what I felt most comfortable with, but when results were announced, the Nmap team switched me to work as a NSE network discovery specialist under the mentoring of the great and very helpful Henri Doreau in order to better distribute skills of selected students. I was positive with this change although I was more prepared for the web scanning role and this in fact, turned to be one of the best moves I have had.

I will try to sum up some of the work that I have done during the program:

  And that is it. Although I believe I could have done much more if I didn’t have to split my time between working on Nmap and preparing my graduation which will be next September (thank you again David Allen for the GTD), this was without doubt a great experience overall. The GSoC pushed to learn so much in a short period, being a good generalist to be able to adapt to different tasks and rapidly grasp new concepts while also being a good specialist when it comes to going deep into some protocols. I am far much better at setting labs and writing and testing new PoC’s. I gained valuable experience with Cisco IOS (that I barely knew prior to GSoC). Crawling long RFC pages and crafting/parsing packets of some obscure, proprietary protocol don’t cast uncertainty in me anymore… but I release better why with hundreds of packet dissectors, Wireshark is a mine of vulnerabilities. ;)
I still know how much is there to learn and discover, though. After all, life is about continuous learning and the day you stop learning is the day you start to become obsolete.
What’s next ?
  Being a Nmap developer isn’t going to stop with the GSoC. Actually, I still have a lot of interesting work in mind, to accomplish. Daniel Miller and David Fifield did a great job and recently added support for xml output in NSE. Thus, we will be making changes in Nmap’s scripts to allow this feature. I have in my drafts, many more ideas for useful scripts that I will have to detail more before adding them to Nmap’s scripts ideas wiki page, if anyone else happens to be interested in working on some and end up writing them before me.

  As other projects go, Network Discovery is a field that I plan to study more, the amount of exotic protocols and intracities in different implementations out there is very exciting. I have in mind some other projects that I will be sharing soon, depending on time.
Finally, I wish Aleksander Nikolic and Piotr Olma who both worked on NSE as part of GSoC good luck. Smart guys with a brilliant future. I would also like to thank again my gsoc mentor Henri Doreau. Without his great tutoring, I wouldn’t have done much. Special thanks to Djalal Harouni who pushed me to take part of GSoC and encouraged me many times when I was in doubt.