Results 1 to 10 of 41
-
26th Jul 2011, 06:21 PM #1OPMember
How to Stop Your WordPress Blog from Being Hacked
When i was looking in webmaster discussion for someone i can help
, i saw thread about wordpress security and i see similar threads here and in other forums so i said to myself why i don't make post here contain some information about wordpress security just for KWWHunction members and guests eyes .
Note:-
all the informations here i get by searching , i just did my homework
Why do hackers attack a website or blog?
Hackers attack your blog for so many reasons but the main one is because they want to hijack your Google ranking in order to promote (and increase) their own Google ranking. And as you can imagine, there are many different types of hacks. One of the most popular hacks is a Pharma hack where the hackers insert spam content into your site that is related to different types of medications. Other hacks are more obvious because they use adult content and software sales.
Although it’s usually obvious when a blog or website is hacked, there are times when you may suspect you’ve been hacked but just aren’t sure. Here are a few of the warning signs you’ve been hacked:
- Your Google Page Rank starts to drop for no apparent reason.
- Your blog loads more and more slowly (and you haven’t added a ton of plugins).
- You notice strange links on your website.
- Your Google webmaster tools show strange keywords to describe your site.
- You perform a Google search for your site, the results show titles and descriptions that do NOT describe your site, yet still have your URLs.
- Your website or blog traffic starts decreasing for no logical reason.
If you aren’t sure your site has been hacked (or just want to be sure), do a Google search for a spammy keyword like this keyword:yoursite.com. Try different spam keywords to make sure your site is clear.
1- Keep Your WordPress and WordPress Plugins Updated to the Latest Version
The latest version of WordPress always contains bugs fixes for any security vulnerabilities, therefore it is important to keep yourself updated at all times. The latest version is WP 3.2.1 (as of this post).
You can download it here.
2- Hide your WordPress version
A large number of WordPress themes include the WordPress version info in the meta tag. Hackers can easily get hold of this information and plan specific attack targeting the security vulnerability for that version.
To remove the WordPress version info, log in to your WordPress dashboard. Go to Design->Theme Editor. On the right, click on the Header file. On the left where you see a lot of codes, look for a line that looks like this
Code:<meta name=”generator” content=”WordPress <?php bloginfo(’version’); ?>” />
Most hackers know that ‘admin’ is the username and then they only have to guess the password. Make it twice as hard and change the admin username to something other than ‘admin’
Most WordPress templates will come with a link back to WordPress in the footer saying, "Powered by WordPress". If you don't want to get hacked, this absolutely has to go. It is used as a marker by hackers who query search engines to compile lists of WordPress sites. This is known as dorking; implying that people who leave such footprints on their sites are dorks. Removing this will probably stop you from getting hacked as your site will probably not be found once it is removed. If you would like to give credit to WordPress for making a free publishing platform in some other way, you could link to them on your about page. To remove the footer credit, open up
wp-content/(name of the theme you are using)/footer.php
and delete the link to WordPress.
Most WordPress templates will also come with a HTML tag in the head like this:Code:<meta name="generator" content="WordPress 3.2.1" />
To remove the meta generator, open up
wp-content/{name of the theme you are using}/header.php
and delete the meta generator tag.
WordPress also gives away which version you are using in the RSS feed with a generator tag like this:Code:<generator>http://wordpress.org/?v=3.2.1</generator>
To remove the RSS generator, open up wp-includes/general-template.php and search for the function called the_generator (around line 1858). It will look like this:
Code:function the_generator( $type ) {echo apply_filters('the_generator', get_the_generator($type), $type) . "\n"; }
Code:function the_generator( $type ) {#echo apply_filters('the_generator', get_the_generator($type), $type) . "\n"; }
you can run into serious trouble by installing plugins and using themes without checking them for malicious code. If you don't know PHP, I'd recommend only installing plugins and themes which are listed in the official WordPress directories
8-Encrypt your login
Whenever you try to login to your website, your password is sent unencrypted. If you are on a public network, hacker can easily ‘sniff’ out your login credential using network sniffer. The best way is to encrypt your login with the Chap Secure Login plugin. This plugin adds a random hash to your password and authenticate your login with the CHAP protocol.
Hackers can easily crack your login password and credential using brute force attack. To prevent that from happening, you can install the login lockdown plugin. This plugin records the IP address and timestamp of every failed WordPress login attempt. Once a certain number of failed attempts are detected, it will disable the login function for all requests from that range.
Make sure you use a strong password that is difficult for others to guess. Use a combination of digits, special characters and upper/lower case to form your password. You can also use the password checker on WordPress 2.5 and above to check the strength of your password.
Your wp-admin folder contains all the important information and it is the last place that you want to give access to others. Use AskApache Password Protect to password protect the directory and give access right only to authorized personnel.
If you go to your http://yourwebsite.com/wp-content/plugins, you can see a list of plugins that you are using for your blog. You can easily hide this page by uploading an empty index.html to the plugin directory.
Open your text editor. Save the blank document as index.html.
Using a ftp program, upload the index.html to the /wp-content/plugins folder.
Install the wp-security-scan plugin and perform a regular scan of your blog setting for any security loopholes. This plugin can also help you to change your database prefix from wp_ to a custom prefix.
14- Define user privilege
If there is more than one author for your blog, you can install the role-manager plugin to define the capabilities for each user group. This will give you, the blog owner, the ability to control what users can and cannot do in the blog.
No matter how secure your site is, you still want to prepare for the worst.
make sure you back up EVERYTHING, including your posts, comments, files, images, logos, template, links, and HTML coding. That way, even if your blog does get wiped out, you’ll have everything you need for quickly putting it back together.
The best plugin to do this is: Backup Buddy.
If you want free plugin :
Install the wp-database-backup plugin and schedule it to backup your database daily.
but i must warn you this plugin only backup the databaseBlackHatKnight Reviewed by BlackHatKnight on . How to Stop Your WordPress Blog from Being Hacked When i was looking in webmaster discussion for someone i can help :) , i saw thread about wordpress security and i see similar threads here and in other forums so i said to myself why i don't make post here contain some information about wordpress security just for KWWHunction members and guests eyes . :D Note:- Why do hackers attack a website or blog? How do I know if my blog or website has been hacked? Rating: 5
-
26th Jul 2011, 06:53 PM #2Member
Great article, + rep.
-
26th Jul 2011, 07:21 PM #3OPMemberGreat article, + rep.
i love when people reply to my threads , it makes me happy
-
26th Jul 2011, 07:37 PM #4
-
26th Jul 2011, 07:40 PM #5OPMemberExcellent article. +1
-
26th Jul 2011, 07:53 PM #6
-
26th Jul 2011, 07:56 PM #7Member
Excellent. Very informative.
-
26th Jul 2011, 07:59 PM #8BannedWebsite's:
HotWallpapers.me AustraliaFlood.net VirtualUpload.netThanks +1
-
26th Jul 2011, 08:07 PM #9OPMember
-
26th Jul 2011, 08:08 PM #10Member
Many thanks !!!
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Help my wordpress site Hacked!
By cyber-cliff in forum WordpressReplies: 8Last Post: 17th Feb 2012, 04:47 AM -
Staff Needed for wordpress blog (Happy-HDmovies.com/blog)
By happyvalentine in forum Community CooperativeReplies: 0Last Post: 8th Sep 2011, 10:41 AM -
My Wordpress Got Hacked..!!
By Mulana in forum Technical Help Desk SupportReplies: 9Last Post: 24th Feb 2011, 09:06 PM -
is it will be effect if i stop Trackbacks?from wordpress
By onel0ve in forum Webmaster DiscussionReplies: 1Last Post: 11th Dec 2010, 06:03 AM -
My wordpress blog got hacked
By discodancer in forum Technical Help Desk SupportReplies: 4Last Post: 27th Nov 2010, 04:56 PM
themaCreator - create posts from...
Version 3.46 released. Open older version (or...