Question Ransomware, How can it work without an internet connection?


Aug 30, 2017
I was just reading an article about "eternalblue" and how it has been used as ransomware to cripple hospitals and local government agencies. I am completely ignorant to how something like that would work but in my mind if you had no internet connection, it couldn't. If you were to get the ransomware say on a laptop, and all your files were on the local drive, would the badies ransomware not cease to work once that computer went offline? Any service as far as I know that takes remote access of your computer needs an internet connection. Worst case scenario your computer is basically bricked and no one has your files, unless they somehow download them to their own cloud/local drive first.
So how does that work?
By far the most common way of becoming infected is through the internet (infected download or email or whatnot). Once the PC is infected, the malware can be disconnected from command servers but if it's already infected the malware will still work in the background doing whatever it's meant to do and wait to re-connect. So a ransomware can still work (encrypting local files doesn't require network resources).