![]() |
![]() |
|
October 26, 2002XP Heart attackWell, today I almost had a mini-heart attack during the process of upgrading to XP SP1. Well, more to the point, SP1 installed, and then the system didn't come back up. My fault entirely... not Microsofts. Seems it doesn't LIKE you to use a hacked kernel. You shouldn't muck around with it... its a bad thing. Of course.. you know me, if I am not tweaking and playing with the OS.. what good is it. Well anyways, the hacked NT kernel refused to boot. It was the ONLY entry in my boot.ini, so there was NO way to recover. Or so I thought. Ends up, on the XP CD is an option called "Recovery". With it, it lets you "log" onto the NTFS partion and run some special commands. One being BOOTCFG. Note that for the future my friends. You ever nuke something.. this is yer friend. After some trial and error, I was able to basically create a new entry for the core kernel and redirect it away from my hacked one. Then it booted up fine. Fixed the issue with my hacked kernel... and everything is running tickety-boo. I found an interesting "feature" in the MS debugger. You have always been able to do an asm{ int 3; } to fire a breakpoint interrupt which typically can then be caught in your debugger. VERY useful trick when you need to do some REAL low level break point catching in a "production application" (reminds me of the story about the Russian Nuclear Defense system response code that someone accidently left in there and was only found AFTER the cold war basically ended) But don't do that in a device driver or any dll MS might load. Ok? Please don't. Nothing like watching Developer Studio TRY to load XP into the debugger. I had over 512 megs of ram FULL before I finally was able to terminate it. *shutter* I am wanting to get back into Squash again. If anyone is interested, I am shooting to play atleast two times a week now. So if you are willing to play in Chilliwack, drop me a line and we can set something up. No earlybirds please. Posted by SilverStr at October 26, 2002 04:59 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 ![]() |
|