473,387 Members | 1,374 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 12700
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

87
by: Sony Music CDs install Malware | last post by:
Whether you are a web surfer or a C++ developer, if you use Windows be cautioned about SONY music CDs. They contain 'viewer' type software that is actually a trojan horse for a "rootkit". The...
9
by: Cesar A. K. Grossmann | last post by:
Hi I'm trying to build a parser for a file I create. The file format is as follow: IDENTIFIER = NUMBER STRING STRING; COMPOSITE = STRING { ITEM }; ITEM = NUMBER IDENTIFIER|COMPOSITE
2
by: irfan200x | last post by:
How Should i Remove the Trojan Virus in my system Windows XP SP2? Is some body have the Full Software Then send to me my E-mail Address is bye
2
by: =?Utf-8?B?bXkgY2F0IGtub3dzIG1vcmU=?= | last post by:
* your browser was infected by trojan.win.32.obfuscated.gx. you need to clean your system immediately or it will crash. Okay so this is what keeps popping up every so often. I've downloaded...
2
by: priya08 | last post by:
System affected by Trojan horse virus. Anti-virus is having in the system but it is detecting the virus but not removing the virus... Tell some antivirus to remove it.... when the system is logged...
0
by: =?Utf-8?B?UmFuZ2VyODAx?= | last post by:
Hi All My virus software detected a trojan horse virus in the smss.exe and winlogon.exe files that were located in my C:\Program Files\Common Files\ Since then I can no longer log onto my MS...
4
by: pangsans | last post by:
hai i have a problem here because of a trojan attack..its called trojan agent horse.ACNS i googled it and could not find any relevant information. this trojan does not let me run anything.for...
3
prabunewindia
by: prabunewindia | last post by:
Hello everyone!, I developed a website page with IFrame. It was working fine. When a new modification came, I done some modification on the page called in iframe. before it was done in .Net 2003....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.