Writing a destructive trojan with C++... 
September 13th, 2005, 12:45 AM
| | | Writing a destructive trojan with C++...
I'm writing a destructive trojan with C++ and I need to know how I can
destroy the target's monitor and format the target's harddisk before the
target can stop the program.
What do I need to do? | 
September 13th, 2005, 12:45 AM
| | | Re: Writing a destructive trojan with C++...
On 2005-09-12 20:31:51 -0400, "Mad Programmer" <bug@spiderwebonmycpu.com> said:
[color=blue]
> I'm writing a destructive trojan with C++ and I need to know how I can
> destroy the target's monitor and format the target's harddisk before
> the target can stop the program.
>
> What do I need to do?[/color]
Well, this program might do it:
void main()
{
}
--
Clark S. Cox, III clarkcox3@gmail.com | 
September 13th, 2005, 12:55 AM
| | | Re: Writing a destructive trojan with C++...
* Mad Programmer:[color=blue]
> I'm writing a destructive trojan with C++ and I need to know how I can
> destroy the target's monitor and format the target's harddisk before the
> target can stop the program.
>
> What do I need to do?[/color]
Ask your teacher.
The question is off-topic in this group.
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? | 
September 13th, 2005, 01:05 AM
| | | Re: Writing a destructive trojan with C++...
Mad Programmer wrote:
[color=blue]
> I'm writing a destructive trojan with C++ and I need to know
> how I can destroy the target's monitor[/color]
The program could hack into the electricity suppliers net and
give overvoltage to it. I see no other way to actually destroy
hardware. Ok it's possible to "brick" a BIOS Flash i.e.
overwriting it with garbage. But that is reversible with a
flasher.
[color=blue]
> and format the target's
> harddisk before the target can stop the program.[/color]
Hehe, nice try. If you format the harddisk on a *nix your
programm will probably immediately stop after the first bytes of
the FS have been nulled. However these can be revovered.
Really: Writing a destructive programm doesn't show skill but
immaturenes. Writing a virus for educational purposes can be
interesting, as it requires fiddling around on a low level. OTOH
on a sanely designed system you will hardly find executables you
can overwrite without root permission. And if $HOME is on a
parition mounted with the "noexec", option then it's almost
impossible to get malcode permanently on the system.
Unfortunately the widely used Windows OS is insecure by design.
Almost every of the "bad design points" described in http://www.ranum.com/security/comput...itorials/dumb/
apply to Windows.
Wolfgang Draxinger
-- | 
September 13th, 2005, 01:25 AM
| | | [OT] Re: Writing a destructive trojan with C++..
Mad Programmer wrote:
[color=blue]
> I'm writing a destructive trojan with C++ and I need to know how I can
> destroy the target's monitor and format the target's harddisk before the
> target can stop the program.
>
> What do I need to do?[/color]
Monitors and harddisks are platform specific. In order to obtain useful and
competent answers, you should ask this question in a forum dedicated to the
computers you are trying to destroy.
Best
Kai-Uwe Bux | 
September 13th, 2005, 04:35 AM
| | | Re: Writing a destructive trojan with C++...
"Mad Programmer" <bug@spiderwebonmycpu.com> wrote in news:dg56lt$ko1$1
@domitilla.aioe.org:
[color=blue]
> What do I need to do?[/color]
Why bother writing one? Just go to your local drugstore. They have more
trojans than anyone will ever need. Well.... most everyone. | 
September 13th, 2005, 07:15 AM
| | | Re: [OT] Re: Writing a destructive trojan with C++..
Kai-Uwe Bux wrote:[color=blue]
> Mad Programmer wrote:
>
>[color=green]
>>I'm writing a destructive trojan with C++ and I need to know how I can
>>destroy the target's monitor and format the target's harddisk before the
>>target can stop the program.
>>
>>What do I need to do?[/color]
>
>
> Monitors and harddisks are platform specific. In order to obtain useful and
> competent answers, you should ask this question in a forum dedicated to the
> computers you are trying to destroy.
>
>
> Best
>
> Kai-Uwe Bux[/color]
Hilarious!
john | 
September 13th, 2005, 07:25 AM
| | | Re: Writing a destructive trojan with C++...
Mad Programmer wrote:[color=blue]
> I'm writing a destructive trojan with C++ and I need to know how I can
> destroy the target's monitor and format the target's harddisk before the
> target can stop the program.
>
> What do I need to do?
>
>[/color]
Is it a troll? An imp?
Nah, it must be a joker! (Batman style, of course) | 
September 13th, 2005, 08:05 AM
| | | Re: Writing a destructive trojan with C++...
"Clark S. Cox III" <clarkcox3@gmail.com> schrieb im Newsbeitrag
news:2005091220361116807%clarkcox3@gmailcom...[color=blue]
> On 2005-09-12 20:31:51 -0400, "Mad Programmer" <bug@spiderwebonmycpu.com>[/color]
said:[color=blue]
>[color=green]
> > I'm writing a destructive trojan with C++ and I need to know how I can
> > destroy the target's monitor and format the target's harddisk before
> > the target can stop the program.
> >
> > What do I need to do?[/color]
>
> Well, this program might do it:
>
> void main()[/color]
With int main() the virus is even better! :-)
[color=blue]
> {
> }
>
> --
> Clark S. Cox, III
> clarkcox3@gmail.com
>[/color] | 
September 13th, 2005, 09:45 AM
| | | Re: Writing a destructive trojan with C++...
if u are serious about this then u can try to mess with some Rom-Bios
Interrupts.. you might come across something useful.. | 
September 13th, 2005, 10:35 AM
| | | Re: Writing a destructive trojan with C++...
"Mad Programmer" <bug@spiderwebonmycpu.com> wrote in message
news:dg56lt$ko1$1@domitilla.aioe.org...[color=blue]
> I'm writing a destructive trojan with C++ and I need to know how I can
> destroy the target's monitor and format the target's harddisk before the
> target can stop the program.
>
> What do I need to do?
>[/color]
It's easy:
getMonitor()->destroy();
getHarddisk()->format();
Did you even look at your documentation at all? RTFM please :o)
-m | 
September 13th, 2005, 10:45 AM
| | | Re: [OT] Re: Writing a destructive trojan with C++..
"Kai-Uwe Bux" <jkherciueh@gmx.net> wrote in message
news:dg58bu$rq4$1@murdoch.acc.Virginia.EDU...[color=blue]
> Mad Programmer wrote:
>[color=green]
>> I'm writing a destructive trojan with C++ and I need to know how I can
>> destroy the target's monitor and format the target's harddisk before the
>> target can stop the program.
>>
>> What do I need to do?[/color]
>
> Monitors and harddisks are platform specific. In order to obtain useful
> and
> competent answers, you should ask this question in a forum dedicated to
> the
> computers you are trying to destroy.
>
>[/color]
Naw, I think the newsgroup he belongs in is "alt.I.am.a.dumbass.troll" ;)
[color=blue]
> Best
>
> Kai-Uwe Bux[/color]
Jon | 
September 13th, 2005, 10:55 AM
| | | Re: Writing a destructive trojan with C++...
"Mogens Heller Jensen" <mogens@mookid.dk> wrote in message
news:4326a995$0$11673$ba624c82@nntp02.dk.telia.net ...[color=blue]
>
> "Mad Programmer" <bug@spiderwebonmycpu.com> wrote in message
> news:dg56lt$ko1$1@domitilla.aioe.org...[color=green]
>> I'm writing a destructive trojan with C++ and I need to know how I can
>> destroy the target's monitor and format the target's harddisk before the
>> target can stop the program.
>>
>> What do I need to do?
>>[/color]
>
> It's easy:
> getMonitor()->destroy();
> getHarddisk()->format();
>
> Did you even look at your documentation at all? RTFM please :o)
>
> -m
>[/color]
DX9.0b has made the first obsolete. The have been replaced with more
efficient functions
g_pD3D->InitializeMonitorDestruction(D3DPRESENT_PARAMETER S d3dparameters,
RFGUID rguid);you can do some cool stuff like have the monitor fade out very
slowly over a predetermined amount of time or even present a BSOD then when
the computer is reset the monitor explodes. You'll have to consult the
documentation for all the things it can do cause to many to list here. | 
September 13th, 2005, 11:25 AM
| | | Re: Writing a destructive trojan with C++...
"Jon Slaughter" <Jon_Slaughter@Hotmail.com> wrote in message
news:11idbjv8pjcjf9c@corp.supernews.com...[color=blue]
>
> "Mogens Heller Jensen" <mogens@mookid.dk> wrote in message
> news:4326a995$0$11673$ba624c82@nntp02.dk.telia.net ...[color=green]
>>
>> "Mad Programmer" <bug@spiderwebonmycpu.com> wrote in message
>> news:dg56lt$ko1$1@domitilla.aioe.org...[color=darkred]
>>> I'm writing a destructive trojan with C++ and I need to know how I can
>>> destroy the target's monitor and format the target's harddisk before the
>>> target can stop the program.
>>>
>>> What do I need to do?
>>>[/color]
>>
>> It's easy:
>> getMonitor()->destroy();
>> getHarddisk()->format();
>>
>> Did you even look at your documentation at all? RTFM please :o)
>>
>> -m
>>[/color]
>
> DX9.0b has made the first obsolete. The have been replaced with more
> efficient functions
> g_pD3D->InitializeMonitorDestruction(D3DPRESENT_PARAMETER S d3dparameters,
> RFGUID rguid);you can do some cool stuff like have the monitor fade out
> very slowly over a predetermined amount of time or even present a BSOD
> then when the computer is reset the monitor explodes. You'll have to
> consult the documentation for all the things it can do cause to many to
> list here.
>[/color]
Wow, that's so cool! But it would be even cooler if there existed some kind
of framework for this kind of thing.
Oh, how I want a platform-independent way of presenting a BSOD!
Does it come with hardware-acceleration?
-M | 
September 13th, 2005, 11:45 AM
| | | Re: Writing a destructive trojan with C++...
On 2005-09-13 03:55:07 -0400, "Christian Meier" <chris@gmx.ch> said:
[color=blue]
> "Clark S. Cox III" <clarkcox3@gmail.com> schrieb im Newsbeitrag
> news:2005091220361116807%clarkcox3@gmailcom...[color=green]
>> On 2005-09-12 20:31:51 -0400, "Mad Programmer" <bug@spiderwebonmycpu.com>[/color]
> said:[color=green]
>>[color=darkred]
>>> I'm writing a destructive trojan with C++ and I need to know how I can
>>> destroy the target's monitor and format the target's harddisk before
>>> the target can stop the program.
>>>
>>> What do I need to do?[/color]
>>
>> Well, this program might do it:
>>
>> void main()[/color]
>
> With int main() the virus is even better! :-)[/color]
Wow, you completely missed the joke.
--
Clark S. Cox, III clarkcox3@gmail.com | 
September 13th, 2005, 03:35 PM
| | | Re: [OT] Re: Writing a destructive trojan with C++..
"Kai-Uwe Bux" <jkherciueh@gmx.net> wrote in message
news:dg58bu$rq4$1@murdoch.acc.Virginia.EDU...[color=blue]
> Mad Programmer wrote:
>[color=green]
>> I'm writing a destructive trojan with C++ and I need to know how I can
>> destroy the target's monitor and format the target's harddisk before the
>> target can stop the program.
>>
>> What do I need to do?[/color]
>
> Monitors and harddisks are platform specific. In order to obtain useful
> and
> competent answers, you should ask this question in a forum dedicated to
> the
> computers you are trying to destroy.
>
>
> Best
>
> Kai-Uwe Bux[/color]
:-D Best response I ever read! Thanks!
-Howard | 
September 13th, 2005, 07:55 PM
| | | Re: [OT] Re: Writing a destructive trojan with C++..
Kai-Uwe Bux wrote:
[color=blue]
> Monitors and harddisks are platform specific. In order to obtain useful
> and competent answers, you should ask this question in a forum dedicated
> to the computers you are trying to destroy.
>
>
> Best
>
> Kai-Uwe Bux[/color]
LOL
Great stuff :D Thanks for making me laught
Rui Maciel
--
Running Kubuntu 5.04 with KDE 3.4.2 and proud of it.
jabber:rui_maciel@jabber.org | 
September 13th, 2005, 09:45 PM
| | | Re: Writing a destructive trojan with C++...
On Tue, 13 Sep 2005 02:31:51 +0200, "Mad Programmer"
<bug@spiderwebonmycpu.com> wrote:
[color=blue]
>I'm writing a destructive trojan with C++ and I need to know how I can
>destroy the target's monitor and format the target's harddisk before the
>target can stop the program.
>
>What do I need to do?
>[/color]
If you are successful in finding a way to destroy the target's
monitor, I think you should call it "sledgehammer". | 
September 13th, 2005, 10:25 PM
| | | Re: Writing a destructive trojan with C++...
"M" <this.group@usenet.net> wrote in message
news:qehei1dnpa5qe2jtnl91cnr5a45k0hcggi@4ax.com...[color=blue]
> On Tue, 13 Sep 2005 02:31:51 +0200, "Mad Programmer"
> <bug@spiderwebonmycpu.com> wrote:
>[color=green]
>>I'm writing a destructive trojan with C++ and I need to know how I can
>>destroy the target's monitor and format the target's harddisk before the
>>target can stop the program.
>>
>>What do I need to do?
>>[/color]
>
> If you are successful in finding a way to destroy the target's
> monitor, I think you should call it "sledgehammer".[/color]
Actually, way back when it was possible to destroy (break) hercules monitors
by quickly switching resolutions. | | Thread Tools | Search this Thread | | | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | | | What is Bytes?
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 220,662 network members.
|