DIY Virus
Envirnement:
Solution
- Using Msfvenom to build a payloads various.
- Deploy payloads various to Web.
Ckeck internet
- check these servers are connect in same LAN
- using command
ping
to check
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
- make sure your attack server cannect with internet, when we finish to build virus
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Using Msfvenom
-
Before using this tools, we must to have these imformation
- What kind os is we are attack. (linux, mac, linux, etc.)
- We are attack in which way. In this case, are using web site to attack.
- Be attacked ip.
- Where to deploy the virus.
-
Using web to attack, so we decide build viruse in web service apache2.
-
Using command to build virus
-
Success message
-
Check the virus file
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Deploy
We deploy the virus on apache2 service, so the apache2 service must be restart, then check the url to download.
- Restart apache2 service
- Check the service is working
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Msfconsole
Metasploit is Project build by Rapid7 to Penetration test. Msfconsole is Metasploits' command line interface. Armitage is GUI interface of Metasploit buildding by java. In this case, we're using msfconsole to build a handler to connect the server being attack.
-
open Metasploits' Msfconsole
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
-
create a handler
-
setting playload
-
setting lhost
-
setting lport
-
start handler
-
setting success
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Download virus on Windows and test Virus
- Open blowser on windows.
- Open the Attack server web by Attack server ip.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
- Add the file name
cmds.exe
in the end of url to download the virus.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
- Back to kali linux, check msconsole status
when virus work success, msconsole will change to meterpreter to control the server be attacked.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Control and Attack server
This is a simple to controls server is attacked to add a user.
-
Check the all the user before attack.
There is no user call jack, so I'll add a user call jack.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
-
Open opwershell first
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
-
Using command to add jack account, and set password for 123456
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
-
Back to be attacked server, there is a new jack account.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Challenge: using Virsototal get point
-
Using Virstotal, to get your virs point, about cmds.exe.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
-
Try to use other encoder.

-
Try to use other exe file to build, this case is use 360TS.

-
Try to use other exe file to build, this case is use putty.

Reference