Slashdot Mirror


Sloppy File Permissions Make Red Star OS Vulnerable

An anonymous reader writes: Red Star OS Desktop 3.0, the official Linux distro of North Korea, which recently found its way onto torrents and various download sites in form of an ISO image, is interesting for a number of reasons, including its attempt to look like commercial operating systems (currently OS X, earlier versions mimicked the Windows GUI). Hackers are also poking Red Star for security vulnerabilities. An pseudonymous researcher noted in a post to the Open Source Software Security (oss-sec) mailing list, that the OS has one significant security hole: Red Star 3.0 ships with a world-writeable udev rule file /etc/udev/rules.d/85-hplj10xx.rules (originally designed for HP LaserJet 1000 series printers) which can be modified to include RUN+= arguments executing arbitrary commands as root by Udev. In the post he also mentions how the older Red Star 2.0 shipped with another schoolboy mistake: /etc/rc.d/rc.sysinit was world-writeable.

105 comments

  1. Good ol' 777 by MisterSquid · · Score: 4, Insightful

    Whenever I see devs take the stupid shortcut of "chmod 777" I wonder what is the brain drain for these "professionals" that they can't figure out how to enable make use of "chown root:admin" and then "chmod g+x", or whatever's the appropriate level of permissions for the task at hand.

    How can developers be so lazy and so security naive? It's like using signal lights when driving. Just do it because it makes for good habits.

    --
    blog
    1. Re:Good ol' 777 by MichaelSmith · · Score: 3, Insightful

      Unix doesn't help much. I mean if apache can't read /home/me/www/path/to/index.html the OS isn't going to tell you its because of the permissions on /home. Meanwhile you have given up and gone chmod -R 777 /

    2. Re:Good ol' 777 by MisterSquid · · Score: 4, Informative

      Unix doesn't help much. I mean if apache can't read /home/me/www/path/to/index.html the OS isn't going to tell you its because of the permissions on /home. Meanwhile you have given up and gone chmod -R 777 /

      Actually, both the browser and the Apache log will tell you it's a permissions issue. Go to the root of /home and either add the Apache user to the group that has access to "/home/me/www/path/to/index.html" or change the group access to Apache's user.

      Once the group is correct, change the permissions to g+r if necessary.

      Taking the 15 seconds to properly set permissions when you know the issue is a permissions issue (otherwise why would chmod 777 fix the issue) really is just too easy not to do.

      Also, use your signal lights!

      --
      blog
    3. Re:Good ol' 777 by Tablizer · · Score: 1

      It's those damned humans. Wipe 'em out. - Joe Cockroach

    4. Re:Good ol' 777 by MichaelSmith · · Score: 4, Insightful

      What I mean is that cat /home/me/www/path/to/index.html will say Permission denied but it won't say Permission denied reading /home/me

    5. Re: Good ol' 777 by Anonymous Coward · · Score: 1, Insightful

      ... and changing directory a few times to investigate takes all of a few seconds. If you can't be bothered to spend this time on doing it properly, please step down and let someone else have your job.

    6. Re:Good ol' 777 by Gravis+Zero · · Score: 2

      How can developers be so lazy and so security naive?

      security commonly falls under the "not my problem" area while "it MUST work" is always the priority. is that really so hard to comprehend?

      --
      Anons need not reply. Questions end with a question mark.
    7. Re:Good ol' 777 by kilodelta · · Score: 1

      If you're really good you watch the httpd.log files and see where it didn't have rights to get to the directory. Then set the rights accordingly.

    8. Re: Good ol' 777 by Anonymous Coward · · Score: 0

      Why waste 15 seconds me thousands me humans *website* admins when a simple worldwide code change can accurately pinpoint the issue in milliseconds for *all users*, no matter their available troubleshooting time and training? Design problem right there

    9. Re: Good ol' 777 by Anonymous Coward · · Score: 0

      s /me /of /
      Stupid predictive text
      Stupid mobile gui that refuses to have scrollback to the first line even for that tiny post
      Stupid /. Decision to silently avoid previews from mobile!

    10. Re: Good ol' 777 by Megol · · Score: 4, Insightful

      Good thing you don't design user interfaces.

      On the other hand, perhaps it was you who designed the Windows 8 metro UI? It would explain a lot...

    11. Re:Good ol' 777 by DNS-and-BIND · · Score: 1

      Because that would give information to a potential attacker! You don't make security problems easy to diagnose! Just give the user enough information to know that permission was denied, and that's quite enough already. We don't need to help the crackers do their job.

      --
      Shutting down free speech with violence isn't fighting fascism. It IS fascism!
    12. Re:Good ol' 777 by Culture20 · · Score: 1

      change the group access to Apache's [group](sic). Once the group is correct, change the permissions to g+r if necessary.

      This is one of the reasons I would like nested groups for POSIX, but it will never happen because people think it's too Microsoftish.

    13. Re:Good ol' 777 by oobayly · · Score: 1

      Do you really have to be "really good" to do that. Standard method for me debugging issues is to tail -f both the access and error logs while making requests. Factor in wireshark with the server's private key loaded (if over https) if I'm really struggling.

    14. Re:Good ol' 777 by Curtman · · Score: 1

      It's possible that someone did "chmod 777", but more likely it was the result of someone copying/untaring a file without considering their umask, or using 'cp -a', etc..

    15. Re:Good ol' 777 by Jeremi · · Score: 4, Insightful

      Because that would give information to a potential attacker! You don't make security problems easy to diagnose!

      Security through obscurity, eh?

      No thanks. Either the system is secure (even against an expert hacker), and therefore no security is lost by providing informative error messages.... or the system is insecure, in which case no security is gained by making the error messages hard to understand.

      Deliberately obfuscating error messages only makes the system harder to use by its legitimate users (and therefore more likely to be bypassed in ways that compromise security) while doing nothing to keep hackers out.

      --


      I don't care if it's 90,000 hectares. That lake was not my doing.
    16. Re:Good ol' 777 by Immerman · · Score: 1

      I don't know, seems to me obscurity is quite often a good first line of security - if nothing else it deflects 90% of amateurs, a few of whom might otherwise have gotten lucky and stumbled across a vulnerability. Because the one thing that we should all know with 100% confidence is that our security is not 100% effective. Ever. No matter how good the craftsmanship and how many eyes have failed to find flaws in it, you can be confident that there is a flaw somewhere. Nothing is perfect.

      On the other hand there's no reason to engage in such practices with someone who already has cotrol of the system, especially not if they have root or physical access. Once authorization has been established, obscurity is an unmitigated shortcoming. At the very least it would be nice to have an integrated security assessment tool of some sort that could automatically analyze security-related errors to find the underlying cause. Or perhaps a "write only" logging system, readable only by root, that reports *exactly* what the problem is.

      --
      --- Most topics have many sides worth arguing, allow me to take one opposite you.
    17. Re:Good ol' 777 by Anonymous Coward · · Score: 0

      Instead of changing OWNERSHIP of a file how about you use the, oh I don't know, set File ACL command (setfacl). Changing ownership permissions is generally for admins that have NO idea how to do access management. If your solution is to limit yourself to a single user, group and everybody else then you probably need to find a new career as a greeter at Walmart.

    18. Re:Good ol' 777 by Anonymous Coward · · Score: 0

      Security through obscurity, eh?

      That's not what that means.

    19. Re:Good ol' 777 by Anonymous Coward · · Score: 0

      This is one of the reasons I would like nested groups for POSIX, but it will never happen because people think it's too Microsoftish.

      POSIX is nothing but "what existing systems already do" ... at the risk of pulling a Microsoft...get this in widespread use,
      POSIX will pick it up or be left behind.

      What is tricky is this is not so simple as "reference implementation" that you port everywhere, since
      this presumably may need to touch kernel-level things, and how to add such a feature is OS-specific.

      You could start with dynamically-loadable kernel modules that implement this.

      No, I don't expect you to put in the work for free...just "it will never happen" is a quitter's attitude...make it happen.

      POSIX, last I checked (correct me if I am wrong!) does not ship any OS, nor even provide a "reference implementation" ... they merely
      look at existing systems, try to standardize and document them (and in some cases, point out bugs and provide a "superior" API) ...

      there is nothing to "get" into POSIX ... POSIX adopts what existing systems already do.

      Get this feature:

      - add-on
      - mainline (kernel, or other "upstream" for every OS you care about)

      and then perhaps you can prod POSIX to adopt it. It just seems you are going the wrong way about this.

    20. Re:Good ol' 777 by Anonymous Coward · · Score: 0

      for clarity: Get this feature:

      1) as an add-on for various OS
      2) into the "mainline" (kernel, or other "upstream") for every OS you care about

      and THEN see if POSIX will recognize it.

      POSIX does not dictate things that everyone must followand implement, it documents already-existing things and tries to
      bring them together in a sane fashion. POSIX is "things that already existed on various systems" not
      "feature request I would like to see people implement."

    21. Re:Good ol' 777 by sjames · · Score: 1

      Do you post your banking details here? Your uname and pass for the work servers?

      Of course you don't, because you're not stupid. That's why you don't leak unnecessary details in diagnostic messages even if they might help the right person.

    22. Re:Good ol' 777 by Anonymous Coward · · Score: 0

      What is "apache"? If you mean the web server then I think you will find most (intelligent) people use nginx.

    23. Re:Good ol' 777 by Anonymous Coward · · Score: 0

      That makes you a dolt. chmod -R 777 / will render the system completely unusable.

    24. Re:Good ol' 777 by Mr.+Freeman · · Score: 1

      Keeping the keys secret is not obscurity. You're either being intentionally obtuse or you're an idiot.

      --
      -1 disagree is not a modifier for a reason. -1 troll, flaimbait, redundant, overrated are NOT acceptable substitutes.
    25. Re:Good ol' 777 by sjames · · Score: 3, Insightful

      Better than being one of those assholes that likes to call people an idiot.

      There is always an aspect of obscurity to secrecy. In OPs example, the exact structure of the underlying filesystem. In mine, the user and pass. In both cases the mechanism is known. Many server admins make an effort not to reveal too much of the underlying structure to the outside and wouldn't appreciate the http server revealing all of it to the world.

    26. Re:Good ol' 777 by donaldm · · Score: 1

      Unix doesn't help much. I mean if apache can't read /home/me/www/path/to/index.html the OS isn't going to tell you its because of the permissions on /home. Meanwhile you have given up and gone chmod -R 777 /

      No! No! No! you are doing it wrong you should have been using the command "rm -rf /" . The Linux/Unix professionals will thank you for this. :)

      --
      There ain't no such thing as proprietary standards only proprietary formats. Standards are by definition open.
    27. Re:Good ol' 777 by MichaelSmith · · Score: 1

      Yes I agree thats way more secure.

    28. Re:Good ol' 777 by fisted · · Score: 1

      Better than being one of those assholes that likes to call people an idiot.

      Pot, meet kettle.

    29. Re:Good ol' 777 by sjames · · Score: 1

      Methinks your irony detector is busted.

    30. Re:Good ol' 777 by fisted · · Score: 1

      The irony of your statement is perfectly visible, that was what made me reply in the first place.
      Do you by any chance mean sarcasm? Because I've got a hard time identifying any in your post.

    31. Re:Good ol' 777 by sjames · · Score: 1

      So it caught irony but missed the deliberate nature so you became that awkward guy who explains the joke everyone already got?

    32. Re:Good ol' 777 by fisted · · Score: 1

      Yeah. Obviously "everyone" got your "deliberate" "joke", which is probably the reason for all of the zero "Funny"-mods you got.
      Furthermore, where did you see me explaining your "joke"?

      Applying Ockham's razor, I'm much more inclined to assume that you just became the guy who posts something dumb and then tries to backpedal by claiming it has been a "joke", which is pretty pathetic.

    33. Re:Good ol' 777 by sjames · · Score: 1

      You seem awefully upset over a very slightly funny joke. Are you off your meds?

    34. Re:Good ol' 777 by fisted · · Score: 1

      You seem awfully ad-hominem for someone who pretended to have a legitimate point. I guess that answers that, thanks for the demonstration.

  2. Schoolboy mistake! by Anonymous Coward · · Score: 0

    Ah those silly world-writeable schoolboys and their... antics.

  3. North vs. South. Competing with Samsung? by drolli · · Score: 1
    1. Re: North vs. South. Competing with Samsung? by Anonymous Coward · · Score: 0

      Can you even buy any of the affected devices anymore??

    2. Re: North vs. South. Competing with Samsung? by drolli · · Score: 1

      I hope not.

  4. ...for a number of reasons by DigiShaman · · Score: 1

    Such as, who leaked the ISO out of N.Korea?

    --
    Life is not for the lazy.
    1. Re:...for a number of reasons by SeaFox · · Score: 3, Funny

      I hear a CD-R and a balloon were used.

  5. 666, the sign of the devil. by Anonymous Coward · · Score: 0

    Ah, the devil.

    1. Re:666, the sign of the devil. by Tablizer · · Score: 1

      Devil got promoted to 777. His half brother is hoping to get a 333 rating soon.

    2. Re:666, the sign of the devil. by Zontar+The+Mindless · · Score: 1

      333? That would be this guy.

      --
      Il n'y a pas de Planet B.
    3. Re:666, the sign of the devil. by Anonymous Coward · · Score: 0

      God damn, dude. Where's the photo?

    4. Re:666, the sign of the devil. by peragrin · · Score: 1

      yet 666 isn't the sign go the devil.

      it is 616. and even that may be wrong.

      --
      i thought once I was found, but it was only a dream.
  6. Master plan by lucm · · Score: 4, Funny

    Awesome! At last a way to hack North Korea and steal all their... valuable things?

    --
    lucm, indeed.
    1. Re:Master plan by aliquis · · Score: 1

      Chimney dust?
      Dirt?
      State-supplied radio?
      Precious balloon scraps from media deliveries from South Korea?

    2. Re:Master plan by kilodelta · · Score: 2

      Or just to shut them down. I mean I'm fairly certain we in the U.S. have our own cyberwarfare units in the U.S. - that might also be the answer to who leaked the ISO of Red Star 3.0

    3. Re: Master plan by jrumney · · Score: 2, Funny

      Too late, Kim Jong Un ordered the general who bought the HP printer to be executed already, and ordered his brother to buy a Canon inkjet to replace it. The brother was also executed for bring imperialist Japanese goods into Korea, but at least they have a new national printer now. Both the PCs are now being studied by North Koreas elite hacking squad to see if the files can be removed without recompiling the whole system from scratch, but the results are not promising so we may see more outage on the North Korean netblock again this week.

    4. Re: Master plan by Anonymous Coward · · Score: 0

      He should have had the brother buy a Brother. Their printers are practically bullet-proof.

    5. Re:Master plan by lucm · · Score: 1

      We can't shut them down like that. It's one of the two most powerful and wealthy Koreas in the world!

      --
      lucm, indeed.
    6. Re: Master plan by Joe_Dragon · · Score: 1

      but the old HP take 3rd party ink / toner newer printers have all kinds of DRM to lock out 3rd party stuff and refills.

      NK can't pay the cost of new INK or toner.

    7. Re:Master plan by Fire_Wraith · · Score: 1

      I would hope the NSA makes full use of things like this to spy on North Korea, because that's their _actual_ job.

    8. Re: Master plan by grcumb · · Score: 1

      Too late, Kim Jong Un ordered the general who bought the HP printer to be executed already, and ordered his brother to buy a Canon inkjet to replace it. The brother was also executed for bring imperialist Japanese goods into Korea, but at least they have a new national printer now. Both the PCs are now being studied by North Koreas elite hacking squad to see if the files can be removed without recompiling the whole system from scratch, but the results are not promising so we may see more outage on the North Korean netblock again this week.

      "PC ROAD RETTER? What dis fuckin' PC ROAD RETTER? You die today, Minister!"

      --
      Crumb's Corollary: Never bring a knife to a bun fight.
    9. Re:Master plan by antdude · · Score: 1

      I wonder what valuable things NK have.

      --
      Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
    10. Re:Master plan by Anonymous Coward · · Score: 1

      I would hope the NSA makes full use of things like this to spy on North Korea, because that's their _actual_ job.

      I thought their job was to hack into Sony, steal a bunch of data, post it on the internet, and then blame North Korea for it?

      Wait... you're trying to tell me the idiots that can't even secure their own OS with basic file permissions did it? Seriously?

  7. not great, but probably not very important either by Trepidity · · Score: 1

    This kind of exploit, a local privilege escalation exploit, used to be very significant, but is significant in a declining number of cases, as old-style Unix multiuser systems are a smaller and smaller proportion of systems. In all likelihood anyone with a user account on a North Korean computer is pretty heavily monitored, and ensuring nobody violates policy can be enforced by "other means" than Unix permissions.

  8. Did you expect a hardened distro? Or like TAILS? by Anonymous Coward · · Score: 0

    Hell, IMO if TAILS were serious they would roll a hardened Gentoo distro (or OpenBSD) without so many packages and without so many odd additions, including:

    1) The 'Whisperback' package
    2) Not shipping with 'autotest_remote_shell.py' and 'do_not_ever_run_me' in /usr/local/sbin and removing all traces of debugging scripts - go ahead and read both files on TAILS and question why a distro such as TAILS needs these.

    Don't suggest liberte linux, development has stalled since it's first version a long time ago. Don't suggest the OpenBSD Anonymous Tor CD, it's outdated and won't connect to the Tor network.

  9. one question... by s0litaire · · Score: 3

    Is this OS for the NK government use, or for use by the people in NK.??

    If it's for the people I'm not surprised they made it easy to gain access...

    --
    Laters Sol "Have you found the secrets of the universe? Asked Zebade "I'm sure I left them here somewhere"
    1. Re:one question... by houghi · · Score: 2

      You think the people have computers? This is for the rest of the world and those are not securety leaks, they are features.

      --
      Don't fight for your country, if your country does not fight for you.
    2. Re:one question... by Anonymous Coward · · Score: 0

      You think the people have computers?

      Yes http://arstechnica.com/tech-policy/2014/02/north-korean-defector-fights-pyongyang-with-thumbdrive-laden-balloons/

    3. Re:one question... by Billly+Gates · · Score: 1

      In North Korea it is illegal to own a cell phone. My guess is it is against the law to use the internet too. People who do are friends of Kim or approved by the department of guidance who actually run NK (Not Kim surprisingly). Mostly those authorized to view press or are in the military or work for the government.

      Their whole country is a private network where the mothership uses a proxy to monitor you just like the office.

    4. Re:one question... by unixisc · · Score: 1

      So are we now down to discussing national Linux distros used by countries of interest, like North Korea?

    5. Re:one question... by Anonymous Coward · · Score: 0

      erm in north korea 30% of the population own smart phones! And they use the internet (well - it's fire walled more heavily than the great wall of china but it's still there)

  10. For the recent articles... by Kekke · · Score: 1

    I presume there will be few job openings for adventurous Linux gurus @ NK atm.
    Now that the world is "interested", every time these things come to public, the person responsible for the clitch, will be without his/her head.

    1. Re:For the recent articles... by Tablizer · · Score: 1
  11. Idiots... by Buck+Feta · · Score: 1

    I'm talking about "Hacker Fantastic", Ars, and /. Yeah, let's help NK as much as we can by fixing their shit for them.

    --
    I am Audience.
    1. Re:Idiots... by bedouin · · Score: 1

      Don't point out errors in any software then, since someone you might not like could benefit from fixing them. A mistake like this is a lesson for everyone.

  12. so it's a Desktop Linux ?! amazing by Anonymous Coward · · Score: 0

    So it's a Linux distro for personal use on a single desktop, where sloppy permissions don't matter. Other similarly purposed distros have similarly lax permissions. Granted I haven't used it for a few years, but I seem to recall seeing the same kind of issues with PCLinuxOS. No big deal, just don't install it on a server.

  13. Re:not great, but probably not very important eith by Anonymous Coward · · Score: 0

    Very significant in the distant past before personal computers, maybe. Used to be very insignificant on Windows 95 and MacOS 9 too. Only recently is everything a complete multiuser system, with only one user.

  14. And still by msobkow · · Score: 2

    And still the US government would have us believe that NK has a cadre of "elite hackers" responsible for Sony instead of the much more plausible and believable "inside job" by disgruntled employees -- especially as it would have taken months to download the terabytes of data that they claim was stolen.

    --
    I do not fail; I succeed at finding out what does not work.
    1. Re:And still by msobkow · · Score: 2

      And without any of the snoops who monitor the NK traffic streams noticing for all those months to boot.

      --
      I do not fail; I succeed at finding out what does not work.
  15. Silly Buggers..... by Anonymous Coward · · Score: 0

    And I don't mean North Korea.

    NK "leaks" the latest version of their preferred OS to the rest of the world, and western researchers probe it for security problems and provide feedback FOR FREE!

    C'mon guys! Think out of your narrow box, occasionally?

    1. Re:Silly Buggers..... by Anonymous Coward · · Score: 0

      western researchers probe it for security problems and provide feedback FOR FREE!

      I actually loved the politically incorrect action that happened here!

      "Hey, cool OS X look you have there, just fix these couple of things and you have a better OS. Welcome to the open source community."

      Soon in North Korea, a light bulb turns on over some hacker's head: "We could actually benefit from publishing changes upstream..."

  16. World writable? by Anonymous Coward · · Score: 0

    Nearly like most of the PHP installations, no?

    As long as this culture doesn't change, we'll continue to see gruesome hacks.

  17. Re:not great, but probably not very important eith by benjymouse · · Score: 2, Informative

    This kind of exploit, a local privilege escalation exploit, used to be very significant, but is significant in a declining number of cases, as old-style Unix multiuser systems are a smaller and smaller proportion of systems.

    An attacker who has exploited a Firefox vulnerability (there are still many found and patched each month) is running as a *local user* on your machine. Trying to explain these types of vulnerabilities away is disingenuous, if not downright complacent.

    Unix/Linuxs permission system is 70-era bit-saving stupid. There is no other way to put it.

    While this is clearly a mistake by someone packaging the distro, they were certainly not helped by a system where you cannot adequately express permissions. ACLs are available, but they are still kludges and they fell like a bolt-on with many tools still not recognizing them.

    When a developer meets the limit of what can be expressed with a single-group me-us-everybody, he will often look for the path of least resistance. Unfortunately that is often relaxing permissions along the coarse-grained me-us-everyone, often ending up with everyone as in this case.

    --
    Reading slashdot one-liner: (irm http://rss.slashdot.org/Slashdot/slashdot).rdf.item | fl title,desc*
  18. Re:not great, but probably not very important eith by Anonymous Coward · · Score: 0

    You fail to explain what's wrong about Trep's purely innocent observation.

    You then label the Unix permissions as "stupid" without bothering to explain why you call it that.

    You then point to a lack of "adequate" features that you've failed to explain or why you think they're so important.

    You then claim a mysterious "limit" that you don't bother to explain that somehow magically causes developers to make mistakes that have nothing to do with the system itself.

    I would suggest you educate yourself before you criticize something that you very clearly do not understand.

  19. Re:not great, but probably not very important eith by dbIII · · Score: 3, Insightful

    Unix/Linuxs permission system is 70-era bit-saving stupid. There is no other way to put it.

    Some alternatives sound nice but fail horrificly when the come in contact with people, especially the ones that let any people within a group grant access to others with zero oversight. Within a short period of time with such a "everyone can grant or deny access" scheme you end up with almost everything wide open and occasional calls when the paranoid have locked themselves and everyone else out of something and forgotten the password - and it's typically something business critical (as in people need to get to it so they can do their job) but not actually sensitive with only a few people normally allowed to get to it. So the superuser is locked out - what do you do? Well such things are normally not well thought out in any way at all so you crack in with ease, especially since you have full access to the hardware, which kind of makes the whole idea of having permissions that lock out the superuser look pretty silly doesn't it?

    So while user/group/all looks simplistic and kind of sucks in some cases there's nothing else that's really shown itself to be good enough to gain traction apart from where mandated by a vendor.

    When a developer meets the limit of what can be expressed with a single-group me-us-everybody, he will often look for the path of least resistance

    Saw that - first day at a new site and the developer that had been looking after things rebooted both the primary domain server and secondary domain server at the same time in the middle of a working day, for some trivial fix that didn't need to be done immediately and probably didn't even need a reboot. Of course they were also serving most of the files and all the printing as well. It's a mindset not a skillset. He knew what would happen but there was a fix for something so it had to be done NOW so he could get it out of the way without having to worry about it later. Consequences didn't matter, after all the new guy was there to take all the angry phone calls.

  20. Re:not great, but probably not very important eith by kilodelta · · Score: 1

    If you understood the interplay between the flat out UGO rights and group membership maybe, just maybe you wouldn't take the opportunity you did to bash Unix/Linux file permissions.

  21. "An pseudonymous" - LOL - stupid Americans... by Anonymous Coward · · Score: 0

    Why do Americans keep on writing "an" instead of "a" all the time? Is it that fucking difficult to understand? Your nation is truly fucked. "An pseudonymous researcher" indeed. Idiot.

    1. Re: "An pseudonymous" - LOL - stupid Americans... by Anonymous Coward · · Score: 0

      You just hate us cuz you ain't us

    2. Re:"An pseudonymous" - LOL - stupid Americans... by Culture20 · · Score: 1

      It's only an human mistake!

  22. Hey They like Apple! by AqD · · Score: 1

    Clearly they're cultured people, despite lacking basic computer skills and intelligence in general.

    I was wrong about them!

    .

    .

    As the original author of mac menubar for GTK/GNOME (it's gnome right? not KDE?), I must say I feel really good about that. Long Live the Kim!

  23. I Would Not Want to Be an NK Dev Just Now. by mrsquid0 · · Score: 1, Interesting

    Someone found and posted a security home in the official North Korean OS? I suspect that one of the OS's developers (and his family) is about the receive a free lifetime stay at Klub Kim.

    --
    Just because you are paranoid does not mean that no-one is out to get you.
    1. Re: I Would Not Want to Be an NK Dev Just Now. by Anonymous Coward · · Score: 0

      Try SwiftKey, and make spacebar always insert a space. Problem solved.

  24. dem haxxorz by Anonymous Coward · · Score: 0

    lernin north korean for dere haxxin

  25. Re:not great, but probably not very important eith by benjymouse · · Score: 1

    Some alternatives sound nice but fail horrificly when the come in contact with people, especially the ones that let any people within a group grant access to others with zero oversight.

    An access control system where everyone (with access?) can grant access to others sounds bad. However, I don't think that's the only alternative to me-us-everyone rwx. In fact, I don't know that such a system that exists at all. You usually needs to be the owner of a resource (or in the "owners" group) to grant privileges in a DAC system. Some systems also allows owners to grant specific rights on the security attributes to non-owners - i.e. the right to grant access.

    Within a short period of time with such a "everyone can grant or deny access" scheme you end up with almost everything wide open

    How about a system where only owners or designated security administrators can grant/deny access? The issue here was that a developer *wanted* access to a file from a non-owner and non-group member account. Lacking finer grained ACLs, that leaves only "everyone".

    It sounds like you believe that discretionary access control (DAC) is the alternative to Unix filesystem permissions. It's not. Unix filesystem permissions is itself a DAC system, albeit a very limited one. DAC only means that the owner of a resource (or a designated security administrator of a resource) can grant access to others. Because the creator of a file is often considered the owner, creators can often grant access to whom they choose.

    However, if a user has been granted "read" access to a resource he can usually not grant it to someone else, unless he is the owner. Do you know of a system where, by default, you can grant the same permissions that you have been granted?

    --
    Reading slashdot one-liner: (irm http://rss.slashdot.org/Slashdot/slashdot).rdf.item | fl title,desc*
  26. How many variants of RSOS are there? by Anonymous Coward · · Score: 0

    "Is this OS for the NK government use, or for use by the people in NK.??"

    In a country with most of the population starving and with a few cell phones in border areas to make calls using chinese
    cellular networks, a country where you and your entire family can be arrested and taken to a death camp just because
    you didn't cry hard enough when Kim-Jong-Il died ... what is the chance of anything capable of running "Red Star OS"
    outside of a government facility?

    Of course this is for their government and for the privileged. KJFUN surfs full spectrum anal domination porn sites
    with Red Star OS. (I tell you that kid is such a pathetic loser, they should get rid of him and use his sister.)

    Now the only thing that might be is... there might be different variants of RSOS ... one for KJFUN .. one for his "friends"
    one for his enemies and a bunch of other variants for use in libraries, technical institutions etc. ... OH and one variant
    for leaking to the west, i.e. what you just downloaded.

  27. Re:not great, but probably not very important eith by Antique+Geekmeister · · Score: 1

    > Unix/Linuxs permission system is 70-era bit-saving stupid. There is no other way to put it.

    It's extremely simple, and extremely fast to handle computationally. Those "bit-savings" come out of every file system access, including pipes and symlinks and block and character devices. When a developer "meets the limit of what can be expressed with a single-group me-us-everybody", it's usually a sign that they're doing something fundamentally wrong and trying to invent special groups of their own on the fly. It can also be the case that they're trying to allow access for one other person at a time, which I acknowledge can be problematic if you don't have easy access to create or remove user groups.

    There are network based file systems that support more complex Access Control Lists, ACL's. NFSv4, for example, supports it. But it also tends to be confused, abused, and unstable in use.

  28. Re:not great, but probably not very important eith by Antique+Geekmeister · · Score: 3, Insightful

    The old POSIX compliant user-group-others model does have some limitations. The non-root user can't arbitrarily add another individual user to have access or deny access, and only root users or site admins have access to create new groups. In the older systems, such as in UNIX's /etc/group and /etc/passwd, groups cannot contain other groups directly and there's a maximum line length on the number of characters in the "/etc/group" line. This gets quite awkward if you have hundreds of members of a group, or want to be able to say "all members of this group, *except* this one account, should have access to this". It means you have to add a new group and reset all files to owned and managed by that group: it can become painful to administer.

    When compared to the obscure rat's nest of ownership in NTFS, however, I can see why the old POSIX ACL's have remained in use. And let's make not be confused, in the Windows world it is _extremely_ common to leave file ownership profoundly broken.

  29. Re:not great, but probably not very important eith by dog77 · · Score: 1

    Application level security would be an improvement. An application should be restricted to its own files and directories unless user gives explicit permission.

  30. Re:Did you expect a hardened distro? Or like TAILS by Anonymous Coward · · Score: 0

    What about whonix?

  31. Re:not great, but probably not very important eith by Dogers · · Score: 1

    The owner of a file doesn't tend to matter much in the Windows world, only who has Full Control rights to it

    --
    I am a viral sig. Please copy me and help me spread. Thank you.
  32. has it occured to anybody... by Anonymous Coward · · Score: 0

    Perhaps this kind of obvious vulnerability was deliberately introduced by North Koreans. Great job pointing it out and getting them killed for their call for help.

  33. Re:not great, but probably not very important eith by Agent+ME · · Score: 1

    AppArmor is a good start toward this. It can only be configured by root though.

  34. Under the order of Kim by Anonymous Coward · · Score: 1

    You've just managed to kill a few high profile devs in North Korea.

    Good work gentlemen.

  35. Re:not great, but probably not very important eith by dbIII · · Score: 1

    Which is why I wrote that many such things have fallen over when in contact with people - who tend to sort things in groups and have differing ideas of who should be in the groups. Conflicts develop of who should have access so it devolves into free for all for most and individual permissions for some. Maybe the military have something that works, but the sort of things that have been inflicted on office environments have not been enough of a success to demonstrate superiority as yet.
    There's plenty of good ideas, but getting around the petty issues such as "Bob has access to Z and I've been here five years longer, why don't I have access even though I don't need it for my work" becomes difficult when multiple people have control over permissions.

  36. Re:not great, but probably not very important eith by sjames · · Score: 1

    In what way are ACLs a kludge? There are official tools to support them and proper system calls to manipulate them.

    The biggest shortcommings are GNU tar and cpio not supporting them properly.

  37. Re:not great, but probably not very important eith by sjames · · Score: 1

    So who should own the text file? Vi? cat? grep? emacs? gcc?

  38. Re:not great, but probably not very important eith by donaldm · · Score: 1

    So who should own the text file? Vi? cat? grep? emacs? gcc?

    Those are applications which have nothing to do with ownership although the user must have permission to use them. It is the user who should own the file, text or otherwise.

    The Unix permissions of "user", "group" and "other" are still valid even today. If you want a more fine grained permission solution then look no further than Access Control Lists which have been in use by Unix since the late 1980's and Linux since the early 1990's.

    The big problem with ACL's is not the concept it is when users expect the System Administrator to manage ACL's for them. Even on the latest OS's be it Linux, MS Windows, VMS or Unix the same base Unix permissions are still in use with ACL's only used when there is a need.

    --
    There ain't no such thing as proprietary standards only proprietary formats. Standards are by definition open.
  39. Re:not great, but probably not very important eith by sjames · · Score: 1

    I was asking someone who believes applications should own files and that access control should be by application.

    I find Unix permissions + ACLs to be adequate. Users tend not to understand them, so I frequently use default ACLs on directories.

  40. xe ti dongfeng 4 chân 19t5 by tranthangansuong · · Score: 1