Linux Malware Infects Raspberry Pi Devices And Makes Them Mine Cryptocurrency (hothardware.com)
An anonymous reader quotes Hot Hardware:
If you're a Raspberry Pi user who's never changed the default password of the "pi" user, then heed this warning: change it. A brand new piece of malware has hit the web, called "Linux.MulDrop.14", and it preys on those who haven't secured their devices properly... After scanning for RPis with an open (and default) SSH port, the "pi" user is logged into (if the password is left default), and the password is subsequently changed. After that, the malware installs ZMap and sshpass software, and then it configures itself. The ultimate goal of Linux.MulDrop.14 is to make digital money for someone else, namely the author of the malware, using your Raspberry Pi.
I know very little about cryptocurrency aside from having 20 bitcoins when it was new and losing the wallet with a reformat (Yes, I hate myself).
This really doesn't seem worth the risks to develop and deploy, given the processing power and the number of units you would need to infect. Then again, I might be underestimating the number of vulnerable devices. I'd love for someone who knows more than me to chime in and give their thoughts.
It's the same as saying that if you have an app with internet access and you left the default passwords (imagine one of e-commerce).
It's the user's fault and program's bad design (it should create a random pass on first install, never a "default" one).
Per Raspberry Pi? Or if a few Raspberry Pi devices got networked?
Domestic spying is now "Benign Information Gathering"
I'm not too familiar with the Raspberry Pi, but a cursory view of the specs tells me even a huge botnet of 'em still wouldn't make you wealthy through mining crypto any sooner than the heat death of the universe. Most crypto mining these days is done on specialized hardware or large banks of high-end video cards. Seems to be the reason why most malicious software intent on acquiring wealth through Bitcoins simply encrypts your files for ransom.
---
DRM is like antifreeze, to the MPAA/RIAA it's sweet, to the consumers it's poison.
Looks like someone is gonna get rich...
I've been seeing raspbian boxes trying to find other raspbian boxes for over a month now, possibly dating as far back as March at the minimum. Good news is that they're easy to block, since SSH is clear text for the beginning of the session, all you need to do is string scan for "SSH-2.0-OpenSSH_6.7p1 Raspbian" and drop.
" After scanning for RPis with an open (and default) SSH port, the "pi" user is logged into (if the password is left default), and the password is subsequently changed...The ultimate goal of Linux.MulDrop.14 is to make digital money for someone else, namely the author of the malware, using your Raspberry Pi."
Oh, so this is about cryptocurrency mining? That's a laugh, especially on Pi-ware.
Sure as hell sounds like the real ultimate goal here is to demonstrate how utterly fucking stupid (by default) some admins can actually be.
I don't know who you are, but I kinda love you. Seriously, keep people off Linux. I kinda like it here.
"So long and thanks for all the fish."
Damn crackers.
Remember Synology, this happened to Synology insecured NAS devices.
This is one of the articles which makes me sick about Alarmist claims of Malware....and it applies to most malware. For it to work the user would have to point port 22 to their device...and if they have the savvy to do this, they would of course password the device as well...we're in much less danger than we're lead to believe..
Whenever I've bought an Rpi, it has never had an O/S pre-installed on it, let alone with a default, insecure user and password combination?
Is there some secret default O/S running in the background on a Pi that I need to destroy?
All --
I don't believe that this vulnerability applies to Slackware ARM on a Raspberry Pi http://sarpi.fatdog.eu/ as it does not include a pi user ...
-- kjh
raspian defaults changed last year to SSH off, so it forces you to login over serial and enable SSH + change the password (closing the window of opportunity)... It's also possible to enable it by adding a file to the boot partition though.
I suppose the problem is that newbies still don't know the importance of changing default passwords and raspian is not installed but dd'ed to a disk much like a VPS but without the friendly UI forcing you to set a custom password.
Several crypto coins have been designed specifically to thwart GPU and FPGA mining.
The Raspberry Pi 3 seems to get 10 Hash/s of Monero mining.
10 H/s of XMR yields about $1.10 per day.
So the cracker isn't getting rich, but they can generate a modest supplementing income. I assume many Raspberry Pi on the Internet are installed and forgotten about. Nobody notices 100% CPU load if the cracker uses nice -n19.
Another example of unsecured appliances falling victim to others will. I'm hoping we'll see a network of IoT helping research process information instead.
What is the SSH login?
Currently the login into OpenELEC has fixed settings.
Login: root
Password: openelec
Note that these values are case-sensitive.
How do I change the SSH password?
At the moment it's not possible to change the root password as it's held in a read-only filesystem. However, for the really security conscious advanced user, you can change the password if you build OpenELEC from source. Also you can consider logging in with ssh keys and disabling password logins.
OpenELEC_8.0.4:~ # passwd
There is no working 'passwd'.
The 'passwd' command changes passwords for user accounts.
With OpenELEC it is not possible to change the system password
SSH is included only as a last support resort. SSH is off by default.
Most users never need SSH and need help using it so we need a default
password. If you need to keep SSH always on then this is unsupported
but can be secured with certificates.
TIP: disable password authentication in ssh and use public key authentication.
But Kodi security is a bad joke anyway. Any addon has full control, so powning any repository that autoupdates these addons with virtually zero security can lead to millions of devices infected pretty quickly.
So, yeah.
How is this malware? Looks like a simple, automated SSH probe to me for people who don't follow obvious best practices. If you're going to leave SSH open to the world then do at least a few of the below:
1) Change default password
2) Enable keyauth only
3) Change the default listening port.
Have a squat over at the hobo house.
The article doesn't mention how the malware originally was installed on the clients network. Obviously windows is the problem which have access to the unsecured Linux boxes.
Its stupid news because you "cant" infect hardware... you can infect software... so if some distro of Raspberry Pi is infectactable then other devices will also be, not just the pi.... also fix is simple, build you f.uking kernel(and packages) for a change or use and updated distro like arch linux...
Its something stupid because 1 computer with a $200 graphic card can mine more bit coins then 1000 PIs.... why would any one mine on a PI????? why not use it as bot net member and just keep it sleeping until then??? Also, you cant even mine anything usefull with a Nvidia 1090. Every gaining cash from mining is using racks of dedicated hardware...
WHY?? Why use a PI to mine???? you will need millions of PIs and allot of time to get a bitcoin. WHY???
Yes because when a Windows user purposefully executes malware and it takes over the system it's all Window's fault, but when a Linux user permits the same thing it's not Linux at all.
No, the reason this isn't Linux malware is that it only works on the Raspberry Pi with the default password. You could easily build a Windows-based version with the same flaw, but that wouldn't make it Windows malware. Your Windows malware example only requires Windows, making it Windows malware. This is Raspberry Pi (model A?) malware.
When people use the term Windows malware correctly, they mean malware that requires only a Windows host to function. You cannot deny that there are hundreds of malware programs that can infect a generic Windows install.
For the record, I use Windows and Linux for both work and play.
Freedom to fear. Freedom from thought. Freedom to kill.
I guess the War on Terror really is about freedom!
Looks like there is a gist already up to protect against this sort of thing during initial setup:
Looks like it: