当前位置:网站首页>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
如何进行防御
我们一定要检测,当前系统,开放了那些端口,在某些情况下,尽量没有使用的端口,尽量关闭,我们只开启,我们服务器运行状态下,必须要开启的端口号,不相关的端口号,直接关闭,当然,我们也要实时监测系统服务器的网络状态,在出现连接过程中,我们一定要注意很有可能,这就是一次连接后门程序的一个活动,我们要对它进行实时监控
边栏推荐
- 919. Complete binary tree inserter: simple BFS application problem
- Talk about what's going on with C # backstage GC?
- Mysql8.0 MHA to achieve high availability "MHA"
- Configuration and use of multithreading
- 分享|智慧消防应急管理平台解决方案(附PDF)
- MySQL master-slave configuration
- Unity metaverse (II), mixamo & animator hybrid tree and animation fusion
- 文件无法保存(文件夹已损坏无法读取怎么办)
- Fastjson deserialization vulnerability utilization analysis collection
- At present, flynk CDC does not support mysql5.5. If you change the source code and release this restriction, there will be a lot of data problems?
猜你喜欢
![[manageengine]itsm application in retail industry](/img/25/e8d9a320c5d4b1cf2e187b61180991.png)
[manageengine]itsm application in retail industry

Redis usage details

人脸与关键点检测:YOLO5Face实战

Zero basic learning canoe panel (17) -- panel CAPL function

2022 love analysis ― bank digitalization practice report

Babbitt | metauniverse daily must read: the popularity of virtual people has decreased, and some "debut is the peak", and the onlookers have dispersed

性能调试 -- Chrome Performance
![[Flink] flick rocksdbliststate reports an error you cannot add null to a liststate](/img/c0/1923e17f166ab4bc7d20f48398f366.jpg)
[Flink] flick rocksdbliststate reports an error you cannot add null to a liststate

ORIGYN基金会正式启动$OGY Staking,引领新一轮生态利好

【leetcode天梯】链表 · 021 合并两个有序链表
随机推荐
Experience sharing of system architecture designers preparing for the exam: from point to surface
c sqlite ... ...
Tesseract OCR初探
PE格式: 分析IatHook并实现
Special symbols in shell
动画曲线天天用,你能自己整一个吗?看完这篇你就会了!
Special class design
[hand tear STL] BitSet (bitmap), bloom filter
ORIGYN基金会正式启动$OGY Staking,引领新一轮生态利好
Why do independent sellers like to do e-mail marketing? The original conversion rate can be improved so much!
[redis underlying parsing] string type
[hand torn STL] unordered_ set、unordered_ Map (encapsulated with hash table)
Isn't it too much to play Gobang in idea?
How to use RS485 half duplex chip correctly
YUV420 YUV420sp 图像格式「建议收藏」
[leetcode ladder] linked list · 876 find the middle node of the linked list
In Oracle 19C version, logminer package continuous_ The outdated function of mine leads to CDC failure
Apache Shenyu admin authentication bypass vulnerability (cve-2021-37580) analysis and protection measures
Lichuang EDA -- creation of devices 01 resistance (II)
【饭谈】那些看似为公司着想,实际却让人无法理解的事(二:面试时的软素质“眼缘”)