Hacking - I think I have been hacked From Online Manual

Revision as of 16:48, 21 January 2011 by Yoshi2889 (talk | contribs)
Jump to: navigation, search

I think I have been hacked, I'm not sure, how do I check?

The best way to check is to open up a few of the Source files (the files located in ./Sources) and see if there is any trace of base64_decode. If there is, there are a few utilities and steps that help users to recover their SMF installation. Another method is the kb_scan.php tool, which is explained later in this documentation.

I am sure I have been hacked...what do I do now?

First of all, keep calm. When the user has been hacked, there are a few simple steps he/she can perform.

  • Backup your database.

One of the most critical steps is to make backups of the whole SMF system, including the database. If the user has not yet made a backup of the database, he/she should do right now. If something goes wrong, you always have a backup at hand.

Simply upload this to the forum directory (the directory where SMF is located) via FTP (File Transfer Protocol, How do I use FTP?), and run it in the browser of the user's preference. The kb_scan utility will find infected files and will also try to recover them.

  • Re-upload SMF files.

Download a Large Upgrade Pack (Go to the download site) for the version of SMF that the user is running. Upload every file in the package, except the files required for upgrading (usually just Upgrade.php and a few SQL files), using FTP (How do I use FTP?, note that uploading may take a while). Now the user has fresh files and can use their forum safely again.

I have cleared my hacked SMF installation, how can I prevent this from happening again?

Using the kb_scan.php tool the user can keep their files safe. The user can also install a security modification (Go to the modification site) to enhance the forums security level. Depending on the modification's features this can be more or less active against hackers.