DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C++ (http://www.daniweb.com/forums/forum8.html)
-   -   Crash Windows (http://www.daniweb.com/forums/thread158639.html)

TheBeast32 Nov 20th, 2008 4:38 pm
Crash Windows
 
Hi, I was told that you can crash Windows in C++ or C by "corrupting the kernel", and I wanted to know if this was actually possible. If anyone knows if this is possible, or how it happens, please tell me. ;)

Duoas Nov 20th, 2008 4:41 pm
Re: Crash Windows
 
No.

The kernel is write-protected and you have to know the right magic to get past that.

Deliberately crashing the kernel isn't funny. It is downright dangerous. You can utterly destroy your system and loose data.

TheBeast32 Nov 20th, 2008 5:06 pm
Re: Crash Windows
 
So there's absolutely no way possible for the average person to write to it?

Narue Nov 20th, 2008 5:12 pm
Re: Crash Windows
 
>So there's absolutely no way possible for the average person to write to it?
Why in the world are you even asking how to crash Windows by corrupting the kernel?

TheBeast32 Nov 20th, 2008 5:14 pm
Re: Crash Windows
 
I was just curious, I absolutely do not want to make any type of virus, trojan, or malware.

Duoas Nov 20th, 2008 5:17 pm
Re: Crash Windows
 
>So there's absolutely no way possible for the average person to write to it?
No.

>I was just curious, I absolutely do not want to make any type of virus, trojan, or malware.
Anything that deliberately harms your system is, by definition, malware.

Seriously, you'd get more entertainment by using a sledgehammer or just defenestrating it from some tall office building.

Narue Nov 20th, 2008 5:22 pm
Re: Crash Windows
 
Well, the answer is that the "average" person can easily corrupt Windows by randomly writing in the appropriate locations. That's a pretty surefire way to screw something up and make the system unusable. You don't even have to touch the kernel, there are thousands of critical files that can be corrupted to destroy a Windows installation.

William Hemsworth Nov 20th, 2008 5:22 pm
Re: Crash Windows
 
>I was just curious, I absolutely do not want to make any type of virus, trojan, or malware.

I have to admit, I believe you (because i've helped you in many previous threads). And well, we all find ammusment in differen't things, making pranks for a friend (as long as it doesn't damage their system like Duoas said) isn't too bad if it gives a couple of laughs. It will be possible, but I don't know any ways of doing it off the top of my head. Just.. don't over-do it :)

Alex Edwards Nov 20th, 2008 5:55 pm
Re: Crash Windows
 
I don't know why... but I found the first post amusing XD

But I'm laughing with you Beast! I promise! O_O

-Alex

William Hemsworth Nov 20th, 2008 7:10 pm
Re: Crash Windows
 
>Deliberately crashing the kernel isn't funny
Does that mean accidently crashing it is? :)

Hah :D , sorry, I coulden't help myself.

Alex Edwards Nov 20th, 2008 7:12 pm
Re: Crash Windows
 
Quote:

Originally Posted by williamhemsworth (Post 740953)
>Deliberately crashing the kernel isn't funny
Does that mean accidently crashing it is? :)

Hah :D , sorry, I coulden't help myself.

Rep-worthy! XD

It's too bad I can't give you any more rep today @_@

-Alex

MosaicFuneral Nov 20th, 2008 8:39 pm
Re: Crash Windows
 
Just open the Windows directory and take your pick on what to use against it. Registries, .infs, replace .exes with .coms, find a minor glitch, etc.

jbennet Nov 20th, 2008 9:29 pm
Re: Crash Windows
 
Its very hard to write to protected memory NT based systems, specifically windows server, as they have extra protections on by default. Only real way to access kernel memory space from a program you make is to write a kernel level device driver but as i said, it will be easialy blocked as 64 bit versions and versions of windows server do not allow unsigned kernel drivers.

marco93 Nov 21st, 2008 7:34 am
Re: Crash Windows
 
Of course you can easily crash Windows with Win32 api, but what's the goal ?
It's stupid.

William Hemsworth Nov 21st, 2008 12:07 pm
Re: Crash Windows
 
Quote:

Of course you can easily crash Windows with Win32 api, but what's the goal ?
It's stupid.
Your beginning to get on my nerves..
If you read his post, you would have noticed he said he was just curious. For all you know, he could have been trying to understand how it works to prevent other applications from doing the same. Think before you post.. and don't just suddenly jump to the conclusion that "It's stupid".


All times are GMT -4. The time now is 4:24 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC