HTML
 Computer >> コンピューター >  >> プログラミング >> HTML

最適な WordPress セキュリティ チェックリスト [究極のガイド]

WordPressサイトを保護したい場合は、オンラインで多くのアドバイスを見つけることができます。その中には良いものもあれば、善意ではありますが完全に有害なものもあります.

WordPress のセキュリティに関して言えば、ソースを信頼し、信頼できるだけでなく、実行可能で適用可能な情報を見つけることができる必要があります. 2020 年だけでも、マルウェア攻撃は 150% 以上増加し、その数はすぐに減速するようには見えません。したがって、WordPress サイトを保護することが最優先事項である必要があります。

WordPress サイトを保護する最善の方法は、セキュリティ プラグインをインストールして面倒な作業を任せることです。ただし、それがなくても、以下で説明する WordPress セキュリティ チェックリストに従うことで、Web サイトを大幅に保護することができます.

TL;DR: MalCare で WordPress サイトを保護し、定期的なセキュリティ関連のメンテナンスを回避します。 WordPress のセキュリティは、パッチを適用する必要があるギャップの迷路です。 WordPress のセキュリティ チェックリストを参照して、重要な情報を見逃さないようにしてください。

WordPress サイトを保護する最も簡単な方法

前述したように、WordPress サイトを保護する最善の方法は、セキュリティ プラグイン、特に MalCare を使用することです。 MalCare は、WordPress のセキュリティ チェックリストを自動的に処理するだけでなく、細部まで追跡することを心配する必要がありません。

MalCare には、サイトを安全に保つために連携するいくつかの機能があります。しかし、上位 3 つの機能 (スキャン、ファイアウォール、クリーンアップ) により、サイトをマルウェアから保護できます。 MalCare を使用すると、WordPress サイトで自動スキャンをスケジュールし、疑わしいものが検出された場合にアラートを受け取ることができます. MalCare はまた、ほとんどの攻撃を防ぐインテリジェントなファイアウォールでサイトを保護します。そして最も重要なことは、もしあなたのサイトがハッキングされた場合、絶対確実なサイトは存在しないことを考えると、MalCare はボタンを 1 回クリックするだけで数分以内にサイトをクリーンアップします。

最適な WordPress セキュリティ チェックリスト [究極のガイド]

MalCare を選択する必要があるもう 1 つの理由は、手動のセキュリティ対策では常に人的ミスの可能性があることです。しかし、セキュリティのエラーは、数ドル以上の損害をもたらす可能性があります。ハッキングが悪化すると、データの盗難、ウェブサイトの改ざん、顧客の喪失、そして最も重要なことに、ビジネスが被る信頼の喪失につながる可能性があります.

究極の WordPress セキュリティ チェックリスト

WordPress サイトには非常に多くの要素があり、すべてを追跡するのは大変です。タスクを処理する必要がある頻度に基づいて、WordPress のセキュリティ チェックリストをまとめました。

毎日のセキュリティのために

Web サイトのセキュリティは継続的なプロセスであり、1 回限りの取り組みではありません。しかし、日常業務を自動化する方法はいくつかあります。これらのタスクにより、予期しない問題や脅威からサイトを確実に保護できます。

サイトをスキャン

マルウェアがないかサイトを毎日スキャンすることが重要です。 Web サイトはインターネット上で 38 秒ごとにハッキングされており、あなたがその 1 人である可能性は十分にあります。サイトを定期的にスキャンすることで、サイト上の脅威やマルウェアを最初に認識し、攻撃者がサイトに損害を与える前に対策を講じることができます。

最適な WordPress セキュリティ チェックリスト [究極のガイド]

毎日手動でサイトをスキャンするのが面倒な場合は、毎日自動スキャンをスケジュールできる MalCare などのセキュリティ ソリューションを選択できます。 .

ウェブサイトをバックアップ

WordPress Web サイトをバックアップする必要がある理由はいくつかありますが、その中で最も重要なのはセキュリティです。マルウェアが時間内に検出されない場合、WordPress サイトに大混乱を引き起こし、その結果、データの損失や Web サイトの改ざんにつながる可能性があります。多くの場合、Web ホストは、感染したサイトをサーバーから削除します。サイトの独立したバックアップがない限り、最初からやり直す必要があります。

価値の高い Web サイトを毎日バックアップして、重要なものが失われないようにすることが重要です。これは、リアルタイムのバックアップが必要な WooCommerce サイトに特に当てはまります。 BlogVault のような便利なソリューションを使用すると、このプロセスが非常に簡単になります。 BlogVault を使用すると、要件に応じて毎日またはリアルタイムでバックアップをスケジュールし、これらのバックアップを外部サーバーに保存して、Web サイト サーバーがハッキングされた場合でもバックアップを安全に保つことができます。

毎月のセキュリティについて

アクティビティ ログを確認

マルウェア、アドウェア、またはその他の種類の悪意のあるプログラムのハッキングおよびインストールは、通常、秘密裏に行われます。多くの場合、目に見える唯一の痕跡は、サイトのアクティビティ ログ、つまり実行されたアクティビティと行われた変更の時系列の記録です。そのため、サイトのアクティビティ ログを毎月チェックして、矛盾や疑わしいアクティビティがないかどうかを確認することをお勧めします。これは、サイトがハッキングされた場合に、関与した IP アドレスやハッキングがどのように発生したかなど、多くの重要な詳細を追跡するのに役立ちます.

最適な WordPress セキュリティ チェックリスト [究極のガイド]

あなたのサイトが生産性の高いサイト、つまり毎日または毎週コンテンツを公開している場合、サイトには多くの変更があるため、月に 1 回アクティビティ ログをチェックするのは大変なことになるかもしれません。その場合、アクティビティ ログは週に 1 回または 2 週間に 1 回確認できます。

WordPress はデフォルトでアクティビティ ログを提供しないため、プラグインに依存する必要があります。または、MalCare は完全な WordPress セキュリティとともに、詳細でわかりやすいアクティビティ ログを提供します。

ウェブサイトを更新

理想的には、新しい更新がリリースされたらすぐに WordPress サイトを更新する必要がありますが、毎月の更新を実行することも同様に機能します.毎月の更新スケジュールを守ることで、サイトが十分に保護され、新しい脆弱性にパッチが適用されていることを確認できます。

更新は、サイトを壊すことが知られているため、しばしば恐ろしいものです。しかし、BlogVault のようなプラグインを使用すると、ステージング サイトで更新をテストし、変更をライブ サイトにシームレスにマージできます。

Search Console を確認

WordPress サイトを Google の Search Console に追加すると、SEO 関連のメリットが数多くありますが、サイトのセキュリティにも役立ちます。 Google’s Search Console has a Security Issues tab that flags any malware it detects on your site, so checking it from time to time can help you detect malware.

最適な WordPress セキュリティ チェックリスト [究極のガイド]

If you scan your site with MalCare regularly, you will have already detected the malware on your site. But it is still a good practice to see if Google thinks there is any suspicious activity ongoing on your site.

Remove unused themes and plugins

Removing old and unused themes and plugins serves two purposes. The first is to speed up your site, as too many files can cause bloat and server slowdowns. The second is to make sure that your site cannot be attacked through them. Unused themes and plugins are often ignored and not updated, creating vulnerabilities that can be easily taken advantage of. So make sure to run a monthly check on all the themes and plugins you use and remove those that have served their purpose.

Note:Also check for any fake plugins on your site. Malware is often hidden as a plugin folder but fake plugins only have one or two files, can’t be located on the WordPress repository and have weird names like ‘azzz’ or ‘tiff’.

Update your credentials

Using the same credentials for too long or reusing them across multiple accounts is a major risk. To protect your WordPress site, update your passwords at least once a month. This ensures that any hacker who may have acquired your password cannot use it, and it also logs you out of your account on all devices. While slightly inconvenient, it ensures that you can control access to your website.

Check user roles and privileges

The user accounts on your WordPress site are as important as the admin account. If a hacker gets access to any account, they can infect your site, upgrade their role privileges, and even lock you out of your own site.

Make sure that every user on the site has only the necessary privileges, and old user accounts are deleted. Also check if any user privileges have been escalated without your authorization, it could be a sign of malware.

Block malicious IPs

Blocking or restricting malicious IPs can make life significantly easier for you. If you are getting hacked, you can trace the IP address it’s happening from, and simply block it. This stops anyone with that IP address from accessing your site. This method is used to combat hackers, stop bots or trolls, and keep unauthorized users out. If you use a firewall, it will automatically block malicious IPs for you.

You can also block an entire geographical area, if you are experiencing repeated attacks coming from the region.

Test your backups

If the worst should happen and your WordPress site goes down, you can rely on your backups to get it up and running again. But you need to make sure that your backups are safe as well. In case your backups have already been hacked, restoring them will be pointless. Similarly, you also need to test if they’re functional, or else you’ll be restoring a broken site. You can test your backups easily if you use BlogVault, and make sure that they are reliable.

Update WordPress salts

WordPress uses salts as part of its encryption process. A salt is a random string of characters that is added to a password before encryption. The resulting string is a hash, and that is what is stored in the database. That way, if a hacker is able to get the hashed passwords out of the database, AND decrypt them, they still don’t know what part of the password is actually the password and what is the salt. The only way they would know this is if they get access to the salts and security keys in the config file.

It is similar to how passwords are stored in browser cookies. The reason you can stay logged into any site is that the session information is stored in cookies. But if plaintext passwords were stored there, it would be dangerous. So WordPress stores the salted and hashed version instead. Having access to the salt doesn’t mean you can decrypt hashes, but it does reduce the level of security. Therefore, it is important to updates your WordPress salts periodically.

For long term security

Check SSL

SSL is a security protocol designed to encrypt any communication to and from your website server. This stops attackers from accessing, reading, or changing any information that is being transferred.

Usually, you secure your site with SSL when getting your domain or hosting plan. However, SSL certificates expire approximately every two years, and you need to ensure that it is renewed at the earliest. This is doubly important if users perform transactions on your website, as any security breach can lead to credit card details or bank account details getting leaked.

Check hosting plans

If you forget to renew your hosting plan on time, your WordPress account will be suspended. This can cause a number of issues. Your site traffic will take a hit, you’ll lose customers, and you might even wind up losing data. Checking your hosting services regularly also allows you to analyze your site traffic and server usage. Overly high server usage is a common symptom of a brute force attack, and catching such attacks earlier stands a better chance of stopping them. When you are alerted to a brute force attack early, you can act and secure your site before the hackers gain access to your site.

One-time measures for complete security

While WordPress security needs to be reviewed constantly, there are some measures that you can take once and not have to update constantly.

Invest in a strong firewall

A firewall protects your WordPress site by filtering out malicious traffic, and stopping most attacks before they can infect your website. There are several kinds of firewalls, like web application firewalls, network firewalls, or cloud-based firewalls. A strong web application firewall such as MalCare’s allows you to filter your website traffic, and block visitors by the number of login attempts or geographic location.

Implement HTTP Authentication

HTTP Authentication is a protocol that allows access to a web resource only to those who are meant to access it. HTTP authentication restricts access by asking for a username and password when a certain web page is requested. Now obviously, you cannot do this for your entire website, but implementing it for your admin dashboard or login page can significantly reduce the number of bot attacks.

Use Two-Factor Authentication

Two-factor authentication is a method that requires a user to present two separate keys to access an account. For example, if you are trying to access your email, usually you need to provide the username and password, but when you implement two-factor authentication, you will also have to provide a key that is created in real-time such as a one-time password or PIN. This lowers the number of login attempts and does not overwhelm your website server with login requests. It also protects your website against brute force attacks. You can use a plugin like 2FA to enable two-factor authentication for your site.

Limit login attempts

We’ve already talked about how login attempts need to be limited. WordPress, by default, allows unlimited login attempts, and this offers a ripe opportunity for hackers to try accessing your WordPress account with brute force attacks. The easiest way to limit login attempts is to use a security plugin like MalCare, or you can add custom code to your function.php file.

Disable XML-RPC

Similar to WP REST API, XML-RPC is a WordPress feature that allows you to publish content remotely. It is useful if you use the WordPress app or need to enable trackbacks and pingbacks but otherwise, it can be exploited by hackers to gain access to your site through brute force attacks. The easiest solution here is to disable it with a plugin or manually.

Disable Directory Browsing

When your server doesn’t find an index file for a website, it shows an index of the contents of the directory. If a hacker can access this information, they can check if you have any files that are vulnerable on your website. This opens your website to major security risks.

In order to avoid this, you can disable directory browsing by adding a line of code to your .htaccess file. Follow these steps to disable directory browsing on your WordPress site.

  • Download the .htaccess file on your site through an FTP client.
  • Open the file and add the following code to the bottom of the file:

Options All -Indexes

  • Now save the file, and reupload it. You will have to delete the original file from your site first.

Restrict File Permissions

The file permissions on your site determine who can access what parts of your site and who can modify them. Usually, your web host configures all of this information for you. But it is still a good practice to understand file permissions and ensure that they are configured optimally.

If you want to understand how file permissions work and how you can optimize them for your site security, go through our guide which is detailed and beginner-friendly.

Hide wp-config file

The wp-config file on your website is full of sensitive information such as passwords, keys, and salts. If hackers gain access to the file, it will be like rolling a red carpet to the website for them. The wp-config file is located in the public_html folder by default, so hackers know where to look for it. But you can change the location of the file, and it still functions just as well, while hiding sensitive information effectively.

Disabling PHP Execution in Specific Folders

Hackers can upload PHP files on your site disguised as core WordPress files and gain access to your site. Some folders like wp-uploads shouldn’t have PHP files at all. So what do you do in this case?

You can disable PHP execution in these folders so that even if hackers manage to get in these files through any backdoors, they cannot gain access to your site.

最適な WordPress セキュリティ チェックリスト [究極のガイド]

Why Website Security is Important

WordPress is a secure platform, but it is very popular and attracts all sorts of attention. Some of which are nefarious. In order to make sure that hackers can’t gain access to your site, you need to ensure that your website security is up to date, or else you could face dire consequences like:

  • Loss of customers
  • Data loss
  • Leaked private credentials
  • Revenue loss
  • Legal issues
  • Hit to the brand reputation
  • Loss of trust

最終的な考え

WordPress security is not a mystery. If you take a few steps to secure your site, you will be able to fend off attacks and malware, and avoid any damages. We hope that this WordPress security checklist helps you tighten your security measures.

If you want a hassle-free solution that does not compromise your security, MalCare is the only option. With automated scans, an advanced firewall, and one-click cleanups, MalCare is a 360 degree solution that protects your site.

FAQs

How do I secure my WordPress site?

The easiest method to secure your WordPress site is to install a security plugin like MalCare. MalCare scans your website everyday to ensure that your website is safe, and protects your website with its advanced firewall. It also offers a one-click cleanup in case there is a hack.

Does WordPress have security issues?

WordPress is a secure platform used by over half of the websites on the internet. However, it is because of this popularity that it attracts the attention of hackers. You can secure your WordPress site with a security plugin to ensure that your site is safe from these elements.

How do I secure my WordPress site without plugins?

If you wish to secure your site without using plugins, you need to perform several security checks regularly. You will have to perform site scans, take backups, look for suspicious behavior in the site’s activity log, and manually clean up any malware that you may detect. The list of ways hackers can get into your site is endless, and the only way you can secure your site without having to constantly be on alert is to use a security plugin.


  1. サイトを安全に保つための 5 つの最適な WordPress ウイルス対策プラグイン (ボーナス プラグイン 1 つ)

    WordPress ウイルス対策プラグインは、WordPress の必需品を混乱させる聖杯です。 それがまさにこの記事を書いた理由です。この記事で得られる内容: 真の保護を提供する最も強力なセキュリティ プラグイン WordPress 用の最もお財布に優しいセキュリティ プラグイン 最高の無料 WP セキュリティ プラグイン あまり推奨されていないいくつかの佳作 価値のない非常に人気のあるプラグイン 今のところ、飛び込んでみることをお勧めします。向こう側でお会いしましょう。 TL;DR: すべてのベースをカバーする WordPress ウイルス対策プラグインを探している場合は、

  2. Sucuri vs Wordfence:WordPress ウェブサイトに最適なセキュリティ プラグインはどれか

    Wordfence と Sucuri はどちらも、WordPress セキュリティ プラグインの強力なチャンピオンです。どんな会話でも、それらは必然的に出てきて、どれが最高のセキュリティ プラグインかについて意見が分かれます。 Sucuri には人気のあるオンライン スキャナーがあり、Web サイト管理者がマルウェアを検出するために広く使用されています。彼らのプラグインには、サーバー側のスキャナー、ファイアウォール、その他多くのセキュリティ機能もあります。 Sucuri は、どのプランでも無制限のマルウェア除去を提供しています。 Wordfence は、WordPress セキュリティ