CVE-2017-7494

CVE-2017-7494@(中枪)
实验环境 kali自带samb 查看版本samba -V 配置: leafpad /etc/samba/smb.conf


mkdir /home/samb 创建共享目录

[global] 
workgroup = WORKGROUP 
security = user 
guest account = root 
netbios name = workgroup 
[allshare] 
path = /home/samb 
comment = share allshare 
writeable = yes 
browseable = yes 
public = yes 
guest ok=yes 
[work] 
path=/home/samb
comment = share allshare 
writeable = yes 
browseable = yes 
public = no 
guest=no 
valid users = smbuser 
admin users=smbuser
 
配置参考来自: http://blog.csdn.net/niexinming/article/details/52205596

msfconsole模块 https://github.com/hdm/metasploit-framework/blob/0520d7cf76f8e5e654cb60f157772200c1b9e230/modules/exploits/linux/samba/is_known_pipename.rb