Forum hacked? - redirections from google search results

Started by cat11, October 22, 2009, 11:20:46 AM

Previous topic - Next topic

Kenny01

Listen to make things easy, create a new folder in your server and move all files that you suspect there and check again to see if it help.

[SAP]Francis

I never got redirected after clicking about 15 times.

Vehicles Forum

Founded By Francis Morissette

cat11

Kenny01 - Ok i'll try it tomorrow and see if it helps.

[SAP]Francis - It doesn't work every time, maybe you've tried in time when it works properly or maybe it works only for my country's connections. My firends who are living in another towns tried and there were redirected. Also Kenny01 was redirected as you can see below.

cat11

My host didn't respond because they were searching so long, I was told that one day log can be 1GB file (only with text) and that's the reason of so late contact. Anyway - they told me that there was suspicious FTP connection but it wasn't any brake in, someone normally logged in(possible break in to my PC).  I've changed all FTP passwords again and did the large update again

I don't know if it helped because at the first time just after upgrade I was redirected, later I wasn't and now I'm not. Maybe I'll just have to wait to check it.

They (host) told me that someone changed only files named:
index.***
main.***
configuration.***

I'll write here when I'll know something more.

cat11

weird... my host told me that even after I did the large upgrade in many files(that was overwritten) WAS MALICIOUS CODE so it's most probably that large upgrade files are corrupted too.  :o


If anyone of you can check it or ask SimpleMachines to check it please do it.

Aleksi "Lex" Kilpinen

If they are corrupted, they are corrupted on your computer. If in any change the package would be corrupted on sm.org, we would have heard about it by now.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

cat11

Yes you are right.

They had to be corrupted after overwritting. My host removed malicious code from remaining files and now works OK. I'll wait to see if it's permament.

cat11

YES!

It's OK

So for maybe I'll leave for the others that will have the same problem in future:

Problem is caused by mailcious script that(most often) hacks your PC and founds FTP password(to avoid this don't store your password in FTP client). Then he connects to FTP and adds to files his code.

Code is mostly at the beginning of the file as a long sequence of characters.

Mostly are corrupted files that name begins as:
Index
Main
Configuration


To solve the problem you'll need:

IMPORTANT: Change all FTP Passwords and don't store them on PC to avoid the same problem in the future and:

Or:
install Large Upgrade pack of files and overwrite files, then manually check all infected files and remove malicious code(some of files can have code)

Or:
perform new clean SMF install in the other folder and connect to it your database + settings.php file(warning: it'll probably have malicioys code at the beggining of the file so first you'll have to clean it up. Otherwise new forum can be also infected.)

Thats all, I'm sorry for any errors I might have made and my not to good language, maybe someone will find these advices useful.  :D

Aleksi "Lex" Kilpinen

The advice you gave looks good to me ;) Glad to hear you've been able to sort it all out. :)
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

cat11

Yes and many thanks to you and others who helped me, I wouldn't manage alone   ;D


Advertisement: