First Node.js-Powered Ransomware Discovered (softpedia.com) 69
An anonymous reader writes: A security researcher from Emsisoft has discovered a new ransomware family coded via NW.js (formerly Node-WebKit). Why is it unique? Because it is the first of its kind to use JavaScript for the ransomware's source code, it provides cross-OS support (we may see the first universal Windows-Linux-Mac ransomware in the future), and because the security researcher describes it as "successor of CryptoLocker" when it comes to encryption quality. The ransomware, Ransom32, is offered as a RaaS service on the Dark Web, only targets Windows machines in its first version, and is currently undecryptable.
So glad we "got rid of Flash" (Score:1)
Not only do I still need to bend over for Adobe. Now open source can screw me too!
Re: (Score:2, Insightful)
Yeah we replaced actionscript with javascript. How is this really an improvement? We still have an insecure virtual machine facing the internet whenever the browser makes a request.
Re: (Score:2)
We still have an insecure virtual machine facing the internet whenever the browser makes a request.
Plenty of them are open source, if you find vulnerabilities get to fixing it or fund fixes to it.
Re: (Score:2)
Well, sure, but the best fix is to remove the VM. If you want to run code on a client machine, distribute a system binary. This way we don't have to recreate modern operating system security models all over again inside the browser.`
Re: (Score:2)
Well, sure, but the best fix is to remove the VM. If you want to run code on a client machine, distribute a system binary. This way we don't have to recreate modern operating system security models all over again inside the browser.`
No the best fix is to properly sandbox the VM. Otherwise every interactive website needs to have a system binary for iOS, Android, Windows, OSX, Linux, etc.
Re: (Score:2)
"This virtual machine is too insecure! Give me a binary I can run instead!". You've really not thought this through, have you grandpa?
Re:So glad we "got rid of Flash" (Score:4, Informative)
Okay, but how is that related? Using JavaScript with Node.js is no different than using Python with CPython, or any other interpreted language using their interpreter. The fact that browsers happen to use the same syntax for their in-page scripting doesn't mean anything here.
Curious (Score:2)
Re: (Score:2)
If the existence of that ransomware would prevent you from installing Node, then you should also uninstall Python, Ruby, Visual Basic, Perl etc.
The only difference is that with node-webkit you usually get the interpreter bundled together with the application - and that actually, from user PoV, makes it no different than all the other apps written in C, C++, Rust, Delphi, Go etc.
A First for Cross-OS Support? (Score:1)
Re: (Score:2)
Re: (Score:2)
Re: (Score:3)
Note that in the debian.org set, Java won on cpu speed in one benchmark, lost on all in terms of resource utilization compared to C. So compared to C, it seems to back the assertion that Java on a JVM is disadvantaged cpu/memory wise compared to a compiled C application. Of course this is a selection of benchmarks that has had the world to think about it and probably does not represent what the average developer will achieve with the respective languages.
Of course, there are a lot of languages whose runti
Re: (Score:2)
Attack vector? (Score:4, Interesting)
Re: (Score:2)
Re: (Score:1)
NW.js removes the javascript limitation and can interact with the OS's filesystem.
How is it platform independent? (Score:4, Informative)
So it's installing a server for node JS. but that does not make it platform independent. the script side of it may be but not the backend and it has to install that too.
Re: (Score:2)
but that does not make it platform independent.
Which is why he said cross-platform [slashdot.org] rather than "platform independent". There are many platforms that you can install a server for nodejs on.
Re: (Score:2)
whoo hooo. By that distinction if it ran in python, or C, or Wolfram we could call it cross platform. In fact that's true of any language short of powershell or dos batch files and even there you could run them in a VM so they too are cross platform if you are willing to install a heavy weight interpreter like nodeJS.
Re: (Score:2)
Re: (Score:1)
Node.js is a stand-alone Javascript environment. It has access to OS facilities like filesystem, processes and FFI.
NW.js is "batteries included" Node.js where Webkit is used as GUI toolkit. PopcornTime is written in NW.js, AFAIK.
Re: (Score:2)
Presumably having the guts of the application in javascript will make the developer's life easier if he wants to produce a version for another platform and nothing prevents this being used as a payload for some other exploit that allows th
Re: (Score:2)
Re: (Score:2)
Re: (Score:3)
Download and run it. Just like lots of other trojans/ransomwares. It could have been written in Python, Ruby, Perl, whatever, there would be no difference. Someone just thought that the fact that it uses the same language that browsers happen to use for their scripting is somehow remarkable and news-worthy. It really isn't.
Re: (Score:1)
Re: (Score:2)
The article is interesting because it shows the trends that are going on in the malware world. Used to be malware was all C or assembly.
The screenshots in the article are worth a look too. All commercialized and everything. Reminds me of the book McMafia [amazon.com].
Good argument for using Chrome (Score:2)
Since V8's randomization is flawed, anything encrypted with it should be reversible!
(I kid, I kid...)
Re: (Score:2)
Re: (Score:2, Informative)
Node-webkit stuff will definitely NOT run inside a browser. That was the entire point of node-webkit. It's a node environment fused with a webkit environment.
Which, editors, is not "node.js"; it's a fork.
Re: (Score:2)
Aside of the fact that it has browser engine built-in and probably uses HTML for its UI, it's absolutely unrelated to browsing or HTML in any other way.
The penalties for extortion of this kind... (Score:1)
The penalties for extortion of this kind are way too mild. 25 years to life should be the range.
Add to it that this may be raising the stakes against the bitcoin economy.
First universal Windows-Linux-Mac ransomware .. (Score:1)
How does this ransomware get loaded and executed on Linux and Macs?
Re: (Score:1)
You infect the user via a trojan that downloads the actual ransomware, which is a NW.js binary (which can easily get cross-platform support in future versions because NW.js is cool like that), which can then be automatically launched into execution in the background via multiple OS vulnerabilities that allow privilege escalation or remote code execution in older (or even newer) Mac or Linux versions. It's not that hard... but it takes a lot of effort into piecing all the code together.
Re: (Score:2)
Just like any other trojan.
Re: (Score:2)
How does this ransomware get loaded and executed on Linux and Macs?
chmod +x
Re: (Score:2)
As I understand it, this ransomware is only the part that handles all the encryption and uploading the key, etc.
So this depends on an exploit, the Windows exploit will probably be different from the Mac or Linux version.
Windows desktops have a larger marketshare so that is why they are targeting that platform first ?
I've seen this (Score:5, Insightful)
I think I've seen this one first hand. It was emailed to the victim posing as a Firstname Lastname resume.zip, inside was Firstname Lastname resume.js. Inside the .js was what looked like base64 being encoded to something, probably downloading and running the actual exe.
The biggest shock in all this is that Windows will execute a .js file when you double-click it. How fucking retarded is that? I'm looking at changing the default program for .js files to be notepad instead of the Windows Scripting Host.
Re: (Score:1)
I think I've seen this one first hand. It was emailed to the victim posing as a Firstname Lastname resume.zip, inside was Firstname Lastname resume.js. Inside the .js was what looked like base64 being encoded to something, probably downloading and running the actual exe.
Thanks for this. I found this result - https://lgscout.com/malicious-resume-from-sammy-fields-a-less-than-ideal-candidate/
Here is a search with more info: http://www.bing.com/search?q=resume.zip%20resume.js%20%20ransom&qs=n
Your attacker may not be the same as what's reported there, considering these guys use kits based on standards... malicious open source, if you will....
Re: (Score:2)