TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,230
  • Total Topics: 21,353
  • Online today: 445
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 306
  • Total: 306

i dont believe it i've been hacked again.. and running all latest

Started by Sc0rian, May 29, 2007, 07:47:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sc0rian

Hey guys,

last time i was on here, i got the best help ever.. you guys rule.. but i seriously dont believe it.. i logged onto my site and its been hacked again...

i have no idea how they hacked it, i can see ALL the files they've been playing with, for some reason all there edited files show 15,05,2007 as a date, also all the files they edited have a ~php copy..

in / they messed with
index.php
ssi.php

in sources they messed with:

errors.php
load.php
managepermissons.php
profile.php
security.php
subs.php

they didnt touch my theme folder but they touched:

default
classic
babylon

in the default they messed with the:

help template
index
display
PM

folders they messed with:

Smieys
Soruces
Packages
Themes
tp-images
wysiwyg
tp-downloads
FCK
avatars
upload

i cant see any damage in my sql file, but i really really need someone to have a look to make sure...


<font color="Black" size="9">HACKED By Comando was here</font></p>


:tickedoff:


seriously wtf?

i was running all latest software... this has happened twice in 1 month




IchBin

Are you running on a shared host? What information is your host giving you? If you're on a shared host, it very well could have NOT been you that was hacked, but another shared account which can infect all the sites on the server.

G6Cad

I dont think you been hacked through SMF or TP at all.
THe files you list up is actualy the most common files that TP and other mods change when you install through the package manager, and when the mods you install changes a file, the manage copy the original file and leave it with an .php~

If you look at the index.php file it's probably the only file thats been changed inside, and the code they have added to the index.php leads to the dated file with the content in it.

I have seen this before and that time it was the server that got hacked with some back door and all the index.php files were the only thing that got changed  :-\

Sc0rian

IchBin i am on shared hosting, also i dont think the account got hacked because i have about 5 other domains and they didnt get touched...

G6, i know about SMF doing the ~ thing, because about 5mins after writing i read laal.. really smacked myself in the head... it does look like they have only hacked the index.php again, but what is odd is ive lost all the TP front end, i believe TP was at fault.... so all they keep doin is changing my index.php and killin TP.. ill re-install it now..

Ben

IchBin

The first thing you need to do is report it to your host. Have them view the logs and tell you where they entered or how they did what they did.

G6Cad

Quotebut what is odd is ive lost all the TP front end, i believe TP was at fault.... so all they keep doin is changing my index.php and killin TP.. ill re-install it now..

When you replace the index.php in the forum root again, do you just grab a new file from the SMF package and send it up and replace the hacked one ?
If so, you need to add the TP code that have to be in there to before TP can load up ;)
The original SMF index.php does not contain the TP code needed to execute the TP mod

Skhilled

You might also want to run anti-virus and anti-spyware while in safe mode to see if you have any trojans on your pc. The trojans can harvest your passwords and the hacking process will continue...if there are any.

I know a few people who were hacked and that helped to stop it.

G6 is right. If the TP code is removed from index.php then TP will not work. Since the hackers either changed or replaced your index.php the code in their copy probably didn't have the TP code or they simply removed it.

Gargoyle

This was happening to my bro's site and it turned out to be the attachments settings in SMF were NOT set to check the extension. Once that was corrected we have not had an issue with his site since. Christain at Monte Carlo hosting helped me figure that one out.

It is worth looking into as apparently this is a known exploit in SMF forums among hackers. I do not know all of the details of how they do it but they just upload a file to the attachments directory and it executes itself, re-writes the index.php file and deletes itself.

Skhilled

Thanks for the info, Gargoyle! Christian is awesome! I use Monte Carlo hosting myself. ;)

Hmmm, pretty sneaky the way that works.

This website is proudly hosted on Crocweb Cloud Website Hosting.