PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Plasma
New Member
New Member


Joined: May 17, 2005
Posts: 10

PostPosted: Tue Jun 09, 2009 9:48 am Reply with quote Back to top

Woke up this morning with a website that didn't work. After investigating, somehow someone added code to every index.php file. The code is:

Image


after removing that code, the site worked fine.

so my questions are: what is it and what will it do and more importantly, how do I find out who did it?

thx for any ideas.
View user's profile Send private message
ToolBox
Regular
Regular


Joined: Mar 16, 2005
Posts: 74

PostPosted: Tue Jun 09, 2009 11:42 am Reply with quote Back to top

That hacking happens in system level not phpnuke level.
Very recently, those types of hackings are full across the planet.

First off, such types of hacking is not possible to change your files directly from php engine but it happens in /tmp/ files and SSH hack.

Similar hacking is online casino spams. This online casino spmmers are really and deadly cirtical. If your server or hosting directory has some odd php file names in hidden mode such as cas.t.ph, p.ost.php etc, they are all parasited spammers and your hosting or your email ccounts exposed within your site will be reported as abusive spmmers.

Primarily, your hosting services are in charge.
Secondly, you may change 644 permission on all index.html file. (if your server account got hacked, this does not work).
Thirdly, put .htaccess.

Now, I would like you to open raw logs of your apache or any types of web-server engine. Find ips that scratched your files. and put C class IPs in your .htaccess.

I wrote under an assumption that you are running *NIX mahines. Windows servers are more or less different.
View user's profile Send private message
ToolBox
Regular
Regular


Joined: Mar 16, 2005
Posts: 74

PostPosted: Tue Jun 09, 2009 11:44 am Reply with quote Back to top

online casino IPs are captured and reported in security sites.
So, find them and add blocking IPs in your web-server engine. That is not related with your nuke.
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Tue Jun 09, 2009 7:07 pm Reply with quote Back to top

Looks like someone tried to put their Google Analytics code all over your pages. You'll need to go through your server access logs to determine how this guy got in
View user's profile Send private message Visit poster's website
Plasma
New Member
New Member


Joined: May 17, 2005
Posts: 10

PostPosted: Wed Jun 10, 2009 2:58 pm Reply with quote Back to top

evaders99 wrote:
Looks like someone tried to put their Google Analytics code all over your pages. You'll need to go through your server access logs to determine how this guy got in



how do I find this out using the logs?

my index.php file always has 644 permissions. can I change that to 444?
View user's profile Send private message
Plasma
New Member
New Member


Joined: May 17, 2005
Posts: 10

PostPosted: Wed Jun 10, 2009 3:10 pm Reply with quote Back to top

okay, found this in one file:

HackeD By ChaLLenGer

anyone know this guy so I can ram my foot down his throat Wink
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1435
Location: North Carolina

PostPosted: Wed Jun 10, 2009 3:23 pm Reply with quote Back to top

I had a similar situation a while back on a server that was not well protected. They uploaded the files through
Only registered users can see links on this board!
Get registered or login to the forums!
Before I switched servers, I changed all my control panel and ftp usernames and passwords using random combinations of numbers and letters changing to uppercase and lowercase. I did not get hacked again.
View user's profile Send private message Send e-mail Visit poster's website
montego
Former Admin in Good Standing


Joined: Aug 29, 2004
Posts: 9070
Location: Arizona

PostPosted: Wed Jun 10, 2009 7:19 pm Reply with quote Back to top

yeah, sounds like you may need some help from your host too to find out how they got in and how to secure the server. I know that I am not supposed to "hate", but I sure wish these jokers would find something good to do with their skills. Sad
View user's profile Send private message Visit poster's website
Unit1
Worker
Worker


Joined: Oct 26, 2004
Posts: 134
Location: Boston

PostPosted: Wed Jun 10, 2009 8:38 pm Reply with quote Back to top

montego wrote:
yeah, sounds like you may need some help from your host too to find out how they got in and how to secure the server. I know that I am not supposed to "hate", but I sure wish these jokers would find something good to do with their skills. Sad


I agree
View user's profile Send private message
Plasma
New Member
New Member


Joined: May 17, 2005
Posts: 10

PostPosted: Sat Jun 20, 2009 9:28 am Reply with quote Back to top

server host won't do anything (lunarpages.com)..

also, the hacker has changed the script:

Image


isn't there anything I can do to track who is doing this?


also, it looks like it's some sort of script that does all the index.php files at the same time. he also hacked into a auth.php file
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1435
Location: North Carolina

PostPosted: Sat Jun 20, 2009 9:50 am Reply with quote Back to top

Do you have a folder in your root file system that is not a part of RavenNuke? One that was put there by the hacker? Compare your directory and see if that is how they are attacking your site.
View user's profile Send private message Send e-mail Visit poster's website
bdmdesign
Worker
Worker


Joined: May 11, 2009
Posts: 151
Location: Winsen/Luhe; Germany

PostPosted: Tue Oct 13, 2009 3:35 am Reply with quote Back to top

Plasma wrote:
Woke up this morning with a website that didn't work. After investigating, somehow someone added code to every index.php file. The code is:

Image


after removing that code, the site worked fine.

so my questions are: what is it and what will it do and more importantly, how do I find out who did it?

thx for any ideas.


Change ALL your Passwords on your Server (root, user, database and the RN) like this:

N%gt638Dmls!hDrg645mlH

or this:

Ngt638DmlshDrg645mlH

DONT use Names and Names Numbers Combinations !!!!!

Best Regards

Peter
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Tue Oct 13, 2009 2:31 pm Reply with quote Back to top

bdmdesign,

Great advice Wink !
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
bdmdesign
Worker
Worker


Joined: May 11, 2009
Posts: 151
Location: Winsen/Luhe; Germany

PostPosted: Tue Oct 13, 2009 5:07 pm Reply with quote Back to top

@ Raven:

thanx, the most People use unsafely Passwords like this:

cabonara, cabo1856nara, 45cabonara56


Best Regards

Peter
View user's profile Send private message Visit poster's website
slackervaara
Worker
Worker


Joined: Aug 26, 2007
Posts: 234

PostPosted: Tue Oct 13, 2009 10:20 pm Reply with quote Back to top

Read about how hackers with spyware on your PC, can find out your ftp-password and then introduce scripts on your site that modifies index.php:
Only registered users can see links on this board!
Get registered or login to the forums!


I have stopped this possibility by using KeePass Professional to encrypt my usernames and passwords and I don't use FileZilla anylonger, but instead the web hotels Ftp-program from the controlpanel that is secured.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum