0day Blackhat Trick - Bitsquatting

itz_styx

Elite Member
Jr. Executive VIP
Jr. VIP
Joined
May 8, 2012
Messages
4,217
Reaction score
3,728
since not many people show any interesting tricks lately, i though i could show you a 0day blackhat trick to get traffic.
its not really an unknown issue, but i still called it 0day as there is no fix available for this issue and not many in the SEO scene know about it.
the issue is kinda similar to typosquatting and there is no fix for it, so it will stay 0day.

for the record this is for educational purposes only and i'm not saying you should all do this now. use this information at own risk, i take no responsibility for your actions!
so that being said, lets get started! :)

what you'll learn today is called bitsquatting, its a technic thats abusing a problem within computers, smartphones, tablets and any other hardware that has memory chips.
no memory chip is fail proof, there are always bit-errors that occur once in a while. this happens due to various reasons like heat, radiation and belive it or not even because of cosmic rays hitting your hardware.

so what happens is that a single bit -> 0 becomes 1 or the other way around.
well say this so called bit-flip occurs in the first byte of a url i.e. blackhatworld.com, that means if you have:

"b" = 01100010 and an bit error changes the value to say: 01100011, you get "c" instead of "b".

imagine this happens in a DNS lookup request! you request blackhatworld.com, the above bit-flip happens and what your computer will send out is a request to resolve the domain clackhatworld.com
this would usually fail as this domain doesn't exist at the time of writing. now what if someone registers that domain and answers the request?

we could DNS hijack if we send a valid A record back, but we have to send 2 answers, first for clackhatworld.com with our IP say 1.3.3.7 and then also for blackhatworld.com with 1.3.3.7 else it wouldn't work as the "c" was an error.
(you would have to write some code in say C or python to answer the DNS requests, but its not that hard.)

sometimes these entries end up in a DNS-cache and will be hijacking traffic for a while. also sometimes you get proxies which in turn send additional traffic..

another (easier) thing would be, we could just setup a HTTP server and check what files are being requested and serve them whatever we like.

so basically what bitsquatting is, its the method of registering domains with a char 1 bit off from the original.

also its not like real DNS hijacking where you would exploit a DNS server and redirect traffic which is illegal, but these requests are simply sent to your legit domain in error, you can chose to answer them anyway you want (*cough* ads).
like i've mentioned, its kinda like typosquatting that many of you have used before (miss spelled domains), but this time you have to make sure its 1 bit different instead of random chars.

lets take blackhatworld.com as example, changing the first character (of course all characters within the domain name would work) :

01100010 blackhatworld.com (original)
01100011 clackhatworld.com
01100110 flackhatworld.com
01101010 jlackhatworld.com
...

of course the smaller the domain name the better it works, as chances are higher that exactly the character you use is flipped. the longer the domain, the rarer it happens.
btw this trick has been successfully used to hijack various major advertising networks to inject own ads in the past decade (fbcdn is a popular target lol)
registering multiple domains with flipped bits is of course more effective than just trying it with a single domain.

if you want more technical details and statistics, you can check a paper about bitsquatting that was presented at the blackhat conference: media.blackhat.com/bh-us-11/Dinaburg/BH_US_11_Dinaburg_Bitsquatting_WP.pdf

hope this helps you to see how "thinking outside the box" works and that blackhats are always a step ahead ;)
 
Wow very amazing trick!! Interestd to see kind of request i get will try and look what comes in )
But think is too advance for most BHW user )) will not understand if can not even setup Wordpress with no help ))))
 
Wow very amazing trick!! Interestd to see kind of request i get will try and look what comes in )
But think is too advance for most BHW user )) will not understand if can not even setup Wordpress with no help ))))
haha could be :)
This is one of the more interesting reads on this forum I've seen in a long time. Thanks!
glad you enjoyed it!
Now we can say its blackhatworld lol
indeed, we need more blackhat stuff or the whitehats will take over and it gets boring :D
 
Does this actually monetize though? I feel like the number of instances this occurs so low. Any data on this?
 
Does this actually monetize though? I feel like the number of instances this occurs so low. Any data on this?
yes you can see some stats in the paper i referenced. in my test which i did some years ago it also worked.
first i checked what kind of files would be requested and then i just figured i would redirect all to an offer page with PPV and PPC ads.
it also depends what kind of domain you use etc. they guys who did fbcdn made a lot.
 
Wow very amazing trick!! Interestd to see kind of request i get will try and look what comes in )
But think is too advance for most BHW user )) will not understand if can not even setup Wordpress with no help ))))
Have to admit it goes over my head lol. I can install wordpress myself, though this type of blackhat is too much for me :)
 
Have to admit it goes over my head lol. I can install wordpress myself, though this type of blackhat is too much for me :)
Its not that hard, you can just use binary conversion tools that you can find via google.
 
Interesting stuff! I remember listening to a story about how this exact thing happened with a computer that was calculating the votes and no one could figure it out,
Turns out the place where intel was getting the silicon from was contaminated with uranium which is radioactive, and it used to happen more often, although I thought nowadays it happens extremely rarely, will have to read that paper now lol, thanks!
 
Interesting stuff! I remember listening to a story about how this exact thing happened with a computer that was calculating the votes and no one could figure it out,
Turns out the place where intel was getting the silicon from was contaminated with uranium which is radioactive, and it used to happen more often, although I thought nowadays it happens extremely rarely, will have to read that paper now lol, thanks!
hm yea sounds plausible, if its counting votes it could result in wrong numbers. with voting machines itself it would be rare as there are not that many and would likely just result in an error than a wrong vote.
this can happen to any system that has memory chips and since there are billions of such devices connected to the internet, best use for us is using a popular domain can get quite some traffic from these errors ;) bit flips are not that uncommon. faulty memory, overheating in systems etc is enough
 
Have to admit it goes over my head lol. I can install wordpress myself, though this type of blackhat is too much for me :)
It really easy u only need convert to binary say first letter of domain (can use converter u can find on Google). Just change last 0 to 1 or something and use converter to find what letter is now.
Use letter for domain and repeat step with register few domain like it. I try and actually work ) Test start few day ago and get traffic is amazing. Not using for marketing yet just test and see traffic that arrive is interrresting see what come in ))
 
It really easy u only need convert to binary say first letter of domain (can use converter u can find on Google). Just change last 0 to 1 or something and use converter to find what letter is now.
Use letter for domain and repeat step with register few domain like it. I try and actually work ) Test start few day ago and get traffic is amazing. Not using for marketing yet just test and see traffic that arrive is interrresting see what come in ))
I see thanks for explaining a bit more. Maybe you can share some results with me? I would like to see the traffic. You can also PM me if you do not want to show it public.
 
Thanks @itz_styx for bringing some real value to this forum....I can add to this:

- use max 5 characters domains

- go for brandable domains that people access directly from their browser

- go for high traffic domains.

For some reason you will have jaw dropping results with some domains and 0 results with other.
 
Thanks @itz_styx for bringing some real value to this forum....I can add to this:

- use max 5 characters domains

- go for brandable domains that people access directly from their browser

- go for high traffic domains.

For some reason you will have jaw dropping results with some domains and 0 results with other.
exactly. it depends how popular the domain is. you need to pick something that is widely used (like the fbcdn example).
 
I see thanks for explaining a bit more. Maybe you can share some results with me? I would like to see the traffic. You can also PM me if you do not want to show it public.
I can PM u some example. Wait )
 
Very interesting stuff, not my cup of tea but certainly a very cool method for someone who can monetize random traffic, thanks for sharing
 
Back
Top