kmowery | 7 years ago | on: Ten Years of Vim
kmowery's comments
kmowery | 11 years ago | on: Project Zero: Exploiting the DRAM rowhammer bug to gain kernel privileges
kmowery | 11 years ago | on: Ask HN: Can A give permission to C to access B, without B talking to A?
Depending on what the system is used for, how valuable breaking into it would be, and how long you expect it to be up, you might need to rotate the key every so often, by having A and B agree on a new key. This is a little more complicated; since B now needs to check C's HMACs against two keys (the original and the new one) until every message signed by the original key has expired.
kmowery | 11 years ago | on: Ask HN: Can A give permission to C to access B, without B talking to A?
A and B just need to share the HMAC key. Handling (and changing) this key can be tricky; if an attacker acquires it, the entire scheme falls over.
kmowery | 11 years ago | on: Ask HN: Can A give permission to C to access B, without B talking to A?
kmowery | 11 years ago | on: New police radars can 'see' inside homes
http://www.range-r.com/FAQ/index.htm
The RF bands they're using apparently don't go through metal so well.
kmowery | 11 years ago | on: Branch-free FizzBuzz in Assembly
kmowery | 11 years ago | on: Branch-free FizzBuzz in Assembly
kmowery | 11 years ago | on: Branch-free FizzBuzz in Assembly
Here's a fizzbuzz(char*, int) function that can accept any number up to 99999999, and will put the correct FizzBuzz result into the provided buffer (either the printed number, "Fizz ", " Buzz", or "FizzBuzz"). As promised, it's loop-free, and as a bonus it should be constant-time as well:
Assembly: http://pastebin.com/EnJEuxnp compiled from this C: http://pastebin.com/PCQQQ2cn [edit] generated from this Python: http://pastebin.com/ijr3thE2
Pastebinned since it's about 700 assembly instructions.
Unrolling the loop and printing to the screen are left as exercises...
kmowery | 11 years ago | on: Last Call: HTTP2
kmowery | 11 years ago | on: UI Performance Decline – OS X Tiger to Yosemite [video]
It really does feel like Apple blacklisted older machines from using Continuity; only third-party kext hacking can get things started again.
[1] https://github.com/dokterdok/Continuity-Activation-Tool/
kmowery | 11 years ago | on: Flipping bits in memory without accessing them [pdf]
They evict cache lines using the CLFLUSH x86 instruction, which I believe is unprivileged.
kmowery | 11 years ago | on: FFS SSL
Maybe you trust StartSSL with your private key, maybe you don't, but in either case not giving them your private key is preferable.
kmowery | 11 years ago | on: Security Analysis of a Full-Body Scanner
We think it's likely that they went through the same sort of evaluation process that put the Secure 1000 into service, and that they should be publicly reviewed by independent researchers.
kmowery | 11 years ago | on: Security Analysis of a Full-Body Scanner
We'll be giving a talk on this work tomorrow at the USENIX Security, but I'm happy to answer any questions you have here before then.
kmowery | 11 years ago | on: Researchers Easily Slipped Weapons Past TSA’s X-Ray Body Scanners
We didn't try meat due to the mess, but it would almost certainly work as well!
(Technically, in this X-ray energy spectrum, the amount of backscatter is related to the "effective Z" of the material, where Z is the atomic number of the elements involved. Materials made from lighter elements like carbon and oxygen? Backscatters well. Heavy elements like iron? Absorbs x-rays.)
kmowery | 11 years ago | on: Researchers Easily Slipped Weapons Past TSA’s X-Ray Body Scanners
kmowery | 11 years ago | on: Researchers Easily Slipped Weapons Past TSA’s X-Ray Body Scanners
As for procurement, we purchased our machine on eBay from a private seller who purchased it from a U.S. government surplus auction.
kmowery | 11 years ago | on: Researchers Easily Slipped Weapons Past TSA’s X-Ray Body Scanners
The Secure 1000s have been removed; the L3 ProVisions are still deployed in airports.
kmowery | 11 years ago | on: Researchers Easily Slipped Weapons Past TSA’s X-Ray Body Scanners