XF 1.5Hacker keeps stealing money

Member

So around 7 months ago my site was hacked, I changed everything, reinstalled xenforo and got everything set up again. A few months after I noticed payments from my subscriptions going to another paypal "randydrew6@outlook.com" instead of mine which is "randydrew6@gmail.com" and so I contacted my hosting company and got them to fix it. Now I noticed that this past month i've made less money than I should of made, checking the logs it seems very seldomly to go to "randydrew6@outlook.com" still. Most of the time it will go to my paypal but 10% of the time payments go to this other paypal. What can I do to stop this from happening? I've tried contacting paypal in the past and they have refunded it and banned an older account that this happened on and when it happened with this outlook account they told me there is nothing they can do.

Well-known member

So around 7 months ago my site was hacked, I changed everything, reinstalled xenforo and got everything set up again. A few months after I noticed payments from my subscriptions going to another paypal "randydrew6@outlook.com" instead of mine which is "randydrew6@gmail.com" and so I contacted my hosting company and got them to fix it. Now I noticed that this past month i've made less money than I should of made, checking the logs it seems very seldomly to go to "randydrew6@outlook.com" still. Most of the time it will go to my paypal but 10% of the time payments go to this other paypal. What can I do to stop this from happening? I've tried contacting paypal in the past and they have refunded it and banned an older account that this happened on and when it happened with this outlook account they told me there is nothing they can do.

I've changed all admin passwords and there are no mods, I've removed super user from only me and also require a phone verification to login to my account. ".htaccess password protection" can you link me as to where I can figure out how to do so?

Well-known member

I've changed all admin passwords and there are no mods, I've removed super user from only me and also require a phone verification to login to my account. ".htaccess password protection" can you link me as to where I can figure out how to do so?

If there are no addons installed on your forum I'd suggest you the following:
- Make sure you reinstalled the forum by deleting all previous files.
- Are you using the default XenForo style?
If you weren't using another style rather than the default one, you never installed addons on your forum, you don't have any other script or platform like Wordpress on the same domain (which could have a security issue) and no one else had access to your files I'd make sure to check if you hosting company is trustworthy

XenForo developer

If an attacker has gained access to the point where files are edited, absolutely everything must be considered tainted. You can use the file health check to see if there are core files that may have been edited, but this is not conclusive as it doesn't cover custom files and it won't cover things in "user" directories (data and internal_data). It also sounds like he's edited at least one template. Effectively, it sounds like he gained full control.

The ideal approach in this situation is basically a rebuild. This might be viable using a XenForo-to-XenForo import (which means you wouldn't maintain your old files or database, only bringing across what the import brings), but this will cause some data and configuration loss. If you have add-ons, it's likely none of them will be maintained.

If that's not viable, you can try to audit manually to remove any changes made, but this likely won't be trivial.

Member

If an attacker has gained access to the point where files are edited, absolutely everything must be considered tainted. You can use the file health check to see if there are core files that may have been edited, but this is not conclusive as it doesn't cover custom files and it won't cover things in "user" directories (data and internal_data). It also sounds like he's edited at least one template. Effectively, it sounds like he gained full control.

The ideal approach in this situation is basically a rebuild. This might be viable using a XenForo-to-XenForo import (which means you wouldn't maintain your old files or database, only bringing across what the import brings), but this will cause some data and configuration loss. If you have add-ons, it's likely none of them will be maintained.

If that's not viable, you can try to audit manually to remove any changes made, but this likely won't be trivial.

Is this what you mean? I've contacted my server staff and they responded with the following:

Hello dear Randy,
Our tech stuff has found PHP file in a framework of you set up Xenforo with an outlier code, which made transfer torandydrew6@outlook.com.
We corrected the code, and prohibited to change this file. Please follow your payments and tell us if everything is working promptly!

We advice you to move to a new vps with new OS, with newest Xenoforo version, the data from your forum must be transferred manually(in order not to transwer previous weak points from your vps) Our tech stuff is able to help you with relocation of your vps.

Preparation of vps(OS,Web soft,Xenoforo+ help with manual data transfer) -50$