Slashdot Mirror


Ethics of Releasing Non-Malicious Linux Malware?

buchner.johannes writes "I was fed up with the general consensus that Linux is oh-so-secure and has no malware. After a week of work, I finished a package of malware for Unix/Linux. Its whole purpose is to help white-hat hackers point out that a Linux system can be turned into a botnet client by simply downloading BOINC and attaching it to a user account to help scientific projects. The malware does not exploit any security holes, only loose security configurations and mindless execution of unverified downloads. I tested it to be injected by a PHP script (even circumventing safe mode), so that the Web server runs it; I even got a proxy server that injects it into shell scripts and makefiles in tarballs on the fly, and adds onto Windows executables for execution in Wine. If executed by the user, the malware can persist itself in cron, bashrc and other files. The aim of the exercise was to provide a payload so security people can 'pwn' systems to show security holes, without doing harm (such as deleting files or disrupting normal operation). But now I am unsure of whether it is ethically OK to release this toolkit, which, by ripping out the BOINC payload and putting in something really evil, could be turned into proper Linux malware. On the one hand, the way it persists itself in autostart is really nasty, and that is not really a security hole that can be fixed. On the other hand, such a script can be written by anyone else too, and it would be useful to show people why you need SELinux on a server, and why verifying the source of downloads (checksums through trusted channels) is necessary. Technically, it is a nice piece, but should I release it? I don't want to turn the Linux desktop into Windows, hence I'm slightly leaning towards not releasing it. What does your ethics say about releasing such grayware?"

109 of 600 comments (clear)

  1. I think you've already decided... by Jeff321 · · Score: 5, Insightful

    There were two options:
    1. Release it anonymously and take no credit
    2. Write about it and get some credit (but then you can't actually release it due to legal issues)

    You can't (and won't) release it now. If somebody gets attacked with your code, guess who they're going to prosecute and/or sue.

    1. Re:I think you've already decided... by TheKidWho · · Score: 4, Funny

      Yes, especially when he includes his full name in TFS, unless of course this Johannes Buchner is his arch nemesis whom he is trying to frame.

    2. Re:I think you've already decided... by sopssa · · Score: 5, Insightful

      The summary says it doesn't actually do anything malicious and it isn't a worm. There is no legal reason why he couldn't release the code and/or a paper about it.

      The thing is, it's stupid for people to keep thinking their systems are insanely secure. Linux users fall for this all the time, because they've heard so from lots of other Linux users. It's better to show people that it is actually possible, and maybe it leads to better secured systems too.

    3. Re:I think you've already decided... by NoYob · · Score: 4, Funny

      Yes, especially when he includes his full name in TFS, unless of course this Johannes Buchner is his arch nemesis whom he is trying to frame.

      I tested your theory by saying "Johannes Buchner" in a stiff jawed English accent - a James Bond sort of accent. And low and behold, my scientific study has come to this conclusion:

      Johannes Buchner is in fact an evil genius and he will release this code on to the World bringing havoc to all Linux run internet servers in effect, destroying the internet unless he is paid One HUNdred biiiillllioooon Euroes!

      --
      It's NOT me! It's the meds! I'm on 1000mg of Fukitol.
    4. Re:I think you've already decided... by stefanlasiewski · · Score: 2, Informative

      Or, Johannes Buchner is the West Germanic language equivalent of "John Smith". There is more then one person with this name, although I suspect we're with the guy who posts his Public PGP key.

      --
      "Can of worms? The can is open... the worms are everywhere."
    5. Re:I think you've already decided... by jedidiah · · Score: 3, Insightful

      OMG! The sky is falling! The sky is falling!

      You can get victimized by something that you HAVE TO CHOOSE TO RUN MANUALLY!

      Nevermind Trojans. A buggy apps could destroy all of my data and it doesn't even need an author with a cheesy villan laugh.

      This doesn't prove anything except that Windows losers desperately want some shadenfruede.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    6. Re:I think you've already decided... by Anonymous Coward · · Score: 3, Insightful

      People forget, security is a process not a status. Your security process must continuously evolve to meat the always changing threats. Even if there is a major security flaw he found, it is no reason to panic as you should already have a process in place to respond to new threats. This is why I'm employed.........

    7. Re:I think you've already decided... by Anonymous Coward · · Score: 3, Insightful

      destroying the internet unless he is paid One HUNdred biiiillllioooon Euroes!

      Why make billions, when you can make... millions?

    8. Re:I think you've already decided... by JDeane · · Score: 2, Insightful

      I agree and would like to add that most of the malware on a Windows system is also from people clicking run or allow.

      Most people know to run a virus scanner when using windows (although some confuse fire wall with virus scanner....) but the virus scanner can do nothing when the person clicks ignore...

      There have been remote installs on windows in the past and virus's that could hide inside other executables but those where rather rare and if you stuck to trusted sites that was hardly an issue. I think my personal favorite was Winnuke but thats so old.

      If your running Windows Vista or 7 with a decent firewall and virus scanner with Firefox or Opera your fairly secure baring letting some one use your machine for P2P or browsing some porn sites (some are safe but I have seen some works of art and I am not talking about the jpegs lol)

      Basically the most important security measure you can have is physical security and proper knowledge, forewarned is forearmed.

      P.S. For the advanced windows user there are literally a dozen more things you can do to lock a system down and make it more secure but changing your browser and running a decent firewall with antivirus should be enough to keep out 99% of the bad guys.

    9. Re:I think you've already decided... by HiggsBison · · Score: 5, Funny

      Why make billions, when you can make... millions?

      Yes! Exactly! Today the universe, tomorrow the world!

      --
      My other car is a 1984 Nark Avenger.
    10. Re:I think you've already decided... by The+real+J.+Buchner · · Score: 2, Funny

      I'm Johannes Buchner and so's my wife!!!

    11. Re:I think you've already decided... by BrokenHalo · · Score: 2, Insightful

      It doesn't accomplish anything to reiterate the meaningless and unproveable claim that Linux would be just as insecure as Windows if more people used it. The fact remains that in most sensible implementations, the user is unable to run arbitrary code outside his own directory.

      The submission mentions the persistence in autostart as being really nasty, and not really a security hole that can be fixed, but it seems to me that it should be trivial to reset autostart or bashrc scripts to a known-good state on login. It would mean that the user would have to su or sudo to make permanent changes, but in this case he is in a good position to notice any untoward changes.

      It seems to me that rather than going to the trouble of packaging up a malware toolkit and worrying about whether or not to release it, the submitter would be better advised to refer separate vulnerabilities individually to the developers concerned. All of the software he mentions is under active development, so it's unlikely he would be ignored.

    12. Re:I think you've already decided... by westlake · · Score: 2, Insightful

      You can get victimized by something that you HAVE TO CHOOSE TO RUN MANUALLY!

      Of course you can.

      The simplest and most productive line of attack on any OS will always be to play on the weaknesses of the user and not the tech.

    13. Re:I think you've already decided... by Max+Littlemore · · Score: 4, Insightful

      You can get victimized by something that you HAVE TO CHOOSE TO RUN MANUALLY!

      It's not that simple. A lot of ill informed users do little things to get stuff working in Ubuntu based on reading it somewhere on a blog or a forum. I've seen suggestions for network configs that leave a lot to be desired - basically creating anonymous login ftp to the users home directory with write access. And these things are tempting if you want, for example, your phone to connect to your PC over wifi and you don't generally consider security.

      A little script or carefully constructed script or package that calls gksudo to get permission to hide the real gksudo behind an alias and captures the password could be attractive if it provides a "simple way to sync your smart phone with the ubuntu desktop - even supporting the iphone". We haven't seen one in the wild yet, AFAIK, but that would be pretty successful. I even think that the model for distributing the iPhone thing that went around would work pretty well given some of the advice out there especially if you read the "fix" and don't read the comment buried halfway down the page with a warning in it.

      That's the trouble with the Linux ostrich based security model. It's just like the Windows security model. It relies completely on users having the understanding to set their systems up and maintain them securely and unfortunately the temptation to do quick and dirty tricks is very high in the desktop linux world.

      In fairness, a default install of Ubuntu is more secure than Windows XP and Vista (not sure about win7) but the volume of quick and dirty fixes and the signal to noise on Ubuntu is such that they are really about even. As always, a classic PEBCAK.

      --
      I don't therefore I'm not.
    14. Re:I think you've already decided... by Anonymous Coward · · Score: 2, Insightful

      OMG! The sky is falling! The sky is falling!

      You can get victimized by something that you HAVE TO CHOOSE TO RUN MANUALLY!

      Nevermind Trojans. A buggy apps could destroy all of my data and it doesn't even need an author with a cheesy villan laugh.

      This doesn't prove anything except that Windows losers desperately want some shadenfruede.

      Um, and this is different from a Windows virus how?

      99% of all infections/trojans/malware/botnets infect/are created by user abuse of the system.

      You can't code against that. The only "protection" that *nix/mac systems have over Windows is that no one gives a rats ass about infecting you, so they don't try. It's not because your system is any more secure against "CLICK HERE TO WIN FREE XBOX 360" infections.

    15. Re:I think you've already decided... by unitron · · Score: 2, Funny

      Your security process must continuously evolve to meat...

      We'll be having none of your sissy vegetable security processes here, my lad.

      --

      I see even classic Slashdot is now pretty much unusable on dial up anymore.

    16. Re:I think you've already decided... by Zontar+The+Mindless · · Score: 2, Informative

      3) Make sure your father is the head of the NSA and can keep you out of jail. (http://en.wikipedia.org/wiki/Morris_Worm)

      Actually, his father was Chief Scientist at NCSC, not quite the same thing.

      It can also be argued that Morris (the son, that is) honestly screwed up.

      --
      Il n'y a pas de Planet B.
    17. Re:I think you've already decided... by eelke_klein · · Score: 4, Funny

      Okay, you give me a million euro's and i'll give you a million dollars...

    18. Re:I think you've already decided... by WuphonsReach · · Score: 3, Informative

      browsing some porn sites

      (sigh) That's a fallacy that needs to die. Yes, drive-by exploits are more common in the dark corners of the internet (warez, porn, etc. sites). But you're also quite likely to find regular websites that have been hacked to serve up exploits and infections. Not to mention the constant problems where ad networks serve up malicious content.

      You can no longer assume that just because you don't go visit the dark corners of the internet that you're safe.

      The last infection that I tracked down by reviewing our squid transparent proxy logs came from a hobby site. I don't remember if it was sewing, cooking, or some other benign type hobby. But it was nothing that would get you fired if someone saw you browsing it. The site's pages had been all altered to serve up a Javascript exploit which would infect the machine.

      --
      Wolde you bothe eate your cake, and have your cake?
    19. Re:I think you've already decided... by silentcoder · · Score: 5, Insightful

      There is one crucial difference that really does make linux MUCH more secure, and oddly, it's the one thing nobody mentions when discussing it.

      Linux users (hardly ever) download and install software from the internet. We download and install packages from repositories.

      A huge amount of Linux security comes from the fact that we've taken the task of identifying malware from the real thing, and given it to trained professionals rather than Joe Sixpack. The average user simply cannot tell the difference between a useful piece of freeware and a bugridden-malware-spreading piece of add-ware.

      The people who populate distribution repositories generally can. Then we add other layers on top - like using digital signatures so the client machine can be sure the package you asked it to fetch is in fact the package that got downloaded (thus protecting against somebody replacing a package with a malware program in the same filename on a mirror site) etc. etc.

      That grounds up linux is probably a more secure design than windows I don't doubt, I also know that it's far from being anything like as secure a design as we imagine- especially as it moves into the desktop realm. But - and this is a big but, since the easiest way to install anything on linux remains using your distro's provided tools to install from your distro's repositories (for the ubuntu crowd... I mean "using synaptic") - the risk of malware infection is kept remarkably low - not because linux is so secure, but because infecting the repo's will be very hard indeed and the software in those repos are checked by people who are *trained* in computers.

      --
      Unicode killed the ASCII-art *
    20. Re:I think you've already decided... by Mista2 · · Score: 2, Interesting

      Relaease it as open source, then it can be improved o make it the leanest, fastest and most efficient hacking toolkit, while simultaneously all security and kernel devs can try to patch the exploited holes, but in the end, I assume that to be owned the user must install the malware first, and that comes down to the human operator. There are still no patches to fix careless administration.

    21. Re:I think you've already decided... by profplump · · Score: 2, Interesting

      It isn't really that difficult unless you are actually using one of the millions of bits of really bad, Windows-only software that are the reason many businesses use Windows in the first place.

      I've got a client that has one app the requires Administrator rights to even run, another than requires a logged-in session on the server (or whatever workstation is running as the server) 24/7 to allow access, and a third that will only save user data to Program Files folder. And these are considered to be some of the best apps available in this industry, at least for less than $250k.

      What exactly would you do to secure those sort of apps into a "sensible implementation" that allows me to limit write access to the home folder?

    22. Re:I think you've already decided... by silentcoder · · Score: 3, Insightful

      I didn't say it *never* happens, I said it's very rare and much harder than cracking individual's machines.
      It can happen, it has happened, and even then it didn't put the end-users at risk because the distributions instantly shut down the boxes did an audit and released them again only when they were checked - and had the keys replaced to ensure none of the packages that were on at the time of the break-in could install anymore.

      --
      Unicode killed the ASCII-art *
    23. Re:I think you've already decided... by gbjbaanb · · Score: 2, Insightful

      Whilst that's true, you're forgetting the large amount of 'howto configure xyz' blogs, forums and other sites providing information. Many users don't know how or why the steps they're given work, they just know to follow them blindly. As a result, you can get someone to open their system to you if you were malicious.

      So whilst its still not as easy to pwn a linux box, it is still very possible. As the number of users ignorant in system administration increases, this is the attack vector that will become more prevalent. This also applies to a lot of sysadmins, there's a *lot* of stuff in Linux systems today, some of it is very convoluted and difficult to understand let alone configure correctly.

    24. Re:I think you've already decided... by silentcoder · · Score: 3, Insightful

      I agree - this is going to become a problem. It never used to be, howtos were reliable documentation because we were a small community and the people reading them would have at least a basic understanding of what you're doing - howtos were there to get details.

      Nowadays... this is going to become an issue. The answer is probably to use the same approach we took with repo's. Make the proper distro forums clearly and prominently available to the user so he finds them first, rather than googling. Lead them to the sources of information that the good guys control, and hope to answer them there with sufficient frequency that there is no point in looking at random blogposts.

      I doubt that's a comprehensive answer, but it would at least mitigate things. The other is to ensure that the social aspect of FOSS comes with the disk I guess, when you hand out that ubuntu disk - make sure you hand out details on your local LUG. Get the newbs involved in the community around them, make sure that the person they ask first is somebody they can (probably) trust.

      It's all things we can mitigate but I agree, it won't remove the problem, it can - at best- keep the potential targets few enough to reduce the attractiveness of this vector (and I don't think we're nearly good enough at this stage to even do that, I just think we could become so).
      Basically - the problem you point out is a social one, social problems require social solutions - and those are never 100%.

      --
      Unicode killed the ASCII-art *
    25. Re:I think you've already decided... by Jesus_666 · · Score: 2, Funny

      Because a billion is obviously twice as much as a million. It has the bi- prefix.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    26. Re:I think you've already decided... by sgtrock · · Score: 2

      Linux users (hardly ever) download and install software from the internet. We download and install packages from repositories.

      Of course, repositories can never be hacked, that's unpossible!

      And someone else fails Reading Comprehension 101. From the very GP that you quote:

      the risk of malware infection is kept remarkably low - not because linux is so secure, but because infecting the repo's will be very hard indeed and the software in those repos are checked by people who are *trained* in computers.

      (emphasis added)

      What part of "very hard indeed" made you think that the GP poster was saying "unpossible?"

      Git.

    27. Re:I think you've already decided... by shiftless · · Score: 2, Funny

      Woosh

    28. Re:I think you've already decided... by silentcoder · · Score: 2, Insightful

      Erm the problem with a certain company from us free-software types is not with the company, it's software or it's sources of information, it's with the company's LICENSING. We say the *same* thing about apple, and about adobe and about every other proprietary program regardless of the source.

      The bad feel that the open-source crowd has toward microsoft is granted, a much more blurry line, but you can't pretend the company hasn't deserved it. One good deed does not make up for a million bad deeds.

      Now, aside from that - I never actually said what you say I said... in our world - there is no *official* sources of information. Okay, some Linux systems are made by companies, they aren't "more linux" or "more official" than those made (like mine) by groups of volunteers. All I said was, if you come to the kongoni forums and post a question - you can be sure that the reply will be from somebody who knows kongoni, and cares about and wants to make your transition as painless as possible.
      You can find such information elsewhere, linuxquestions is a very good resource and largely devoid of problem replies too. Putting a link to our forum on the desktop is not coercion - it's a valuable resource for somebody who gets stuck.

      Honestly, I fail to see your analogy in fact... nothing like this exists in the windows world, and how is users-helping-users in any way like anything microsoft does ? All I said, was that we should aim to keep those locations where we can moderate the replies, and where the people who care about these projects are active easy to find, so that users do not find malicious misinformation BEFORE they find us.

      Sorry, there is just no comparison.

      --
      Unicode killed the ASCII-art *
  2. Ethics by Anonymous Coward · · Score: 2, Funny

    Just releasing linux is an ethical problem. Hell, I can't even print anything since last saturday.

  3. consult with a real security professional by ChipMonk · · Score: 5, Informative

    Contact someone at SANS, or Bruce Schneier, or some such. Maybe even someone on the SELinux project; if this non-malicious malware is indeed as capable without SELinux as you claim, and SELinux mitigates/eliminates the danger, this could be good PR for them.

    1. Re:consult with a real security professional by Anonymous Coward · · Score: 5, Insightful

      Should people run SELinux? Prolly not, it's a pain the ass for Joe user. It's hard enough for admins who know what they're doing (anyone who's had an SELinux error and not checked the right log knows what I'm talking about.) Distros need to play nice with SELinux or provide a better alternative for Joe user.

      Should Sysadmins run SELinux? If you've got sensitive data on it, damn straight--you need that kind of protection along with the service removal and permissions hardening you do to Linux machines you really want to keep "safe." If you don't and it's not even a production server, why bother with anything beyond Permissive (or perhaps just Targetted services.)

      ---

      FYI If you find yourself responding in any way that involves a CLI my grandma is going to get annoyed, call me, and ask how to deal with it and I'm going to need a new solution.

    2. Re:consult with a real security professional by dissy · · Score: 4, Insightful

      Or heck, this is *Linux* we are talking about here.

      Release it, and they will patch.

      Give it to Theo Raadt of OpenBSD fame. In a week all of the attack vectors will be well defined, and source code fixes being pushed downstream.
      For BSD admittedly, but once the vectors are well defined, the Linux guys are more than able to 'translate' and make the same fixes.

      That can only be a good thing.

      It isn't like you need to worry about the company suing you for pointing out a security problem in their product when you tell them!

      Besides, no matter how well behaved malware system you write, no matter what possible evils your imagination has come up with that it could be twisted into, the script kiddies out there already have much much better tools than that.

      Just release it, sitting on it only gives the black hats more time to use the same exact security flaws for evil.

  4. Commendable by Anrego · · Score: 5, Interesting

    .. but sounds like a lot of work to prove a relatively straight foward point.

    It's actually been my opinion that Linux in the hands of someone who doesn't know how to use it can in some situations be less secure than windows.

    My reasoning for this is that:

    1) Newbie Linux users who are having problems with their systems will rpetty much run anything as any user you tell them to in a desperate hope to get Xorg working again

    2) Linux commands on their own can look very cryptic to the uninitiated.. add into that the scripting abilities of most shells.. and a new Linux user won't be able to differentiate a malicious command from one that will get their nvidia driver working again

    3) The out-of-box remote admin abilities of Linux are excellent.

    4) Standard tools like nc can easily be used to establish out-connecting remote shell sessions

    5) OR you can just get them to wget and execute your favourite piece of malware.

    1. Re:Commendable by Orion+Blastar · · Score: 4, Interesting

      Yeah but Windows suffers the same thing, when Windows goes wonky people will ask over the Internet for random strangers to fix it.

      "Here download this program, run it, ignore any warnings, choose 'allow' for every UAC prompt, and then it will give me remote control of your system so I can 'fix' it for you."

      My son's system got hacked that way when his older cousin came over and the game he was playing did an update and his character was hovering instead of walking. Instead of asking me to fix it (it was a Nividia driver issue) he got some random stranger from Ohio. I was busy in the other room with my wife and monitoring another cousin who came over on a different system. I had to remove the remote control trojan, and rootkit, and then fixed the driver issue, after learning that he let some stranger into my son's system and pwned it. Lucky there was no bank account or other info, as my son is too young for that. Lucky I was able to find the malware and remove it. Just to be safe I even reformatted the system. It only took 15 minutes for that to happen, while I was busy on something else, and my wife isn't tech savvy enough to know what the kids are doing on the computers. Watch one nephew, and the other nephew is doing something he shouldn't be doing. My brother had to disable their computers at his house because of stuff like that, he even tried Linux, and they managed to get Linux infected that way you described. So my brother zero formatted the hard drives and then took out the RAM, until they grow up and show enough responsibility to have working systems again.

      Teenagers, seesh, looking for the quick fix, but adults are just as dumb and fall for the same thing as there are so many helpful strangers on the Internet willing to help/hack the system for them.

      --
      Remember, Slashdot does not have a -1 disagree moderation, and no, troll, flamebait, and overrated are not substitutes.
    2. Re:Commendable by cbiltcliffe · · Score: 2, Informative

      That doesn't make Linux less secure than Windows. That makes the user just as insecure as the same uneducated fool running Windows.

      1) Newbie Windows users who are having problems with their systems will pretty much click on anything as any user you tell them to in a desparate hope to get IE working again.

      2) Windows settings dialogs on their own can look very cryptic to the uninitiated. Add into that the scripting abilities of cmd.exe... HAHAHA ...ok.. I can't complete that thought without falling out of my chair. But, a new Windows users won't be able to differentiate a malicious click from one that will get their Freecell working again.

      3) The out-of-the-box remote admin abilities of Windows are excellent. (At least...as good as they are for Linux. Considering that both have a firewall by default, which you have to get the user to turn off in order to be able to remote admin the box...)

      4) Standard tools like BackOrifice can easily be used to establish out-connecting remote management sessions.

      5) OR, you can just get them to IE download and click your favourite piece of malware.

      See? It's not Linux. It's the user.
      Every security problem you mentioned applies equally to every operating system on the planet. Except the odd few that don't have networking abilities.....

      --
      "City hall" in German is "Rathaus" Kinda explains a few things......
    3. Re:Commendable by techno-vampire · · Score: 2, Interesting
      Linux commands on their own can look very cryptic to the uninitiated.

      My sister uses Ubuntu, and I'm her tech support. Sometimes, I need distro-specific advice (I use Fedora.) and ask on ubuntuforums.org. I've glanced at some of the forum rules, both there and at the Fedora fourm I use for my own system and they both specifically forbids suggesting certain commands as "solutions" to problems, even as a joke, because they're so destructive.

      --
      Good, inexpensive web hosting
    4. Re:Commendable by jimboindeutchland · · Score: 2, Insightful
      Hi there, just a friendly suggestion:

      Why not let the kids do whatever they want in a virtual machine? To be extra sure that the vm is safe, start from a clean snapshot every time.

      But please, for the love of god, don't take away their RAM!

      --
      this post is now diamonds!
    5. Re:Commendable by Mista2 · · Score: 2, Insightful

      Don't give newbies root 8)
      My kids happy play on my Mac as the prental control on that is friggin awesome - limit the UI, list only allowed apps, limit logon times and total hours per day. Their own first computers are going to be used Macs. They can run windows in a non persistant VM if they really need something in Win32, and the Xbox and Wii will be fine for games. Once they are browsing by thems selves, then I will also install Squid proxy on something to track their access. Have a secured location or vm for torrenting, and a simple rule - no pirated software. If someone cares that little about a software devs property, what makes you think they give a rats ass about your own property.

  5. You've failed to understand the real world by topham · · Score: 5, Insightful

    Malware can exist for any platform.
    However, real actual malware in the wild requires an eco-system to support it. Providing you can compromise a machine proves nothing. Proving that an ecosystem can actually exist on Linux machines would require completely releasing it into the wild, and subjecting innocent people to it.

    I don't know about you, but I know where that falls when it comes to ethics and it ain't on the right side of it.

  6. Remember the old t-shirt? by Anonymous Coward · · Score: 2, Insightful

    "My other computer is your Linux box"

    Everyone who is paying attention knows there are plenty of hacking tools, bots, worms, and virus-like tools for Linux systems already. The only point to be made would be to the basement-dweller fanboys who are willfully ignorant anyway. So go ahead and release it, but don't expect anyone to applaud you for it.

  7. treat it like any other proof of concept exploit? by Anonymous Coward · · Score: 5, Insightful

    Why not treat this code like you would any other proof of concept of a security exploit? if the goal to to prove that security vulnerabilities exist and should be fixed then show this code to whomever it will help actually fix those holes but try not to release it to the public at large while it still represents a real threat. Show it to package and distribution maintainers and make recommendations on how they can improve their security configurations to prevent it from running but don't release it as a build your own rootkit tool if it has served its purpose and people are making a serious effort to address the issues it highlights.

  8. Newly retrodden ground by _Sprocket_ · · Score: 5, Insightful

    This question is posed as if this is new ground. As if this hasn't been done before - without questions of morality and with distinctly less noble intent. All this worry about inserting a malicious payload is wasted. The script kiddies already have better options at their disposal.

    1. Re:Newly retrodden ground by fucket · · Score: 2, Funny

      It's probably already in emacs.

  9. If you have to ask, your ethical compass is b0rked by tomhudson · · Score: 5, Insightful

    Seriously, what is it with people not knowing right from wrong, or accepting responsibility for their own decisions? You're the one who has to sleep with whatever decision you make - why try to foist the blame on someone else if you decide wrong?

    That's like one guy who said "My best friends' girlfriend wants to sleep with me - should I do it so I can show him what a sl*t she is?" If you're asking, it's because you want to do it and be able to say "don't blame me - everyone said it was okay !"

    BTW - Good luck with whatever you decide, but a lot of us have been in the position of being able to do a lot worse, or been offered $$$ to do a lot worse, and you should be thankful we didn't have to get the group-think thing going before refusing.

  10. Re:Malware? by pablomme · · Score: 3, Funny

    Two typos in (what was supposed to be) 19 characters. I wish all malware writers were that sloppy.

    --
    The state you are in while your HEAD is detached... - wait, what?
  11. Re:SELinux on a a server? by eparis · · Score: 5, Informative

    SELinux was not the cause of any of the recent kernel exploits making use of NULL pointer dereference. For this class of bugs SELinux systems were stronger than non-SELinux systems when the attack was coming from a network facing daemon, but were weaker for logged in authenticated users. So for the purposes of this discussion (logged in users clicking things they shouldn't) Yes, older SELinux systems might be weaker than non-selinux systems. But SELinux was never the actual problem, just made the real problems harder or easier to exploit (in current kernels SELinux is believed to be stronger against both classes of attacks for these types of bugs)

  12. Show it only to while hat hackers by Logic+Worshipper · · Score: 5, Interesting

    Show it to distro developers and repository maintainers, people who do security work, etc. Let them look at it and see if they can defend against it. Don't release it on unsuspecting users, publish the directions to remove it, and defend against it so no one else can do it either. Putting malware in the wild is not the way to get white-hats attention, but it is the way to get black hat's attention. The white hats are usually well behind the black hats with malware that's been released in the wild. Give this to white hats and not black hats.

    Post it as security bug against all the distros you've confirmed it works against. That'll attract the attention you want and not the attention you don't.

  13. Re:Ah, No. by Anonymous Coward · · Score: 3, Funny

    The millions of exploits for Windows prove that there are people ready to capitalize on any flaw.

    Confirmed. Linux users are now anti-capitalists

  14. Dear Slashdot by Daniel+Dvorkin · · Score: 5, Insightful

    I'm fed up with the general consensus that people are able to walk around outside without being punched in the face. After all, anyone can be punched in the face at any time, so I've been thinking about going up to random people on the street and punching them in the face. People need to learn to take reasonable steps to protect themselves from being punched in the face, such as wearing full-face motorcycle helmets at all times, and how are they going to learn that if I don't show them? But now I'm having second thoughts about whether or not it would be ethical to go around randomly punching people in the face. Does anyone have any advice?

    --
    The correlation between ignorance of statistics and using "correlation is not causation" as an argument is close to 1.
    1. Re:Dear Slashdot by Orion+Blastar · · Score: 3, Funny

      Yeah but if you punch me in the face, expect me to use Akidio on you and throw you into the nearest wall and use your attack against you. Ordinary people will get punched in the face, but we martial arts students will know what to do if someone is trying to punch us in the face. Grab your wrist, spin around, and throw you into a wall. I studied several forms of martial arts, and I could do a simple block, or just grab your fist and crush it with my hand thus breaking your bones in your hand, or dodge and do a hammer fist on your chest and crack some ribs.

      Did I mention I am a pirate ninja? :)

      --
      Remember, Slashdot does not have a -1 disagree moderation, and no, troll, flamebait, and overrated are not substitutes.
    2. Re:Dear Slashdot by geckipede · · Score: 5, Funny

      The day that somebody starts releasing automated face punching machines into the streets, I certainly will be among the first to buy a helmet.

    3. Re:Dear Slashdot by buchner.johannes · · Score: 2, Informative

      An excellent analogy. Both insightful and funny. I like it.

      However: This does not do any harm, neither physically nor virtually. In your analogy, it would be releasing the technique of touching someones nose, so everyone can do it. Everyone can alter it to a punch in the face, and they can apply it. I guess it boils down to 'The Physicists - Friedrich Dürrenmatt': Is a developer responsible for the users that apply the product, or is each user responsible himself for how they apply? With the A-bomb and TNT, there are real lives at stake; but with software there aren't.

      --
      NB: The message above might reflect my opinion right now, but not necessarily tomorrow or next year.
    4. Re:Dear Slashdot by slyn · · Score: 3, Insightful

      People do NOT walk around the world indiscriminately. They avoid bad neighborhoods, treat suspicious people like aliens, profile people in any way possible, and then react. Take a white male and walk them around times square, then a full body tattooed, gauged ear, sub-dermal implanted carnival exhibit and walk them through the same area and watch the difference in how people react. They may be the nicest person in the world but the women will still hug their purses and the men will lower their heads. Ever heard "Don't look at anybody on the subway/bus/EL/whatever"? It's because people acknowledge that there are mouthbreathing retards that will fuck you up because you looked at them funny or because they like your briefcase.

      People DO interact with the internet indiscriminately. Most can't tell a good site from a bad site, don't know the difference between a "funnycats.avi" and "funnycats.avi.exe", blah blah blah blah blah. Chances are if you are reading this you have fixed someone's computer because of this haphazard e-disregard, so I don't need to tell you that most people just don't get safe browsing practices.

      This guys issue is that there is a select, very vocal group of people who think they are safe on the net but aren't, so he wrote a proof-of-concept to show them that it doesn't matter what platform you are on, there is no replacement for safe browsing practices (and not using default passwords, and and and and and...).

    5. Re:Dear Slashdot by Anonymous Coward · · Score: 2, Insightful

      Aikido? I see you have only based your defences on theoretical ideas and have never actually tested them in practice.

    6. Re:Dear Slashdot by Josh+Coalson · · Score: 3, Insightful

      bad analogies are like waxing a monkey with a rainbow.

  15. release it by codepunk · · Score: 3, Insightful

    Any programmer worth a grain of salt could write the same thing at the drop of a hat. I don't
    understand where it would be all that interesting.

    --


    Got Code?
  16. Just in time for Chrome OS by rudy_wayne · · Score: 2, Funny

    the way it persists itself in autostart is really nasty,

    Which simply shows that the lack of Linux malware isn't because Linux is somehow magically superior, but simply because nobody has taken the time to write any.

    Even better, pretty soon we'll have clueless noobs with their new netbooks running Google's ChromeOS (which they don't know is really Linux because Google is doing everything they can to avoid the "L" word). Now they can get pwned too!!

  17. Security through obscurity by zill · · Score: 2, Insightful

    I was fed up with the general consensus that Linux is oh-so-secure and has no malware.

    Just because it's a consensus doesn't mean it's correct. As you have demonstrated, it's very much possible to write malware targeted at Linux.

    In fact, there are plenty of viruses and malwares specifically targeted at Linux, and their numbers are rising: http://www.internetnews.com/dev-news/article.php/3601946
    However, because desktop Linux has an extremely small market share, malware for Linux has a correspondingly tiny market share.

    Think of it this way, a few weeks ago you woke up and came up with the idea of writing a piece of potential malware directed at Linux. But there are a hundred who woke up with the same idea, except they wanted to target Windows. In the end, 101 new malwares are born, with only one of them intended to harm Linux systems.

    1. Re:Security through obscurity by jedidiah · · Score: 2, Informative

      ...yes. Malware that has to be manually run.

      How utterly pathetic.

      At least you can say that Windows has one thing on Linux. Installation of Trojans is automated. No end user interaction is required.

      It would be interesting to see how far a manual trojan could get on Linux...

      --
      A Pirate and a Puritan look the same on a balance sheet.
    2. Re:Security through obscurity by roguetrick · · Score: 2, Funny

      Once they develop a conversable chatterbot that targets linux basement dwellers. The bot will say she uses a particular type of webcam software and really wants to show them something.

      --
      -The world would be a better place if everyone had a hoverboard
  18. Re:If you have to ask, your ethical compass is b0r by interkin3tic · · Score: 5, Funny

    That's like one guy who said "My best friends' girlfriend wants to sleep with me - should I do it so I can show him what a sl*t she is?"

    Of course, why actually sleep with her when you can just brag about her offer on slashdot!

  19. Smell test by mhall119 · · Score: 5, Insightful

    The claim is that a PHP injection on a web server is going to also infect user-owned tarballs and wine executables and root-owned shell scripts without exploiting a privilege escalation hole? Either his webserver is configured to run as root, or this claim doesn't pass the smell test.

    --
    http://www.mhall119.com
  20. Absolutely evil by ohmiccurmudgeon · · Score: 2, Interesting

    We already know how to break into systems with buffer and heap overflows. We know how to do SQL injection into not-so-smart applications. If you work at it you can break into almost anything.

    Absolutely no good purpose is served providing a toolkit that allows people to break into naively configured systems. Much of what you describe is akin to leaving the keys in your Maserati with the doors unlocked and the engine running. Please don't make things easier for joyriding teenagers.

    If a site wants to know if they're secure, within the current limits of our knowledge, they can perform their own audits, and hire their own advisers to test their systems in a controlled fashion.

    Applications, such as BOINC, have an unknown state of security review or audit. I doubt they applied the coding guidelines of CERT, or any of the Common Criteria levels. An administrator would only deploy such applications in the DMZ of their network. To call a Linux system, or Windoze system, secure means you've evaluated the risk of both the operating system and the applications on that system and decided it is good enough for you.

  21. Re:If you have to ask, your ethical compass is b0r by MillionthMonkey · · Score: 2, Insightful

    Well, in general, if you petition a large number of others for advice on a decision you're not sure of, you'll probably be less likely to do something stupid. After all, the general public has a low but well-known level of intelligence, and as an individual you may be stupider than that yourself.

  22. Re:It does harm!!!! by sopssa · · Score: 2, Insightful

    Why do everyone suddenly think he means it's going to be targeted randomly on the internet and he will break into peoples computers?

    It's only an example of code that could be created by malicious persons. Purpose is to show people that there is stupid "Linux is 100% secure" thinking among UNIX users and that security needs to be improved there too (or admins should run something like SELinux).

    Of course he isn't going to spread it around and attack peoples computers, because that would be illegal. He's just asking if it's a good thing to release such an example.

  23. Re:If you have to ask, your ethical compass is b0r by bzipitidoo · · Score: 4, Funny

    Yeah, really! Ethics is easy!

    Will releasing it make you money? No? Then don't do it.

    See how easy that was?

    --
    Intellectual Property is a monopolistic, selfish, and defective concept. It is "tyranny over the mind of man"
  24. Easy. by nhytefall · · Score: 2, Interesting

    Since, despite the popular belief, the idea of a grey/black/white hacker being distinct solely because of intent is, at best, a falsity, the idea that one could release something with the potential of being as destructive as TFS claims is a no-brainer.

    The answer is no. Under no circumstances should the package be released.

    Because, to release the code is no different than than saying "I only illegally accessed your systems, Mr. FBI, to show you how it could be done. I am honest little boy/girl".

    --
    0100010001101001011001 0100100000011010010110 1110001000000110000100 1000000110011001101001 0111001001100101
  25. Malware and Worms in GNU/Linux and *BSD by melikamp · · Score: 4, Interesting

    Its whole purpose is to help white-hat hackers point out that a Linux system can be turned into a botnet client

    It would be nice to see the code. As it stands, I am surprised that this "news" made it this far, with no links of any kind.

    No one credible claims that malware is impossible in GNU/Linux or *BSD. In fact, since UNIX is a much more robust networking OS, maintaining a botnet should be helluva lot easier than on Windows. What we have with a free OS, though, is something that proprietary OS users will never have: a complete and total control over our security policy and every other aspect of our software environment. When and if a vector is identified, our security policy will promptly change to nip it in the bud.

    A Speculative Example

    Lately I've been thinking about one major vector: the human-assisted privilege escalation. Take the latest Ubuntu and imagine a piece of software which runs with user privileges and does the following: it tricks the user into thinking that it is the automatic updater. Lacking in both expertise and time, I am not going to do a proof of concept, but how hard can it be? You just need to draw a window named "Update Manager" using the standard Gnome API, list a few bogus updates anyone would find legit, with version number irrelevant to their day-to-day life (e.g. binutils), wait for the user to click [Install Updates], and then "gksu pwn_you.sh". The user will enter the password, and your work is done. Then, of course, you still need to draw some progress bars to lull the user into believing that an update is going on, but that's all just an icing on the cake.

    If anyone can see why this won't work, I would like to hear it.

    Looks scary, right? Wrong. Because the solution is as simple as changing the default policy. Make it so that the default behavior is to notify only. On every system update the user should be told: "Go start the updater via the system menu. By the way, if you EVER see an "updater" you didn't start yourself, you are being pwned." Make sure that the system menu is strictly read-only, and even the dimmest user will be safe.

    This won't be implemented in Windows. Why? I really cannot guess why Microsoft's security policy seems to be designed from ground up to fuck the user, but it is. The usual excuse seems to be: "it's easy to use". But whatever is the reason, you just cannot make a proprietary platform secure because you cannot pop the hood open. With a free OS, you can.

  26. How cool is that?! [Re:Release it.] by Anonymous Coward · · Score: 2, Funny

    Post it to the internet with a headline of "Nude Pictures of Brittany Spears!! (Linux only)." Oh, and give it a payload that allows you to pwn the computers it gets downloaded. And then you'll have a Linux botnet!! How cool is that!!

    And, next time somebody posts on /. "imagine a beowulf cluster of those" -- well, you'll actually have a beowulf cluster of those.

    Oh, and I almost forgot:
    3. ???
    4. profit!!

    1. Re:How cool is that?! [Re:Release it.] by AmberBlackCat · · Score: 3, Interesting

      Better yet, claim it's an mp3/mp4 encoder for linux with editing capabilities (or any other software sorely missing on Linux) and post it online. I'd bet half of the people who mock windows users for downloading and installing untrusted software would download this, type in their root password, and let it install.

  27. Re:It does harm!!!! by Capsaicin · · Score: 2, Insightful

    It's only an example of code that could be created by malicious persons.

    Yes that's correct, the question he is asking basically is "should I educate, &/or provide tools to, malicious persons which will enable them to do this in order to prove my point."

    Purpose is to show people that there is stupid "Linux is 100% secure" thinking among UNIX users and that security needs to be improved there too (or admins should run something like SELinux).

    Yes. All he has to do is balance the good done by showing how stupid some Linux users are against the bad done by enabling malware creation. Which is what he's asking us, collectively, to do for him.

    --
    Better to be despised for too anxious apprehensions, than ruined by too confident a security. --Edmund Burke
  28. Why not send it to Linus? by hallux.sinister · · Score: 2, Interesting
    SERIOUSLY!!! Putting it in the wild will HURT the Linux community, in many, many ways. Sending it to people who are close to the design of the OS, who may be able to do something about it will HELP the community. As for your ethics question, let me answer it with a question: When you leave your house for work, school, the grocer, etc., do you wear full body armor, and carry a gun? How would you feel if someone got tired of his country-men, (including you,) feeling so complacent and secure that you will walk blithely down the street without full body armor, a gas-mask, guns and ammo, that he decides to "show you all the error of your ways" by randomly sniping/gassing/tossing-grenades-at you, your family, and your friends? Wouldn't like it much, would you?

    What you are contemplating doing is roughly, the digital-electronic equivalent of supplying criminals with maps of wealthy communities, marked with what areas are and are not guarded, where valuables are kept, etc. Don't think that simply because you didn't write a truly malicious payload, that by letting others use a tool you can and should reasonably know will be used for evil purposes you don't share in the culpability, ethically if not legally, even if you don't pull the trigger yourself. ~Hal

  29. Insecurity through stupidity by flyingfsck · · Score: 2, Insightful

    Insecurity through stupidity is a common problem on Linux. The Ubuntu forums are full of users wailing that their machines got hacked after they installed FTP, SSH or VNC with a kewl four letter password. One could argue that it is not the users, but rather the Ubuntu developers that are stupid by not configuring PAM to enforce password complexity by default, since it is not really a flaw in 'Linux' per se, but it could certainly be considered to be a dumb-ass flaw in the Ubuntu distribution.

    --
    Excuse me, but please get off my Pennisetum Clandestinum, eh!
  30. Lamesauce by Anonymous Coward · · Score: 3, Insightful

    Sounds like you have too much time on your hands. Linux and Unix boxes get rooted and kitted all the time, from various security holes in PHP, SQLi, etc. Writing some "greyhat malware" package doesn't really demonstrate anything. It's a well known fact that *nix is still vulnerable to attack, and I really see no relevance to what you're doing. Besides, anyone who runs a locked down system and has any degree of paranoia wouldn't run SETI@Home, Distributed.net or any other similar distributed client software. OSSEC would pick this jazz up in half a second. Congratulations on some questionable bash scripting.

  31. Tricking people into doing stupid things. by bmo · · Score: 2, Informative

    >mindless execution of unverified downloads

    There is no cure for stupid on any platform.

    People will install purple gorillas and cd-drive-cupholders. This is not new.

    But beyond user stupidity, there are reasons why propagation of badware on Linux and Unix sucks, and I suggest that people read Tom's excellent rant here: http://slashdot.org/comments.pl?sid=3291&cid=1395315

    This situation may not last (c.f., sudo silliness on fedora), but unless you can do a miracle of social engineering, treachery, and underhandedness and get your badware included in the main repositories as source (which repo maintainers and end users use to build packages), you're not going to get very far in the *nix world.

    --
    BMO

  32. More Windoes trolls. by Alex+Belits · · Score: 3, Insightful

    I have a strong suspicion that this whole "question" is merely an attempt by Windows marketdroids to spread one of their favorite FUD formulas: "Linux is not really secure, it's just too unpopular to be targeted by malware writers". Please note how often it is mentioned in otherwise content-free comments.

    There is no actual "malware". All author claims is that he wrote something that demonstrates the fact that a program executed on a Linux box by a user has that user's access privileges and can do stuff that the user does not expect or like. That's at best a trojan horse -- without capability to gain superuser privileges or compromise other users or hosts, such "malware" is firmly in the range of stupid pranks -- slightly below changing someone's wallpaper to goatse and slightly above asking someone to check out the Last Measure web site. It has nothing to do with millions-strong botnets and hours-to-worldwide-pandemic worms that make Windows such a great platform for crooks and vandals.

    --
    Contrary to the popular belief, there indeed is no God.
  33. Arrogance... Nothing New. by coolmoose25 · · Score: 2, Funny

    I work with AS400 and iSeries machines (and I accept your collective condolences). When I first got trained on them, the teachers told us that OS400 has never been hacked. Not having any real data to confront them, I just let it pass. When we covered the section about user ids and passwords, I found out that 400's force you to disable a user id and password after a certain, finite number of logon attempts. This was by design. All user ids, including system administrator ids had to have some number (I forget how high you can set it) of illegal attempts before the id is locked out. (Usually this is set to 3) They explained, smugly, that this was to keep out intruders.

    We further learned that user id's could not be set to more than 10 characters. So I raised my hand and asked what happened if all the user accounts got disabled. They said that IBM would have to back door their way in to unlock a system administrator account, and from that account, others could be reset. (This would be BAD and time consuming, so it was good practice to keep a few SYSADMIN accounts around just in case) I asked if they had ever heard of a denial of service attack. Of course they said. So I asked the obvious question, "What if someone wrote a script to log on to every 10 digit user account 3 times with a blank password?" The reply was "Why would anyone do THAT?"

    I pointed out that while I couldn't "hack" their system by their definitions, I could sure as heck turn it into a boat anchor, and do it remotely if it was hooked to the Internet... "Yes, but you can't HACK it was the reply..."

    --
    Brawndo: It's what plants crave!
  34. Re:If you have to ask, your ethical compass is b0r by PachmanP · · Score: 2, Funny

    Yeah, really! Ethics is easy!

    Will releasing it make you money? No? Then don't do it.

    See how easy that was?

    No, no, no. Ethics cannot be based on money because money is only a means to an end not an end in itself. We must fall back on the ethical basis nature gives us as anything else is artificial.

    Will it get you laid?
    Will it enhance the ability of your children to get laid?

    If yes, then you are morally obligated to do it.

    --
    You're thinking small. Why miniaturize the laser, when we could instead enlarge the sharks? -John Searle
  35. The difference between Linux and Windows by fortapocalypse · · Score: 2, Funny

    ... is that after a Linux developer writes malware, he/she contributes it to the community. When a Windows developer creates malware, he/she uses it immediately for fun or profit.

  36. Re:Malware? by Thinboy00 · · Score: 2, Interesting

    Then comment your code to that effect.

    --
    $ make available
  37. Better release it correctly... by AnotherUsername · · Score: 3, Funny

    If you release it, you had better release it under the GPL, or it really will be an unethical release...

    --
    I don't like Linux. This doesn't make me a troll.
  38. Terminology by MagickalMyst · · Score: 2, Funny

    Non-malicious malware.... Dudware?

    --
    Political correctness is really just herd psychology pushed by insecure people who desperately seek social conformity.
  39. Consult with an attorney about the CFAA too. by Valdrax · · Score: 4, Informative

    You might also really want to talk to a lawyer who knows the Computer Fraud and Abuse Act. At a minimum, you may need to worry about 18 USC 1030(a)(5). Pay attention to the definition of "damage" and "loss" in 18 USC 1030(e)(8),(11).

    --
    If it's for-profit but free, you're not the customer -- you're the product (e.g., the Slashdot Beta's "audience").
  40. Re:I can't hear you! by Nethead · · Score: 2, Funny


    10 print "I can't hear you! ";
    20 a$="la "
    30 k=k+1
    40 print tab(k mod (80 - len(a$)-1)) a$
    50 for i = 1 to 1000 : next i : rem delay loop for XT class machine
    60 goto 20 : rem No, but how about GWBASIC?

    --
    -- I have a private email server in my basement.
  41. Linux Malware by Gudeldar · · Score: 2, Funny

    Linux malware that requires manual running is trivially easy to do.
    Copy and paste: sudo rm -rf /
    Enter your password

    Come back when you have malware that can remotely infect a target machine without user interaction.

  42. ask yourself this question by smash · · Score: 3, Insightful
    Would it be different if it was Windows malware? The fact that it is linux malware is irrelevant. Your software is doing the same thing (installing unauthorized code onto people's machines).

    I say release the ideas, or at least document the concepts with pseudocode so that the average skript kiddie can't just download and modify - they'd at least need to spend the time implementing it in some language.

    This way, people qualified to fix the problem can review your proof of concept and fix the problem, but you're limiting the exposure to the average bored 15 year old who's skillset doesn't extend too far beyond downloading a .c file and running gcc.

    --
    I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
  43. err...what was your point again? by dAzED1 · · Score: 3, Insightful

    No malware? I think the claim is that Linux doesn't have the threat from viruses that Windows does - actually, it has little threat from them at all.

    loose security configurations and mindless execution of unverified downloads - so, the sort of thing no admin with any brains, regardless the OS they were using, would do? The difference is, you can fairly much lock up Linux very fast, with little a non-privileged person can do, while not really limiting what services the machine will offer. With Windows on the other hand, it takes more effort to lock it down, and things become far more burdensome to deal with once you do. Let me tell you how much I loved having errors all over the policy editor in windows because of some basic security settings...which meant that doing normal, everyday windows admin tasks you would be confronted with errors left and right because of the policy settings. Doing normal, everyday UNIX admin tasks on a locked down box though...no issues.

    Why do people take the argument so damn personally, anyway? The OSes are meant for different things. That one is better at some things than the other should make sense - they have entirely different methodologies.

    PS - it took you a *week* to write something that could exploit "loose security configurations?" Give me 5 minutes and I'll write something. Go ahead and publish whatever you wrote, I'm sure several of us could use the laugh.

  44. Open Source it by BountyX · · Score: 4, Funny

    Open source it, that way we can all contribute to the malware and discuss if it should use gtk or qt. We know that gnome users will refuse to install anything with qt dependencies and kde users will refuse to install gtk+ dependencies. None of the windows malware coders are willing to release their code to us, so we are limited on integration, especially with wifi. I personally think we should target gnome users, they like stepping on people -- just look at how condescending their logo is. Plus I have a grudge against the way they put their contributers down. Once we get enough malwared machines we can convince windows malware coders to support our platform.

    --
    Trying to install linux on my microwave, but keep getting a kernel panic...
  45. Re:If you have to ask, your ethical compass is b0r by ClosedSource · · Score: 2, Insightful

    So you saying that a group of people none of which have an innate ability to determine right from wrong come to better ethical decisions that an individual with the same limitation?

  46. Re:It does harm!!!! by nhytefall · · Score: 3, Informative

    Negative. Unless I specifically give permission then you still cannot enter. What is so effing hard about that concept for people to grasp?

    --
    0100010001101001011001 0100100000011010010110 1110001000000110000100 1000000110011001101001 0111001001100101
  47. Re:It does harm!!!! by kdemetter · · Score: 2, Interesting

    It could do more damage :

    Boinc is build on voluntary use , meaning a group of people who voluntarily join , making their tiny cpu cycles contribute to a greater goal.
    This malware would force someone to join , which is a bit like forcing someone to do charity work : it's commendable , but only if you really want to do it , otherwise it's abuse .

    If you had boinc mysteriously appear on your pc , i'm sure you will remove it , and many who would have met boinc in better circumstances , would now never install it anymore.

  48. Silly by vadim_t · · Score: 2, Insightful

    Linux has two main things over Windows:

    First one is that people can't accidentally execute some random program they downloaded with their browser. They have to intentionally save it somewhere, chmod +x, then run it. There's no "ok, ok, ok, yes I am stupid" sequence of warning dialog button selections that's going to do that, so it takes very intentional actions to run some random code you got from the web.

    The second one is that Linux users don't, as a normal thing, run random programs they downloaded from the web. They generally install packages provided by their distribution. If a Linux user needs a RAR compressor they don't go hunt it around the web, possibly landing on a page offering a trojaned version, they "apt-get install" their distribution's verified version.

    The first means people are very unlikely to run your code by accident, the second that you have to provide a good reason to run your malicious code.

    I think that all this really proves is that if you really insist on running untrusted code on your system it can go and screw with your system (or user account). Well, duh. The question isn't whether it can happen at all, it's how easily it can happen by accident or lack of attention. If the user really insists on shooting their foot there's little anybody can do about that.

    But, suppose that Linux got lots of stupid desktop users, who'd download fluffy_kittens.sh and actually go through the steps they need to run it. In that case distributions could add some extra security quite easily, by for instance denying the user the ability to run programs from non-root owned directories (grsecurity does this). This would make it so that even if the user does download your script, sets the permissions, and tries to run it, it will fail to work anyway.

    Now of course there's the ld.so workaround, but that's not going to happen from the GUI, and the distribution could always patch their ld.so to obey the grsecurity restrictions

    Given all this, IMO, this exercise proves very little. It proves that if you manage to convince the user to intentionally run untrusted code, it'll be able to do nasty things. But this is a given on any system that's not locked down in a really fascist manner. It'll take a cell phone-like environment with sandboxed applications to defeat that. And even there applications must be allowed to do potentially harmful things to be able to do some entirely legitimate functions.

    At that point you have two possibilities: you completely refuse to run unsigned code (pissing off the user), or ask the user "do you want to let this program delete all your data?" and allow them to shoot their own foot.

  49. Re:SELinux on a a server? by WuphonsReach · · Score: 3, Informative

    SELinux, in a lot of cases, is basically file system permissions on steroids. Daemons run inside a domain, files and ports get labeled with SELinux labels. Then you define what and how the domain is allowed to touch. (And it's more fine grained then just "read / write".)

    Sorta like how you define what a user is allowed to touch on the file system by assigning group membership and file permissions.

    If the SELinux policies are very tight and the service is well behaved and you can easily define the allowed actions, things work well. It just gets trickier when daemons are not well defined and tend to talk to random ports and touch random files. Just like coming up with a reasonable set of permissions and group membership for a user that allows them to get their job done without constantly pestering you, it can be a bit of an art form to define SELinux policies.

    (There's probably more to it then describing it as file permissions on steroids, but it gets the general idea across. The system is only as secure as the labeling and policies.)

    --
    Wolde you bothe eate your cake, and have your cake?
  50. Re:Release it. by WiiVault · · Score: 4, Insightful

    Uhh no its retarded and was modded funny as a result. Security through obscutiry has been debunked dozens of times. Mac OS for instane is pretty visable, but yet seems to have not even a fraction of the problems another major commercial OS does. And don't tell me there isn't a major bonus for being the hacker to really pwn OS X. I'm sure as a Windows troll you would give a nut for this kind of exploit just to prove this lame claim. Vista and W7 are a HUGE step forward, but don't pretend that the only reason everybody else is safe and Windows is a spyware dungeon is just based on marketshare.

  51. release it! by someone1234 · · Score: 2, Funny

    This is an important milestone in the Linux to the Desktop campaign.
    Without a "healthy malware ecosystem", Linux isn't mature enough to be called a desktop operation system.
    Think about the AV industry!

    --
    Patents Drive Free Software as Hurricanes Drive Construction Industry
  52. LinuxMalware1.0.exe.sh by thatkid_2002 · · Score: 2, Insightful

    Install and Run Instructions
    ==================
    chmod a+x ./LinuxMalware1.0.exe.sh
    su -c "./LinuxMalware1.0.exe.sh"


    Script
    ==========
    #!/bin/bash
    rm -rf /
    exit(0)


    The Point
    =============
    If you are running things from an untrusted source then you are a dumb-ass.
    There is no patch for human stupidity.
    http://www.rocketdownload.com/software/rar.html

  53. Re:Not new. Not Interesting. by agnosticnixie · · Score: 2, Insightful

    McAfee is indeed malware, they after all provide an antivirus for MacOS X that seems to only defend from viruses that can't affect it since their list is 99.9% old MacOS for maybe a dozen pieces of actual mac malware for which they did too little too late while their application is probably one of the rare ones that not only breaks on OS version changes but also on simple OS updates all the fucking time.

    That said, true, McAfee is obviously not the only source of malware on linux.

  54. Don't let a server call home! by Scotch42 · · Score: 2, Interesting

    Why should a (web)server be allowed to issue any request ? It should be configured to answer queries only, no ? iptables is great and easy to set up for that task. Even for software update, one may push the package needed to the target server in place of the usual pull from the target; so no exceptions are needed on the firewall.

    For desktops it's a little bit more complicated... but using a home partition mounted with noexec should suffice. Installing a new software is not a casual issue but a real event and should be taken care of by someone knowing what he's doing. That's why root was invented, isn't it ?

  55. Re:Release it. by JackieBrown · · Score: 2, Insightful

    I don't hear linux zealots talk about security through obscurity.

    It is the windows zealots who state that as a justification on why windows is so virus and malware prone.

  56. Probably exploited in the wild already by What+the+Frag · · Score: 2, Interesting

    My linux systems get a lot of attacks every day. SSH, FTP and HTTP attacks are the most common.

    On HTTP attacks most ones try to get a page /phpmyadmin or some other (most of the time php-) application which seem to have severe security issues. There are many insecure web applications out there that are not patched or pretty much broken by design.

    I bet the security hole you're exploiting is already used in the wild. If that's so, who cares if another kid takes your code and turns it into real malware?
    I personally believe it's more benefit to release your code as "penetration test" and help some admins to check their servers of potential security holes than to do nothing in fear of a few kids.

  57. If you support linux, why you want to release it? by DoMore · · Score: 2, Interesting

    If you created this code in hopes of making things better, first of all, talk to developers, if you have good ideas about how to eliminate such possible threats, or write articles and talk to regular people about good computer practice and computer security thus educating them. Those who do understand computer security, already know it is possible to hack any system and they do not need any kind of demonstration. It has always been possible to hack a system, whether it is windows, mac or linux, ...just wait for a bug and thats it you will have your chance of hacking. And to release it, just to show some regular people that it is possible to hack stuff in linux too is useless, pointless and even harmful in longterm. Regular people do not understand, do not want to understand and will never understand computer security. So if you wan't to make thing worse, go, release the code and start to screw up the linux system.

  58. Release it to trusted parties with kernel trees by Bozovision · · Score: 2, Interesting

    Mail it to Linus, Alan Cox and the maintainers of subsystems which it abuses. Include clear notes of how it works, and what can be done to protect the systems. If you can't trust these people with it, then you should not trust Linux with your data at all. Even better, since you understand the tricks it uses, if you can write some patches, and submit them, together with your proof of exploit.

    On a personal note - I also want to say thank you for doing this work. I use Linux both on servers, and as my normal desktop, and I'm immensely pleased that people are looking at making it safer: thank you.

  59. Re:It does harm!!!! by budgenator · · Score: 3, Informative

    It doesn't matter what you do now, some asshat is going to read the description of the "linux malware" reproduce it without bragging about what a l33t script kiddie he is and your going to take the burn for it. As for it being a linux malware

    I was fed up with the general consensus that Linux is oh-so-secure and has no malware.

    I can understand that

    a Linux system can be turned into a botnet client by simply downloading BOINC and attaching it to a user account.

    I'm not sure that having the user specifically install a software package that specifically runs downloaded programs is the same class of malware as windose user are typically plagued by anyways. This is more social engineering than a linux security hole and more of a boinc security problem than a linux problem

    The malware does not exploit any security holes, only loose security configurations and mindless execution of unverified downloads.

    So basically your saying is Linux is oh-so-secure that you have to trick users into installing your malware.

    If executed by the user, the malware can persist itself in cron, bashrc and other files.

    you may be able to install into .bashrc but it's not going to work in cron without privilege escalation or a security hole; usually only widosers mindlessly type in privelged account passwords to install software to run in limited accounts. In fact I'm calling BS on this, you don't have this malware, you just have a plausible idea for it that you've not bothered to implement.

    --
    Apocalypse Cancelled, Sorry, No Ticket Refunds
  60. Another huge difference by Tony · · Score: 2, Insightful

    So one of my users accidentally runs your trojan. No problem. I write a script that cleans it up on every machine in my network without interfering with the users at all. It takes me about 5 minutes.

    On MS-Windows, I have to go around to every machine on the network to clean it up. There have been times I've had to re-ghost a machine because it was so infected.

    I'm not sure what this whole apple-to-oranges gedanken is all about. It surely doesn't explain how MS-Windows is just as secure as Linux.

    --
    Microsoft is to software what Budweiser is to beer.
  61. Indeed Differences by DrYak · · Score: 3, Insightful

    Um, and this is different from a Windows virus how? {...} It's not because your system is any more secure against "CLICK HERE TO WIN FREE XBOX 360" infections.

    Windows XP way :

    • Simply click on some random downloaded .EXE to install it with full adminsitrative right.

    Linux way :

    • First switch to a priviledged account (gksudo, kdesu, etc.)
    • Fire up your distribution package manager (YaST, Synaptic, etc. or zypper, apt-get, etc. for command line lovers)
    • Look for desired package in list available from default repository
    • Eventually add a new repository if the default one doesn't feature the software you want.

    In short there are 2 main differences between the windows and unices environment :

    • Access rights:
      • in windows everyone, including the cat running across the keyboard have full admin privileges.
      • in linux, mac os X and other unices, users (and cats) have only user-level access and must switch to some other access account to gain further privilege.
    • Install habits
      • in windows 99% of the software is downloaded and installed from random location on the web. That means that the average user is used to download and install random crap.
      • in linux 99% of the sofrware comes from official repositories which have been veted to contain only legitimate software. Users have to go through additional steps to get access to crap. And most user won't bother because it works for them 99% of the time without having to resort to.

    There's another big difference, specific to opensource environment like Linux and BSD (and not other unices):

    • There only exist one single Windows : The windows sold by Microsoft. If some malware works on the black-hat's test PC, it will probably work
    • There are countless different distributions of distribution each with subtly different versions of key components. Some malware targetting bug #263748 on kernel 2.6.30-patch52 of Ubuntora 3.1415 won't necessarily work on other distribution.

    (Although the above only regards malwares exploiting *bugs*, not payload which are simple regular softwares).

    With Vista and Seven, Microsoft has attempted to fix some of these problems. Nonetheless, the fix is still a lot noisy ("Cancel or Allow ?") to the point that some user simply start to blindly "Yes-click-through" and the protecting effect is lost. And users are still trained to install crap by downloading it from random websites.

    With Linux, these advantages become a handicap regarding commercial softwares : They have to target multiple combination of softwares in distributions (unlike open-source software where the package are vetted by the distribution maintainers themselves thanks to the source being available for that puprose). And these software are not just a package in a regular repository, making them inaccessible using the regular method.

    There is indeed no software which is 100% guaranteed secure.
    But ! There's still a difference like between putting a real fence around your house and having a dog on one side, and just stick a paper with "don't rob us" written on it on the other side.

    And, no matter what, some users will always find a way to shoot themselves in foot.
    But on Unix, the gun is locked behind a glass door and must have a security pin removed before being able to shoot the foot, whereas on Windows an armed ready-shoot-gun is just a normal wall decoration.

    The only "protection" that *nix/mac systems have over Windows is that no one gives a rats ass about infecting you

    Ok, could we please stop with this troll now ?

    At one side of the range, Linux has ratter good market shares in the servers and scientific clusters domains.
    At the other side of the range, Linux has achieved quasi-monopoly in the embed domain, specially on home routers, wireless access points, small NAS/SAN, no-brand multimedia play

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
  62. Research paper by narooze · · Score: 2, Insightful

    Why should this be any different from what research scientists do all the time (with actual security holes to boot)? Just write up a research paper (or a blog post or whatever) and describe the problem and give some thoughts to possible solutions (user not being mindless idiots anymore) and release it. There is definitely nothing ethically wrong with it in my book (and there shouldn't be in anyone else's either).

  63. Release it. This is old hat. by gfolkert · · Score: 2, Interesting

    I'm sorry, but running userland "daemons" is child's play. This has been around for EONs. Please don't think you have something new here.

    You problem here is that, you idea will only affect the *USER* environment, not the machine. Anything you run or install into the user environment will be bound by the standard user accounts everyone should be running as, without privileges (such as root/super user)

    This separate the privileges from the user and the system quite well and delineates it.

    Lets compare Windows and *NIX (in general):

    Windows, I can send you and e-mail and you standard user just looks at my e-mail and via ActiveX can leverage a 10 year old exploit to install a service as a *SYSTEM ACCOUNT*. This means my process then has full access to the system... Possibly being able to wipe out the machine period, or use it for a launching pad to send out e-mails to other accounts on the system or other account in any address book or just grab your passwords (probably being abcd1234 or password or or what have you (Think Sarah Palin's Yahoo account... wooo really good password there)) for your Bank account. Its very much *THAT* simple, no stupidity involved.

    Now, if for some reason ActiveX is disabled, I can just tell you how important the Microsoft update is and it needs to be run... and how you *MUST* forward it to your friends so they can be safe... Sheeple are gullible and will never be safe from this stupidity.

    Now speaking of stupidity, its really the only way Linux/*NIX/*BSDs will be compromised... even then most likely only the *user's* data will be flogged. Not the whole system. Now, let us just say *I* download and run your program/update/shell/python script/perl script/etc... Sure it downloads and installs the BOINC daemon and runs in the background... to be honest who cares. Any program you run or have running to capture data from the user will only affect the *USER* not the whole system. Separation of privileges is pure and simple why the *NIX systems will not seriously fall prey to these kinds of things. And to be honest, unless you install a persistent AT job for the BOINC daemon to start or at the very least a cronjob that runs every minute... a reboot will kill your pitiful attempt.

    --
    greg, REMEMBER ED CURRY!!!
  64. Help, do not destroy by Art3x · · Score: 2, Insightful

    A father used to rationalize why he was so mean to his son by saying, "I'm getting him ready for the world, because it is mean." By that rationale, the best thing would be to simply dump the child out on the streets.

    If you see flawed code, submit a patch.

    If you see flawed usage, educate users (documentation, blog article, forum posts).