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