Page 1 of 1

[Website] Security alert from Avast

PostPosted: Mon Aug 31, 2015 22:29
by PoignardAzur
I'm on Windows 7 and I use the Avast antivirus software. My main browser is firefox, but I seem to have the same problems with chrome.

Whenever I open minetest.net (but not forum.minetest.net), Avast pops-up, makes an alert sound, tells me "A menace has been detected", and vaguely explains that the problem comes from http://amun.inchra.net/piwik.js.

I've searched about that problem a bit, thinking that maybe the problem was related to the site using some sort of malicious add software or something, and I found a (french) article by a guy whose site had a similar problem.

Basically, what he says is that Avast doesn't like when a website W1 (here, minetest.net) calls a script hosted on a site W2 (here, inchra.net).

I didn't exactly understand the solution he proposed, but it boils down to "The script should be hosted externally, and each site should have a subdomain pointing to the script (ex : stats.minetest.net, stats.inchra.net)".

HOWEVER ; I'm not sure the problem is the same : I also get an alert pop-up when opening inchra.net. It could be that the adress points to an IRC server, though.

Anyway, it seems like a pretty serious issue for me, since it would probably scare Avast users away from minetest.net, and even if it doesn't, it kind of casts an unprofessional image on the project. Hope it gets fixed soon !

Re: [Website] Security alert from Avast

PostPosted: Tue Sep 01, 2015 14:31
by est31
We have an updated website, and use inchra-stats.minetest.net as the subdomain, so it shouldn't happen now. Can you confirm this still happens when you try it?

Re: [Website] Security alert from Avast

PostPosted: Tue Sep 01, 2015 18:18
by PoignardAzur
Nope, still got the same warning message :(

It the script still hosted on amun.inchra.net ?

Re: [Website] Security alert from Avast

PostPosted: Tue Sep 01, 2015 18:25
by rubenwardy
no, it's on stats-inchra.minetest.net

Try ctrl+f5 or ctrl+shift+r?

Is the scaning done from avast? It may take time to rescan.

Re: [Website] Security alert from Avast

PostPosted: Tue Sep 01, 2015 18:36
by PoignardAzur
ctrl+f5 makes avast complain again. I'll try again tomorrow.

Re: [Website] Security alert from Avast

PostPosted: Tue Sep 01, 2015 21:07
by srifqi
It still happens to me too.

Image

Re: [Website] Security alert from Avast

PostPosted: Wed Sep 02, 2015 21:54
by PoignardAzur
Nope, still there.

Re: [Website] Security alert from Avast

PostPosted: Thu Sep 10, 2015 16:26
by PoignardAzur
Thread bump.

I'm a bit surprised this hasn't been fixed yet. "The game's website triggers an antivirus alert every time you open one of its pages" is kind of a big deal, and a good way to repel potential new players.

Re: [Website] Security alert from Avast

PostPosted: Thu Sep 10, 2015 19:19
by rubenwardy
We can't work out why this happens, it's not fetching from inchra.net anymore.

What are anti-viruses, again? ;)

Re: [Website] Security alert from Avast

PostPosted: Fri Sep 11, 2015 14:46
by PoignardAzur
rubenwardy wrote:We can't work out why this happens, it's not fetching from inchra.net anymore.

This may be a dumb question, but have you made a computer search for the strings "inchra", "inchra.net", "amun", "piwik.js", etc... in the website's files ? You might have forgot to remove a call somewhere.

Re: [Website] Security alert from Avast

PostPosted: Fri Sep 11, 2015 17:51
by BrandonReese
inchra-stats.minetest.net is a CNAME of stats.inchra.net. Do you think Avast is looking that far into DNS?

Re: [Website] Security alert from Avast

PostPosted: Fri Sep 11, 2015 19:37
by Ben
PoignardAzur wrote:Basically, what he says is that Avast doesn't like when a website W1 (here, minetest.net) calls a script hosted on a site W2 (here, inchra.net).


Websites include scripts from other websites all the time (jQuery via CDN, basically all ads ever, the list goes on). My guess: something in the piwik.js file is trying to violate the same-origin policy of the browser. Normally, browsers catch that themselves, but maybe the anti-virus program in question is trying to be extra helpful?

Anyway, here's what I found on Piwik and same-origin policy: How do I configure my Piwik server to allow cross domain requests? (CORS) (piwik.org).

Re: [Website] Security alert from Avast

PostPosted: Fri Sep 11, 2015 20:46
by BrandonReese
Ben wrote:
PoignardAzur wrote:Basically, what he says is that Avast doesn't like when a website W1 (here, minetest.net) calls a script hosted on a site W2 (here, inchra.net).


Websites include scripts from other websites all the time (jQuery via CDN, basically all ads ever, the list goes on). My guess: something in the piwik.js file is trying to violate the same-origin policy of the browser. Normally, browsers catch that themselves, but maybe the anti-virus program in question is trying to be extra helpful?

Anyway, here's what I found on Piwik and same-origin policy: How do I configure my Piwik server to allow cross domain requests? (CORS) (piwik.org).


It's not a cross domain AJAX call or anything like that so same-origin isn't violated. piwik doesn't make an AJAX calls anyway, it requests an image.

My Avast is reporting downloading it from amun.inchra.net since that is the A record the other sub domains are pointing to. It blocks inchra.net altogether. I reported it as a false positive. Don't know if that will help in the end.

Re: [Website] Security alert from Avast

PostPosted: Fri Feb 05, 2016 11:52
by xeranas
rubenwardy wrote:no, it's on stats-inchra.minetest.net

Try ctrl+f5 or ctrl+shift+r?

Is the scaning done from avast? It may take time to rescan.

Did you tried ping?
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
ping inchra-stats.minetest.net

Pinging amun.inchra.net [45.56.104.202] with 32 bytes of data:
Reply from 45.56.104.202: bytes=32 time=123ms TTL=54
Reply from 45.56.104.202: bytes=32 time=123ms TTL=54

See, inchra-stats.minetest.net points to amun.inchra.net.

Issue still exist. I get warning from Avast. Looks really bad to see such warning for open source project. If I were you I would consider to replace piwik with something who does not have such issues or just drop tracker entirely until decent replacement will be found.

Re: [Website] Security alert from Avast

PostPosted: Mon Feb 08, 2016 08:31
by srifqi
How if we have independent analytic site?

Re: [Website] Security alert from Avast

PostPosted: Mon Feb 08, 2016 12:36
by Minetestforfun
Hi,

Apache2/nginx well configured (SSL/TLS, Let's encrypt, etc...) + redirect http->https links to piwik login screen = no more alerts from Avast

Re: [Website] Security alert from Avast

PostPosted: Fri Feb 12, 2016 05:59
by ShadowNinja
srifqui/PoignardAzur: Is this still an issue? Has BrandonRese's false-positive report fixed it? If it's still an issue, please also report it as a false positive, and I'll try to get it fixed.

Re: [Website] Security alert from Avast

PostPosted: Fri Feb 12, 2016 07:32
by addi
Its not a false positive!

Tracking is a serious problem but the good thing is there exists Software like Avast that blocks such crap.
If I wouldn't use an Adblocker this would be also blocked by Avast on my PC.

No, its not fixed.

Re: [Website] Security alert from Avast

PostPosted: Fri Feb 12, 2016 07:50
by TailsTheFoxDoes MT
I have AVG Zen and it never does this?
Or is this an old problem?
I have Opera as my main browser.
I had a problem which may seem unrelated but is, so it basically started saying my Rookit files had a virus, but what actually happened was that a virus was spreading and making AVG delete my system files, but, i had to set my computer back to factory specifications. So yeah it may be that it is some kind of virus that may make you have to set it back to factory specifications, but, warning, this deletes minetest,blender, and all those other programs including your browser, but i think a virus has infected your browser(s).

Re: [Website] Security alert from Avast

PostPosted: Fri Feb 12, 2016 18:59
by rubenwardy
addi wrote:Its not a false positive!

Tracking is a serious problem but the good thing is there exists Software like Avast that blocks such crap.
If I wouldn't use an Adblocker this would be also blocked by Avast on my PC.

No, its not fixed.


This is not tracking in the sense that everyone hates - the tracking that is used to make ads. All this tracking does is record the pages you go to, and what your OS etc is. Most of this info would be in the servers logs anyway.

The thing that Avast doesn't like is how the piwik backend is on another Web domain, so could have been injected by a man in the middle attacker.

Re: [Website] Security alert from Avast

PostPosted: Tue Mar 15, 2016 05:35
by DI3HARD139
I get the same exact warning. Avast follows the URL when scanning so it likely is digging deep to the host. I just added http://amun.inchra.net/* and http://irc.inchra.net/* to my Global URL Exception list to shut it up. Seems to be that anything with "Inchra" throws the warning. I used to have issues connecting to VanessaE's servers as it kept stopping the transfer of the data.

Re: [Website] Security alert from Avast

PostPosted: Tue Mar 15, 2016 06:32
by ShadowNinja
DI3HARD139 wrote:I get the same exact warning...

I've made some changes to the stats setup (uses stats.minetest.net, which has direct A and AAAA records to the server), and now Avast shouldn't have any idea that minetest.net has anything to do with anything InchraNet. Are you sure that you're still getting the warning without the exception?

Re: [Website] Security alert from Avast

PostPosted: Tue Mar 15, 2016 17:01
by DI3HARD139
Removing the exception and testing.

Re: [Website] Security alert from Avast

PostPosted: Tue Mar 15, 2016 17:13
by DI3HARD139
It's no longer giving a warning now.

Re: [Website] Security alert from Avast

PostPosted: Sat Mar 19, 2016 13:23
by srifqi
No warning for me too.