Thread: *sigh*

  1. #1
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446

    *sigh*

    Russian researchers expose breakthrough U.S. spying program | Reuters

    I don't even know what to say. Assuming this is all true, we must fear the NSA as being the most fearful malware group in the whole world, with access to unrivaled know how and a compelling desire to create the biggest damage possible, eventually directly or indirectly targeting with military grade weaponry the computers of any citizen of the world.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  2. #2
    Lurker
    Join Date
    Dec 2004
    Posts
    296
    Quote Originally Posted by Mario F. View Post
    Russian researchers expose breakthrough U.S. spying program | Reuters

    I don't even know what to say. Assuming this is all true, we must fear the NSA as being the most fearful malware group in the whole world, with access to unrivaled know how and a compelling desire to create the biggest damage possible, eventually directly or indirectly targeting with military grade weaponry the computers of any citizen of the world.
    My guess is that at least China has similar capabilities.

    The difference is that China doesn't have an ongoing "war on terror", so it doesn't have to show its hand.

    But I agree that it is a bit alarming. At least there doesn't seem to be anything that suggest that they use this indiscriminately yet, they seem to go for only specific targets.

    I think that we can assume that NSA would prefer to have every device in the world infected, if they could get away with it though...
    "A Professor of Computer Science gave a paper on how he uses Linux to teach his undergraduates about operating systems. Someone in the audience asked why use Linux rather than Plan 9?' and the professor answered:Plan 9 looks like it was written by experts; Linux looks like something my students could aspire to write'."

  3. #3
    Registered User
    Join Date
    Feb 2015
    Posts
    11
    This thread is very funny, ha.

  4. #4
    Registered User Alpo's Avatar
    Join Date
    Apr 2014
    Posts
    877
    Isn't firmware read only though? I'm afraid I haven't had much experience with low level hard-drive stuff, the closest was when I had to install an AHCI driver for a laptop. So the technical aspects are a mystery to me. The articles say the NSA (if it was them) had the source code though, so maybe they could exploit some mechanism to update or repair the firmware to get their code in.

    Anyway, the NSA has had many allegations of misusing their powers in the past to spy on both citizens and specific members of congress. Although you would think everyone would be wary of having such a powerful agency with so little oversight, there are still those who think this level of intrusion is reasonable for safety.

    Even if it was necessary for safety, I would still be opposed to it. If electronic communication is protected under the 4rth amendment, and the 4rth amendment is the declaration of a human right (not just a US persons right), then it follows that people outside of the US are protected as well. Besides, the excuse of "it will only ever happen to someone else!" has always seemed unempathetic to me.

    It's not likely the NSA will stop though, so...

    "I'm so glad the NSA is watching over me!" (said no one, ever).

    Quote Originally Posted by 1595915
    This thread is very funny, ha.
    What, do I look like a clown?! (oh wait...)

    *takes off clown nose*

    It was casual Monday at work. :P
    Last edited by Alpo; 02-17-2015 at 12:55 AM.
    WndProc = (2[b] || !(2[b])) ? SufferNobly : TakeArms;

  5. #5
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by Alpo View Post
    Isn't firmware read only though?
    There are probably some safety mechanism that prevent writing to the firmware, but seeing as firmware is upgradeable these days, it's not as if nothing can write to it. Clearly some programs can, and one need only disassemble these programs to find out how. But I will agree that this is disturbing. We need mechanisms that prompts us to allow if some software does this (kind of like UAC).
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  6. #6
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158
    Quote Originally Posted by Elysia View Post
    We need mechanisms that prompts us to allow if some software does this (kind of like UAC).
    We need BIOS that let you lock out the OS from flashing devices. That way you can turn off the protections only for the duration of an update. I mean, when was the last time you updated your HDD firmware?

  7. #7
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by Yarin View Post
    We need BIOS that let you lock out the OS from flashing devices. That way you can turn off the protections only for the duration of an update.
    Hell no. I'm not rebooting when I need to update my firmware.

    I mean, when was the last time you updated your HDD firmware?
    When last there was an update available. Apparently all "supposed" newer Samsung SSD firmware updates out there don't show up in their Magician application for some reason.
    But yeah, I've updated the firmware on the drive once.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  8. #8
    Registered User
    Join Date
    Mar 2012
    Location
    the c - side
    Posts
    373
    He said Kaspersky found only a few especially high-value computers with the hard-drive infections.
    High-value computers are being handed over to a Russian company for analysis?

    Seems bizarre.

  9. #9
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158
    Quote Originally Posted by Elysia View Post
    Hell no. I'm not rebooting when I need to update my firmware.
    For the paranoid people like me, the added security would be worth the inconvenience. Considering how rarely anyone needs to update their firmware, it really would be NBD.

    But for people like you, you simply leave the BIOS firmware lock off. That's the beauty of optional features.

  10. #10
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    I'd go with the idea of a open source and non executable firmware. In fact, it's sort of sad that in an age of open architectures, we still somehow let this one slip. We shouldn't be accepting devices with proprietary firmware.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  11. #11
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by Yarin View Post
    For the paranoid people like me, the added security would be worth the inconvenience. Considering how rarely anyone needs to update their firmware, it really would be NBD.

    But for people like you, you simply leave the BIOS firmware lock off. That's the beauty of optional features.
    And then I'm back to today's world where anyone can update the firmware without my knowledge. No, that's why I'm saying I should get a prompt that allows me to ack whether I want it to happen or not every time someone tries to modify the firmware.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  12. #12
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158
    Quote Originally Posted by Elysia View Post
    And then I'm back to today's world where anyone can update the firmware without my knowledge. No, that's why I'm saying I should get a prompt that allows me to ack whether I want it to happen or not every time someone tries to modify the firmware.
    A prompt from what? Your compromised OS? A deadbolt on your front door does nothing to protect your jewelry box when the burgler is already in the house.

    If the BIOS was smart enough to be able to interrupt the OS and prompt you itself, now that would be cool, but probably way to complicated to ever happen.

  13. #13
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Quote Originally Posted by Yarin View Post
    A prompt from what? Your compromised OS? A deadbolt on your front door does nothing to protect your jewelry box when the burgler is already in the house.
    I was about to say something on these lines. Software based solutions, particularly those offered by the OS are just going to give a false sense of security. In fact, UAC isn't even a complete solution to user mode malware. Microsoft BitLocker with TPM meanwhile already implements some form of firmware protection. But it's been ineffective with numerous vulnerabilities being revealed over the time.

    Quote Originally Posted by Yarin View Post
    If the BIOS was smart enough to be able to interrupt the OS and prompt you itself, now that would be cool, but probably way to complicated to ever happen.
    Well we are sort of moving in that direction. The two NIS reports (1) (2) that resulted in the UEFI standard already implement BIOS controllable firmware protection. But again we are dealing inflammable solutions which end up becoming vulnerable to all sorts of conditions; because of BIOS manufacturers incompetence or hardware manufacturers incompetence.

    The thing is, we aren't going to get there with standards and specifications. Because even if a manufacturer follows them to the letter, standards and specifications don't define the protocols and processes in the firmware. They merely speak of a layer of security that invariably is itself vulnerable to the underlying code. Much like a strong door becomes vulnerable if attached to a weak frame.

    I think Shuttleworth hits it where it hurts. We need to stop running executable code in firmware. Any executable code can only be processed in the device driver and we need a new firmware architecture to support this. We also need the firmware to become a true part of the open computing architecture. Open sourcing firmware in the current worldwide security scenario isn't a matter of ideology. It's a real necessity that protects us not only from malware, but from government issued spyware.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  14. #14
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158
    Quote Originally Posted by Mario F. View Post
    I think Shuttleworth hits it where it hurts. We need to stop running executable code in firmware.
    Agreed. That would be the cleanest and safest thing to do.

    Quote Originally Posted by Mario F. View Post
    Any executable code can only be processed in the device driver and we need a new firmware architecture to support this.
    This isn't the answer. A jailed HDD driver running hostile firmware code can still easily infect a host, that, is impossible to prevent.

    The only safe solution is for drivers to be designed to not run any code from the device in the first place. i.e., make it impossible to infect firmware. The only reason they do now, is because HDD manufacturers are too lazy to properly design their stuff.

  15. #15
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Quote Originally Posted by Yarin View Post
    This isn't the answer. A jailed HDD driver running hostile firmware code can still easily infect a host, that, is impossible to prevent.

    The only safe solution is for drivers to be designed to not run any code from the device in the first place. i.e., make it impossible to infect firmware. The only reason they do now, is because HDD manufacturers are too lazy to properly design their stuff.
    Well, the thing is that by definition a device driver runs executable code. It is a program. There's no way around it. The firmware isn't actually being jailed. You just move your vector out of the hardware and into the device driver where it was always vulnerable in the first place. That is, if the firmware becomes merely the source of declarative code it is no longer an attack vector, much like a text file can't really be an attack vector.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. *sigh* my postfix thread gone
    By Realio in forum C++ Programming
    Replies: 1
    Last Post: 04-26-2005, 09:30 PM
  2. Namespace Problem, *sigh*
    By Mastadex in forum C++ Programming
    Replies: 4
    Last Post: 04-12-2005, 10:34 AM
  3. *sigh*
    By -KEN- in forum A Brief History of Cprogramming.com
    Replies: 20
    Last Post: 05-13-2002, 03:39 PM
  4. sigh
    By Tyrael in forum C++ Programming
    Replies: 2
    Last Post: 11-13-2001, 07:30 AM