2019-2020-2 20175212童皓桢《网络对抗技术》Exp2 后门原理与实践

时间:2020-03-18 20:57:05   收藏:0   阅读:47

2019-2020-2 20175212童皓桢《网络对抗技术》

Exp2 后门原理与实践

目录

2. 实验内容

2.0 常用后门工具
2.1 使用netcat获取主机操作Shell,cron启动
2.2 使用socat获取主机操作Shell, 任务计划启动
2.3 使用MSF meterpreter(或其他软件)生成可执行文件,利用ncat或socat传送到主机并运行获取主机Shell
2.4 使用MSF meterpreter(或其他软件)生成获取目标主机音频、摄像头、击键记录等内容,并尝试提权
2.5 可选加分内容:使用MSF生成shellcode,注入到实践1中的pwn1中,获取反弹连接Shell
# 
 
#deb cdrom:[Debian GNU/Linux 2018.2 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20180412-10:55]/ kali-last-snapshot contrib main non-free
 
#deb cdrom:[Debian GNU/Linux 2018.2 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20180412-10:55]/ kali-last-snapshot contrib main non-free
# 官方源
# deb-src http://http.kali.org/kali/ kali-rolling main non-free contrib
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb http://http.kali.org/kali kali-rolling main non-free contrib
# 中科大源
deb http://mirrors.ustc.edu.cn/kali kali main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali main non-free contrib
deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free
# 阿里云kali源
#deb http://mirrors.aliyun.com/kali kali main non-free contrib
#deb http://mirrors.aliyun.com/kali sana main non-free contrib
#deb http://mirrors.aliyun.com/kali-security sana/updates main contrib non-free
#deb-src http://mirrors.aliyun.com/kali kali main non-free contrib
#deb http://mirrors.aliyun.com/kali-security kali/updates main contrib non-free
#deb-src http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib  
#deb http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib  
#deb-src http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib  
#deb http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib  
#deb-src http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib  
#deb http://mirrors.163.com/debian wheezy main non-free contrib  
#deb-src http://mirrors.163.com/debian wheezy main non-free contrib  
#deb http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib  
#deb-src http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib  
#deb-src http://mirrors.163.com/debian-security wheezy/updates main non-free contrib  
#deb http://mirrors.163.com/debian-security wheezy/updates main non-free contrib  
  
deb http://http.kali.org/kali kali-rolling main non-free contrib    
 
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

重新尝试安装,仍然提示失败。查阅大量参考资料,最后尝试将官方仓库地址的https换成http

gem sources -a http://rubygems.org/

再次安装,提示安装成功。
技术分享图片

5. 参考资料

https://blog.csdn.net/cat_pp/article/details/76572774
https://gitee.com/wildlinux/NetSec/blob/master/ExpGuides/0x21_MAL_后门原理与实践.md
https://www.cnblogs.com/zxy20175227/p/12453642.html#j6
https://blog.csdn.net/u014549283/article/details/81670622

原文:https://www.cnblogs.com/thz666/p/12519618.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!