469,636 Members | 1,682 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,636 developers. It's quick & easy.

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?
Sep 13 '05 #1
18 12348
On 2005-09-12 20:31:51 -0400, "Mad Programmer" <bu*@spiderwebonmycpu.com> said:
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?


Well, this program might do it:

void main()
{
}

--
Clark S. Cox, III
cl*******@gmail.com

Sep 13 '05 #2
* Mad Programmer:
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?


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?
Sep 13 '05 #3
Mad Programmer wrote:
I'm writing a destructive trojan with C++ and I need to know
how I can destroy the target's monitor
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.
and format the target's
harddisk before the target can stop the program.


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

Sep 13 '05 #4
Mad Programmer wrote:
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?


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
Sep 13 '05 #5
Kev
"Mad Programmer" <bu*@spiderwebonmycpu.com> wrote in news:dg56lt$ko1$1
@domitilla.aioe.org:
What do I need to do?


Why bother writing one? Just go to your local drugstore. They have more
trojans than anyone will ever need. Well.... most everyone.
Sep 13 '05 #6
Kai-Uwe Bux wrote:
Mad Programmer wrote:

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?

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


Hilarious!

john
Sep 13 '05 #7
Mad Programmer wrote:
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?

Is it a troll? An imp?

Nah, it must be a joker! (Batman style, of course)
Sep 13 '05 #8
"Clark S. Cox III" <cl*******@gmail.com> schrieb im Newsbeitrag
news:2005091220361116807%clarkcox3@gmailcom...
On 2005-09-12 20:31:51 -0400, "Mad Programmer" <bu*@spiderwebonmycpu.com> said:
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?
Well, this program might do it:

void main()


With int main() the virus is even better! :-)
{
}

--
Clark S. Cox, III
cl*******@gmail.com

Sep 13 '05 #9
if u are serious about this then u can try to mess with some Rom-Bios
Interrupts.. you might come across something useful..

Sep 13 '05 #10

"Mad Programmer" <bu*@spiderwebonmycpu.com> wrote in message
news:dg**********@domitilla.aioe.org...
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?


It's easy:
getMonitor()->destroy();
getHarddisk()->format();

Did you even look at your documentation at all? RTFM please :o)

-m
Sep 13 '05 #11

"Kai-Uwe Bux" <jk********@gmx.net> wrote in message
news:dg**********@murdoch.acc.Virginia.EDU...
Mad Programmer wrote:
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?
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.


Naw, I think the newsgroup he belongs in is "alt.I.am.a.dumbass.troll" ;)
Best

Kai-Uwe Bux


Jon
Sep 13 '05 #12

"Mogens Heller Jensen" <mo****@mookid.dk> wrote in message
news:43***********************@nntp02.dk.telia.net ...

"Mad Programmer" <bu*@spiderwebonmycpu.com> wrote in message
news:dg**********@domitilla.aioe.org...
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?


It's easy:
getMonitor()->destroy();
getHarddisk()->format();

Did you even look at your documentation at all? RTFM please :o)

-m


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.
Sep 13 '05 #13

"Jon Slaughter" <Jo***********@Hotmail.com> wrote in message
news:11*************@corp.supernews.com...

"Mogens Heller Jensen" <mo****@mookid.dk> wrote in message
news:43***********************@nntp02.dk.telia.net ...

"Mad Programmer" <bu*@spiderwebonmycpu.com> wrote in message
news:dg**********@domitilla.aioe.org...
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?


It's easy:
getMonitor()->destroy();
getHarddisk()->format();

Did you even look at your documentation at all? RTFM please :o)

-m


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.


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
Sep 13 '05 #14
On 2005-09-13 03:55:07 -0400, "Christian Meier" <ch***@gmx.ch> said:
"Clark S. Cox III" <cl*******@gmail.com> schrieb im Newsbeitrag
news:2005091220361116807%clarkcox3@gmailcom...
On 2005-09-12 20:31:51 -0400, "Mad Programmer" <bu*@spiderwebonmycpu.com>

said:
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?


Well, this program might do it:

void main()


With int main() the virus is even better! :-)


Wow, you completely missed the joke.

--
Clark S. Cox, III
cl*******@gmail.com

Sep 13 '05 #15

"Kai-Uwe Bux" <jk********@gmx.net> wrote in message
news:dg**********@murdoch.acc.Virginia.EDU...
Mad Programmer wrote:
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?


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


:-D Best response I ever read! Thanks!

-Howard

Sep 13 '05 #16
Kai-Uwe Bux wrote:
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


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:ru********@jabber.org
Sep 13 '05 #17
M
On Tue, 13 Sep 2005 02:31:51 +0200, "Mad Programmer"
<bu*@spiderwebonmycpu.com> wrote:
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?


If you are successful in finding a way to destroy the target's
monitor, I think you should call it "sledgehammer".
Sep 13 '05 #18
"M" <th********@usenet.net> wrote in message
news:qe********************************@4ax.com...
On Tue, 13 Sep 2005 02:31:51 +0200, "Mad Programmer"
<bu*@spiderwebonmycpu.com> wrote:
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?


If you are successful in finding a way to destroy the target's
monitor, I think you should call it "sledgehammer".


Actually, way back when it was possible to destroy (break) hercules monitors
by quickly switching resolutions.
Sep 13 '05 #19

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

87 posts views Thread by Sony Music CDs install Malware | last post: by
9 posts views Thread by Cesar A. K. Grossmann | last post: by
2 posts views Thread by irfan200x | last post: by
2 posts views Thread by =?Utf-8?B?bXkgY2F0IGtub3dzIG1vcmU=?= | last post: by
reply views Thread by =?Utf-8?B?UmFuZ2VyODAx?= | last post: by
4 posts views Thread by pangsans | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.