Submit Search
Upload
アカウント凍結を解除してWordPressサイトを復旧させる(2020/3 版)
•
0 likes
•
181 views
A
Arm Band
Follow
自サイトがアカウント凍結されてしまったので、それを復旧するまでのお話と、復旧後の対策の話です。
Read less
Read more
Technology
Slideshow view
Report
Share
Slideshow view
Report
Share
1 of 41
Download now
Download to read offline
Recommended
Static Site Generatorライクな自作フレームワーク「Ususama」はWordPressと連携して新着情報を生成できるようです
Static Site Generatorライクな自作フレームワーク「Ususama」はWordPressと連携して新着情報を生成できるようです
Arm Band
Githubの草を表示するウィジェットプラグイン
Githubの草を表示するウィジェットプラグイン
Arm Band
WordPress + Markdown + ポメラ で古のサイト復活
WordPress + Markdown + ポメラ で古のサイト復活
Arm Band
WordCamp男木島がエモかった話
WordCamp男木島がエモかった話
Arm Band
ぼくのかんがえたさいきょーのじゃしん
ぼくのかんがえたさいきょーのじゃしん
Arm Band
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
Recommended
Static Site Generatorライクな自作フレームワーク「Ususama」はWordPressと連携して新着情報を生成できるようです
Static Site Generatorライクな自作フレームワーク「Ususama」はWordPressと連携して新着情報を生成できるようです
Arm Band
Githubの草を表示するウィジェットプラグイン
Githubの草を表示するウィジェットプラグイン
Arm Band
WordPress + Markdown + ポメラ で古のサイト復活
WordPress + Markdown + ポメラ で古のサイト復活
Arm Band
WordCamp男木島がエモかった話
WordCamp男木島がエモかった話
Arm Band
ぼくのかんがえたさいきょーのじゃしん
ぼくのかんがえたさいきょーのじゃしん
Arm Band
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
sugiuralab
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
FumieNakayama
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
UEHARA, Tetsutaro
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
FumieNakayama
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
Yuki Kikuchi
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
Hiroshi Tomioka
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
博三 太田
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
akihisamiyanaga1
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
More Related Content
Recently uploaded
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
sugiuralab
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
FumieNakayama
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
UEHARA, Tetsutaro
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
FumieNakayama
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
Yuki Kikuchi
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
Hiroshi Tomioka
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
博三 太田
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
akihisamiyanaga1
Recently uploaded
(8)
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
Featured
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
ChatGPT webinar slides
ChatGPT webinar slides
Alireza Esmikhani
Featured
(20)
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
Skeleton Culture Code
Skeleton Culture Code
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
How to have difficult conversations
How to have difficult conversations
Introduction to Data Science
Introduction to Data Science
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
The six step guide to practical project management
The six step guide to practical project management
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
ChatGPT webinar slides
ChatGPT webinar slides
アカウント凍結を解除してWordPressサイトを復旧させる(2020/3 版)
1.
アカウント凍結を解除してアカウント凍結を解除して サイトを復旧させるサイトを復旧させる (2020/3 版)(2020/3 版) 2020/11/28(⼟) アルム=バンド
2.
⾃⼰紹介⾃⼰紹介 HN: アルム=バンド SNS等 @Bredtn_1et
arm-band arm-band (Crieit)
3.
ある⽇突然、あなたのサイトがこんな表⽰になったらどうしますか︖ある⽇突然、あなたのサイトがこんな表⽰になったらどうしますか︖
4.
しかもその上……こんなメールが届いたらどうしますか︖しかもその上……こんなメールが届いたらどうしますか︖ 【エックスサーバー】■重要■お客様のサーバーアカウントに おける不正なアクセスの検知および制限の実施について 平素は当サービスをご利⽤いただき誠にありがとうございます。 エックスサーバーカスタマーサポートでございます。 (アカウント情報 / 略) お客様の上記サーバーアカウントにおいて、サーバー⽤ メール送信ソフトウェア(Sendmail)を⽤いた⽇本国外の メールアドレスに対する⼤量のメール送信処理を確認いたしまし た。 ...(後略)
5.
😇😇
6.
今⽇お話しすること今⽇お話しすること 1. 原因 2. 凍結解除の⼿順 3.
WordPress サイト復旧の⼿順 4. 対策
7.
1. 原因1. 原因
8.
今回のケース今回のケース FTPの不正アクセス
プログラムの脆弱性を突かれての不正アクセス WordPress その他CMS (MODX) ⾃前PHPプログラム (Mastodon bot など) 不正ファイルの設置場所などから、ここではないか
9.
2. 凍結解除の⼿順2. 凍結解除の⼿順
10.
メールに書かれていた⼿順 (サーバ)メールに書かれていた⼿順 (サーバ) アカウント領域のファイル全削除 サブドメインサイトも含む ドメイン(サブドメイン含む)設定全削除 サブFTPアカウント削除 SSL設定削除
11.
メールに書かれていた⼿順 (PC・開発環境)メールに書かれていた⼿順 (PC・開発環境) ウイルス対策ソフトによるスキャン プログラムの脆弱性チェック
12.
整理すると整理すると サーバのファイル・設定は全削除 ただし、DBはそのままで良い 要バックアップ 現時点のものをそのまま再アップロードは不可 不正なプログラムが存在するため 怪しいphpファイルが散在 ( z.php、1.php
など) せめてウイルス対策ソフトでチェックを ⾃信がなければサポートに問い合わせ 実際に⾃分で想定した⼿順に間違いないか確認
13.
😇😇
14.
⼿順1⼿順1 バックアップ ウイルス対策ソフトでファイルスキャン サーバ上のファイル全削除 初期状態のファイル・フォルダは残存 SSL設定全削除 ドメイン設定削除 サブFTPアカウント削除 SSH設定削除
15.
⼿順2⼿順2 作業完了後、サポートに電話 作業完了の連絡、解除申請を申し出る 20分程度で解除完了 現在はCovid-19関連でもっと時間がかかるかも 独⾃ドメイン再設定、無料SSL設定 取得・所持の情報は保持されていたので適⽤のみ サブドメイン設定、無料SSL設定 ドメイン設定・SSL設定はタイムラグがあるため注意
16.
ここまでは⼀般的な作業 次から本題 (WordPress)
17.
3. WordPress サイト復旧の⼿順3.
WordPress サイト復旧の⼿順
18.
1.1. WordPress
のインストールWordPress のインストール 1. WordPress 本体をダウンロード 2. wp-foncig.php を作成 DB接続情報を消去を免れているDBの情報にする 3. サーバに本体 + wp-config.php をアップロード
19.
1.1. ダウンロードして解凍した WordPress
のファイル⼀式1.1. ダウンロードして解凍した WordPress のファイル⼀式
20.
1.2., 1.3.1.2., 1.3.
wp-config.php を書き換えてアップロードwp-config.php を書き換えてアップロード
21.
2.2. ファイルコンテンツを復旧ファイルコンテンツを復旧 1.
wp-content/uploads をアップロード
22.
2.1. wp-content/uploads をアップロード2.1.
wp-content/uploads をアップロード
23.
3.3. プラグインを再インストールプラグインを再インストール 1.
管理画⾯にログイン WP SiteGuard Plugin のログイン画⾯変更は無効済 デフォルトの wp-login.php でログイン 2. 管理画⾯のプラグイン→新規追加、でインストール プラグインの設定を⾒直す
24.
3.1. 管理画⾯にログイン3.1. 管理画⾯にログイン
25.
3.2. 管理画⾯のプラグイン→新規追加、でインストール3.2. 管理画⾯のプラグイン→新規追加、でインストール ファイルが存在しないプラグインがエラーとして⼤量に表⽰され るので控えておくと良い
26.
3.2. プラグインの設定を⾒直す3.2. プラグインの設定を⾒直す
27.
4.4. テーマを再インストールテーマを再インストール 1.
テーマを再インストール カスタマイザー等の設定を⾒直す
28.
4.1. テーマを再インストール4.1. テーマを再インストール デフォルトテーマに戻されるので適⽤しなおして設定⾒直し
29.
5.5. ウィジェットウィジェット 1.
ウィジェットの設定を⾒直す
30.
5.1. ウィジェットの設定を⾒直す5.1. ウィジェットの設定を⾒直す
31.
🎉復旧完了🎉🎉復旧完了🎉
32.
4. 対策4. 対策
33.
4.1.4.1. 以前から実施済み以前から実施済み 複雑なパスワード
(⼤⼩英数字記号12⽂字以上) ⽇頃からコア・プラグイン・テーマを最新版にアップデート WP SiteGuard Plugin 導⼊
34.
4.2.4.2. 追加対策追加対策 WordPress
側 1. ユーザ名の隠蔽 2. IP GEO BLOCK 導⼊ それ以外 テストサイトの分離
35.
4.3.4.3. ユーザ名の隠蔽ユーザ名の隠蔽 WordPress
のユーザ名は簡単に判明する 投稿者アーカイブ 例: サイトURL/?author=1 WP REST API 例: サイトURL/wp-json/wp/v2/users これらの表⽰をしないように修正
36.
4.4.4.4. IP
GEO BLOCK 導⼊IP GEO BLOCK 導⼊ 管理画⾯や wp-ajax への不正アクセスを国コードで遮断できる ⽇本のIPアドレス以外からのアクセスをブロック
37.
4.5.4.5. テストサイトの分離テストサイトの分離 テストサイトのプログラムを別のサーバに移管 パッケージガーデニング(古い
Composer パッケージの更新) テストサイトのプログラムを作り直し
38.
所⽤時間所⽤時間 復旧の所⽤時間︓1〜2⽇程度 ドメインやSSLの設定反映待ち含む 対策まで含めるとかなりの時間を要した 復旧できなかったサイトもある (WordPress以外)
39.
まとめまとめ
40.
DBと wp-content/uploads があればどうにかなる きちんとしたテーマやプラグインであればさらに吉 例: 再インストール時にテーマの設定が残っている プラグインが無効化され、通常の状態と同様にログイン可 WordPress
のディレクトリ構造や仕組みが分かっているとなお吉 ⾃⼒で引っ越しする、 WP-CLI で置換する、等の経験 改めて WordPress の偉⼤さを実感 壊れにくい・復旧させやすい ノウハウの多さ
41.
でも⼀番⼤事なことは…… ⽇頃のセキュリティ対策⽇頃のセキュリティ対策 ※バックアップも忘れずに※バックアップも忘れずに (壊れないことが⼀番良い) ご清聴ありがとうございました
Download now