View previous topic :: View next topic |
Author |
Message |
Stylo Grandmaster Cheater Supreme
Reputation: 3
Joined: 16 May 2007 Posts: 1073 Location: Israel
|
Posted: Wed Mar 04, 2009 11:35 am Post subject: [question] blue screen of death |
|
|
always wondering . .
what causes that screen pops up?
and is there any code sample you can put here that cause it and explain exactly what happen inside the code that makes the computer crush?
that'd be really great :>
|
|
Back to top |
|
 |
S3NSA :3
Reputation: 1
Joined: 06 Dec 2006 Posts: 1908 Location: England.
|
|
Back to top |
|
 |
dnsi0 I post too much
Reputation: 0
Joined: 04 Jan 2007 Posts: 2674
|
Posted: Wed Mar 04, 2009 8:28 pm Post subject: |
|
|
Any tiny error not handled causes BSoD in kernel mode where errors are fatal. So I guess you can get a access violation in kernel mode and bam BSoD.
|
|
Back to top |
|
 |
Stylo Grandmaster Cheater Supreme
Reputation: 3
Joined: 16 May 2007 Posts: 1073 Location: Israel
|
Posted: Thu Mar 05, 2009 11:56 am Post subject: |
|
|
okay thx i think i got it
is there any code on the internet that can help me how i'd make the computer crush?
i remember that some1 asked about it in the forum b4 and you gave a lot of examples, mostly in VB
but C++ would be better.. so can you link me to this topic maybe?
|
|
Back to top |
|
 |
Spawnfestis GO Moderator
Reputation: 0
Joined: 02 Nov 2007 Posts: 1746 Location: Pakistan
|
Posted: Thu Mar 05, 2009 1:55 pm Post subject: |
|
|
1qaz wrote: | okay thx i think i got it
is there any code on the internet that can help me how i'd make the computer crush?
i remember that some1 asked about it in the forum b4 and you gave a lot of examples, mostly in VB
but C++ would be better.. so can you link me to this topic maybe? |
I'm sure this is heading towards malicious intent of which we won't help you with.
_________________
CLICK TO HAX MAPLESTORAY ^ !!!! |
|
Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Thu Mar 05, 2009 2:06 pm Post subject: |
|
|
You could try (try as in programmatically) to write to a protected memory region which will cause an exception, and as a result will return a bsod.
But i don't understand why you want to do this, any special reasons ?
|
|
Back to top |
|
 |
Stylo Grandmaster Cheater Supreme
Reputation: 3
Joined: 16 May 2007 Posts: 1073 Location: Israel
|
Posted: Thu Mar 05, 2009 2:21 pm Post subject: |
|
|
to be honest no. it's not a special reason, i just remembered that some1 was talking about that few months ago on the forum.
i wanted to view a code that can make that screen pops and understand it
i really want to see what's happening inside the code
i know it's hard to explain why i want it and for what reasons and i know it can be almost impossible to convince you that i mean no harm.
but anyway if that's illegal to talk about it then nvm :] . .
|
|
Back to top |
|
 |
iNoobHacker Advanced Cheater
Reputation: 0
Joined: 05 Nov 2006 Posts: 99
|
Posted: Thu Mar 05, 2009 2:27 pm Post subject: |
|
|
Anything that will cause runtime error, throw and exception or such in user-mode will probably make you BSOD in kernel-mode.
For example, you could make a simple driver that does this:
or try reading it, or ofcourse executing it.
_________________
"Two things are infinite: the universe and human stupidity, but I'm still not sure about the first one." |
|
Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Thu Mar 05, 2009 2:40 pm Post subject: |
|
|
Just use KeBugCheck() in a driver.
|
|
Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Thu Mar 05, 2009 3:20 pm Post subject: |
|
|
iNoobHacker wrote: | Anything that will cause runtime error, throw and exception or such in user-mode will probably make you BSOD in kernel-mode.
For example, you could make a simple driver that does this:
or try reading it, or ofcourse executing it. |
I totaly agree with him, any tiny mistake in kernel mode will probably BSOD you unless you handle that exception.
1qaz wrote: | to be honest no. it's not a special reason, i just remembered that some1 was talking about that few months ago on the forum.
i wanted to view a code that can make that screen pops and understand it
i really want to see what's happening inside the code
i know it's hard to explain why i want it and for what reasons and i know it can be almost impossible to convince you that i mean no harm.
but anyway if that's illegal to talk about it then nvm :] . . |
I believe you, but there's no specific code for a BSOD, it's the specific block of code written by the developer that causes it, whether he miscoded something or poorly-coded.
|
|
Back to top |
|
 |
SXGuy I post too much
Reputation: 0
Joined: 19 Sep 2006 Posts: 3551
|
|
Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Thu Mar 05, 2009 7:10 pm Post subject: |
|
|
Code: | #include <ntddk.h>
void DriverUnload(PDRIVER_OBJECT pDriverObject)
{
DbgPrint("Driver 2 unloading\n");
}
NTSTATUS DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath)
{
DriverObject->DriverUnload = DriverUnload;
DbgPrint("Driver 2");
__asm{
mov al, 254
out 64h, al
}
return STATUS_SUCCESS;
}
|
Maybe thats what you saw that will cause a hard reset of the computer. It wont BSOD, just reset
_________________
|
|
Back to top |
|
 |
Stylo Grandmaster Cheater Supreme
Reputation: 3
Joined: 16 May 2007 Posts: 1073 Location: Israel
|
Posted: Sat Mar 07, 2009 2:08 am Post subject: |
|
|
i don't remember exactly what i saw there
i remember seeing a lot of codes creating bsod
but why the code you gave can create bsod?
what makes the computer crush when moving al 254 and then using out ... ?
|
|
Back to top |
|
 |
|