473,756 Members | 2,558 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 12734
On 2005-09-12 20:31:51 -0400, "Mad Programmer" <bu*@spiderwebo nmycpu.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*@spiderwebo nmycpu.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*******@gmai l.com> schrieb im Newsbeitrag
news:2005091220 361116807%clark cox3@gmailcom.. .
On 2005-09-12 20:31:51 -0400, "Mad Programmer" <bu*@spiderwebo nmycpu.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

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

87
5343
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 licence agreement gives no indication whatsoever that the 'viewer' software contains the implementation of a nasty near-impossible to remove rootkit software. http://www.sysinternals.com/blog/2005/10/sony-rootkits-and-digital-rights.html ...
9
1832
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
1753
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
1846
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 windows defender... and scanned my computer...Nothing. No virus detected. I don't know what to do.. :( can someone...ANYONE....please help. I'm not computer savvy so I need step by step help on this .
2
2704
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 on, the notification will that there is a virus each time i am deleting the virus but its coming again and again ... and so the system is slow...
0
1691
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 network nor can I modify any of the settings in 'Tools" "Folder Options" "View" Hopefully someone can help me here. Thanks, -- Ranger801
4
2681
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 running any application it asks for open with. then it has disabled running exe files and control panel.i dont want to reinstall my os.can you tell me how to clean up without using removers as i tried quite a few of them and none worked... thanx for the...
3
1328
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. I just added new validation controls. And nothing done in code.(it was builded and kept as dll) And i added one more iframe which is calling a page done in .Net 2005. Once I uploaded the new modified site, its got trojan virus and iframes where...
0
9287
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10046
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9857
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9722
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8723
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7259
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6542
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5318
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2677
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.