I don't understand why you come with this "as fast as possible, try to do it in less than 10 seconds" instruction.
if you don't understand, then maybe you should ask
The correct way to get rid of malware, is not letting it in in the first place.
I agree, but shit happens, and shit needs fixing.
If you boot a linux computer, disconnected from internet, and plug the miner DIRECTLY to it, you can perform this safely without expecting to win a race against malware.
it's not a race, and connecting the miner to a linux based system won't help, you don't get it, that's why you should ask.
Hoping that your LAN is somehow slow enough to not infect you in time is not wise at all.
I like how you used "not wise at all" i would have used "plain stupid" if someone was actually trying to win such a race
But, this is not how it works , what does a slow lan has to do with this if you actually are able to access the miner? that miner itself is infected, it has nothing to do with the network, am not sure how you arrived to this conclusion.
you see I don't have access to the inside details of how this firmware works, but I have had a few second hand S9 miners came to me with that firmware, to my luck or perhaps paranoia, I had those gears run on a different network , everything worked just fine until i checked the pool and i noticed something strange, looked a bit deeper and found out all those miners were mining on Jp.nicehash for x amount of time , the firmware won't allow you to flash any other firmware, the flash will show "successful" but nothing actually happens, so the only option left was to SDcard those gears, but I decided to give it another go with a different firmware and it worked !
so i decided to use the same firmware on the other gears (was thinking that firmware was the fix), but it didn't work this time !! so i was asking myself, what did I do on that miner to make it work?? and then i figured out that , okay maybe I did it too fast and it worked lemme try again ( I was calling myself stupid for even thinking speed was the reason , but i wanted a lazy fix so why not ?) , I tried again and i rushed to flash the firmware and ,bingo!it worked !! I did that on all the other gears and it worked perfectly !!
I don't have the exact explanation on how or why, but i think that part of the code the don't let you flash the firmware does not execute the moment the miner starts, I don't know ! but long story short, I had to flash the firmware before the data on the miner's status page show up, if I wait long enough for it to load up , the flash won't work ( I assume someone with a better understanding on S9 firmware will have a logical explanation).
... and not allow any non linux computers in the LAN.
Agreed, but first he needs to fix the problem , not allowing any non-linux pcs won't fix the existing problem now, it's a great security practice but only works before the miners get infected.