vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=328118

Malware - popup ads
by digif
25 Jun 2020 15:35

Hi,

Recently I've noticed that when I click on the website, popup comes up, even though I never added such ads on the forum.

URL: beneamata.com

How can I find where the code was added and through where did they manage to do that?

Thanks in advance

--------------- Added 25 Jun 2020 at 21:35 ---------------

Ive upgraded version from 3.8.4 to 3.8.9, now there are no more popups, but I wanted to upgrade it to 3.8.11, it got stuck on 3.8.9 with the error:

Database error in vBulletin 3.8.9:
Invalid SQL:
ALTER TABLE adminlog CHANGE ipaddress ipaddress VARCHAR(45) NOT NULL DEFAULT '';
MySQL Error : Table 'elebocom_beneamata.adminlog' doesn't exist
Error Number : 1146
IP Address : IPADDRESS
Username :

Any ideas why?

--------------- Added 25 Jun 2020 at 22:59 ---------------

Ive created the table, everything is now fixed, I've upgraded to 3.8.11, no more malware popups. Thread can go on lock.

DCD.RB 29 Jun 2020 08:03

It sounds like they might have injected malicious code on the local php files themselves. When you upgraded, you replaced those files with original vB files.

I've seen this happen to wordpress sites.

I'd get your host to review your server to ensure it's not compromised.

digif 11 Feb 2021 19:40

Hi guys,

Malware came back, now I have no idea how to get rid of it. Is it possible it came through some of the plugins?

I've removed a folder called 'nav' which was full of files with strange external domains, but still popups are here. Files were called 'nmd sela something'.

Any help appreciated.

Dr.CustUmz 13 Feb 2021 06:04

Quote:

Originally Posted by digif (Post 2606169)
Is it possible it came through some of the plugins?

very likely, I browsed your forum and was unable to see any of these popups to pin point the ad (I dont use any adblockers)

If you could share a link to exactly where you are receiving these popups I could help.

digif 13 Feb 2021 14:33

Quote:

Originally Posted by Dr.CustUmz (Post 2606195)
very likely, I browsed your forum and was unable to see any of these popups to pin point the ad (I dont use any adblockers)

If you could share a link to exactly where you are receiving these popups I could help.

Homepage, click on the side (blue background, one left mouse click is enough).

Dr.CustUmz 14 Feb 2021 09:45

Quote:

Originally Posted by digif (Post 2606199)
Homepage, click on the side (blue background, one left mouse click is enough).

they are not appearing for me =/ I am also not receiving any blocked pop-up notifications, nor am I seeing anything in the console...

With that said this could be one of many issues:

You yourself could be infected with malware
You may have a malware infected browser extension (they're pretty common)
Or it may be a vBulletin product with ads injected and only visible to you (which in the sense of adding hidden ads to a product would make no sense, you would want as many viewers as possible to make any kind of profit)

Are any of your members reporting these popups?

I would register but I do not know Andrea's surname lol

digif 14 Feb 2021 10:37

Quote:

Originally Posted by Dr.CustUmz (Post 2606215)
they are not appearing for me =/ I am also not receiving any blocked pop-up notifications, nor am I seeing anything in the console...

With that said this could be one of many issues:

You yourself could be infected with malware
You may have a malware infected browser extension (they're pretty common)
Or it may be a vBulletin product with ads injected and only visible to you (which in the sense of adding hidden ads to a product would make no sense, you would want as many viewers as possible to make any kind of profit)

Are any of your members reporting these popups?

I would register but I do not know Andrea's surname lol

Maybe try few times clicking on the background of the homepage. I get them when I run Firefox Private Window as I have adblock on the normal one.

I'm not logged in, so I dont think its only for users. Also, I dont get it on other websites so its not malware on pc.

Forum is inactive now, but I want to keep it clean as an archive, so I dont get reports from other users. If you want to register, answer is 'Ranocchia'.

Thanks for trying to help.

Dr.CustUmz 14 Feb 2021 12:58

I have tried firefox, firefox private, chrome, chrome incognito, edge, and IE, all without adblocker. I'm just not getting any form of ads.

but what you can do when you see the ad inspect it in console.

Find the top most div of the ad, see where that is in your style, search the words in the html of the ad in your styles, plugins, ect.

snakes1100 14 Feb 2021 13:08

I'd agree with Dr., i've checked it as well.

Sometimes those ads are IP specific, which may be why you dont get every user complaining about it the popups.

It looks like you have some scanning/checking to do in your file system & db.

digif 14 Feb 2021 15:27

Quote:

Originally Posted by Dr.CustUmz (Post 2606220)
I have tried firefox, firefox private, chrome, chrome incognito, edge, and IE, all without adblocker. I'm just not getting any form of ads.

but what you can do when you see the ad inspect it in console.

Find the top most div of the ad, see where that is in your style, search the words in the html of the ad in your styles, plugins, ect.

I've recorded it:
https://screencast-o-matic.com/watch/crn2DZSwqm

Also, popup also comes up but after a while, so I didnt want to wait for it to record it.

snakes1100 14 Feb 2021 17:19

Check the last time this file was touched/edited file permissions etc

vbulletin_read_marker.js

https://www.beneamata.com/clientscri...rker.js?v=3811

It appears to be hacked & has code in it.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


digif 14 Feb 2021 17:32

Quote:

Originally Posted by snakes1100 (Post 2606237)
Check the last time this file was touched/edited file permissions etc

vbulletin_read_marker.js

https://www.beneamata.com/clientscri...rker.js?v=3811

It appears to be hacked & has code in it.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

It's weird, I can't find vbulletin_read_marker.js?v=3811, only the original one - vbulletin_read_marker.js

snakes1100 14 Feb 2021 17:35

Ignore the ?v=3811, thats just for caching for browsers.

Just check vbulletin_read_marker.js

digif 14 Feb 2021 17:45

Quote:

Originally Posted by snakes1100 (Post 2606245)
Ignore the ?v=3811, thats just for caching for browsers.

Just check vbulletin_read_marker.js

I've overwrote it with the original file from vB, you can check the file:
https://www.beneamata.com/clientscri...read_marker.js

snakes1100 14 Feb 2021 17:51

That file looks correct now.

Clear any caches & chk the home page issue.


All times are GMT. The time now is 18:09.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.