Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPBカップ
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

WordPressで投稿者スキャンをブロックしてブルートフォースを阻止する方法

編集メモ: WPBeginner のパートナーリンクから手数料を得ています。手数料は編集者の意見や評価に影響を与えません。編集プロセスについて詳しく知る。

ハッカーがサイトに不正アクセスするためによく使うテクニックは「ブルートフォース」と呼ばれるものだ。このテクニックを使って、ハッカーはサイトの脆弱性をスキャンするように設計されたソフトウェアを使用し、脆弱性のいずれかを悪用してアクセスします。Sucuriは、悪意のあるリクエストを有効化した上でブロックするため、当社ではサイトのセキュリティにSucuriを使用しています。これらの総当たりボットが悪用しようとする一般的なエントリーポイントの1つは、投稿者スキャンを実行することです。この投稿では、WordPressでオーサースキャンをブロックすることで、ブルートフォースを阻止する方法を紹介します。

注:Limit Login Attemptと Google Authenticatorを使用している場合、ブルートフォース攻撃からかなり保護されている。

まず、ブルートフォースアテンプトが何をしようとしているのかを理解しよう。まず、彼らはあなたのブログのユーザー名や投稿者IDを見つけようとします。WordPressにサインインするためのユーザー名と作者名が同じであることはよくある。ユーザー名が見つかれば、パズルの50%は解決する。次に、彼らはさまざまな異なるパスワードの組み合わせを試して、パスワードをクラックするためにあなたのサイトを総当たりします。

あなたのサイトの作者スキャンをブロックするには、WordPressルートディレクトリの.htaccessファイルに次のコードを追加するだけです。

[cbk1]

これにより、あなたのサイトでボットが投稿者スキャンを実行するのをブロックします。サイトユーザーは投稿者ページにアクセスできますが、ボットはアクセスできません。

このヒントがお役に立てば幸いです。これはブルートフォース攻撃を防ぐものではないことを強調しておきます。これは、ハッカーを思いとどまらせるための注意的なステップにすぎません。誰かがあなたのサイトをどうしても攻撃したい場合、彼らはそうする方法を見つけるでしょう。Sucuriを利用し、WordPressのバックアップを定期的に取ることを強くお勧めする。追伸:私たちがSucuriを利用している5つの理由はこちらです。

このヒントはイアン・アームストロング

情報開示 私たちのコンテンツは読者支援型です。これは、あなたが私たちのリンクの一部をクリックした場合、私たちはコミッションを得ることができることを意味します。 WPBeginnerの資金源 をご覧ください。3$編集プロセスをご覧ください。

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

究極のWordPressツールキット

ツールキットへの無料アクセス - すべてのプロフェッショナルが持つべきWordPress関連製品とリソースのコレクション!

Reader Interactions

13件のコメント返信を残す

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Julian says

    Hello. The code to block author scans caused a 404 error on some pages. After removing this code from my .htaccess file, the pages loaded successfully. I used this code on 2 sites with the exact same results.

    I understand this tutorial was published 5 years ago, can you please consider updating it?

    • WPBeginner Support says

      No it will not. It will only block if a bot is trying to access the author url using query string. Search and adsense crawlers crawl pages by accesing links on your site. If you are already using pretty permalinks then your author URLs will be accessible to search engines with a link like /author/Sanskar

      管理者

  3. lando says

    Hi wpbeginner,

    How do I verify if the code works? I have added the code at the very bottom of my .htaccess file.

    Thanks

  4. Keith Davis says

    Thanks for this one guys
    Nice and easy to add that to .htaccess.

    I use the limit logins and I recently found a great plugin called Simple Firewall, which adds a GASP checkbox to your login panel.

    I’m with you guys about using Sucuri – pretty cheap when you think about it and if you use it on several sites, price per site is even cheaper.

  5. Zimbrul says

    I never use the same user for the blog author and the site admin as the author link and username can be easily found out. Usualy the admin is a 22+ characters username with a 22+ characters password and a very difficult to guess email address. This will take years to guess. And I also got the Limit login plugin… I don t use Google authenticator as this forbid me to log on a website using the WordPress application for mobile.

返信を残す

コメントありがとうございます。すべてのコメントは私たちのコメントポリシーに従ってモデレートされ、あなたのメールアドレスが公開されることはありませんのでご留意ください。名前欄にキーワードを使用しないでください。個人的で有意義な会話をしましょう。