tag:blogger.com,1999:blog-135499132007-12-03T10:29:34.109-08:00The Security NerdFrederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comBlogger65125tag:blogger.com,1999:blog-13549913.post-45512934606011221332007-10-07T16:45:00.000-07:002007-10-07T16:47:10.946-07:00How someone could tap your optical fiberWith photos of equipment and discussion of how it works:<br />http://blogs.techrepublic.com.com/security/?p=222&tag=nl.e036Frederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-25643625815174475712007-09-07T13:34:00.000-07:002007-09-07T13:39:51.769-07:00Do you need n-gram frequencies for your crypto work?Or just for statistics in some other line of work?<br /><br />How would you like to get n-gram frequencies from Google's corpus? How would you like to have a training corpus of a trillion words?<br /><br />Google Research has published them, on 6 DVDs. Announcement at http://googleresearch.blogspot.com/2006/08/all-our-n-gram-are-belong-to-you.htmlFrederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-11566985859232067072007-07-05T19:42:00.000-07:002007-07-05T19:45:28.402-07:00Technical article about the Greek wiretapping case<a href="http://www.spectrum.ieee.org/print/5280">Technical details of the 2004-2005 intercepts of Greek government officials's mobile phone calls</a>. It was much more than just turning on the "lawful intercept" functions: the code turned off log files and used rootkit techniques.Frederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-79087487947942126582007-04-26T18:26:00.000-07:002007-04-26T18:28:42.712-07:00Software key logger countermeasures reviewedvia Rootsecure, <a href="http://www.informaticasecurity.com/download/DeniedSurveillance.pdf">Informatica review of programs designed to block software keyloggers</a>. This isn't about detection and removal, as a typical antimalware package would do. These are programs that encrypt or hide keystreams so that any keylogger that gets installed sees nothing or sees a scrambled stream of keystrokes.<br /><br />Interestingly, several products limit their scope to protecting keystrokes in web browsers.Frederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-40879246711489891752007-04-26T17:59:00.000-07:002007-04-26T18:03:06.955-07:00Good review of hardware keyloggers<a href="http://www.irongeek.com/i.php?page=security/usb-hardware-keyloggers-1-keycarbon">The Iron Geek reviews PS/2 and USB keystroke loggers</a>.<br /><br />Since the days of the keystroke recorder that looks like an RF suppressor in the cable, there's been a new generation of USB devices that, with varying and sometimes configurable stealthiness, sit on the USB bus and record keyboard traffic as it goes by.<br /><br />There's no real defense except for physical security.Frederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-19216256944293056562007-04-26T00:36:00.000-07:002007-04-26T00:42:53.115-07:00Untappable fiber?If you know much about the physics of optical fiber, you know that there are ways to make light leak out without breaking the fiber.<br /><br />That news is now widely known, since The Register has published an article about <a href="http://www.theregister.co.uk/2007/04/25/optical_hacking/">optical fiber eavesdropping with Exfo's FCD-10B coupler</a>. I'm skeptical about the description of a "simple clip-on" device, given the amount of sheathing and armor on fiber lines, but Infoguard alleges that someone found an eavesdropping device on a Verizon fiber line in 2003.<br /><br />Who's Infoguard? They sell encryption solutions for high-speed fiber.Frederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-1172976146350481362007-03-03T18:09:00.000-08:002007-03-03T18:42:26.360-08:00Rutkowska strikes again!Most forensics work these days involves shutting down a system and studying the hard disk in isolation. The problem is that if you're studying malware and it's on a critical system or is written by somebody clever, it might live entirely in RAM.<br /><br />So the arms race continued with ways to copy live RAM onto an acquisition device. Which of course any self-respecting rootkit can subvert.<br /><br />So the arms raced continued with proposals to build hardware RAM-acquisition boards which would go into a PCI slot and use DMA to read system RAM. Foolproof, right?<br /><br />Unless the malware author is as smart as Joanna Rutkowska, who observed that DMA requests do not go through the same mechanisms as CPU RAM access does, that the difference is configurable, and that malware with driver-level access can <ul><li>Remap the DMA access from the acquisition card to be memory-mapped IO pointing back to the card, thus crashing the system that you couldn't afford to take down for study</li><li>Redirect that memory-mapped IO to another PCI card and "cover" a set of addresses with unrelated bits in place of those the CPU sees</li><li>Write to that other PCI card and control what the acquisition card sees.</li></ul><br /><br />This is beautiful work. It's theoretically detectable: it would take consummate artistry to change a block of RAM and have the result be internally and logically consistent.<br /><br />If you are trying to prevent attacks like that, I don't see any way offhand. She studied AMD systems but there's no reason to think that others are less configurable.<br /><br /><a href="http://i.i.com.com/cnwk.1d/i/z/200701/bh-dc-07-Rutkowska-ppt.pdf">Joanna Rutkowska presentation at BlackHat DC on defeating hardware-based rootkit detectors</a>.Frederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-1172216641979847222007-02-22T23:42:00.000-08:002007-02-22T23:44:02.030-08:00Enigma machine animationMichael Heyman, on a cryptography mailing list, points to a <a href="Flash animation of an Enigma machine"></a>.Frederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-1169877823059191352007-01-26T21:56:00.000-08:002007-01-26T22:03:43.076-08:00Sandbox IE with Greenborder: pointers to tests<a href="http://www.techsupportalert.com/security_virtualization.htm">Ian Richards tested security-through-virtualization products, including deliberately infecting his machine with CoolWebSearch</a>. As of midyear 2006, the best-performing of eight products was <a href="http://www.greenborder.com/consumer/howItWorks.php">Greenborder</a>.<br />See also a <a href="http://www.keylabs.com/results/GreenBorder/0501442GreenBorder.html">test commissioned by Greenborder</a>.<br /><br />There were some early and severe compatibility problems, for example with Nod32.Frederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-1169004877148899652007-01-16T19:31:00.000-08:002007-01-16T19:34:37.156-08:00Google fixes fascinating vulnerabilityFor a while it was possible to <a href="http://blog.outer-court.com/archive/2007-01-14-n21.html">put your own content on a *.google.com domain</a>. This would allow stealing Google cookies, and as Tony Ruscoe points out, it would be hard for even a savvy user to avoid the problem.<br /><br />Excerpts won't do the article justice. Read the whole thing.Frederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-1167948377488116392007-01-04T10:07:00.000-08:002007-01-04T14:06:17.543-08:00Can you read old data from overwritten flash memory?It's actually analog in the sense that hard disks are analog: the physical layer stores a bunch of electrons that can vary continuously. So maybe overwrites leave you with something like 0.1s and 0.9s instead of 0s and 1s?<br /><br />According to this <a href="http://www.cl.cam.ac.uk/~sps32/DataRem_CHES2005.pdf">Cambridge paper about whether you can sanitize flash memory to purge overwritten data</a>, the answer varies wildly depending on who makes the device. Most of the attacks involved taking the chip out of the packaging. Some were easier timing or power-glitch attacks. All the attacks are getting more difficult to carry out with each new generation of flash chips.<br /><br />If you're seriously worried about having old data recovered by someone you don't like, the preventive measures are way different from those you'd use on a hard disk. For example, you should write to cells before the erase cycle rather than depending on repeated erase cycles. The paper warns "From some samples, information can still be recovered after 100 erase cycles.".<br /><br />It's a highly technical paper, unless you already know what Fowler-Nordheim tunneling is.Frederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-1166267106079331782006-12-16T03:02:00.000-08:002006-12-16T03:05:06.090-08:00How does spyware install itself?<a href="http://www.benedelman.org/spyware/installations/">Ben Edelman's list of spyware installation techniques</a><br /><br />There's still no excuse for all the drive-by downloads possible with Internet Explorer, but notice how few of the vectors are exploits and how many are bundles and social engineering.Frederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-1166265751017746872006-12-16T02:39:00.000-08:002006-12-16T02:42:31.016-08:00Slashdot summary, things to do about the unpatched Word vulnerabilitiesjayjay <a href="http://ask.slashdot.org/comments.pl?sid=211906&cid=17261446">converts Word documents to PDF at the server</a>.<br />slamb suggests <a href="http://ask.slashdot.org/comments.pl?sid=211906&cid=17262540">using a version control system for collaborative editing, PDF for finished documents, and then banning Office documents from email attachments</a>.Frederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-1166265461576966802006-12-16T02:34:00.000-08:002006-12-16T02:37:41.590-08:00You thought maybe financial data transfers were encrypted?In case you missed this on Slashdot, <a href="http://slashdot.org/comments.pl?sid=207258&cid=16901080">a programmer who works on electronic funds transfer and card authorization systems says merchants send batches of credit card data in plaintext over POTS lines</a>.<br /><br />It's not just phone taps that could put that information at risk. There are other ways to get data out of a modem.Frederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-1166148392806567212006-12-14T18:02:00.000-08:002006-12-14T18:06:32.816-08:00Detail on the latest Word vulnerability<a href="http://www.kb.cert.org/vuls/id/996892">"Data used by Microsoft Word to construct a destination address for a memory copy routine is embedded within a Word document itself. If an attacker constructs a Word document with a specially crafted value used to build this destination address, then that attacker may be able to overwrite arbitrary memory."</a><br />My brain hurts. Either this statement is trivially vacucous (the whole idea of file formats being to fill things into memory locations) or it reflects a truly bizarre design choice.Frederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-1163650731698202702006-11-15T20:14:00.000-08:002006-11-15T20:18:51.733-08:00Scramble your VOIP callsPhil Zimmermann's (yes, <span style="font-style:italic;">that </span>Phil Zimmermann) ZFone encryption plugin is in <a href="http://zfoneproject.com/getstarted.html">public beta</a>. It works with SIP-based systems but is not SRTP. Designed to be lightweight and opportunistic.<br /><br />It also hooks into your network stack, so be sure you have a way to back out of the installation.<br /><br />Mac and Linux clients encrypt video.Frederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-1162073976190225442006-10-28T15:15:00.000-07:002006-10-28T15:19:36.200-07:00Need to explain to someone why ECB is bad?From an <a href="http://msdn.microsoft.com/msdnmag/issues/06/11/ExtendingSDL/default.aspx">MSDN article about the software development lifecycle</a>, a vivid illustration of how ECB doesn't protect you well.<br /><a href="http://msdn.microsoft.com/msdnmag/issues/06/11/ExtendingSDL/fig02a.gif">Plaintext, in the form of an image file</a><br /><a href="http://msdn.microsoft.com/msdnmag/issues/06/11/ExtendingSDL/fig02b.gif">The same image encrypted in ECB mode</a><br /><a href="http://msdn.microsoft.com/msdnmag/issues/06/11/ExtendingSDL/fig02c.gif">CBC mode</a>Frederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-1162001096738943252006-10-27T19:01:00.000-07:002006-10-27T19:04:56.750-07:00Hazards of copyright lawsuits?There's no convenient way to check this story, but an anonymous poster on Slashdot reports that a <a href="http://yro.slashdot.org/comments.pl?sid=203140&cid=16617560">**AA investigator installed malware on a computer under investigation</a>.<br /><br />The story is missing some details and coherence that I'd like to see before accepting it with confidence.Frederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-1161979835282649052006-10-27T12:59:00.000-07:002006-10-27T13:10:35.310-07:00Top ten user errors -- it looked good at first<span style="font-weight:bold;"><a href="http://www.darkreading.com/document.asp?doc_id=107771">Top ten most dangerous things end users do online</a></span><br /><br />It's from a corporate point of view, which means that their idea of security is that employees shouldn't surf porn sites because the company might get sued for allowing a hostile working environment. If your worry is keeping the computers running and secure, the problem is that too many porn sites are bait to lure people into installing malicous software.<br /><br />They say "Opening HTML or plain-text messages from unknown senders" is dangerous. No. Just HTML. <br /><br />The rest of their advice is sorta OK, though if you follow all of it you'll miss out on some of the most valuable things you can do online. Most of the warnings have to do with avoiding exposure to attacks against your web browser. So just choose one for security, like Firefox or Opera. (I really like what I'm hearing about the design changes under the hood of IE7, by the way. It could turn out well).Frederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-1161924906033460182006-10-26T21:52:00.000-07:002006-10-26T21:55:06.043-07:00In case you missed this: if all you have is DNS,then you can still send general IP traffic. The <a href="http://code.kryo.se/iodine/">"iodine" package tunnels IPv4 through a DNS server</a>.Frederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-1161735795931042002006-10-24T17:19:00.000-07:002006-10-24T17:23:15.940-07:00Vista sorta fixes bypass of driver signature checkingAt this year's Blackhat, Joanna Rutkowska pointed out that even though the Vista kernel refuses to load unsigned drivers, the kernel code can get paged out and administrator-level programs can edit the page file. She showed the details of how to make it work. <br /><br />Microsoft has turned off raw disk write from usermode, which she thinks is neither necessary nor sufficient (and I can't figure out why it was possible in the first place).<br /><br />More comments at <a href="http://theinvisiblethings.blogspot.com/2006/10/vista-rc2-vs-pagefile-attack-and-some.html">Rutkowska's blog</a>.Frederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-1157873116617097062006-09-10T00:21:00.000-07:002006-09-10T00:25:16.626-07:00Need hard data about fingerprint security?Of course the scanners get fooled by artificial fingers. The only wayto get repeatable results in testing is to use artificial fingers. Though it's still hilarious to read about over-hyped systems getting fooled by someone with access to Gummi Bears.<br /><br />If you want information that's freer of ax grinding than what you see in the press or in marketing materials, check out <a href="http://fingerprint.nist.gov/minex04/index.html">http://fingerprint.nist.gov/minex04/index.html</a>.Frederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-1152931979330842542006-07-14T19:18:00.000-07:002006-07-14T19:52:59.366-07:00Be wary of online password checkersA <a href="http://www.microsoft.com/athome/security/privacy/password_checker.mspx">password quality checker from Microsoft</a> and another <a href="http://www.securitystats.com/tools/password.php">password quality checker from HANetworks</a> are today's topic.<br /><br />Both of them think "HeavyMetal1980" is a strong password. I picked that one because I remembered reading about it connection with a web defacement case, back when people still did that. A cracking program uncovered it. It's a weak password or at best a mediocre one.<br /><br />Both of them think "cleft cam synod yr" is a weak password. That one is a <a href="http://www.diceware.com">Diceware </a>passphrase. Since the words are chosen at random from a pool of 7776 possibilities, Diceware provides about 51.6 bits of entropy per 4-word passphrase. The passphrase is one of 3.66 <span style="font-style:italic;">quadrillion </span>equally likely phrases. Brute-forcing that would take serious computer time even on today's machines. It's a lot stronger than a common phrase with a calendar year stuck on the end.<br /><br />Why do the quality checkers make such silly mistakes?<ul><li>Partly because they're mistaking the means for the end. They're looking for mixed character sets, for example. Those are good things, for sure, but a few minutes of quality time with a spreadsheet should convince you that a password's length matters more than what you do with it.</li><li>They're apparently not hooked up to cracking dictionaries. Nobody wants to spend server CPU on a free site to run John the Ripper, of course, but they could at least have a fast search through a static dictionary. That would save them the embarrassment of classifying the phrase "Pamela Anderson" as a medium-strength password.</li><li>The problem is impossible to solve. Entropy is a property of the generator, not of the output, and isn't measurable given a single output. You could substitute the metric of time-to-crack-with-program-X, but then you'd have to wait a long time for the results.</li></ul>Frederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-1152577880320853902006-07-10T17:30:00.000-07:002006-07-10T17:31:20.330-07:00Second preimage attacks on HMAC<a href="http://eprint.iacr.org/2006/187">HMAC said to be disntiguishable from pseudorandom, forgeries possible</a>.Frederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.comtag:blogger.com,1999:blog-13549913.post-1152429842690948052006-07-09T00:19:00.000-07:002006-07-11T09:38:08.413-07:00This is confusing: Google searching inside binaries?We knew that Google crawls inside PDFs, Word documents, and Powerpoint slides. <a href="http://www.networkworld.com/news/2006/070706-googles-binary-search-helps-dig.html?page=1">Websense says that Google is alson looking inside executables and that it's possible to search for malware signatures.</a><br /><br />Fascinating, but they don't say what the Google search syntax is, and there's nothing obvious in Google's documentation.<br />UPDATE 7/11:<br />A litte more information at http://googlesystem.blogspot.com/2006/06/some-google-results-are-exe-files.htmlFrederickhttp://www.blogger.com/profile/11068504259286732559noreply@blogger.com