Connecting Tech Pros Worldwide Help | Site Map

Writing a destructive trojan with C++...

  #1  
Old September 13th, 2005, 01:45 AM
Mad Programmer
Guest
 
Posts: n/a
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?


  #2  
Old September 13th, 2005, 01:45 AM
Clark S. Cox III
Guest
 
Posts: n/a

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

  #3  
Old September 13th, 2005, 01:55 AM
Alf P. Steinbach
Guest
 
Posts: n/a

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?
  #4  
Old September 13th, 2005, 02:05 AM
Wolfgang Draxinger
Guest
 
Posts: n/a

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
--

  #5  
Old September 13th, 2005, 02:25 AM
Kai-Uwe Bux
Guest
 
Posts: n/a

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
  #6  
Old September 13th, 2005, 05:35 AM
Kev
Guest
 
Posts: n/a

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.
  #7  
Old September 13th, 2005, 08:15 AM
John Harrison
Guest
 
Posts: n/a

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
  #8  
Old September 13th, 2005, 08:25 AM
Zara
Guest
 
Posts: n/a

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)
  #9  
Old September 13th, 2005, 09:05 AM
Christian Meier
Guest
 
Posts: n/a

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]


  #10  
Old September 13th, 2005, 10:45 AM
Salil
Guest
 
Posts: n/a

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..

  #11  
Old September 13th, 2005, 11:35 AM
Mogens Heller Jensen
Guest
 
Posts: n/a

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


  #12  
Old September 13th, 2005, 11:45 AM
Jon Slaughter
Guest
 
Posts: n/a

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


  #13  
Old September 13th, 2005, 11:55 AM
Jon Slaughter
Guest
 
Posts: n/a

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.


  #14  
Old September 13th, 2005, 12:25 PM
Mogens Heller Jensen
Guest
 
Posts: n/a

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


  #15  
Old September 13th, 2005, 12:45 PM
Clark S. Cox III
Guest
 
Posts: n/a

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

  #16  
Old September 13th, 2005, 04:35 PM
Howard
Guest
 
Posts: n/a

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



  #17  
Old September 13th, 2005, 08:55 PM
Rui Maciel
Guest
 
Posts: n/a

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
  #18  
Old September 13th, 2005, 10:45 PM
M
Guest
 
Posts: n/a

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".


  #19  
Old September 13th, 2005, 11:25 PM
Jim Langston
Guest
 
Posts: n/a

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.


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Become A Master Hacker - Part 2 candra answers 0 April 9th, 2007 02:15 AM