D
Dan Kaminsky
dankaminsky.com · Personal blog · on HN since 2010
Security researcher Dan Kaminsky writes about DNS, DNSSEC, entropy generation, clickjacking and Bitcoin-related security issues.
What HN saysHN commenters cite it for scanrand, DakaRand's clock-drift randomness technique, and his discussion of Zooko's Triangle and Namecoin.
52HN people shared it
27linked it in comments
34stories submitted
754story points
3 years agolast shared
2010people per year2026
Most-shared posts
- 1Dan Kaminsky responds (at length) to DJB's 27C3 DNSSEC presentation6 people · 51 points · first shared 2011 · 36 comments on HN
- 2Validating Satoshi (Or Not)4 people · 116 points · first shared 2016 · 81 comments on HN
- 3DakaRand 1.0: Revisiting clock drift for entropy generation4 people · 6 points · first shared 2012 · discussion on HN
- 4Let’s End Clickjacking4 people · 3 points · first shared 2015 · discussion on HN
- 5The cryptographically provable con man3 people · 160 points · first shared 2016 · 46 comments on HN
- 6Augmented Reality For Color Blindness3 people · 16 points · first shared 2010 · 2 comments on HN
- 7Actionable Intelligence: The Mouse That Squeaked (2012)3 people · 8 points · first shared 2012 · discussion on HN
- 8Spelunk tri3 people · first shared 2011
- 9These are not the SSL certs you're looking for2 people · 71 points · first shared 2011 · 17 comments on HN
- 10The Little MAC Attack2 people · 55 points · first shared 2015 · 27 comments on HN
- 11Not Safe for Not Working On2 people · 7 points · first shared 2014 · 1 comments on HN
- 12The Optical Illusion That’s So Good, It Even Fools DanKam2 people · 6 points · first shared 2016 · 1 comments on HN
- 13Dan Kaminsky: On The RSA SecurID Compromise2 people · 6 points · first shared 2011 · discussion on HN
- 14Safe Computing in an Unsafe World: Die Zeit Interview2 people · 5 points · first shared 2015 · discussion on HN
- 15Dan Kaminsky's Black Ops 20122 people · 3 points · first shared 2012 · discussion on HN
What HN people wrote when they linked it
colonelxc · 2013-08-17
I'm somewhat surprised there is no reference to scanrand[1][2], a fast stateless syn scanner by Dan Kaminsky in 2002. It wasn't directly geared towards scanning the entire Internet, but instead scanning large subnets (like for a pen test of a /16 network... takes a long time to scan).
It is a bit obscure, but it did do tricks like encoding encrypted data in extra mutable fields (just the sequence number for scanrand) for validation purposes. Actually, scanrand 2.0 can apparently measure latency (without state!) by encoding timing information in the source port field, which zmap doesn't currently do.
I think this research is great, but I just hate to see interesting old projects get forgotten.
[1] http://dankaminsky.com/2002/11/18/77/
[2] http://www.sans.org/security-resources/idfaq/scanrand.php
[3] http://s3.amazonaws.com/dmk/SBO_Hiver.ppt
geofft · 2016-05-10
This looks to be the same technique as Dan Kaminsky's DakaRand, including the debiasing: https://dankaminsky.com/2012/08/15/dakarand/
See also Kaminsky's implementation of the same approach in pure JS: https://gist.github.com/PaulCapestany/6148566
and Ryan Finnie's implementation in Perl: http://www.finnie.org/2012/08/14/twuewand-2-0-released/
The big concern I have is how reliable this is on virtual machines. Just about all physical machines I'd want to use have high-quality, trustworthy-within-my-threat-model (i.e., "if the NSA wanted to attack my silicon, there's easier silicon for them to attack") hardware random number generators, and all physical machines I'd want to use pick up sufficient randomness from the kernel's entropy magic thing. But virtual machines often don't have access to the hardware RNG, and they don't have access to enough other hardware to populate entropy. It seems like this technique would be particularly risky there ... although I don't think anyone's published an attack on DakaRand yet, so maybe it's fine!
isp · 2016-05-02
My best guess is that Gavin has been duped by a sleight of hand (like a magician would use) by Craig.
My best guess, based on what I've read so far, is this:
- Gavin supplied his own text for the message.
- Craig faked running "sha256sum" on this message on his own laptop. The real "sha256sum" program could have been overwritten with a fake program that always output the same "hash". This is the "magic trick": the "hash" is attacker-controlled, and doesn't actually correspond to Gavin's message. Rather, the hash corresponds to an old message on the block chain - see, e.g., https://gist.github.com/ryancdotorg/893815f426f181d838c1b44aa187f05a
- Then from there, presto. The signature validates (and can be validated on Gavin's clean laptop) - because it's a real Satoshi signature, from the public blockchain years ago. But what it validates against is a "fake" hash - that Gavin thinks corresponds to his own message, but actually doesn't.
Easy to see how that would be a very, very convincing demonstration, after some social engineering. But all sleight of hand.
This is (I believe) why Craig has all this blurb up on https://dankaminsky.com/2016/05/02/validating-satoshi-or-not/ - it's to hide the trick, which is that he doesn't give us the file "Spartre". He supplies only a (presumably faked) screenshot of sha256sum against this file. Making you type in the hash by hand is misdirection, so you don't realise that you don't have the original file.
dredmorbius · 2015-08-17
I've been saying for a while [1] that data is liability -- this is a bit of a set piece I think I'll keep dragging out as new breaches are reported....
Or as Cory Doctorow puts it, personal electronic data is the nuclear waste of the information age.
http://www.theguardian.com/technology/2008/jan/15/data.security
I've also been increasingly coming of the opinion that, while concerns for oppression of the unprivileged and general population are my principle interest, it's actually the establishment: governments, business, banks, etc., who are more vulnerable, if only because they have greater secrets, historically greater control over them, and, in breached security, greater vulnerability to either attack or manipulation.
An exceptionally peculiar aspect of digital data is that, while it may remain in the boxes and cages provided for it, it's got a notable tendency to find itself liberated. Often without warning, and not detected for days, weeks, months, or longer, afterward (as in this case). In the real world we've got friction, especially associated with data processing and transfer. In digital form, far less so. Sometimes friction is good.
I'm still backlogged wanting to write about last year's Nude Celebrity Phone hacking. Dan Kaminsky, fortunately, has written virtually everything I could say on the topic and then some:
"Not Safe For Not Working On"
http://dankaminsky.com/2014/09/03/not-safe-for-not-working-on
In particular:
Victim shaming is par for the course…
itistoday2 · 2013-12-25
Excellent comment.
For reference, dvanduzer is most likely referring to this blog post and the exchange that took place in the comments: http://dankaminsky.com/2011/01/13/spelunk-tri/
First, let me answer your question, "Does Namecoin square Zooko's Triangle?"
Yes, I believe it does. Whether or not Namecoin works depends on whether or not Bitcoin works. They are the same exact technology (they're just used for different purposes).
From what I could tell of Dan Kaminsky's comments, I believe his arguments boil down to the well known 51% attack. Two things of note here:
1. See Dan's 2013 post on businessinsider where he appears to be retracting his words: "I Tried Hacking Bitcoin And I Failed" http://www.businessinsider.com/dan-kaminsky-highlights-flaws-bitcoin-2…
2. The 51% attack is still a real threat. The Bitcoin community is on it:
Proof of blockchain fair sharing is a draft Bitcoin protocol change
proposal by Iain Stewart, with the goal of allowing the network to
continue to settle on a sensible consensus blockchain even when
subject to a considerably- greater-than-50% attack.
The protocol is under construction. The following description is a
"teaser", establishing its basic flavour and sketching how it exploits
an asymmetry in the goals of the honest (<50%) and malicious (>50%)
miners to avoid the usual reductio ad absurdum argument against any
protocol surviving a >50% attack.
From:…
rideontime · 2024-02-06
All the people who hold BSV and need it to increase in value "know" it was Craig Wright. Everybody else is able to identify the extremely obvious fraud. https://dankaminsky.com/2016/05/03/the-cryptographically-provable-con-…
password4321 · 2022-02-09
One brittle, brute force method to do this (RSA-style) a decade ago was LD_PRELOAD vs. the RNG:
Phidelius: Constructing Asymmetric Keypairs From Mere Passwords For Fun and PAKE
https://dankaminsky.com/2012/01/03/phidelius/
Non-Persistent PGP Keys (2011)
https://ritter.vg/blog-non_persistent_pgp.html
--
Also related: https://github.com/jpf/lokey, "a tool for converting between cryptographic key formats". Unfortunately it needs maintenance.
j3th9n · 2021-04-24
"Of the seven Recovery Key Shareholders who possess the ability to restore the DNS root keys, Dan is the American representative." -https://dankaminsky.com/bio/
HerrMonnezza · 2018-08-16
I had to google "dakarand"; here are links to the original post announcing the DakaRand code and the GitHub repository:
- https://dankaminsky.com/2012/08/15/dakarand/
- https://github.com/stribika/dakarand
anglebracket · 2018-05-31
That's similar to what Kaminsky proposed with Iron Frame[0], but obviously it'd have to be opt-in. Applying Iron Frame-like rendering to all iframes would break a lot of content.
[0]: https://dankaminsky.com/2015/08/09/defcon-23-lets-end-clickjacking/
FiveDegrees · 2018-05-11
Is it Dan Kaminsky's DefCon 23 talk?
https://m.youtube.com/watch?v=9wx2TnaRSGs
https://dankaminsky.com/2015/08/09/defcon-23-lets-end-clickjacking/
acqq · 2016-06-20
"They literally know nothing"
https://www.washingtonpost.com/blogs/erik-wemple/wp/2016/05/05/white-h…
And for anybody having doubts about Wright:
https://dankaminsky.com/2016/05/03/the-cryptographically-provable-con-…
https://www.nikcub.com/posts/craig-wright-is-not-satoshi-nakamoto/
mfukar · 2016-05-03
I don't see the sort of vetting you claim has happened. Wright's proof is fraudulent (https://dankaminsky.com/2016/05/02/validating-satoshi-or-not/), people proved this in less than a day. Your journalist friends were either deceived, or ran the story in hope of getting pageviews..
hannob · 2015-08-30
Dan Kaminsky is working on something:
http://dankaminsky.com/2015/08/09/defcon-23-lets-end-clickjacking/
david-given · 2015-08-09
Way back when I saw a system for streaming audio via DNS: by using TXT records with a TTL of a few seconds, and updating them in a ring buffer, and by stuffing each record with a fragment of Speex encoded audio, you could get quite viable 2kbps audio streaming. Plus, you ended up with totally automatic and really effective edge-of-network caching.
This could have been Dan Kaminsky's DNS Radio idea, which he mentions here: http://dankaminsky.com/2004/08/01/50/
However, I haven't seen any actual code.
indolering · 2015-08-07
I believe so: http://dankaminsky.com/2011/01/05/djb-ccc/#whitelies
(Phreebird is an online signer, but I don't see why an offline signer couldn't generate these proofs.)
deutronium · 2014-10-28
On a related note, this seems really interesting too:
"DanKam: Augmented Reality For Color Blindness"
http://dankaminsky.com/2010/12/15/dankam/
atoponce · 2014-06-27
How does this compare to dakarand? http://dankaminsky.com/2012/08/15/dakarand/
cpach · 2014-04-12
See here how to verify that Indutny indeed snatched the private key from Cloudflare’s server: http://dankaminsky.com/2014/04/12/bloody-cert-certified/
richardwhiuk · 2014-03-01
No, it gives you the option of a different server that the NSA has also compromised.
There's is no way to square the circle here - Zooko's triangle [1] guarantees that you can't have a decentralized system with memorable secure names. See Dan Kaminsky's analysis of Aaron's system (which was implemented by NameCoin. [2]
1: https://en.wikipedia.org/wiki/Zooko%27s_triangle
2: http://dankaminsky.com/2011/01/13/spelunk-tri/
chiph · 2013-07-31
Many corporate VPNs are secured via RSA SecurID and their keyfobs. Several years ago the SecurID source was compromised by hackers[1] and it was suspected the master seed/key was lost. Imagine if the NSA had access to that key -- it'd certainly be a juicy target for them.
[1] http://dankaminsky.com/2011/06/09/securid/
morsch · 2012-10-30
Kaminsky on DNSSEC amplification: http://dankaminsky.com/2011/01/05/djb-ccc/#dnsamp
He doesn't think it's a very strong argument against DNSSEC.
hnha · 2012-08-02
Haven't read up on it but maybe http://dankaminsky.com/2010/12/15/dankam/ does that.
mechazoidal · 2011-06-18
The other post linked from this entry notes that this is based on Dan Kaminsky's DNSSEC presentation. Dan has a pretty interesting line of articles describing doing this kind of stuff in DNSSEC starting here: http://dankaminsky.com/2010/12/13/dnssec-ch1/
wibblenut · 2011-05-28
Dan Kaminsky, Spelunking the Triangle: http://dankaminsky.com/2011/01/13/spelunk-tri/
_delirium · 2011-02-21
Here's Dan Kaminsky's thoughts on the proposal, fwiw, as of a month or so ago: http://dankaminsky.com/2011/01/05/djb-ccc/#curvecp
requinot59 · 2011-01-06
The point about the uncacheability of DNSCurve seems correct and a huge concern (http://dankaminsky.com/2011/01/05/djb-ccc/#caching).