Title: Threat Scan Plugin
Author: Keith P. Graham
Published: <strong>2010年4月9日</strong>
Last modified: 2024年7月14日

---

プラグインを検索

![](https://ps.w.org/threat-scan-plugin/assets/banner-772x250.jpg?rev=644748)

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

![](https://s.w.org/plugins/geopattern-icon/threat-scan-plugin.svg)

# Threat Scan Plugin

 作者: [Keith P. Graham](https://profiles.wordpress.org/kpgraham/)

[ダウンロード](https://downloads.wordpress.org/plugin/threat-scan-plugin.1.4.zip)

 * [詳細](https://ja.wordpress.org/plugins/threat-scan-plugin/#description)
 * [レビュー](https://ja.wordpress.org/plugins/threat-scan-plugin/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/threat-scan-plugin/#installation)
 * [開発](https://ja.wordpress.org/plugins/threat-scan-plugin/#developers)

 [サポート](https://wordpress.org/support/plugin/threat-scan-plugin/)

## 説明

This is a very simple threat scan that looks for things out of place in the content
directory as well as the database.

It searches PHP files for the occurrence of the eval() function, which, although
a valuable part of PHP is also the door that hackers use in order to infect systems.
The eval() function is avoided by many programmers unless there is a real need. 
It is sometimes used by hackers to hide their malicious code or to inject future
threats into infected systems. If you find a theme or a plugin that uses the eval()
function it is safer to delete it and ask the author to provide a new version that
does not use this function.

When you scan your system you undoubtedly see the eval used in javascript because
it is used in the javascript AJAX and JSON functionality. The appearance of eval
in these cases does not mean that there is a possible threat. It just means that
you should inspect the code to make sure that it is in a javascript section and 
not native PHP.

The plugin continues its scan by checking the database tables for javascript or 
html where it should not be found.

Normally, javascript is common in the post body, but if the script tag is found 
in a title or a text field where it does not belong it is probably because the script
is hiding something, such as a hidden admin user, so that the normal administration
pages do not show bad records. The scan looks for this and displays the table and
record number where it believes there is something hinky.

The scan continues looking in the database for certain html in places where it does
not belong. Recent threats have been putting html into fields in the options table
so that users will be sent to malicious sites. The presence of html in options values
is suspect and should be checked.

The options table will have things placed there by plugins so it is difficult to
tell if scripts, iframes, and other html tags are a threat. They will be reported,
but they should be checked before deleting the entries.

This plugin is just a simple scan and does not try to fix any problems. It will 
show things that may not be threats, but should be checked. If anything shows up
you should try to repair the damage or hire someone to do it. I am not a security
expert, but a programmer who discovered these types of things in a friend’s blog.
After many hours of checking I was able to fix the problem, but a professional could
have done it faster and easier, although they would have charged for it.

You probably do not have a backup to your blog, so if this scan shows you are clean;
your next step is to install one of the plugins that does regular backups of your
system. Next make sure you have the latest WordPress version.

If you think you have problems, the first thing to do is change your user id and
password. Next make a backup of the infected system. Any repairs to WordPress might
delete important data so you might lose posts, and the backup will help you recover
missing posts.

The next step is to install the latest version of WordPress. The new versions usually
have fixes for older threats.

You may want to export your WordPress posts, make a new clean installation of WordPress,
and then import the old posts.

If this doesn’t work it is time to get a pro involved.

A clean scan does not mean you are safe. Please do Backups and keep your installation
up to date!

### Support

This plugin is in active development. All feedback is welcome.
 If this plugin helps
you, you might support my programming by buying one of my books: https://linktr.
ee/keithpgraham

## インストール

 1. Download the plugin.
 2. Upload the plugin to your wp-content/plugins directory.
 3. Activate the plugin.
 4. There are no options. Clicking on the Settings link will perform the scan.

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

Threat Scan Plugin はオープンソースソフトウェアです。以下の人々がこのプラグインに
貢献しています。

貢献者

 *   [ Keith P. Graham ](https://profiles.wordpress.org/kpgraham/)
 *   [ keith graham ](https://profiles.wordpress.org/keith-graham/)

[“Threat Scan Plugin” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/threat-scan-plugin)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/threat-scan-plugin/)する
か、[SVN リポジトリ](https://plugins.svn.wordpress.org/threat-scan-plugin/)をチェック
するか、[開発ログ](https://plugins.trac.wordpress.org/log/threat-scan-plugin/)を
[RSS](https://plugins.trac.wordpress.org/log/threat-scan-plugin/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 1.3

 * Updated for newer versions of WordPress 5.7.1 and PHP

#### 1.2

 * Updated for newer versions of WordPress 5.4.1 and PHP

#### 1.1

 * Updated for newer versions of WordPress and PHP

#### 1.0

 * Added more detailed information
 * Confirmed compatibility with WordPress 3.5

#### 0.9

 * Fix small errors and compatibility with WordPress 3.0

#### 0.8

 * First test release

## メタ

 *  バージョン **1.4**
 *  最終更新日 **2年前**
 *  有効インストール数 **400+**
 *  WordPress バージョン ** 3.0またはそれ以降 **
 *  検証済み最新バージョン: **6.6.11**
 *  言語
 * [English (US)](https://wordpress.org/plugins/threat-scan-plugin/)
 * タグ
 * [hacked](https://ja.wordpress.org/plugins/tags/hacked/)[scan](https://ja.wordpress.org/plugins/tags/scan/)
   [Threats](https://ja.wordpress.org/plugins/tags/threats/)[virus](https://ja.wordpress.org/plugins/tags/virus/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/threat-scan-plugin/advanced/)

## 評価

 5つ星中5つ星

 *  [  1 5-星レビュー     ](https://wordpress.org/support/plugin/threat-scan-plugin/reviews/?filter=5)
 *  [  0 4-星レビュー     ](https://wordpress.org/support/plugin/threat-scan-plugin/reviews/?filter=4)
 *  [  0 3-星レビュー     ](https://wordpress.org/support/plugin/threat-scan-plugin/reviews/?filter=3)
 *  [  0 2-星レビュー     ](https://wordpress.org/support/plugin/threat-scan-plugin/reviews/?filter=2)
 *  [  0 1-星レビュー     ](https://wordpress.org/support/plugin/threat-scan-plugin/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/threat-scan-plugin/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/threat-scan-plugin/reviews/)

## 貢献者

 *   [ Keith P. Graham ](https://profiles.wordpress.org/kpgraham/)
 *   [ keith graham ](https://profiles.wordpress.org/keith-graham/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/threat-scan-plugin/)

## 寄付

このプラグインが今後も改善できるよう応援しませんか ?

 [ このプラグインに寄付 ](https://www.kpgraham.com)