Lurker News
Hi Hacker News community,

I'm trying to deal with a very interesting (to me) case. Someone is proxy-mirroring all content of my website under a different domain name.
- Original: https://www.saashub.com
- Abuser/Proxy-mirror: https://sukuns.us.to
My ideas of resolution:
1) Block them by IP - That doesn't work as they are rotating the IP from which the request is coming.
2) Block them by User Agent - They are duplicating the user-agent of the person making the request to sukuns.us.to
3) Add some JavaScript to redirect to the original domain-name - They are stripping all JS.
4) Use absolute URLs everywhere - they are rewriting everything www.saashub.com to their domain name.
i.e. I'm out of ideas. Any suggestions would be highly appreciated.
p.s. what is more, Bing is indexing all of SaaSHub's content under sukuns.us.to ¯\_(ツ)_/¯. I've reported a copyright infringement, but I have a feeling that it could take ages to get resolved.

Comments (290) 97 threads

Show all comments

Showing thread 1 of 97

santah10 replies#
Same thing happened to me and my service (https://next-episode.net) almost 2 years ago.

I wrote a HN post about it as well: https://news.ycombinator.com/item?id=26105890, but to spare you all the irrelevant details and digging in the comments for updates - here is what worked for me - you can block all their IPs, even though they may have A LOT and can change them on each call:
1) I prepared a fake URL that no legitimate user will ever visit (like website_proxying_mine.com/search?search=proxy_mirroring_hacker_tag)
2) I loaded that URL like 30 thousand times
3) from my logs, I extracted all IPs that searched for "proxy_mirroring_hacker_tag" (which, from memory, was something like 4 or 5k unique IPs)
4) I blocked all of them
After doing the above, the offending domains were showing errors for 2-3 days and then they switched to something else and left me alone.
I still go back and check them every few months or so ...
P.S. My advice is to remove their URL from your post here. This will not help with search engines picking up their domain and ranking it with your content ...

rexreed1 reply#
For 2) you mean you loaded it from the adversary's proxy site, just to clarify?
santah2 replies#
Yes, constructed the honeypot URL using the proxy site and called it (thousands of times) so I can get them to fetch it from my server through their IP so I can log it.
WirelessGigabit1 reply#
They literally proxy your website? I thought they'd cache it... that makes more sense now in your statement that you hit their website with a specially formatted url. Since they pass that through to you you can filter on that.

Also: since you say 4k-5k IPs... any of them from cloud providers? And specific location?

santah2 replies#
No cloud providers as far as I'm aware.

They were all from the same 4-5 ASN networks, all based in Russia.

justsomehnguy1 reply#
Residential proxy botnet.
tofuahdude1 reply#
Why do they bother doing this domain proxy stuff in the first place?
justsomehnguy1 reply#
High quality content with a good standing in Google => unique and quality impressions => more revenue from the ads they insert in the content.
_siis#
There is also the potential to use it as a watering hole for more sophisticated or subversive measures where they subtly change what you post to promote something you don't actually promote (so at some point they deviate from pure proxy to mitm).
adventured#
If you happen to use Cloudflare.... Cloudflare -> Firewall rules -> Russia JS Challenge (or block)
everybodyknows2 replies#
Also for (2), any worries that your own providers might imagine you're trying to mount some half-baked DOS campaign?

Continue this thread — 2 replies

blinding-streak3 replies#
Side note: great idea for a website. This could be really helpful. You got a new user here.
mhlakhani#
I have to agree, my SO has been looking for something like this for a long time. Signing up today!
focusedone#
Wow, hadn't seen this before. Awesome site!
santah#
Thanks!
chris_wot1 reply#
Makes me wonder if you could switch serving content based on the URLs. So they redirect back to your website. Or display images marked as copyrighted.
santah2 replies#
I tried but couldn't redirect back to my website as they stripped / rewrote all JS.
t0suj4#
Would it be possible to hide a hash/encoded URL somewhere in JS and delete the site/redirect if the hash/encoded URL contained something unexpected?
rot13xor1 reply#
You could have a "stolen content" pure HTML/CSS banner that gets removed by Javascript. Only proxy site visitors will see the banner because the proxy deleted the Javascript.

Continue this thread — 1 reply

bvinc5 replies#
Might I suggest a spin on this: instead of blocking the IPs, consider serving up different content to those IPs.

You could make a page that shames their domain name for stealing content. You could make a redirect page that redirects people to your website. Or you could make a page with absolutely disgusting content. I think it would discourage them from playing the cat and mouse game with you and fixing it by getting new IPs.

nomel1 reply#
> Or you could make a page with absolutely disgusting content.

Not if you value the people who might move to the real domain.

Mikealcl3 replies#
You could do this without effecting normal traffic depending on uniqueness of ip doing the scraping.

Love the idea.

Continue this thread — 3 replies

hedora1 reply#
One possibility: Serve different content, but only if the user agent is a search engine scraper. Wait a bit to poison their search rankings, then block them.
zhengyi131 reply#
... be careful with this.

Assuming you've monetized your content with ads, depending on your ads provider, this may have deleterious effects on your account with that provider, as they may then assume you're trying to game ads revenue.

Continue this thread — 1 reply

sprior1 reply#
"Or you could make a page with absolutely disgusting content." You've never heard of Rule 34, have you...
walrus01#
obviously somebody too young to have seen the method of using an http redirect to the goatse hello.jpg for unwanted requests

edit: or when somebody embed-links your image inside some forum, replace the original filename with the contents of hello.jpg

beirut_bootleg2 replies#
I've tried this with zip bombs, but I can't tell how well it worked out.
NicoJuicy#
Did the same things for spam bots :p
RektBoy1 reply#
Wait what? Care to follow on this hypothetical topic please?

Continue this thread — 1 reply

antifa#
If those IPs are VPN services, you might be negatively affecting all VPN users in addition to the proxy.
nuccy23 replies#
Instead of blocking by IP, just check SERVER_NAME/HTTP_SERVER variables in your backend/web server (or even in JavaScript of the page check window.location.hostname) and in case those include anything but original hostname, redirect to the original website (or serve different content with a warning to the visitor). If you have apache2/nginx this can be easily achieved by creating a default virtualhost (which is not your website), and additionally creating explicitly your website virtualhost. Then the default virtualhost can have a proper redirect while serving any other hostname.

Those variables are populated by the browser, unless proxying server is rewring them, your web-server will be able to detect imposter and serve him/her with a redirect. If rewrites are indeed in place, then check in the frontend. Blocking by IP is the last option if nothing else works.

Continue this thread — 23 replies

Continue this thread — 5 more replies