标签: attack-vector

对包含空格的目录进行FTP目录遍历攻击

我在封闭的参考环境中进行了一个受认可的渗透测试,并在一个看似简单的问题上挣扎,我目前无法解决。

当尝试对运行在 MS Windows 操作系统上的易受攻击的 Fermitter FTP 服务器执行目录遍历攻击时,可以在系统根目录上执行 LIST(地址和内容列表在这里更改仅供参考):

# ftp 192.168.13.22
Connected to 192.168.13.22.
220 Femitter FTP Server ready.
Name (192.168.13.22:root): 
331 Password required for root.
Password:
230 User root logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls ../../../../
200 Port command successful.
150 Opening data connection for directory list.
-rwxrwxrwx   1 ftp      ftp            0 Sep 23  2015 AUTOEXEC.BAT
-rw-rw-rw-   1 ftp      ftp            0 Sep 23  2015 CONFIG.SYS
drw-rw-rw-   1 ftp      ftp …
Run Code Online (Sandbox Code Playgroud)

ftp attack-vector

15
推荐指数
1
解决办法
2万
查看次数

如何防止数百万次失败的登录尝试?

每次我使用 PuTTY 访问我的 VPS 时,我都会看到:

Last failed login: Fri Oct  6 17:25:58 UTC 2017 from xx.xxx.xxx.xxx on ssh:notty
There were 2381935 failed login attempts since the last successful login.
Last login: Tue Sep 26 09:30:02 2017 from xx.xxx.xxx.xxx
Run Code Online (Sandbox Code Playgroud)

我不知道它是相关的,但是当我登录时,加载需要更多时间,在其他服务器上没有那么多登录失败的服务器上,加载时间要小得多。

你能告诉我这么多登录尝试是否会影响服务器的性能?有什么办法可以防止这种情况发生吗?我的意思是,我的服务器密码有点不可能破解,但是有没有办法避免这种失败的登录尝试?

系统规格:

  • 图标名称:计算机虚拟机
  • 底盘:vm
  • 虚拟化:kvm
  • 操作系统: CentOS Linux 7 (Core)
  • CPE 操作系统名称:cpe:/o:centos:centos:7
  • 内核:Linux 3.10.0-514.26.2.el7.x86_64
  • 架构:x86-64

putty squid attack-vector centos-7

3
推荐指数
1
解决办法
1977
查看次数

标签 统计

attack-vector ×2

centos-7 ×1

ftp ×1

putty ×1

squid ×1