Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / General Questions / Remove old threads to stop hackers

Remove old threads to stop hackers

Locked

Started by ellis200200 on 21 Nov 2006, 6:50 PM · Views: 2,441

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
21 Nov 2006, 6:50 PM
#1
ellis200200 avatar

ellis200200

Zen Follower

Join Date:
Jul 2006
Posts:
127
Plugin Contributions:
0

Remove old threads to stop hackers

Hi All

is there any way i can remove old threads from the forum.
I have been working on my site for 5 months and it was hacked this morning and they left some nasty virus's.
Unfortunately the only place the URL is available is on this forum so i would like to remove these threads if possible.
It's a shame as the zen cart team and other forum users have been a very helpful in the development of my store
So if anyone knows how to remove my old threads please let me know.
Thanks.
Andy

22 Nov 2006, 1:12 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Remove old threads to stop hackers

You really want to upgrade your site if you got hacked ...

Was the hack actually done via Zen Cart code? Or via other code on your site or someone else's site on the same server that you are on?

What version Zen Cart are you running?

If not v1.3.6, have you applied all of the security fixes and patches for your old, out of date, unsecure code?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

22 Nov 2006, 8:13 AM
#3
ellis200200 avatar

ellis200200

Zen Follower

Join Date:
Jul 2006
Posts:
127
Plugin Contributions:
0

Re: Remove old threads to stop hackers

Hi Ajay

Sorry for the delay (sleep needed)

I have upgraded to v1.3.6.

i was running v 1.3.0.2 and applied the Dr's security fixes.

i contacted my server and they said its not from there end (they would though)

I'm just trying to cover all my bases as the last thing i want is to go live, soon i hope, and a potential customer to get bombarded by virus's and foul language

So i would like to remove any reference to my URL if possible

I would also like to say that I'm not having a dig at Zen cart in any way at all. I have no bad words to say about the software or support provided.

It's the mindless idiots out there have nothing better to do than try to ruin a lot of hard work done by both the person building there site and the team at Zen Cart.

Thanks
Andrew

22 Nov 2006, 8:37 AM
#4
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Remove old threads to stop hackers

Sorry to hear about your troubles, Andy, but it's not likely your URL will be removed from this, or any other, Forum. Don't worry too much though. Odds are you've already removed the hacked files and things are back the were they were.

When you say, "My site was hacked.", are you referring to ZenCart, phpBB, or your main site; if not one of the two mentioned? Although hackers can get in through various methods, good security on your part and especially your Hoster, can prevent many bad things from happening.

The learning is in the doing.

Potent Products

22 Nov 2006, 8:58 AM
#5
ellis200200 avatar

ellis200200

Zen Follower

Join Date:
Jul 2006
Posts:
127
Plugin Contributions:
0

Re: Remove old threads to stop hackers

Hi Rob

Two Files were added to my admin files as index html files.

I think I have them all.

I'm hoping the security fixes in v1.3.6 will help.

It's just devastating to log on to you admin section find you have had 85 hits from fool who just wants to mess with you hard work.

I'm going to go over it again just to make sure that I got all there handy work

Thanks
Andrew

22 Nov 2006, 9:11 AM
#6
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Remove old threads to stop hackers

Andrew, if you are using a default install, you can safely delete "everything" in your ZenCart directories. Then you just reupload the files from your computer. That is the quickest and surest way, to get rid of any unwanted files.

If you are using a custom setup (template overrides) you should already have current backups of those files. Reuploading those should put you back to where you where before all this started.

Note: two files you should make sure you have correct backups of are:
includes/configure.php
admin/includes/configure.php

The learning is in the doing.

Potent Products

22 Nov 2006, 9:16 AM
#7
ellis200200 avatar

ellis200200

Zen Follower

Join Date:
Jul 2006
Posts:
127
Plugin Contributions:
0

Re: Remove old threads to stop hackers

Hi All

Just been looking for how I was hacked.

It seems these people have a liking for Zen cart sites.

spygrup.org/showthread.php?t=9594

There is a list of sites they are messing with.

I have no idea what to do about this and as I seem to be written in Russian I can't make out what there about

If you’re not running a good security system don’t click on any of the links as you’re gonna get bombarded with virus’s

Anyone know what I can do about them?

Thanks
Andrew

22 Nov 2006, 9:25 AM
#8
ellis200200 avatar

ellis200200

Zen Follower

Join Date:
Jul 2006
Posts:
127
Plugin Contributions:
0

Re: Remove old threads to stop hackers

Hi Rob
Running custom and Template overrides are backed up. Learnt that lesson the hard way
Good idea I will do that just to be sure

Thanks
Andrew

22 Nov 2006, 9:40 AM
#9
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Remove old threads to stop hackers

ellis200200:

Hi All

Just been looking for how I was hacked.

It seems these people have a liking for Zen cart sites.

spygrup.org/showthread.php?t=9594

There is a list of sites they are messing with.
Good catch. Unfortunately, http://www.zencart.org/images/ seems to be one of them. Would've sent an eMail to a Contact address instead of posting it in this thread, but this site doesn't seem to have any Contact addresses?

The learning is in the doing.

Potent Products

22 Nov 2006, 9:55 AM
#10
ellis200200 avatar

ellis200200

Zen Follower

Join Date:
Jul 2006
Posts:
127
Plugin Contributions:
0

Re: Remove old threads to stop hackers

Hi Rob

So any idea what can be done about them?

Thanks
Andy

22 Nov 2006, 10:33 AM
#11
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Remove old threads to stop hackers

For our Clients, I usually setup extra security while still making it easy for using whatever script. This, along with our Server-wide security, makes it hard for bad things, security wise, to happen within their account.

For others, I can only suggest they follow these security steps and speak with their Hoster, about beefing up security for their account. Scripts such as; ZenCart, osCommerce, e107, and many others, require very open settings on the front-end so that ease-of-use is provided within the back-end or Admin section.

Perfect example is an images dir. Almost every type of the previously mentioned scripts require the 'images' dir. to have permissions of 777 -- so that one can use the 'images' dir. from within the Admin section. Currently, it requires using 755 permissions when not using it and changing to 777 when working in the Admin section, for uploading or working with images. Then, when finished, you change permissions back to 755; the default setting and very secure.

Trouble is, most people forget to change permission back to 755 and thus, it is only a matter of time till they remember and change it or some hacker finds it wide open and abuses it.

The learning is in the doing.

Potent Products

22 Nov 2006, 10:40 AM
#12
ellis200200 avatar

ellis200200

Zen Follower

Join Date:
Jul 2006
Posts:
127
Plugin Contributions:
0

Re: Remove old threads to stop hackers

Thanks Rob

In honesty I have been a little lax with the permissions as the site is not live.
But the hackers don’t seem to be that bothered if it’s live or not
Again thanks for all your help
Andy

25 Nov 2006, 2:15 AM
#13
ca18 avatar

ca18

New Zenner

Join Date:
Jun 2006
Posts:
20
Plugin Contributions:
0

Re: Remove old threads to stop hackers

Website Rob:

...
Perfect example is an images dir. Almost every type of the previously mentioned scripts require the 'images' dir. to have permissions of 777 -- so that one can use the 'images' dir. from within the Admin section. Currently, it requires using 755 permissions when not using it and changing to 777 when working in the Admin section, for uploading or working with images. Then, when finished, you change permissions back to 755; the default setting and very secure.
Now that zencart.org/images seems to be "hacked into" edited, please explain how anyone can upload anything at all to any directory with no scripts inside no matter what the permissions are??! Answer is: you possibly couldn't, nor can anyone else, because it's not possible. Because apache itself doesn't upload anything by itself at all, a "program" or script(like ZC) is required first to begin with! In other words: ZC is bugged since this is not the first time such "(picture-)vandalism" etc is reported and going on. If it was just for the permission(s) then ZC itself could change them(back) when/as required during file-upload or deletion etc ... Anyway, the hole thing really sux now, and I guess the ZC-developers not only ought to address this issue IMMEDIATLY but also owe everyone a better explanation than is currently to find under section 9) (and also 6))of the you-know-what secure-your-cart-"GUIDE", it's NOT just permissions that cause something like this thats far-fetched, unsubstantiated or better ... simply bollox ... :mellow: :shocking::cry:

3 Dec 2006, 2:48 PM
#14
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Remove old threads to stop hackers

ca18, posting a reply to you is mostly a futile effort, as you appear to have a sinister agenda far beyond being genuinely concerned about security or being empathetic to a legitimate issue. Your numerous other negatively-toned posts essentially disqualify the majority of your arguments, as they demonstrate tyranny rather than beneficial to the community at large.

Nevertheless, for the sake of those reading this thread, it's worth pointing out that:
any folder that is chmod 777 is vulnerable on a shared-hosting server if any other account on that server gets hacked via any vulnerability.

For the record, the single hacked index.html file in the images folder of the zencart.org site was completely unrelated to any security vulnerability in Zen Cart. There are a number of ways to prove this if it were necessary, but frankly, it's none of your business. :smartass:

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.