![]() |
![]() |
|
May 08, 2003No rest for the wickedNOTE TO SELF: You wanted to to be a Lord of the Ring Zero. You deserve the misery and pain. Yes I wanna bitch. But I only have myself to blame. I wanted to get into low level driver development, basically writing to the bare metal, because very few people were doing it, and it was the only place to really make a difference for security on the Windows platform. I'm ok with the steep learning curve, actually enjoying the challenge. But I NEVER thought I would have to write my own primitive functions. What do I mean? Well here is a tip for anyone wanting to get into Windows kernel development. You can't use ANY of the Windows API during code development. Winsock is right out. Win32 is right out. As is all the nice helper functions for the API etc. You MUST find a DDK equivelant, or write your own. This morning I was forced to write my own inet_ntoa function. Decided to do it first with gcc to test it before I would put it in my driver. Worked great. Even did nice safe string functions to make life sweet. Then I decided to port it to the kernel. *UGH* Here is one line to show you what I mean:
See what I mean. Notice the comment? Yes, even basic primitives like _snprintf doesn't exist.. forcing me to use this ugly beast. *sigh* It works though, and that is all that matters. Posted by SilverStr at May 8, 2003 05:19 PM |
![]() ![]()
My 5 Favorite Books
Writing Secure Code
Secure Programming Cookbook Security Engineering Secure Coding Principles & Practice Inside the Security Mind ![]()
My 5 Favorite Papers
Smashing the Stack
Penetration Studies Covert Channel Analysis of Trusted Systems DoD Trusted Computer System Evaluation Criteria NSA Security Recommendation Guides ![]()
Archives
December 2005
November 2005 October 2005 September 2005 August 2005 July 2005 June 2005 May 2005 April 2005 March 2005 February 2005 January 2005 December 2004 November 2004 October 2004 September 2004 August 2004 July 2004 June 2004 May 2004 April 2004 March 2004 February 2004 January 2004 December 2003 November 2003 October 2003 September 2003 August 2003 July 2003 June 2003 May 2003 April 2003 March 2003 February 2003 January 2003 December 2002 November 2002 October 2002 September 2002 August 2002 July 2002 ![]() |
|