当前位置:网站首页>6-18漏洞利用-后门连接
6-18漏洞利用-后门连接
2022-07-25 21:48:00 【山兔1】

后门连接探测
某些情况下,服务器可能存在某些后门,可以使用Nmap进行探测和尝试。
我们之前就已经探测了他对应的端口与服务,然后对目标的IP地址进行探测
nmap -sV -p 1524 192.168.1.105

可以看到这里给出了一个service,说是给了一个绑定shell,以及它的banner信息,root shell
nmap 192.168.1.105

我们在这里看到ingreslock内容,我们可以进一步探测
nmap -p 1524 -sV 192.168.1.105

我们根据bindshell,猜测到,会是一个后门程序,这个时候,我们就需要验证这个猜测,我们用nc连接目标地址的端口号,来对其后门进行连接,从而获取对应的权限
nc连接后门获取权限
Nc 目标IP 端口号 连接后门程序。
nc 192.168.1.105 1524

连接之后,我们可以执行对应的命令,使用id和whoami来查看当前的权限,以及执行其它的系统命令
ifconfig
//查看当前连接到的服务器IP地址

id
whoami
hostname

我们以root权限登录到远程目标的服务器上面,执行最高权限的命令
我们服务器为什么存在后门程序
1、我们当前的服务器已经遭受过对应的黑客攻击,使得它在原有的服务器上面留了个后门,我们通过检测发现到这个后门,就可以直接顺着它的shell,进行连接
2、系统管理员,在某些情况下,需要对远程的机器进行管理,但是在管理的过程中,需要对应的反弹shell,这个时候,它很有可能开启了一个等待连接的shell,我们直接连接这个端口号,循着管理员的思路、方法、路径,进到系统中
3、某些软件本身就存在连接shell后门,这个时候,我们可以直接进行连接,连接到对应的shell
如何进行防御
我们一定要检测,当前系统,开放了那些端口,在某些情况下,尽量没有使用的端口,尽量关闭,我们只开启,我们服务器运行状态下,必须要开启的端口号,不相关的端口号,直接关闭,当然,我们也要实时监测系统服务器的网络状态,在出现连接过程中,我们一定要注意很有可能,这就是一次连接后门程序的一个活动,我们要对它进行实时监控
边栏推荐
- 2022 love analysis ― bank digitalization practice report
- Ability to choose
- C#Socket
- Vivo official website app full model UI adaptation scheme
- 【饭谈】细说:下克上,向上管理,向上画饼。
- Babbitt | metauniverse daily must read: the popularity of virtual people has decreased, and some "debut is the peak", and the onlookers have dispersed
- I'm also drunk. Eureka delayed registration and this pit!
- Automatic assembly and fuse degradation of feign
- Six principles of C program design
- C语言左值和右值说明[通俗易懂]
猜你喜欢

Basic knowledge in the project
![PHP zero time task, PHP laravel time task schedule [dry goods]](/img/09/c9a4c83fe23c852aa76a6f5a6cea52.png)
PHP zero time task, PHP laravel time task schedule [dry goods]
QT | learn about QT creator by creating a simple project
![[leetcode ladder] linked list · 876 find the middle node of the linked list](/img/72/d3e46a820796a48b458cd2d0a18f8f.png)
[leetcode ladder] linked list · 876 find the middle node of the linked list

2022 latest examination questions and answers of eight members (standard staff) of Shanghai Architecture

ansible+Crontab批部署巡检

2022 love analysis ― bank digitalization practice report

Pyqt5 use pyqtgraph to draw multiple y-value scatter plots

strcpy()

IJCAI2022开会了! 微软等《领域泛化Domain Generalization》教程
随机推荐
PE format: analyze and implement IATHOOK
H5 realize the animation effect of a scratch card
ag 搜索工具参数详解
【饭谈】那些看似为公司着想,实际却让人无法理解的事(二:面试时的软素质“眼缘”)
2022-07-18: what is the output of the following go language code? A:Groutine; B:Main; C:Goroutine; D:GoroutineMain。 package m
Byte side: can TCP and UDP use the same port?
C语言左值和右值说明[通俗易懂]
2022 love analysis ― bank digitalization practice report
【饭谈】如何设计好一款测试平台?
Detailed explanation of several ideas for implementing timed tasks in PHP
[hand torn STL] unordered_ set、unordered_ Map (encapsulated with hash table)
GPON introduction and Huawei OLT gateway registration and configuration process
Blood spitting finishing nanny level series tutorial - playing Fiddler bag capturing tutorial (7) - Fiddler status panel -quickexec command line
[redis underlying parsing] linked list type
Mysql8.0 MHA to achieve high availability "MHA"
[Flink] flick rocksdbliststate reports an error you cannot add null to a liststate
In Oracle 19C version, logminer package continuous_ The outdated function of mine leads to CDC failure
Composition of dog food
PE格式: 分析IatHook并实现
Basic knowledge in the project