News for hackers. Stuff that matters.
Re:Anti-Debugging Tricks (1993) by jacquesm on Monday December 21, 2015 @08:42AM (#10771003)
One particular nasty trick was a very tight loop with interrupts disabled writing 0 to a location that was 0xff in the ROM. The ROM and the CPU would end up fighting over this, it effectively shorts 5V through the databus drivers to ground. The goal here is not to damage some peripheral but to directly damage the CPU.

On more modern CPUs this trick should not longer work but on quite a few 8 bit micros it definitely did (let's not go into how I know this and how I know the ca. 1987 list price of a 6809).

Re:Anti-Debugging Tricks (1993) by beagle3 on Monday December 21, 2015 @02:51PM (#10773015)
So, you're saying that the mythical HCF instruction[0] was somewhat real?

[0] https://en.wikipedia.org/wiki/Halt_and_Catch_Fire

Re:Anti-Debugging Tricks (1993) by jacquesm on Monday December 21, 2015 @06:07PM (#10774239)
Yes, but it was more like 'loop and burn out a transistor'. No fire and no visible damage, just a cpu that wouldn't work any more. I didn't try it again to see if it was reproducible, it was a lot of money for me at the time and I considered myself pretty dumb for trying. A sample of '1' was enough to prove the point for me. I wished I recalled what drove me to try it, I'm fairly sure it was some outside influence, not something I came up with by myself and wondering 'what if'. More like: that's never going to work, here, let me show you. (Famous last words...)
Re:Anti-Debugging Tricks (1993) by kuschku on Monday December 21, 2015 @11:36AM (#10771883)
Time for a lawsuit, I guess?

Debugging is your right, and destroying your hardware is not something the software may do.

Re:Anti-Debugging Tricks (1993) by jacquesm on Monday December 21, 2015 @11:49AM (#10771967)
I think you replied to the wrong person.
Re:Anti-Debugging Tricks (1993) by kuschku on Monday December 21, 2015 @11:57AM (#10772004)
Well, you wrote about software you used trying "to directly damage the CPU."

That definitely sounds like malicious intent from the devs.

Re:Anti-Debugging Tricks (1993) by jacquesm on Monday December 21, 2015 @12:47PM (#10772272)
I was the dev, checking if this was actually possible. And - much to my surprise I might add - it was.
Re:Anti-Debugging Tricks (1993) by kuschku on Monday December 21, 2015 @03:53PM (#10773428)
oh, interesting. Still, it’s not really a great idea to damage your users’ systems. Liability and everything.

    ----------------
EDIT: Due to HN blocking me from posting new comments, I’ll answer here:

Yes, I’m sorry, I had originally thought you were talking about the same as the parent you replied to: Software that tries to physically hurt your system when you try to debug it.

We can only be lucky that that isn’t possible today anymore, considering the fact that malware is widespread by now, it’d surely have used a "pay 20$ or your PC is dead" scheme otherwise.

Re:Anti-Debugging Tricks (1993) by jacquesm on Monday December 21, 2015 @05:08PM (#10773887)
The system was my own.