Inertia
I feel like I could... TAKE ON THE WORLD!!
I've never heard of a virus working that way, they are aggressive as possible by default, there would be no reason to design in that way. Except in a movie to freak the hero out.If the media reports are true - and I think they’re only partial truth - then it certainly wasn’t clever thinking. (*)
He saw that the malware was trying to contact a specific domain. He thought “I wonder what that domain does”, and registered it. He got lucky - it acted as a “kill switch” and inhibited the growth of the malware. That was luck.
But he didn’t know in advance that that would happen. It was just good luck, and he’s now a hero. But what if the existence of that domain had been designed to have precisely the opposite effect - a switch to increase the targeting and aggressiveness of this code?
He was examining a bomb. He found a secret button. He pressed it, without knowing whether that button was “disarm” or “detonate”.
(*) I am guessing - and hoping - that the media reports on this are just as inaccurate as they have been on the rest of the incident, and that the behaviour had been analysed in a sandbox before they created this new domain.
He isn't inexperienced at this though so he seems pretty clever to me, no one else figured it.
The process was not entirely accidental: he registered several thousand domains in the last year in his work combating computer viruses.
But no one anticipated that simply registering the domain would halt the spread of this attack.