推荐一个 wordpress 插件: Limit Login Attempts,限制登录尝试的插件

2015-07-26 09:13:27 +08:00
 dreamcountry
前段时间安装的这个插件,经常发现有很多IP的登录尝试。今天绝了,插件发送的邮件记录显示从3点多到现在9点多到一直有人在尝试admin登录。本人设置了登录失败4次禁止该IP登录10分钟,连续两组禁止该IP登录240小时,然后发送一封告警邮件。现在还在不停的收到告警邮件,不过有了这个自动IP禁止插件,尝试者需要不停的换IP。虽然还是有尝试,但放心多了。。。


这个插件是老外开发的,最近更新已经是3年前了,但现在仍然好用。直接在wp后台搜索Limit Login Attempts就可以安装,下面是插件自己的description:
Limit the number of login attempts possible both through normal login as well as using auth cookies.

By default WordPress allows unlimited login attempts either through the login page or by sending special cookies. This allows passwords (or hashes) to be brute-force cracked with relative ease.

Limit Login Attempts blocks an Internet address from making further attempts after a specified limit on retries is reached, making a brute-force attack difficult or impossible.

Features

Limit the number of retry attempts when logging in (for each IP). Fully customizable
Limit the number of attempts to log in using auth cookies in same way
Informs user about remaining retries or lockout time on login page
Optional logging, optional email notification
Handles server behind reverse proxy
It is possible to whitelist IPs using a filter. But you probably shouldn't. :-)
Translations: Bulgarian, Brazilian Portuguese, Catalan, Chinese (Traditional), Czech, Dutch, Finnish, French, German, Hungarian, Norwegian, Persian, Romanian, Russian, Spanish, Swedish, Turkish

Plugin uses standard actions and filters only.
4034 次点击
所在节点    分享发现
20 条回复
ivmm
2015-07-26 09:17:26 +08:00
貌似很早就有人推荐了,必备插件。
不过我用谷歌身份,二次验证。 绝逼安全
dreamcountry
2015-07-26 09:21:03 +08:00
@ivmm 必备插件(竖大拇指)
Majirefy
2015-07-26 09:38:26 +08:00
必备插件~~
falcon05
2015-07-26 09:48:00 +08:00
我们公司也使用WP,从日志上看,更多的攻击来自对WP插件漏洞的利用,大多是在尝试上传漏洞,因为wp插件良莠不齐,所以能不装的插件尽量不装了,当然不是指这个插件,我只是有感而发
bigfa
2015-07-26 12:00:30 +08:00
我现在是禁用了账号密码登录,使用邮件的方式登录~
Showfom
2015-07-26 12:16:46 +08:00
@bigfa 什么插件
songz
2015-07-26 12:48:43 +08:00
将wp-login改一下名字可以?
shiniv
2015-07-26 13:22:58 +08:00
@songz 单纯改文件名还不行 还得改几个地方...
不过改了也没用,因为构造个后台的地址就暴露了- -
dreamcountry
2015-07-26 14:16:57 +08:00
@bigfa 这个怎么做的?
bigfa
2015-07-26 17:09:32 +08:00
@Showfom 不是插件,自己写的,
@dreamcountry 和找回密码原理差不多
wkdhf233
2015-07-26 17:19:55 +08:00
十几位大小写数字混合,我觉得被跑出来之前那边空间的流量就已经超了。。
simodorg
2015-07-26 17:23:05 +08:00
welly
2015-07-26 17:28:40 +08:00
谢谢分享!
sumhat
2015-07-26 17:31:28 +08:00
我直接 403 了 wp-login.php
dreamcountry
2015-07-26 18:58:36 +08:00
@sumhat 今天有人不断变换ip尝试登陆快一天了,有点烦,现在我把wp-login.php设成了空页面
tobyxdd
2015-07-26 19:00:14 +08:00
wordfence
kn007
2015-07-26 19:01:12 +08:00
@bigfa 你果然好贱
mufeng
2015-07-26 21:15:09 +08:00
换成扫码登陆了
kn007
2015-07-28 01:25:22 +08:00
ershiwo
2015-08-25 17:03:39 +08:00
我用 iThemes Security 。虽然比较臃肿但是功能很全,基本上算是全能了。
前几天自己的账户被人恶意尝试登陆,结果连我自己要登陆都被这插件弹了回来,最后 iptables 封了对方 ip ,世界清净了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/208380

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX