Forum Moderators: rogerd

Message Too Old, No Replies

Defending yourself from determined attacks by script kiddies?

         

boytheo

12:08 pm on Aug 15, 2005 (gmt 0)

10+ Year Member



Does anyone know how I can defend myself from a determined attack by a hacker?

See my earlier thread how my forum was hacked, mostly because I was using amazingly out of date PHPBB software. [webmasterworld.com...]

The "hacker" in question doesn't appear to be amazingly technically proficient. But he does seem to be determined. What with information from "real hackers" distributed around to script kiddies to copy from, this worries me.

A real hacker would have just done something trivial, like replaced a graphic, or something non-destructive. Something probably rude and annoying, but not something that's going to risk irreparable loss.

But this guy went a deleted most of the posts, and spent many hours defacing everything he could get his hands on. Totally obsessive. These posts that were deleted annoy me the most actually, because I've spent many hours over a year, writing them.

They were what I consider to be "inspired" posts, basically they were article-worthy. And he specifically targeted them to be deleted.

So anyhow, I have someone who is determined and obsessed with hacking my website.

I'll do what is the best approach:
1) Protect my website as best I can.
2) Don't respond to him, as that will only encourage him. The more he is ignored the quicker he'll disappear. (Unfortunately with a psycho like him, it may take a few months or worse.)

Point 1) is what I am most unsure about. What if he grabs tools to auto-generate passwords against my website? I'm using a web host (which I can't name due to forum rules), but they don't seem to give me the idea that they make an extra special effort to defend themselves from hackers.

They probably use standard tools in a standard security setting, whatever that is.

For example, what if he runs a password generator against my FTP? Or against my forum again? IE, just opens up a shell tool, points it at my website, and lets it generate millions of passwords, and leaves it running for a few years... I have a feeling I could be up against someone that obsessive.

Will my web host stand up against such an attack?

I think I'm going to have to start doing backups regularly to my computer at my house. This is really annoying me, because now this guy has gone and wasted MY time, which is exactly what he wanted to do. To annoy and inconvenience me and waste my time.

If I do have to do regular backups, I WANT it to be done automatically. I really do not want to have to manually every day go to this website of mine and go through their web-based interface and set stuff up.

I am a software developer, a shareware solo guy. I am NOT an admin. Us coders don't like doing repetitive admin stuff :( In fact we hate it, thats why we became software develoeprs.

Angelis

12:23 pm on Aug 15, 2005 (gmt 0)

10+ Year Member



Check with your hosting company if they take backups, I had something similar on one of my sites, they where also persistant deleting everything up to 7 times before they gave up, seemed to take them about 2 hours to deface everything and 2 minutes for me to replace it with backups.

Your host should be able to shed some light.

boytheo

12:23 pm on Aug 15, 2005 (gmt 0)

10+ Year Member



Just a bit of information that their "info panel" gives me. Apparantly my server is running Linux (no idea what version or distro, though).

Perl Version 5.8.1
PHP Version 4.3.10
Mysql Version 4.0.22-standard

Anything more than that, I'll have to ask from the company personally, via email or phone.

boytheo

12:26 pm on Aug 15, 2005 (gmt 0)

10+ Year Member



Anyone know a host which takes security seriously. A host that every hacker would not even bother trying to hack, because they know it would be a waste of time?

I'm considering moving to a host which takes security and professionalism seriously. But I don't know hosts so well. It's all very well reading what marketing will tell you, but marketing will tell you anything if it gets them a sale...

[edited by: rogerd at 2:34 pm (utc) on Aug. 15, 2005]
[edit reason] no email addresses, please [/edit]

boytheo

12:35 pm on Aug 15, 2005 (gmt 0)

10+ Year Member



Angelis,

What software/technique were you using that let you restore a backup so quickly?

PCInk

12:40 pm on Aug 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



For example, what if he runs a password generator against my FTP?

This is why you should have a complicated password. Use numbers and dashes as well as letters. If it is case sensitive, use upper and lower case. Avoid words in the dictionary.

The longer the password, the more of a pain it is to type in every time for you. But the more hassle it is for you to get in, the more hassle it is for anyone else.

Check your forum is up-to-date with any security patches available - he may be exploiting a known security problem with your site.

encyclo

1:05 pm on Aug 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



For the FTP password, PCInk says it best - a hard, non-dictionary word password with mixed case and non alpha-numeric characters is your easiest protection against a dictionary attack. That, and that if your host is in any way professional, they will be blocking persistent unsuccessful attempts to connect via FTP. Most hosting companies have seen it all, and are well-equiped. :)

On your side, the script itself is the greatest point of weakness - that is why keeping it up to date is so vital. It is very unlikely that your friend is a real hacker - he is undoubtedly just push-button implementing known exploits which have been published by others. This makes it easier to stay ahead - if you update your board within 24 hours of receiving notification of an update, you will be pretty safe. I started a thread a couple of months back covering the basics of securing phpBB, which you can see here:

[webmasterworld.com...]

Since that thread, phpBB has been hardened further - it has a so-so reputation for security, but its vulnerability is also due to its popularity. You might want to consider switching to a different forum package if you are concerned. The best alternative is vBulletin, although that is a $150 option. If you do a search here you will see dozens of threads extolling the virtues of different forum packages. :)

For automating backups, see if your hosting company admin panel has an option for "cron jobs". You can set an automated process to make a database backup at regular intervals. Otherwise, you will need to have SSH (command-line) access.

lovehealthsuccess

2:30 pm on Aug 15, 2005 (gmt 0)

10+ Year Member



How do you "do a search" on the site...or even by individual forum? When I try to search...I get a "access forbidden" message.

Thank you.

Angelis

2:33 pm on Aug 15, 2005 (gmt 0)

10+ Year Member



My servers have CPanel installed on them which has the option as part of the control panel, it saves sites, daily, weekly and monthly on a separate hard drive.

There is simply an option to restore backup...

Angelis

2:33 pm on Aug 15, 2005 (gmt 0)

10+ Year Member



The site that was attacked is a total of 8gb, takes about 4 seconds to restore it...

boytheo

3:30 pm on Aug 15, 2005 (gmt 0)

10+ Year Member



Angelis,

Can you tell me your web host in private, so that I can take a look at if it is good for me?

[edited by: jatar_k at 3:35 pm (utc) on Aug. 15, 2005]
[edit reason] emails in profiles thanks [/edit]

zulu_dude

10:10 am on Aug 17, 2005 (gmt 0)

10+ Year Member Top Contributors Of The Month



lovehealthsuccess, you can search the site by going into google and typing "site:www.webmasterworld.com your search term here" (without the quotes). This basically limits google's search results to results from WW.

So, to search WW for posts relating to the best forum software to use, you could type "site:www.webmasterworld.com best forum" (again, no quotes) into google and have a look through those results.

Hope this helps.

Gargen

10:39 pm on Aug 22, 2005 (gmt 0)

10+ Year Member



i modded my forum out pretty heavily so I have to update manually errrrr so i tend to procrastinate on that but im never more than a version behind write now im half through updating 2.0.17 so i guess im 2.0.16.5

BlackRaven

4:44 am on Aug 24, 2005 (gmt 0)

10+ Year Member



all PHPBB users should read THIS
[in-my-opinion.org...]

[edited by: rogerd at 10:11 pm (utc) on Aug. 24, 2005]
[edit reason] broken URL [/edit]