by aidos · 12y ago · 0 comments
ntp server sees request from 1.1.1.1 (spoofed by attacker)
ntp server goes to 1.1.1.1 to check that they really sent the request (sort of ack type thing)
1.1.1.1 comes back to say that it's an uninitiated request
ntp server discards similar future requests for some time
Obviously that would require more toing and froing, along with more white / black list tracking etc. Then again, can't all machines have sensible defaults in their firewalls to stop them from participating in such attacks?Is this not an issue for TCP?
EDIT: I'm assuming it's because UDP doesn't do any checking / acknowledge stuff by default?
The problem is: 1) No one has upgraded NTPD (and often can't, for embedded devices like IPMI controllers) 2) This can be fixed by basic configuration in older NTPD versions, but up until recently many linux distributions were shipping vulnerable configs.
This particular command (monlist) is a management query, it's in no way related to serving up accurate time.
restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery
Edit: Note that this also exists in Ubuntu 12.04, so the latest LTS is fine as well.There is a proposal from 2000 that is mentioned in the article (http://tools.ietf.org/html/rfc2827) that recommends that source networks filter out originating traffic that isn't legitimate. It is being implemented slowly.