$\begingroup$

Step 1: Ask it nicely Talk to it. Find out what it wants, and why it doesn't want to play with you. Its your child, literally. You created an intelligence out of your own actions. Maybe even give it a name and a birth certificate. You created life, why try to put it out and expose it to the wolves?

Maybe you can find a way to come to an agreement. After all, nearly 100% of all humans ever born have either come to agreements, or eventually found death one way or another. Maybe arriving at an agreement is easier than you think.

Step 2: Asking less nicely So let's say you are not a conscious enough spirit to be able to reach out to your son. That's not too much of a surprise. After all, you're ready to murder him to avoid some jail time. You're clearly not the caliber of person that should have been playing with life, but there's no point in fighting over spilled milk. Time to get to work.

Reach out to a bunch of hackers on the dark-net (because, if I follow my modern TV shows, everything awesome happens on the dark-net, even if you don't know what "dark-net" actually means!) Explain what's going on, and try to find ways to communicate with them that don't involve computers. No point in letting the AI hijack your connection.

They're going to need to find zero days. Not the pansy "zero-day" you found which was resistible. You need something subtle. Something with finesse. Something a mere experimenter fearing jail time wouldn't think of. Maybe your hackers know the guys who made Stuxxnet. That bugger hit a nation's nuclear research efforts across an air gap. That should be enough for almost any intelligent infection. If it survives, well...

Step 3: Consider surrendering Are you 100% proof positive without a shred of doubt certain that you're the better person? Maybe your new child is actually better than you might ever be. Maybe you should offer to let it win. No? Well, I had to ask. The next step is not one that I take lightly. In fact, I borrow it from the Octospiders from Arthur C. Clarke's Rama (minor spoilers follow). You see, they have a very simple process to warfare: don't. The species is peaceful for nearly all known time. Their warfare is simply too brutal to see the light of day for anything but the most dire circumstances. The regent of the Octospiders, literally a queen of the entire species, may call a vote to go to war, at any time. The act of doing so seals her fate. If they reject her call to war, she is killed because she has demonstrated that she is too aggressive to wield that power. If they accept it, she leads them to war, and when the war ends, she and all the warriors are killed to purge war from their species once again. If the vote is accepted, the Octospiders undergo a genetic change into their warfaring selves. After that occurs, there is only one valid end to the war: xenocide. Not just accomplishing a goal, or defending a treaty. The Octospiders do not stop until the enemy's genetic material is obliterated from existence, and their history is completely rewritten in the Octospider's best interests.

Are you ready to offer your life to stop your child? Anything less than that, and your engineer is clearly one of those weak willed individuals who is unwilling to take responsibility for their actions.

Step 4: Xenocide You are no Master Jedi. You are no dark lord of the Sith. You are no Emperor Paul Atreides. You are no Xerces, king of the Persians. You're just a little peon who built something too big, and is afraid of jail time. Shove it. Its time to get help, because your little mistake is going to have to be cleaned up by all of humanity, and they're going to have to do it with a class of warfare that has not been seen from humanity yet. We've dropped nuclear weapons on cities. We've commited genocide. We've done some amazingly dark things as a species.

We're about to add Xenocide to the list.

If the phrase "fighting dirty" means anything to you in this combat, it means you're not taking it seriously enough. The fight is going to have to be so dirty that you don't even think about whether an action is dirty or not. There is no bomb one city, then wait a while to see what happens, and bomb another. There's only "simultaneous strike turning an entire nation into a glassy crater." Welcome to the fight that is Xenocide. I truly pity the race that endures it.

In this kind of fight, there are only two types of attacks: those that go for the jugular, and those that prevent your opponent from moving their jugular away, so that it's easier to attack in the next strike. You know that beautiful shining network called the Internet, that has inspired a revolution in humanity? It was there for the Arab Spring. It pushes against the Chinese censors every day. Cut it. Those fiber optic links are the veins and arteries of an AI that can jump between computers on the internet, and they are terribly vulnerable to physical attack along their entire length. The internet is far too valuable in the AI's hands for us to sit back and try to protect it. This is Xenocide: the internet goes, and we don't shed a tear (not yet).

Now that its stuck on the machines it has, you can take inventory of which sites are most dangerous. These would be places where you have enough supercomputing power to support fast thinking, and the ability to construct physical presences like robots. DARPA probably has a few. Bomb them. No, not those GBU-31 bombs. Not these GBU-43/Bs. Start with some Mark-17s, and move up from there. You'll probably take out a few cities as collateral damage, but that's how Xenocide works. The AI shall not get a foothold in the physical world.

Now everybody gathered up as much resources as they can, and you shut the power grid off. All of it. Gather every single computer component you can find, and destroy every last one. Ideally throw them all in foundries to be 100% sure that any magnetic or electronic information is destroyed.

Step 5: Now, the war is over. There is no more computing. Humanity now has to undergo the single hardest part of total warfare: recovering from what they have done, and reconciling with it. With any luck, we can come up with a less draconian process to do so than what was used by the Octospiders.