Slashdot Mirror


User: Menacer

Menacer's activity in the archive.

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

Comments · 14

  1. PrivateCore's product - likely the employees on Facebook Acquires Server-Focused Security Startup · · Score: 4, Interesting

    The goal of PrivateCore's product was to encrypt everything that's outside of the CPU core using software techniques. So once you've done an attested boot and gotten your crypto keys in order, from that point on anything outside the CPU socket is done in an encrypted manner (except I/O to the network I guess, but definitely hard disk and data going to the DRAM, etc.) Their important selling point here was that you could protect against cold boot attacks, DMA data dumps, data sniffers on the DRAM lines, etc. They also claim to have a secure hypervisor (preventing cross-VM thievery) because they've stripped it down to its bare bones, but I believe this ended up being a secondary concern.

    Anyway, their goal was to have unencrypted data in the caches, but encrypt the data before it leaves the chips and goes out to DRAM. Their page is mostly high-level marketing fluff, so if they were claiming to do more than this, I missed it. The hardware for encrypted DRAM accesses exists in specialized platforms (e.g. the XBox 360) but doesn't currently exist in commodity x86 server parts. As such, a friend and I sat down for an evening a while ago and tried to work out how they would do this without a DRAM controller that did the encryption for you.

    Again, their goal is to have decrypted data in the caches, encrypted data in the DRAM. The crypto routines would have to be contained in software. The major difficulty is that the cache does whatever the cache wants, so it's really rather difficult to say "when this data is leaving the cache, call the software crypto routines." There is no good way for the hardware to tell you it's kicking data out of the cache. (There are academic proposals for this kind of information, but nothing currently exists.)

    We thought up of a number of solutions and were able to validate our guesses against their patent submission. I will gloss over some of the deeper details (such as methods for reverse engineering the cache's replacement policy).

    The shortened version is:
    1) Work on Intel cores that have >=30 MB of L3
    2) Run a tiny hypervisor that fits into some small amount of memory (let's say 10MB)
    3) Mark all data in the system that is not the hypervisor code pages are non-cacheable
    4) The hypervisor also has the crypto routines, so all of these non-cacheable pages can now be software encrypted using the hypervisor's routines. The DRAM-resident data is now encrypted.
    4a) Because these were marked as non-cacheable data, the hypervisor is still resident in the cache (it was never displaced).
    5) Mark some remaining amount of space (let's say 20MB) of physical memory as cacheable. This physical memory currently contains no data at all.
    6) When you want to run a program or an OS, have the hypervisor move that program's starting code into the 20-meg-range (decrypt it along the way) and set its virtual pages to point to that physical memory range
    7) The program can now run because (at least some of its pages) are decrypted. They are also cacheable, so it will hit in the cache
    8) When you try to access code or data that is still encrypted, it will cause a page fault
    9) The hypervisor's page fault handler will get that encrypted data, decrypt it, and put it somewhere in the 20-meg-range
    9a) If the 20 meg page is already full of decrypted data, you will have to re-encrypt some of it and spill it back to DRAM (like paging it out to disk).

    Because you are only touching ~30 megs of physical memory that is marked as cacheable, you will "never" spill decrypted data to the DRAM. Essentially, they built a system that has 30 megs of main memory (that 30 megs is SRAM in the core), and DRAM is treated like disk/swap in a demand-paging system.

    The reason I am convinced this is likely an acquisition-hire

  2. Old Paper on Toying with Crackers on World's Worst Hacker? · · Score: 2

    This reminds me of Bill Cheswick's paper "An Evening with Berferd In Which a Cracker is Lured, Endured, and Studied," from the 1992 Winter USENIX Conference. (Paper is available directly from Mr. Cheswick's site here as a postscript file).

    In it, he toys with an intruder for a number of days. He pretends the system has actually been hacked, gives up bogus password files, and manually pretends to be a particularly slow machine with a lot of easy holes in it. It's a well-written, excellent piece of writing. I recommend it to anyone who enjoyed this video.

  3. Re:Adobe Reader, now even slower! on Adobe Launches Sandboxed Reader X · · Score: 4, Insightful

    Just get Foxit and be done with it. It's light weight, doesn't hang browsers while opening large PDFs, has a SIGNIFICANTLY better search interface, and so far hasn't been subject to any major attacks/flaws.

    You're incorrect that Foxit reader has not been subject to attacks or flaws. This article from last year, for instance, describes in-the-wild attacks of Foxit. A Google search for "foxit reader buffer overflow" brings up a number of known (though patched by now) exploits.

    Foxit reader, like any other piece of software, is bound to have errors. Use it because you like the interface, or use it because it's less likely to be exploited due to its relative unpopularity. Don't delude yourself into thinking it's completely secure. That's the same fallacious argument that some OSX and Linux users make when saying that their operating systems are immune from viruses or worms. They may be more secure when compared to Windows, but there's nothing in their underlying architecture that prevents them from being exploited with enough effort.

  4. Re:Just an extension of existing debug facilities on Hidden Debug Mode Found In AMD Processors · · Score: 5, Informative

    Sure, but it's much faster to do it in hardware. This is the whole reason data watchpoints exist (See, for instance, the paper "Some Requirements for Architectural Support of Software Debugging" by Mark Scoctt Johnson from ASPLOS-I), as you could technically have your debugger put address & data checks around every memory access, but that leads to completely unacceptable overheads. It's faster to let the hardware check the addresses in parallel with regular execution and take a fault only if you touch the watchpoint.

    Similarly, if the hardware will check the value before taking a debug interrupt to the kernel and subsequently signaling/scheduling of the debugger, it will be much, much faster than performing all that and then have the debugger check the address & throw this particular interrupt away before continuing execution. That constant interrupt cycle can cause 10,000x or more slowdowns if you're constantly accessing a value & taking bad watchpoints on it.

  5. Re:Just an extension of existing debug facilities on Hidden Debug Mode Found In AMD Processors · · Score: 5, Informative

    Oh, and the summary's description, "hardware data-aware conditional breakpoints, and direct hardware 'page guard'-style breakpoints", matches up with the line I copied & pasted from the forum post. I previously described the "hardware data-aware conditional breakpoints"where you can make hardware take a fault if an address of a memory operation is matched && the value of the memory operation matches. Looking through my notes, embedded Power ISA (Book III-E) processors also let you set value-dependent watchpoints using the Data Address Compare (DAC) Registers. I'm not sure about other ISAs.

    The second party of the summary's statement refers to to 'page guard'-style breakpoints. This is referenced by Czernobyl's "masking of any or all of 12 low address bits". Again, this is a very interesting extension of the x86 debug registesr, which only allow debug watchpoints of size 1, 2, 4, or 8 bytes (and the latter only in certain microarchitectures & modes) However, by masking out the low 1--12 bits of the address into don't-cares, it's possible to set watchpoints anywhere from 1-4096 bytes, limited to powers-of-two and size-alignment. This is cool from an x86 standpoint, but ARM, MIPS, and Itanium (off the top of my head) already do this.

    Suffice it to say, the stuff that Czernobyl found is very cool in relation to x86, especially if these facilities were officially released to the public at any point in the future. However, it's very unlikely to cause any kind of AMD-only viruses or other scary security concerns. These features exist on other ISAs without any kind of world-shattering problems. :)

  6. Just an extension of existing debug facilities on Hidden Debug Mode Found In AMD Processors · · Score: 5, Informative

    Based solely on the Google cache of the forum post describing this (linked above), there's no need to go into hysterics. For hardware and systems geeks, this is very cool. It's an extension of the existing x86 debug registers (DR0-7) that allows you to set a debug watchpoint that only fires when specific data is loaded in.

    There are a lot of researchers and tool builders that would love to have this because it would allow them to take a watchpoint fault whenever they only when they have a specific value from a specific location. For instance, let's say that every so often you get a null pointer exception at a specific address. However, if you current go into gdb and set 'watch 0x{address}', you're going to take a breakpoint every single time that pointer is accessed.. Wouldn't it be great to do something like 'watch 0x{address} NULL' and only stop your debugger whenever 0 gets written into that address?

    That's what the forum posts imply, at least. "Guys, I've reversed this in part... breakpoints defined in DR0 can be made to fire only on data match (under optional mask), plus masking of any or all of 12 low address bits ! Works also for I/O break points, provided CR4_DE is set, of course !"

    I would wager that this is not a large security concern. Access to DR7 is restricted to ring 0, and therefore enabling debug breakpoints must be done by the operating system. While extremely interesting (I wish I could read more!), Czernobyl appears to be describing a modification to debug breakpoints that are already enabled.

  7. Re:sweet! on Debian 6.0 "Squeeze" Frozen · · Score: 5, Informative

    Individuals without a company and contributors with unknown affiliation add more to the Linux kernel than any _individual_ company, but that does not negate the statement that "the majority of contributions to Linux are from profit-making corporations". Red Hat, Novell, and IBM together make more Linux kernel contributions than all of the unaffiliated and unknown-affiliation contributors combined.

    The document you appears to have misread even includes this sentence: "It is worth noting that, even if one assumes that all of the 'unknown' contributors were working on their own time, over 70% of all kernel development is demonstrably done by developers who are being paid for their work."

  8. Re:Fiwer says FFX = POP MUSIC on More Final Fantasy Bits · · Score: 1

    3 3 3 Fiwer

  9. Re:Hmmm on Terminator 3: Attack of the Terminatrix · · Score: 1

    Hah ha! You fucked it up, clownhat!

  10. Glad to know this really is big news... on 4C May Back Down On Hard-Disk Copy Protection · · Score: 1
    Since when *I* submitted it two days ago:

    "2001-01-05 15:33:31 CPRM dealt a blow (yro,hardware) (rejected)"

    it was rejected. Screw you, Slashfolk.

  11. Palm or Handspring... on What PDA Would You Recommend? · · Score: 3
    Well, looking at your message, it's pretty safe to assume that you want a black-and-white PDA, either for the money or the battery life, so my recommendations would be either the Palm IIIxe or Visor Platinum or Visor Deluxe.

    I've personally never seen the advantage of paying a lot more money for a Palm Vx, when all you get is the "sleeker" look (which isn't that grand if you have it in a leather case like I keep my Palm IIIxe in, anyway), and the LiIon battery, which I don't particularly like. I haven't spent but maybe 5-10 dollars on AAA batteries since I bought my IIIxe back in August.

    Keep in mind that you'll also be paying about $200 more for your Vx, since they're listed at $399, and IIIxe's are now going for $199 thanks to a Christmas rebate. All in all, I like my Palm IIIxe, and I'd recommend it to anyone looking to buy a Palm.

    On the other hand, I also like the looks of the Visors. The Springboard Modules look like great add-ons, and the Platinum runs at twice the clockspeed of normals Palms and Visors, meaning you might not get those slowdowns when playing pinball (darn it all!). You'll be paying an extra hundred dollars over the Palm IIIxe's price, but you'll still save over a Vx.

    The Deluxe also looks nice, with the same Springboard capabilities, with the lower price and lower clockspeed. It's still $50 more expensive than the IIIxe thanks to Palm's rebate, but I was always amazed that the Deluxe was the same cost, when it had more features (included the m100's changeable faceplate, yay :-| ).

    Unfortunately, I can't answer your questions about Linux interface.. I can only give details of my experiences in the handheld world.

    Overall, I can personally recommend the Palm IIIxe, since it's been a dream to use, and it's on sale. However, if I was going and buying a new PDA right now, I, personally, would look into the Handspring market.

    Menacer

  12. Re:Beowulf type cluster on the PS2? on Open Source Programming On The UK PSX2 · · Score: 2
    Well, I'm probably feeding a troll here, but...

    I don't know if you could consider it a Beowulf cluster, however Sony is releasing a graphics workstation based on its Emotion Engine and Graphics Sythesizer technology. According to this here article, they're expecting it to be used for CG scenes and special effects in movies.

    It puts 16 pairs of EE and GS chips together, and and this thing says it can render 1.2 gigapolygons per second in 1920x1090 at 60fps. Two gigabytes of system memory and 512 megs of video RAM.

    So technically, yeah, it is possible to cluster a bunch of PS2 nodes together for high-end 3d processing...

    (BTW, got that article out of a newer issue of PSM, pick one up if ya want.. October issue).

    Menacer

  13. Re:try this on SPAM: Has Sandbox.Com Violated Its Privacy Policy? · · Score: 2
    Well, no.. but ask any corporate accountant which is worth more: fax machine paper or employee's time.

    Odds are they'll say the fax paper.

  14. Re:try this on SPAM: Has Sandbox.Com Violated Its Privacy Policy? · · Score: 1
    Err, but aren't these two kinds of unsolicited messages different?

    The fax thing is because not only does it tie up a phone line (thus making it unusable for the time), but that it wastes paper resources as well... something the reciever had to pay for.

    A computer/modem/printer (or would that be modem/computer/printer? the order it'd need to go to be a "fax machine"..) doesn't automatically print the stuff, so it's not really a waste of paper.. and I doubt those spams are so ungodly large that you can't still do other things on the line..

    But hell, who knows.. you might scare someone into believing it.. heh.