Live data from Hacker News

Ask HN: Someone is proxy-mirroring my website, can I do anything?

news.ycombinator.com

251–260 of 310 posts

Re: Ask HN: Someone is proxy-mirroring my website, can I do anything?

#251
post #27

1. Create fake url endpoint. And go to that endpoint in the adversary's website, when your server gets request, flag the ip. Do this nonstop with a script. 2. Create fake html elements and put unique strings inside. And you can search that string in search engines for finding similar fake sites on different domains. 3. Create fake html element and put all request details in encrypted format. Visit adversary's website…

In my search for this I found @document isn't super supported [0] I suggested something like: a[href*= "sukuns.us.to"] { display:none; } Then use SRI to enforce that CSS. [0]: https://caniuse.com/mdn-css_at-rules_document

If they're rewriting html, I guess sanitizing css won't be beyond them.

Re: Ask HN: Someone is proxy-mirroring my website, can I do anything?

#252
post #60

Earlier quoted context omitted.

> 5. Instead of banning them, return fake content (fake titles and fake images etc) if proxy is detected OR the ip is flagged. > 6. Don't ban the flagged ip's. She/He's gonna find another one. Make them angry and their user's angry so they give up on you. There's a popular blog that no longer gets linked on HN. The author didn't like the discussions HN had around his writing, so any visitors with HN as the referer ar…

Out of curiosity, which blog are you talking about?

https://news.ycombinator.com/from?site=jwz.org

Re: Ask HN: Someone is proxy-mirroring my website, can I do anything?

#253
post #246
post #71

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 leg…

Once you have their IP addresses you can make them serve anything you want. Set your imagination free. For starters: copyright-infringing material.

Unless you hold the necessary rights to the copyrighted material, that would make you a copyright infringer yourself.

Re: Ask HN: Someone is proxy-mirroring my website, can I do anything?

#255
post #250

One strategy tip: don't play cat and mouse. As you've demonstrated, if you change one thing, they will figure it out and change one thing. Not only does that not work, but you are training them that it's worth trying to beat your latest change. Instead, plot a few different changes and throw them in all at once. Preferably in a way where they will have to solve all of the changes at the same time to figure out what h…

I love it, also add a randomness, there is nothing more frustrating than a problem that only reproducers sometimes!

Excellent idea!

Re: Ask HN: Someone is proxy-mirroring my website, can I do anything?

#256
Facebook had multiple approaches to keep users seeing ads (ie your message) on their site despite ad blockers. Could you mix a message amongst some content mixed up with some elements? Hopefully would not affect rankings too much, but could at least reach users. https://www.bbc.co.uk/news/technology-46508234.amp

Base64 encoding images with watermarks may also be worth a shout.

Love the zip bombing.

Long shot but I wonder if its possible to execute some script on their server.

Re: Ask HN: Someone is proxy-mirroring my website, can I do anything?

#257

Earlier quoted context omitted.

because I asked them to stop doing it, and they didn't. Technically they were stealing my bandwidth. Also to teach them an important lesson about the internet.

haha, they're just lucky you didn't introduce them to Goatse

well actually...

there was another time a site hotlinked to a js file. After asking them to stop, i found that they had a contact form with a homebrew captcha which created the letters image like http://evilsite.com/cgi-bin/captcha.jpg?q=ansr

A little while later, their captcha form had a hidden input appended with the correct answer value, and the word to solve was changed to a new 4 letter word from a dictionary of interesting 4 letter words. The form still worked because of the hidden input. I might have changed the name on the "real" input also.

Re: Ask HN: Someone is proxy-mirroring my website, can I do anything?

#258

Can you use the fact they they're proxying to prove to Bing and Google webmaster tools that you own their domain, and delist it? The verification is done by serving a file provided by Bing/Google.

If they're proxying /.well-known/acme-challenge/, you should be able to get a TLS certificate in their name through Lets Encrypt.

Re: Ask HN: Someone is proxy-mirroring my website, can I do anything?

#260

Earlier quoted context omitted.

I know this is just a game that never ends, but if they're already rewriting the HTTP requests what's stopping them from rewriting the page contents in the response? SRI is for the situation where a CDN has been poisoned, not this.

It might not explicitly be what SRI is meant for but it'll narrow the proxy's options to: A. Blank page B. Let the find and replace update the CSS. Generate new hashes in the HTML. C. Find someone new to pick on. B is time and potentially computationally expensive, so it makes C a better option.

A doesn't work because B doesn't prevent the attacker from regexing out the hash altogether and changing the domain name in the tags to their own.
Post reply on HN