this text is meant for two (main) purposes:
1. updating the community about recent threats.
2. showing the community some suggestions of what can be done.
in the recent weeks many people (including on different public ops communities such as nanog) have noticed ddos attacks going on, which appear to be abusing recursive dns servers.
a couple of documents on the subject:
the attacks generally seem the same as always. nothing new here. why the big buzz than? (so far these have been kept “quiet” on several communities even if it is in plain sight and people speak of it openly).
the buzz may be about the packet size/resulting fragmentation this time around, actual attacks seen in the wild on a wide scale, etc. regardless, nothing new. recursive is bad. don’t do it. 🙂
[update: do it, but do it right]
for those of us too busy to read the documents linked to above, imagine an icmp echo attack from spoofed sources that get back the replies, only in dns… this is not very technically correct but it will do.
ignoring the ddos for a second, in the last year, completely unrelated, in the anti virus world we see (and don’t really connect the dots) more and more trojan horses (i.e. bots) which use fast-changing-ip-addresses hosts/domains. changing ip addresses or even name servers very often. these are now called “fast-flux” domains.
not connecting the dots as in the samples one sees the dns rr’s, not that they keep changing.
fast-flux is actually a term which was coined in the anti spam fighters world, completely unrelated to the anti virus world. as these hosts are used to spamvertise from, or these name servers are used to host such bad domains, this is obviously something bad (although some fast-flux issues are legit, most aren’t).
some of these domains, following certain patterns, are used in trojan horses (maybe we should call them zombies this time) to coordinate. i.e. the c&c (command and control, also known as c2) servers where the different trojans (bots) bots are controlled from.
these patterns, such as those used by the (now old) bobax trojan (worm!) often utilize a domain pattern which needs to be ascertained if one wants to control these c&c’s as it changed with, for example, the time-stamp. (old irc trick from the girlbots trojan horses, with differentiating channel names)
these can be 3ld’s or actual domains, i.e.:
the samples would connect to these based on the algorithm, while these will be registered by the bad guys.
in the recent attacks the specific name servers which are vulnerable are used while the domains are being spamvertised and then switched back to a different ns.
this may indeed be the dns activity seen, or it may be unrelated. i don’t believe in coincidences though.
the ddos (which may be a direct or unrelated result of spamvertising or botnet control over dns) may be a smoke screen for what’s really going on, or it may be what it seems, just ddos. as the bot controllers do both spam and ddos, i see no reason why they wouldn’t use this technology for both purposes (or other purposes yet to be seen).
they (the bad guys) may have even just noticed it in the wild, used by other bad guys or they shared the techniques (they have quite a lot of cooperation going). while the good guys weren’t sharing information/cooperating and thus not noticing it happening for a long time now.
if they (the good guys) do notice “it”, for example, the ddos, then they don’t notice the connection between different industries and fields.
-opinion- thinking a vulnerability or error will not be exploited/mistakenly triggered at some point in time just because it is left alone for a while is insane. even if as the saying go, we won’t attribute malicious intend to what is likely stupidity – any mistake which can happen, will happen. major parts of the us power grid going down every few years proved that much.-/opinion-
fast-flux hosts have also been used in phishing for over a year now (before that they were indeed in the wild, but mostly in proof of concept attempts).
phishing in its original form of receiving a mail message and going to a site is going to be with us 10 years from now (much like 419’s are still with us today), but it is slowly decreasing in volume for some time now.
phishing in general however, is in fact increasing with millions on millions of usd lost every month. quite a bit of roi for the russian mob and friends from brazil, eastern europe, nigeria, other hot-spots and the rest of the world, don’t you think?
the bad guys utilize trojan horses (sorry, bots) more and more now for this activity, rather than the old bulk emailing techniques (even using … zombies).
the trojan horse (sorry, worm) would connect to the dns rr, which will change ip addresses and/or name servers quite often, and thus while thousands, hundreds of thousands and all the way to millions of trojan horses (zombies!!!) send out phishing emails, the actual sites moves constantly (between every 10 minutes to once a day). this makes reporting these sites and taking them off the air increasingly difficult.
that is also why anti virus companies become critical to the fight to keep the internet alive, as while network operators can follow network traffic, the anti virus researchers and reverse engineers actually see what the trojan horse does and how.
dynamic dns providers (most of whom are good.. amazing people) have seen this done with 3ld’s as botnet c&c servers for a few years now. use of cryptographically strong domain names (with whatever algorithm used) is newer, but not that new.
what am i trying to say here?
all these activities are related, and therefore better coordination needs to be done much like we do on the da and mwp groups, cross-industry and open-minded. r&d to back up operations is critical, as what’s good for today may be harmful tomorrow (killing c&c’s as an example).
the industry needs to get off its high tree and see the light. there are good people who never heard about bgp but eat trojans (sounds bad) for breakfast, and others need to see that just because some don’t know how to read binary code doesn’t mean they are not amazingly skilled and clued with how the network runs.
this is not my research alone. i can only take credit for seeing the macro image and helping to connect the dots, as well as facilitate cooperation across our industry. still, as much as many of this needs to remain quiet and done in secret-hand-shake clubs, a lot of this needs to get public and get public attention.
over-compartmentalizing and over-secrecy hurts us too, not just the us military. if we deal in secret only with what needs to be dealt in secret, people may actually keep that secret better, and more resources can be applied to deal with it.
some things are handled better when they are public, as obviously the bad guys already know about them and share them quite regularly. “like candy” when it comes to malware samples, as an example.
some solutions to think about:
– help facilitate better cooperation.
– help facilitate better coordination.
– join a mitigation group, do something.
– join a research group, find solutions that won’t just kill the current – problem and make it far worse 2 years down the road (terrorism, spam, botnets, phishing).
– work with others outside your club, you may learn something.
– stop ignoring problems until they become yesterday’s problems.
some intermediate solutions:
– run a clean computer. secure your machine.
– run a clean service provider, secure your network and answer abuse reports.
– cooperate and share information.
– cooperate with law enforcement, as economics such as the roi the bad guys see can only be beaten with changing the cost-benefit/risk-gain equation.
some immediate solutions:
– block outgoing port 25 on dynamic ranges if it is right for your organization (“don’t be the internet’s firewall”).
– make sure your dns servers don’t allow recursive requests.
i recently shared with paul vixie an idea for a structure of an operational group for dns. paul vixie and the dns folks are taking care of their end with the dns infrastructure where they can.
dns in general (not the infrastructure) has been neglected for a long time.
are you taking care of your issues? are you as responsible as these guys?
a lot more can be done, a lot more can be suggested. there are many examples of people doing amazing work. nsp-sec, da, mwp and many others.
these ideas should get us started on the next level of taking care of business.
want to be involved? get involved. see a threat? share it. think i am wrong? bring up your own idea and follow through, don’t just criticize others or try and stop them because you’ve grown warm and cozy in your spot in this world or for whatever other reason or jealousies you may have, as eventually they will circumvent you and work without you.
-opinion-one example for this is the anti virus industry and their naming conventions (hopefully to change with cme from mitre). another is the us government thinking they can control the internet and china showing them that if they won’t let them in, they will create their own systems. that’s just a hint of things to come, with alternate roots as just one side of the problem.
the internet is an “international infrastructure” and these power struggles are self-defeating.-/opinion-
feel free to ping me if you’d like to know what information sharing effort is going on in your area as well as involving your area with others (an effort which will actually allow you to join and help), as the fault is not only yours but also ours.
-opinion-our fault, us, the people who run these communities and global efforts, for being over-secretive on issues that should be public and thus also neglecting the issues that should really remain under some sort of secrecy, plus preventing you from defending yourself.
us, for being snobbish dolts and us, for thinking we invented the wheel, not to mention that we know everything or some of us who try to keep their spots of power and/or status by keeping new blood out (av industry especially, the net-ops community is not alone in the sin of hubris).
it’s time to wake up. the internet is not about to die tomorrow and there is a lot of good effort from a lot of good people going around. amazing even, but it is time to wake up and move, as we are losing the battle and the eventual war.
cyber-crime is real crime, only using the net. cyber-terrorism will be here one day. if we can’t handle what we have on our plate today or worse, think we are ok, how will we handle it when it is here?
there is a lot yet to be said, a lot which is not 100% accurate and a lot that needs to be done as well as already being done. it’s not enough and it can’t all be covered in one write-up.
this text can be found here:
future updates can be found here: