Slashdot Mirror


New Linux Trojan Can Spy on Users by Taking Screenshots and Recording Audio (drweb.com)

An anonymous reader writes: Dr.Web, a Russian antivirus maker, has detected a new threat against Linux users: the Linux.Ekoms.1 trojan. It includes functionality that allows it to take screenshots and record audio. While the screenshot activity is working just fine, Dr.Web says the trojan's audio recording feature has not been turned on, despite being included in the malware's source code. "All information transmitted between the server and Linux.Ekoms.1 is encrypted. The encryption is initially performed using the public key; and the decryption is executed by implementing the RSA_public_decrypt function to the received data. The Trojan exchanges data with the server using AbNetworkMessage."

67 of 130 comments (clear)

  1. And it's easy to get infected without realizing it by rossz · · Score: 4, Funny

    Simply download the package and run these steps:

    1. tar xzf trojan.tar.gz
    2. cd trojan
    3. ./configure
    4. make
    5. sudo make install

    --
    -- Will program for bandwidth
  2. back in the old days by Anonymous Coward · · Score: 5, Funny

    Linux didn't support my laptop's webcam.

    1. Re: back in the old days by Anonymous Coward · · Score: 3, Funny

      That's a common misconception about systemd: just run `systemctl stop malwared` and you'll be all sorted.

    2. Re: back in the old days by Anonymous Coward · · Score: 2, Insightful

      What sort of mouth breathing moron can't reinstall windows and get a few drivers organised without the recovery image? I've been doing just that for years and it really is very easy.

      And if you can't handle a windows install, why on earth are you futzing around with trying to install Linux.

      Slashdot users these days ....

    3. Re: back in the old days by Bert64 · · Score: 1

      Well if windows doesn't work without the recovery image, whats the problem with linux?
      The recovery image contains a specially tuned version of windows for the specific hardware, your complaining that you cant install a generic version of linux and have everything work immediately while also complaining that a generic version of windows doesn't work immediately? If you had a specially tuned version of linux for the hardware then it would run without problems too.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    4. Re: back in the old days by jedidiah · · Score: 1

      Wah! Wah! Wah!

      I wiped out my Windows partition and it was too hard to install again. Linux must be to blame!

      Mebbe you shouldn't have told the Linux installer to wipe everything.

      --
      A Pirate and a Puritan look the same on a balance sheet.
  3. Re:And it's easy to get infected without realizing by code_monkey_steve · · Score: 5, Funny

    Simply download the package and run these steps:

    It doesn't build with my version of libc. Is there a wiki or forum, or something?

  4. shocked, shocked i say! by Gravis+Zero · · Score: 5, Informative

    Dr.Web malware specialists have not disclosed how this malware infects Linux computers.

    But they are willing to sell you their Linux antivirus software.

    From what I've gathered, it's written in C++, uses Qt 5.4 or higher (that's when the enumeration value QStandardPaths::GenericDataLocation was added to Qt) and it's not self-propagating.

    So basically, it's a program that has to be installed on your computer... maybe from a compromised package repo server.

    --
    Anons need not reply. Questions end with a question mark.
    1. Re:shocked, shocked i say! by Anonymous Coward · · Score: 1

      A system cannot be compromised from a hacked repo. The packages are signed.

    2. Re:shocked, shocked i say! by Anonymous Coward · · Score: 2, Insightful

      And this is why these companies use scary announcements. Most people will not understand it's a non-event. They just see the headline and panic. The media also are unskilled (that's why they're reporters and not real developers or engineers). But they know roughly what keywords mean and try to create tech-articles based on anything that'll draw in clicks, or fuel forum/comment rage. You'll find the same issue in every field. My wife is always showing similar crap regarding medical scares.

    3. Re:shocked, shocked i say! by Anonymous Coward · · Score: 1

      It makes little difference. Look how long Debian went down after a single dev account was compromised. The system is only as secure as its weakest element.

    4. Re:shocked, shocked i say! by Bert64 · · Score: 3, Insightful

      Key point being "went down", rather than pose any risk to their users they decided to shut everything down until they could properly investigate the breach.
      Any commercial business would want to be back up and running again as soon as possible, even if that meant cutting corners.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    5. Re:shocked, shocked i say! by phantomfive · · Score: 1
      Hey look, I discovered a Linux trojan that insults your mom over and over! Here is the secret source code, never revealed until now:

      while [ true ]; do echo 'Your mom is fat!'; done

      For $20 btc I can sell you the secret to removing it from your system. Wallet 3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy I'll surely send you the info.

      --
      "First they came for the slanderers and i said nothing."
    6. Re:shocked, shocked i say! by Raenex · · Score: 5, Interesting

      Personal experience is that the applications shipped by the distro to do these tasks crash a lot, hang the desktop, fight with pulseaudio or require extensive configuration (hello ~/.alsasoundrc and 2005!)

      About a month ago my Debian desktop was compromised, and I figured this out because the desktop was hung. In an attempt to recover the hang, I tried to restart Gnome Shell... and I started getting audio in a foreign language of people speaking. I freaked out, shutdown my computer, and reinstalled.

      I'm generally careful about not installing fishy stuff, and I saved a copy of the hard drive after I shut it down, so if somebody wants to help see what it was I'd be willing to work with them.

    7. Re:shocked, shocked i say! by arth1 · · Score: 1

      It makes little difference. Look how long Debian went down after a single dev account was compromised. The system is only as secure as its weakest element.

      Almost always, the weakest point in any computer chain is a human.

      A signed package management system adds security if you can
      a) verify that the signer is who he says he is, and not merely someone who has obtained a signing key, and
      b) can be trusted, and
      c) isn't a rubberstamper.

      in reality, people go "oh, signed, cool!", and don't think about it. If there are ten admins working for a repo, and a couple of sysadmins, and an unknown number of past workers who may or may not hold grudges, do you really want to trust them all? How does a signature help then?

    8. Re:shocked, shocked i say! by Raenex · · Score: 1

      Just to be sure: were you or someone in your home perhaps watching foreign films on the web before this happened?

      No, and I'm the only person who runs any kind of Linux in the house. It was clearly too people speaking conversationally, coming through loud and clear on my PC speakers, with background home noises. I wish I had recorded some of the conversation before shutting it down, but I freaked out.

    9. Re:shocked, shocked i say! by thegarbz · · Score: 4, Funny

      I tried to restart Gnome Shell... and I started getting audio in a foreign language of people speaking.

      You fool. We finally found someone who was able to get remote audio working on Linux and you hung up on them!

  5. haha by ouachiski · · Score: 4, Funny

    Jokes on them, my headless Linux box doesn't have a microphone. I will go back to playing my xbox1 on my Samsung tv while asking Siri for game pointers...

    --
    sorry for my comments, I'm drunk
  6. Re:Stupid users by greenfruitsalad · · Score: 4, Funny

    but why did they make a new name for it? "teamviewer" is much easier to remember.

  7. Microphone? by cristiroma · · Score: 1

    Despite the presence of an audio recording feature in its codebase, Dr.Web says that this functionality was never active in the trojan's normal operation.

    Now I lost any hope my microphone will ever work. If even hackers have a hard time ...

  8. Every cloud by melonman · · Score: 5, Funny

    Wait, so someone has found a way to make audio work reliably across Linux distros? Does this make 2016 the Year of the Linux Desktop?

    --
    Virtually serving coffee
    1. Re:Every cloud by Kardos · · Score: 1

      > Along with the ability of screenshot taking, the Trojan has the AbAudioCapture special class to record sound and save it with the name of aa-%d-%s.aat in the WAV format. However, in fact, this feature is not used anywhere.

      That's an entertaining thought but it looks like they didn't get it working at all

    2. Re:Every cloud by StormReaver · · Score: 1

      Wait, so someone has found a way to make audio work reliably across Linux distros?

      Kubuntu audio has worked reliably since somewhere between version 9.10 and 10.04 (I'm not certain which). I think that's where Kubuntu got Pulse Audio finally installed correctly.

      Does this make 2016 the Year of the Linux Desktop?

      My customers (who vary in range from late 20's to early 70's) have been happily using Kubuntu desktops since the 2008 timeframe. Most reactions have included a variation of surprise that computers can work so well (once I turn off the brain damage that is desktop search).

  9. Rootkits by Bert64 · · Score: 1

    Linux rootkits have been around for many years, and there is already standard functionality for taking screenshots and recording audio built in to most linux distros.. You can just dd data from /dev/audio to a file, and you can take screenshots using xwd or import. The only difference is that most linux systems are servers or embedded so they usually don't have X11 running or any audio hardware attached.

    --
    http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    1. Re:Rootkits by Gavagai80 · · Score: 1

      The fact that there's no likely mechanism for a Linux user to acquire such a trojan is a much more important difference. On the very rare occasions I install something from outside the repositories, it'll be carefully vetted.

      --
      This space intentionally left blank
    2. Re:Rootkits by Bert64 · · Score: 1

      That's a bug tracker, and it makes no mention of the ekoms trojan (which i'm sure someone would have filed as a severe bug if they had found it)...
      I can also find no mention of the default ubuntu or mint packages shipping with this trojan.

      Although obviously you are right in refuting the parent posts's notion that there is no way for the trojan to get onto the system, it may be far less likely for malware to make its way onto a linux host but it's obviously not impossible. Linux has (and has for many years) far more presence in the server market, and linux servers do get compromised in various ways such as user incompetence (weak passwords, ssh brute force scans) or buggy code (poorly written webapps being a favorite these days). It's just that the most common infection routes are different to those prevalent on windows.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  10. Malware's source code by Rik+Sweeney · · Score: 4, Funny

    Well of course the source code is provided, no Linux user is going to install something without first knowing what it does!

  11. Re:Stupid users by Barsteward · · Score: 4, Insightful

    as they haven't disclosed how you get infected, i see this as the usual antivirus maker ploy of trying to increase sales by scare stories with nothing to back it up.

    --
    "The hands that help are better far than lips that pray." - Robert Ingersoll (1833-1899)
  12. Re:And it's easy to get infected without realizing by antdude · · Score: 1

    Nah, easier to download and install the compiled binary package. No compile stuff.

    --
    Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
  13. Re:That's one way to get reliable audio by nnull · · Score: 1, Redundant

    Sounds like I need to install this trojan, I might be able to get my microphone working in linux finally!

  14. Re:oh noes by Anonymous Coward · · Score: 3, Informative

    has detected a new threat against Linux users

    What, all twelve of them?

    I suppose you are using a windows phone or surface rt and are puzzled as to why there are more Linux users in the world than WP OS and WInRT users combined? I give the guys at DrWeb credit for trying to make money from us skin flint Linux users. Considering the fact that Mint Linux is starting to really catch on and has more users than WP OS and Surface RT users combined and it is only one distro that has millions of users. The fact that old computers and laptops are easily made to efficiently work by the millions in a large part because of Linux, your troll is starting to wear a little thin, and many people know it.

    The truth is Windows is quickly becoming irrelevant on the home desktop because of the blatantly obvious planned obsolescence built into Windows. Hell I have a 6 year old atom 512 dual core 64 mini desktop with 4 gig of ram and it runs 7 fine. But is not compatible of running Win 10 and this is by design! When 7 goes for a shit and loses support I am almost willing to bet that most hardware that has been obsoleted by Microshaft will run the latest linux kernel and destops just fine.

    Same goes for my old T42 non pae laptop which still gets 4-5 hours on a nine cell. All you have to do is know which kernel to run and bingo you can even run non PAE 32 mode procs on Linux...TRY THAT with windows! Stop trying to obscure the truth and spread bullshit about linux desktop distros, they are stellar at keeping the best gear from being thrown in the garbage dump and more and more people are starting to realize the truth about how advanced and flexible linux has really become in the past 15 years or so.

    So I don't blame the antivirus snake oil salesmen for trying to get on the band wagon because Windows is more secure only because most people who hose their old gear just trash it after Windows obsoletes it. The whole desktop computer industry is changing and there is starting to be a large market for Linux because of the way it can keep gear going.

  15. Re:And it's easy to get infected without realizing by Anonymous Coward · · Score: 1

    TODO
    -Ncurses support

  16. Where can I submit a bug report? by Lumpy · · Score: 3, Funny

    This trojan doesnt work with pulseaudio..... well technically NOTHING works with pulseaudio.

    So I want them to write and push out a patch so it will work with not just ALSA but the other 657 different audio interface API's.

    --
    Do not look at laser with remaining good eye.
  17. Re:And it's easy to get infected without realizing by Aleksej · · Score: 1

    And on Windows you simply download trojan.zip, unzip it and run the setup.exe. Of course, you probably just have to download and run a setup.exe, but that's the point: it does not say it's a trojan even if you have to compile it with many dependencies (which do not include libtrojan and libmalware).

  18. Re:Stupid users by Barsteward · · Score: 4, Insightful

    where on earth did i say it was a virus, dickhead? or shall i change "infected" to "deployed" to make your stupid nitpicking mind happier?

    --
    "The hands that help are better far than lips that pray." - Robert Ingersoll (1833-1899)
  19. Re: oh noes by mmiscool · · Score: 1

    Its a post PC world. Android is Linux based, iOS uses UNIX and you keep a PC around to use as what? A boat anchor?

  20. Re: And it's easy to get infected without realizin by Anonymous Coward · · Score: 5, Funny

    I don't think it runs on anything except a 5 year old ubuntu with default setup and you need to kill pulseaudio + make sure your microphone is alsa device 0:1 for the experimental recording function. Also try disabling compositing, if your screenshots only show the desktop background.

    You might have to create the certs for the encrypted uploads manually if the system isn't getting enough entropy fast enough or the Trojan will assume that the connection timed out and go into an endless loop.

    Just run the Windows version with wine until the devs get their shit together!

  21. Re: And it's easy to get infected without realizin by Anonymous Coward · · Score: 1

    Windows has a convenient feature where it will download AND run the Trojan for you.

    There was a Linux kernel vulnerability announced yesterday... Ubuntu had the patch available by the time I got out of work. Phones, on the other hand are Phucked.

  22. A new threat against Linux users? by tetraverse · · Score: 1

    How does this Linux.Ekoms.1 trojan get onto the computer without the end user explicitly downloading and installing it.

  23. Re:So what I get from TFA... by Raenex · · Score: 1

    There is no way that this malware is going to be in usr or opt without having a root priv install so and it cannot access or modify etc unless you installed it as root.

    People routinely install stuff with sudo, so if it's a trojan it was probably installed as root. Furthermore, privilege escalation bugs are quite common. I just did a search for: linux privilege escalation bug, and the top hit was a news item less than a day old:

    http://www.darkreading.com/vul...

    Tens of millions of Linux PCs and servers and 66% of all Android devices are impacted by a vulnerability in the Linux kernel that allows privilege escalation from local to root via a use-after-free attack, according to the research team at Perception Point.

    Although no exploits for the bug have been seen in the wild yet, the vulnerability is far-reaching. According to Yevgeny Pats, co-founder and CEO of Perception Point, the bug affects all Linux kernels from release 3.8 and later, both 32-bit and 64-bit, operating on desktop, server, mobile, and embedded devices.

    The vulnerability, CVE-2016-0728, is a reference leak in the keyrings facility, where security data like encryption keys and authentication keys are stored.

  24. Something seems fishy by DevConcepts · · Score: 1

    I (maybe shockingly) actually read the page.

    FTP
    ~
    EkomsCcClient:

    It generates a filtering list for the "aa*.aat", "dd*ddt", "kk*kkt", "ss*sst” files that are searched in the temporary location and uploads the files that match these criteria to the server. If the answer is the uninstall line, Linux.Ekoms.1 downloads the /tmp/ccXXXXXX.exe executable file from the server, saves it to the temporary folder and runs it.
    ~
    Last time I check unless you are running Wine, ccXXXXXX.exe will not execute in linux or have my years of use clouded my judgment?

    1. Re:Something seems fishy by Kardos · · Score: 1

      Where does it say that ccXXXXXX.exe is a windows binary?

      You can rename linux binaries to have a .exe prefix and they still run

    2. Re:Something seems fishy by DevConcepts · · Score: 1

      True but not typical for linux, that is what made me question it.

    3. Re:Something seems fishy by blavallee · · Score: 1

      The maker of a serious AV for *nix (grin) wouldn't call a .exe an executable file.
      Calling it an 'executable binary' named .exe would lend these fear-mongers a little more credibility.

    4. Re:Something seems fishy by budgenator · · Score: 1

      It's been a while since I have even thought about this but I always understood that the file extension really didn't mean anything in linux, if the x bit was set then bash either sent it to the correct interpreter depending on the shebang or executed it depending on the correct magic number in the binary.

      --
      Apocalypse Cancelled, Sorry, No Ticket Refunds
  25. Re:To be fair by tijgertje · · Score: 1

    There is no cure against human stupidity

  26. Re: And it's easy to get infected without realizin by imboboage0 · · Score: 2

    I usually sit on a ton of mod points - this is +5 funny material here.

    --
    Honesty may be the best policy, but by process of elimination, dishonesty is the second best policy.
  27. On xterm too? by SpaghettiPattern · · Score: 1

    On xterm too?

    Old school here. I access our Unix-like systems exclusively using Cygwin terminal which emulates xterm. At home I have Mac OS and FreeBSD. The latter one is a file server which I access mostly though a terminal.

    --

    I hadn't the slightest objection to his spending his time planning massacres for the bourgeoisie... (P.G. Wodehouse)
  28. Re:Stupid users by Anne+Thwacks · · Score: 1

    upskirt.viewer is more likely to be clicked.

    --
    Sent from my ASR33 using ASCII
  29. Re: oh noes by Anne+Thwacks · · Score: 3, Funny
    Fortunately Windows PCs are not compromised until Windows is installed.

    Oh, Wait ...

    --
    Sent from my ASR33 using ASCII
  30. Re:So what I get from TFA... by budgenator · · Score: 3, Interesting

    If you don't have an antivirus solution installed on your Linux PC, you can check for Linux.Ekocms by inspecting the following two folders and seeing if you find any screengrabs:
    $HOME/$DATA/.mozilla/firefox/profiled
    $HOME/$DATA/.dropbox/DropboxCache
    Linux.Ekocms also uploads all these screenshots at regular intervals to a C&C (command and control) server via a proxy. The C&C server's IP address is hard-coded in the trojan's source code. All files are sent via an encrypted connection, so third-party reverse engineers tools would have a hard time picking up on the trojan's operations.

    sudo ln -s .mozilla/firefox/profiled /dev/null; ln -s /.dropbox/DropboxCache /dev/null

    there, upload that! Honestly I didn't even see the directory .mozilla/firefox/profiled on my machine.

    Linux.Ekoms.1 connects to the server whose addresses are hard-coded in its body.

    Yeah buddy we could have fun with that, you want data, how about a couple Gb of /dev/random!

    --
    Apocalypse Cancelled, Sorry, No Ticket Refunds
  31. Re: And it's easy to get infected without realizi by jedidiah · · Score: 1

    This kind of information TOTALLY USELESS unless the fear mongers in question actually tell us how this thing gets on a system. That's very important because it tells us how to AVOID this stuff. That's the whole point of ANY sort of problem report even if you're just talking about an unsupported printer.

    Vague accusations are of no use to anyone except trolls.

    How do you defend against this? How do you fix whatever security hole it's using?

    The nature of the infection vector is really the only bit of relevant information and it seems to be missing.

    --
    A Pirate and a Puritan look the same on a balance sheet.
  32. Curing recommendations by blavallee · · Score: 1

    On the loaded OS, run a full scan of all disk partitions using the Dr.Web Anti-virus for Linux.

    How about 'kill -9 PID'

    BTW: Anyone notice it also 'downloads the /tmp/ccXXXXXX.exe executable file from the server, saves it to the temporary folder and runs it.'
    Don't think drweb knows enough about *nix to even explain what it does.

    1. Re:Curing recommendations by beastofburdon · · Score: 1

      You're right. This isn't an article about about a Linux virus, it is an advertisement for their shitty Linux version of their virus scanner.

  33. GPL? by bennebw · · Score: 1

    Is this trojan under the GPL? If so, can somebody direct me to the git repo???

  34. Re:And it's easy to get infected without realizing by Gunstick · · Score: 1

    oh, I already got infected with the ./configure step
    Malware did not install as root, did not need to. Just took all my thunderbird adresses and mailed all my contacts to try this awesome software.

    --
    Atari rules... ermm... ruled.
  35. Re:And it's easy to get infected without realizing by maestroX · · Score: 1

    You need to download the Android SDK, then compile, load certificate on target and finally deploy on target.

    Then, when the unsuspected owner returns from taking a piss, target is p0wned*. Enjoy!

    * support up to Android 2.1 only

  36. Re:Stupid users by Archtech · · Score: 1

    What I can't understand is why someone who apparently knows everything already should trouble to read a forum such as Slashdot - let alone comment, and abuse those who do not enjoy their educational advantages.

    If Slashdot isn't a place where people can discuss matters in a calm, civilized way, and learn from each other, what is it? (That's a rhetorical question, by the way).

    --
    I am sure that there are many other solipsists out there.
  37. Re:Stupid users by Barsteward · · Score: 3, Informative

    what point? he/she totally missed my point that its about anti virus maker trying to makes sales with crap information. i couldn't care if its a trojan or virus, if you can't say how it gets onto a machine, then your case for it being a problem seems very bogus. Virtually all antivirus suppliers have come up with crap scare stories to get linux users to buy their product.

    --
    "The hands that help are better far than lips that pray." - Robert Ingersoll (1833-1899)
  38. Re:Stupid users by Barsteward · · Score: 1

    who cares what an AC has to say? you go get a life or have the balls to at least register yourself

    --
    "The hands that help are better far than lips that pray." - Robert Ingersoll (1833-1899)
  39. Re:Stupid users by bonehead · · Score: 1

    If Slashdot isn't a place where people can discuss matters in a calm, civilized way, and learn from each other, what is it? (That's a rhetorical question, by the way).

    Thanks. I needed a good laugh!

  40. Re: And it's easy to get infected without realizi by tlhIngan · · Score: 1

    This kind of information TOTALLY USELESS unless the fear mongers in question actually tell us how this thing gets on a system. That's very important because it tells us how to AVOID this stuff. That's the whole point of ANY sort of problem report even if you're just talking about an unsupported printer.

    Vague accusations are of no use to anyone except trolls.

    How do you defend against this? How do you fix whatever security hole it's using?

    The nature of the infection vector is really the only bit of relevant information and it seems to be missing.

    Well, it'll come in the same way any malware does - through an infection vector. For Linux, it probably comes in through commercial software piracy (yes, Linux has commercial software) via warez or cracks or keygens, or even stuff like WordPress themes that people actually pay money for.

    So for Linux, as long as you stick with your distro's repos (that aren't compromised - but given these days packages are signed it'll be hard) or source code, you're fine. But start downloading commercial software for free and stuff, well...

  41. WTF?!? by lhowaf · · Score: 1

    Why in the world would somebody write a trojan to build a collection of neckbeard headshots? That's just sick!

  42. Re: And it's easy to get infected without realizi by cheater512 · · Score: 1

    I don't see any mention of a securty hole at all, do you?

    Likely it's a trojan that runs if you install it first (after typing in your sudo password).
    That's generally how things work on Linux.

  43. Re: And it's easy to get infected without realizi by hawaiian717 · · Score: 1

    How do you defend against this? How do you fix whatever security hole it's using?

    The answer to both of these questions is the same. Buy our (not mine personally, the people who put out this report) antimalware software.

    --
    End of Line.
  44. Wayland? by neuro88 · · Score: 1

    This is supposed to be a major issue with X. X lets any client read all input sent to the X server, view any window, etc. These aren't bugs in X, it's how it's designed.

    Wayland doesn't allow this behavior so probably such a trojan wouldn't be possible with Wayland (outside of the audio aspect that is).

  45. Re:Stupid users by greenfruitsalad · · Score: 1

    you need to google teamviewer. it's the most widely spread backdoor in the world. (on gnu/linux it runs as a background daemon even if you don't manually turn it on. it does not (easily) let you disable the daemon and use it ad hoc. on OS X, you can't even uninstall it without leaving crap behind)