Slashdot Mirror


User: Myria

Myria's activity in the archive.

Stories
0
Comments
657
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 657

  1. Chrome's SSL uses a lot of the OS certificate mana on OpenSSL Bug Allows Attackers To Read Memory In 64k Chunks · · Score: 2

    Chrome just uses the operating system for a lot of the certificate validation of HTTPS, so it can be vulnerable to security holes that apply to the operating system. Chrome wasn't vulnerable to "goto fail", but presumably it has been vulnerable to others in Windows and Mac OS.

  2. One big way in which Git is not SVN-compatible on Subversion Project Migrates To Git · · Score: 1

    (Technically, as Git is SVN compatible, so you could get this effect simply by using Git 'locally'.)

    git2svn has a problem that we ran into recently: because git does not support hierarchical branching, if you do not keep all your branches in a single Subversion directory, it will take an excessively long time for a local git repository to synchronize with a Subversion repository.

    For example, let's say that you have the typical /branches directory in Subversion. Now user "myria" comes along, and she wants to make her own directory of branches so that her own branches don't pollute the /branches directory. She does an svn copy of /trunk to /branches/myria/new-crypto. Now git2svn tries to import this change from Subversion into a local git repository and takes three hours. Why?

    Because git doesn't support hierarchical branch names, from git's naive perspective, what Myria has done is make a copy of the entire repository into a new directory named "new-crypto" inside of her "myria" branch. Git does not interpret her commit as a creation of a branch - it sees "myria" as the branch, and "new-crypto" as merely a directory within the branch. Subversion gives no special meaning to the directory named "branches", so git2svn is simply using a hack of assuming that the "branches" directory contains objects that it can convert into git's branch objects. Git thus sees her commit as one giant commit of 100,000 files, and consequently takes forever processing it.

    The above was a recently-encountered real-life situation at the office from about two weeks ago.

  3. I'm not sure that any company can beat it on Adaptation From Flash Boys Offers Inside Look at High-Frequency Trading · · Score: 1

    80% of firms CANNOT beat the S&P in the same timeframe.

    Long-term, it's unsustainable for any company to beat the stock market as a whole. I wish I could find the Warren Buffet quote on this matter.

  4. Why can't encryption be in the SATA controller? on TrueCrypt Master Key Extraction and Volume Identification · · Score: 1

    Why can't there be SATA controllers with drive encryption support? Your drive encryption program could then just be an expansion UEFI ROM card that prompts you for your password and sends it to the SATA controller, then erases it from main memory. There's no need to do anything else after that point, because encryption and decryption would be completely transparent to all software on the system.

  5. Re:so does this mean.... on Simulations Back Up Theory That Universe Is a Hologram · · Score: 1

    So this means if a tree falls in the forest and no one was listening, it wouldn't be simulated and therefore would not make a sound. That was easy...

    So long as it is provably impossible for anyone to feel or notice the effects of that sound for all of eternity, yes, a simulation could get away with not simulating it. Provable impossibility in our Universe would be something happening outside the light cone of the simulated area.

  6. If they hadn't locked it down... on Microsoft May Finally Put Windows RT Out To Pasture · · Score: 1

    If they hadn't locked it down, Windows RT could have just been another target to which developers could recompiled their software and that would have kick-started the application ecosystem somewhat. It would have been with desktop applications, though, which Microsoft considers deprecated. Desktop applications also don't work with touch control very well and more importantly don't make Microsoft any money.

    It seems as well that Microsoft wanted the locked-down environment to prevent Windows RT from having viruses, an inevitable side effect of open development. Many more people bought the virus-laden Surface Pro than the Surface RT, so maybe people like their viruses =)

  7. Re: Windows RT on Microsoft May Finally Put Windows RT Out To Pasture · · Score: 1

    Was it because of the OS that the Surface did not have cell data support???

  8. Re: How should we have made it more differentiate on Microsoft May Finally Put Windows RT Out To Pasture · · Score: 1

    They should have just left it unlocked, rather than make us jailbreak it by force. By forcing us to jailbreak, they guarantee that commercial applications never get ported to it.

    I guess Microsoft didn't care, because they consider the desktop to be deprecated, something they will remove in a future version.

  9. Wrong number of atoms in the Universe on Experts Hail Quantum Computer Memory Stability Breakthrough · · Score: 2

    It's about 10^80, not 2^80.

    I think we'll find that the amount of energy required to hold X entangled particles in coherence will be exponential in X. This would make quantum computing essentially worthless.

    If not, wake me when we get to 2048 qubits, for the original Xbox's public key and I have some unfinished business from last decade...

  10. Re:Just ignore it. on The State of ReactOS's Crazy Open Source Windows Replacement · · Score: 1

    ReactOS keeps changing their targets, and not getting anywhere.

    So does Windows itself, or any other evolving project.

  11. These bugs exist even *without* signed integers! on How Your Compiler Can Compromise Application Security · · Score: 5, Interesting

    The first mistake was using signed integers.

    The problem is C's promotion rules. In C, when promoting integers to the next size up, typically to the minimum of "int", the rule is to use signed integers if the source type fits, even if the source type is unsigned. This can cause code that seems to use unsigned integers everywhere break because C says signed integer overflow is undefined. Take the following code, for example, which I saw on a blog recently:

    uint64_t MultiplyWords(uint16_t x, uint16_y)
    {
        uint32_t product = x * y;
        return product;
    }

    MultiplyWords(0xFFFF, 0xFFFF) on GCC for x86-64 was returning 0xFFFFFFFFFFFE0001, and yet this is not a compiler bug. From the promotion rules, uint16_t (unsigned short) gets promoted to int, because unsigned short fits in int completely without loss or overflow. So the multiplication became ((int) 0xFFFF) * ((int) 0xFFFF). That multiplication overflows in a signed sense, an undefined operation. The compiler can do whatever it feels like - including generate code that crashes if it wants.

    GCC in this case assumes that overflow cannot happen, so therefore x * y is positive (when it's really not at runtime). This means the uint32_t cast does nothing, so is omitted by the optimizer. Now, the code generator sees an int cast to uint64_t, which means sign extension. The optimizer this time isn't smart enough to know again that it's positive and therefore can ignore sign extension and use "mov eax, ecx" to clear the high 32 bits, so it emits a "cqo" opcode to do the sign extension.

    So no, avoiding signed integers does not always save you.

  12. Re:Fix the C standard to not be so silly on How Your Compiler Can Compromise Application Security · · Score: 1

    * Fixation of two's complement as the integer format.

    Are you trying to make C less portable, or what?

    The "broken" code is already nonportable to non-two's-complement machines, and much of this code is things critical to the computing and device world as a whole, such as the Linux kernel.

  13. Fix the C standard to not be so silly on How Your Compiler Can Compromise Application Security · · Score: 1, Insightful

    The C standard needs to meet with some realities to fix this issue. The C committee wants their language to be usable on the most esoteric of architectures, and this is the result.

    The reason that the result of signed integer overflow and underflow are not defined is because the C standard does not require that the machine be two's complement. Same for 1 31 and the negative of INT_MIN being undefined. When was the last time that you used a machine whose integer format was one's complement?

    Here are the things I think should change in the C standard to fix this:

      * Fixation of two's complement as the integer format.
      * For signed integers, shifting left a 1 bit out of the most-significant bit gets shifted into the sign bit. Combined with the above, this means that for type T, ((T) 1) << ((sizeof(T) * CHAR_BIT) - 1) is the minimum value.
      * The result of signed addition, subtraction, and multiplication are defined as conversion of all promoted operands to the equivalent unsigned type, executing the operation, then converting the result back. (In the case of multiplication, the high half is chopped off. This makes signed and unsigned multiplication equivalent.)
      * When shifting right a signed integer, each new bit is a copy of the sign bit. That is, INT_MIN >> ((sizeof(int) * CHAR_BIT) - 1) == -1.

    That should fix most of these. Checking a pointer for wraparound on addition, however, is just dumb programming, and should remain the programmers' problem. Segmentation is something that has to remain a possibility.

  14. Re:x86 memory model is to blame? on How Your Compiler Can Compromise Application Security · · Score: 2

    Do you think most-all exploits are down to the defective x86 segmented memory architecture.

    I think those who coded for the SNES or Apple IIGS in C would disagree with blaming the x86 exclusively =)

  15. Practical applications... on Grand Unifying Theory of High-Temp Superconducting Materials Proposed · · Score: 1

    Just let me know when I can build my dream of a hoverboard arena. =^-^=

  16. Re:And NSA pays them how much for 0-day? on Microsoft Hands Out $28k In IE11 Bug Bounty Program · · Score: 1

    And they receive how much money from the NSA for providing them with details of zero-day exploits?

    Are they still providing NSA with zero day exploits BTW? I assume the answer is yes.

    It's more likely that the NSA pays VUPEN rather than Microsoft. Paying Microsoft directly would have blowback.

  17. And it's only for Internet Explorer and mitigation on Microsoft Hands Out $28k In IE11 Bug Bounty Program · · Score: 2

    They only were offering bounties for two particular things in Windows: Internet Explorer 11 and the new anti-exploit mitigations in Windows 8.1. Even though there are plenty of other security targets in Windows, only those two things would get you money.

    I found a bug in Windows's Secure Boot code that I'm using to jailbreak Windows RT. I might as well; it's not like they pay bug bounties for Secure Boot exploits.

    The exploit could be used to run Android on Surface RT with a kexec-like driver implementation, but this would be a huge amount of work for someone who doesn't know Linux internals.

  18. Re:Yes, but . . . on Microsoft Takes Another Stab At Tablets, Unveils Surface 2, Surface 2 Pro · · Score: 1

    RT? Nope, not at present. There are "jailbreak" hacks to let you run normal Win32 software, but it still has to be recompiled to ARM. BlueStacks / JarOfBeans / etc. aren't available. The bootloader is locked, so you can't just install Android directly (not that Android is generally designed to be installed that way anyhow). There has been talk of using the jailbreak to make an NT driver that loads Linux, essentially using NT as the bootloader, but it's a pretty huge project and nobody has made any real progress on it so far as I know.

    I already have an exploit to do this in Windows RT, but yes, the hard part is building the Android OS for a Surface RT. Making the drivers, the boot loader...things like that.

  19. At least I can read this thread with my iPad on More Bad News From Fukushima · · Score: 1

    There is something to be said for Slashdot's lack of Unicode support: if Slashdot had Unicode, trolls would have filled every thread with a certain invalid Arabic string and my iPad's browser would have crashed trying to read this thread.

  20. Links to classified data should be labeled on Inside the 2013 US Intelligence "Black Budget" · · Score: 5, Informative

    Slashdot - and other news aggregation websites - should put warning labels on links that go to leaked classified information. Some people can get into trouble for viewing it. I love reading it, but some people who read Slashdot work in the classified world and have to work under some of its sillier rules. (Like having to wipe your unclassified work computer because it got Top Secret data on it from the Washington Post.)

  21. A corollary on Snowden Spoofed Top Officials' Identity To Mine NSA Secrets · · Score: 4, Insightful

    The best way to stop whistleblowers is to stop giving people a reason to want to blow the whistle.

  22. Re:Microsoft Account on Windows 8.1 RTM Trickling Out, With Start Menu and Boot-to-Desktop · · Score: 1

    I don't love Windows 8 for a lot of reasons, but I mean if you are going to say ignorant things then expect to be called out for it.

    Apparently, you haven't tried the Windows 8.1 Preview.

  23. RMS as CEO on Steve Ballmer's Big-Time Error: Not Resigning Years Ago · · Score: 1

    There are already enough viruses on Windows; it doesn't need the GPL.

  24. It's *kind of* cracked. on Dell Dumps Keyboardless Windows RT Tablets · · Score: 4, Interesting

    I have an exploit to load NT kernel drivers at near-boot time on RT tablets. It's not as good as a true Secure Boot exploit, but in theory it would be good enough to make a Linux/Android build for Surface RT.

    Screenshot of my Surface RT running Windows RT with a kernel debugger, which should not be possible under Microsoft's Secure Boot configuration.

  25. Let's try the other direction on DARPA Wants Computers That Fuse With Higher Human Brain Function · · Score: 1

    It comes down to using the right tool for the job, at least in the future we see happening this century. Why not make a computer that can attach to a human brain? Human brains are great at solving some problems, and terrible at solving others. We should try to improve the interface between the two.

    It would be really nice to have a coprocessor that can handle discrete problems that can help out with the things that humans are really bad at. My computer chip could help out with calculating some numbers while I figure out what my program's logic should be.

    As for powering such a chip, I and many other Americans have some extra...energy reserves on our bodies that could be used.