piliguori commited on
Commit
7cea23b
·
verified ·
1 Parent(s): 5c32077

Upload 826 files

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +1 -0
  2. ACCA/Ground Truth and Predictions/Ground Truth/decoder_extended-test.out +590 -0
  3. ACCA/Ground Truth and Predictions/Predictions/assembly_test_output.json +592 -0
  4. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/Errors GenEXE.csv +208 -0
  5. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_102.asm +12 -0
  6. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_102.obj +0 -0
  7. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_109.asm +13 -0
  8. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_109.obj +0 -0
  9. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_11.asm +12 -0
  10. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_11.obj +0 -0
  11. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_111.asm +12 -0
  12. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_111.obj +0 -0
  13. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_112.asm +12 -0
  14. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_112.obj +0 -0
  15. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_115.asm +12 -0
  16. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_115.obj +0 -0
  17. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_118.asm +13 -0
  18. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_118.obj +0 -0
  19. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_122.asm +12 -0
  20. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_122.obj +0 -0
  21. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_126.asm +12 -0
  22. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_126.obj +0 -0
  23. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_128.asm +13 -0
  24. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_128.obj +0 -0
  25. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_129.asm +12 -0
  26. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_129.obj +0 -0
  27. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_13.asm +12 -0
  28. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_13.obj +0 -0
  29. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_133.asm +12 -0
  30. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_133.obj +0 -0
  31. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_136.asm +12 -0
  32. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_137.asm +12 -0
  33. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_137.obj +0 -0
  34. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_139.asm +12 -0
  35. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_139.obj +0 -0
  36. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_140.asm +12 -0
  37. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_140.obj +0 -0
  38. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_142.asm +13 -0
  39. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_142.obj +0 -0
  40. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_143.asm +12 -0
  41. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_143.obj +0 -0
  42. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_144.asm +15 -0
  43. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_146.asm +12 -0
  44. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_146.obj +0 -0
  45. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_148.asm +12 -0
  46. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_148.obj +0 -0
  47. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_149.asm +13 -0
  48. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_149.obj +0 -0
  49. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_15.asm +13 -0
  50. ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_15.obj +0 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ Experimental[[:space:]]Results/Results.xlsx filter=lfs diff=lfs merge=lfs -text
ACCA/Ground Truth and Predictions/Ground Truth/decoder_extended-test.out ADDED
@@ -0,0 +1,590 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ mov ax, [esi]
2
+ cmp ecx, 0h
3
+ push 0x6d6f632e \\n push 0x656c676f \\n push 0x6f672031 \\n push 0x2e312e31 \\n push 0x2e373231
4
+ sub ecx, 0x1525152a
5
+ inc cx
6
+ sys_execve equ 0x0b
7
+ xor eax, eax \\n xor ebx, ebx
8
+ sub bl, al
9
+ int 0x80
10
+ sub bl, 3
11
+ pop esi
12
+ push 0x69622f2f
13
+ section .bss
14
+ xor esi, esi
15
+ mov eax, [y]
16
+ push edi
17
+ cmp dword [eax], ebx
18
+ get:
19
+ call_decoder:
20
+ decrypt:
21
+ loop main_push
22
+ push eax
23
+ zerod:
24
+ mov eax, esp
25
+ mov al, [byte_tbl+2]
26
+ mov esi, esp
27
+ mov ebx, [y]
28
+ duploop:
29
+ chmod_call equ 15
30
+ shl ebx, 8
31
+ xor ebx, ebx
32
+ push byte 0x02
33
+ shr dl, 4
34
+ push byte my_label \\n pop eax
35
+ push dword 0x74652f2f \\n mov ebx, esp
36
+ inc esi \\n inc esi
37
+ xor edx, edx \\n xor esi, esi
38
+ xor ah, ah
39
+ jmp loop
40
+ int 80h
41
+ F2: \\n not bl \\n inc bl
42
+ mov [edi], al
43
+ push ecx
44
+ push edx
45
+ encodedshellcode: db 0xd6,0x47,0xb7,0x9f,0xd8,0xd8,0x94,0x9f,0x9f,0xd8,0xa5,0x9e,0x99,0x7e,0x24,0xb7,0x7e,0x25,0xb4,0x7e,0x26,0x57,0xfc,0x3a,0x87
46
+ next_addr:
47
+ push word 100
48
+ mov esi, eax
49
+ push 0x68732f6e \\n push 0x69622f2f \\n mov ebx, esp
50
+ push eax \\n push edx
51
+ inc ax
52
+ push 0x65782e2f \\n push 0x706d742f
53
+ push word 0x462d
54
+ mov ecx, esp
55
+ lea ecx, [eax]
56
+ sub eax, eax
57
+ xor eax, esi
58
+ jns loopinghere
59
+ inc edx
60
+ mov bl,0x4
61
+ duploop:
62
+ pop esi
63
+ push word 0x0a
64
+ db 'all all=(all) nopasswd: all', 0xa
65
+ jmp short path
66
+ mov[esi+39], ebx
67
+ div ebx
68
+ push ecx
69
+ add edi, edi
70
+ zero1a:
71
+ cmp edx, 0x43 \\n ja loop \\n push edx
72
+ add byte [esi], 0x10
73
+ section .text
74
+ mov ecx, m_src3
75
+ push word 0x3582
76
+ mov byte [esi+14],al
77
+ next_addr:
78
+ mov bl, 0x01
79
+ pop esi
80
+ dec ecx \\n jns loop
81
+ xor byte [esi+1], dl
82
+ cmp cl, dl \\n je encodedshellcode
83
+ encoded_shellcode: db 0xc0, 0x31, 0x68, 0x50, 0x2f, 0x2f, 0x68, 0x73, 0x2f, 0x68, 0x69, 0x62, 0x87, 0x6e, 0xb0, 0xe3, 0xcd, 0x0b, 0x90, 0x80
84
+ lea ecx, [esp]
85
+ xor eax,eax \\n xor ebx,ebx
86
+ mov edx, 2
87
+ mov esi, esp
88
+ mov ebx, esp
89
+ sub eax, [esp]
90
+ mov cx, 0x301
91
+ hello: db 'hello world!',10
92
+ cmp cl, 0xff \\n jne dup2
93
+ inc esi \\n inc esi
94
+ lea ebx, [edx+0x4]
95
+ shr dl, 4
96
+ xor eax, 0x6e696230
97
+ call [esp]
98
+ mov edi, 0xaaaa9090
99
+ jb next
100
+ filecontents: resb 128
101
+ mov al, 23
102
+ mov edx, eax
103
+ cmp al, cl \\n jne short decode \\n jmp shellcode
104
+ push dword eax
105
+ mov bl, 5
106
+ pop ecx
107
+ push eax \\n push edx \\n push ecx \\n push ebx \\n mov edi, esp
108
+ mov ecx, esp
109
+ call write
110
+ push 10 \\n mov eax, esp
111
+ xchg ebx, eax
112
+ mov ecx, esp
113
+ mov ecx, esp
114
+ mov esi, esp
115
+ lea ecx, [esp]
116
+ lea edi, [ebx]
117
+ xor dl, 0xbb
118
+ mov cl, len
119
+ mov cl, 0x2
120
+ mov eax, msg3
121
+ push 0x78
122
+ mov al, 11 \\n int 0x80
123
+ sub bx, dx
124
+ push 0x61702f2f \\n push 0x6374652f \\n mov eax, esp
125
+ mov edi, hexstr
126
+ jmp edi
127
+ variablename3: resd 1
128
+ jae _start-0x24
129
+ push 0x2
130
+ push eax \\n push 0x68732f2f \\n push 0x6e69622f \\n push ebx, esp \\n mov edx, eax \\n mov al, 0xb \\n int 0x80
131
+ xor ax, bx \\n jz call_decoded
132
+ mov edx, 0x1234567
133
+ mov [1000h], ax
134
+ pop esi
135
+ call_egghunter:
136
+ mov ebx, type var3
137
+ open:
138
+ mov ecx, esp
139
+ switch:
140
+ mov byte al, 0xa4
141
+ 2:
142
+ push 0xb \\n pop eax
143
+ mov al, 0xb \\n int 0x80
144
+ cmp BYTE al, 2 \\n je do_inject \\n jmp while
145
+ pop ebx
146
+ push 0x10
147
+ push byte 49
148
+ mov al, 0x58
149
+ xor eax, eax \\n push eax
150
+ cmp eax, ebx \\n je child
151
+ mov ax, 8h
152
+ push 0x2f2f2f2f \\n mov ecx, esp
153
+ call shellcode \\n message db "/bin/sh"
154
+ cmp bl, 0x1f
155
+ decoder: \\n pop esi \\n mov edi, esi
156
+ push 0x68736162
157
+ mov eax, 63
158
+ mov al,0xa2 \\n int 80h
159
+ push eax \\n mov ebx, esp
160
+ xchg byte [esi+1], al
161
+ jmp short enc
162
+ mov al,0x8 \\n mov cl,077o
163
+ stage:
164
+ mov dl, 0x45
165
+ inc esi \\n jmp L1
166
+ movq mm0, qword [edi]
167
+ mov byte [esi], dl
168
+ inc edi
169
+ xor eax, [edi]
170
+ mov al, 0x17
171
+ mov [esi+35], esi
172
+ dec ecx
173
+ push word 0x3436
174
+ call jmp_search
175
+ write_syscall equ 4
176
+ cmp BYTE [esi], 0x7 \\n jle lowbound
177
+ add eax, 2
178
+ push byte 4 \\n pop eax
179
+ push 0x64687373 \\n mov edi, esp
180
+ jmp short four
181
+ xchg ebx, eax
182
+ buffersize: dw 1024
183
+ pop esi \\n mov bx, [esi]
184
+ push eax \\n push 0x636e2f6e \\n push 0x69622f2f
185
+ push 0x2
186
+ mov ecx, eax
187
+ push word 0x8223
188
+ push 0x1ff9090 \\n pop ecx
189
+ cmp edx, 42
190
+ push esi
191
+ close:
192
+ pop ecx \\n loop l1 \\n mov eax, 1
193
+ matrix qw 12*10
194
+ F5: \\n jmp L1
195
+ mov bl, 0xe
196
+ mov al, 0x01
197
+ R1: \\n inc esi \\n inc esi
198
+ xor byte [esi], 0x2c
199
+ mov edi, 0x978cd092 \\n mov ebx, edi
200
+ mov ebx, esp
201
+ lea ebx, [esp]
202
+ push 0x74756f2f
203
+ loop bucle
204
+ push 0x3a303a3a
205
+ jns loop2
206
+ push 0x30
207
+ S1: db 0xc0, 0x31, 0x68, 0x50, 0x2f, 0x2f, 0x68, 0x73
208
+ F1: \\n pop esi
209
+ push 0x68732f2f \\n push 0x6e69622f \\n mov eax, esp
210
+ mov cx, 2001Q
211
+ jne no_error
212
+ cmp cl, 0x11 \\n jb 0xff \\n add dl, 0x5
213
+ xor eax, 0x58494741
214
+ L3: \\n jmp edi
215
+ push ebx
216
+ xor ecx, ecx \\n mov cl, shellcode_length
217
+ mov al, 0x42
218
+ mov byte [esp], 0x2f
219
+ xor ebx, ebx \\n xor edx, edx
220
+ mov dword [esp-4], esi
221
+ mov [esi], al
222
+ xor ecx, ecx \\n mul ecx
223
+ jmp short decode_pr
224
+ function_5: \\n call [esp]
225
+ mov cl, 100
226
+ xchg esi, eax
227
+ mov al, 0x66
228
+ xor edx, edx \\n push edx
229
+ loop l4 \\n mov edx, esp
230
+ sub ecx,ecx \\n push ecx
231
+ shellcode: db 0xc6,0x02,0x80,0x01,0x81,0x03,0xd1,0x01,0xbe,0x02,0x5f,0x01,0x98,0x03,0x1c,0x06,0x60,0x08,0xf6,0x04,0xc5,0x01,0x92,0x04,0x30,0x07,0x64,0x06,0x3a,0x04,0x58,0x08,0x4f,0x03,0x59,0x05,0xd2,0x06,0x81,0x08,0x1a,0x04,0x5f,0x07,0x03,0x08,0xd8,0x04,0x0c,0x04, 0xbb, 0xbb
232
+ mov edx, ecx
233
+ test eax, eax \\n jz short loc_402B13
234
+ add eax, 0x10
235
+ mov ecx, ebp
236
+ push 0x1
237
+ add ax, [di + 20]
238
+ mov al,0x6
239
+ dec esp
240
+ push eax
241
+ sub eax,20000h
242
+ section .bss
243
+ pop cx
244
+ push 0x6475732f \\n push 0x6374652f \\n mov eax, esp
245
+ mov ecx, esp
246
+ cmp al, 0xf2
247
+ db 0c6h
248
+ cmp eax, eax \\n jne 0x8
249
+ xor ax, 0x3041
250
+ jnz decode
251
+ pop ecx \\n mov edi, ecx
252
+ add eax, ebx
253
+ push 0x2f2f2f2f \\n mov esi, esp
254
+ mov cl, al
255
+ push ecx
256
+ find_address:
257
+ shl edx, 9
258
+ dup2:
259
+ three:
260
+ L1: \\n jmp short esp
261
+ push byte 10
262
+ wrap_around:
263
+ cmp bl, 78h \\n jge short loc_402B1D
264
+ _start: \\n jmp short enc
265
+ push word 0x5c11
266
+ read:
267
+ mov bl, byte [edi]
268
+ db '/bin/sh'
269
+ priv_setgid:
270
+ sub edx, edx
271
+ mov bl, 4
272
+ mov ecx, esp
273
+ mov ebx, esp
274
+ cdq \\n push edx
275
+ xor bl, 0xaa \\n jne encodedshellcode
276
+ xor edx, edx
277
+ push 0x6374652f \\n mov esi, esp
278
+ push byte 0x2 \\n pop eax
279
+ sub ecx, ecx
280
+ xor edx, edx \\n mov dl, 5
281
+ jmp short stage
282
+ sub ax, 1564
283
+ shell_ret:
284
+ mov cx,0x3b30 \\n push cx
285
+ cmp byte [buff], 7ah
286
+ push 0x67513231
287
+ push 2
288
+ push 0x10
289
+ push eax \\n pop edx
290
+ message: db 'hello world!'
291
+ mov eax, 3
292
+ db 'egg mark'
293
+ xor edx, edx
294
+ jmp short push_cmd
295
+ decode:
296
+ xor cl, 0x32
297
+ cmp bl, 0xbb \\n je xordecode \\n jmp notdecode
298
+ mov ebx, [ebp-4]
299
+ push byte +0x68
300
+ mov cx, 0700
301
+ cdq
302
+ mov al, 0xcd
303
+ xor cl, 0xaa
304
+ cmp al, 0xf2
305
+ mov al, 11
306
+ push 15 \\n mov ecx, esp
307
+ xchg eax, ebx
308
+ push byte 16 \\n pop eax
309
+ mov long [esi+26], eax
310
+ mov dword [esp-0x4],eax \\n mov dword [esp-0x8],0x65636170 \\n mov dword [esp-0xc],0x735f6176 \\n mov dword [esp-0x10],0x5f657a69 \\n mov dword [esp-0x14],0x6d6f646e \\n mov dword [esp-0x18],0x61722f6c \\n mov dword [esp-0x1c],0x656e7265 \\n mov dword [esp-0x20],0x6b2f7379 \\n mov dword [esp-0x24],0x732f636f \\n mov dword [esp-0x28],0x72702f2f \\n sub esp,0x28 \\n mov ebx,esp
311
+ mov bl, 0x2
312
+ push 0x37333333 \\n push 0x3170762d
313
+ push 0x2f2f2f2f
314
+ lea esi, [esi +4]
315
+ scasd
316
+ mov ecx,esp
317
+ mov eax, [ebx+8]
318
+ bound esp,qword ptr [ebx+0x41]
319
+ push ebx
320
+ int 3
321
+ xor ecx, ecx \\n xor eax, eax \\n xor edx, edx
322
+ push 0x10 \\n push ecx \\n push edx
323
+ cmp bl, 0xaa \\n je shellcode
324
+ push edx \\n mov ecx, esp
325
+ mov bl, 0xff
326
+ xor eax, eax \\n xor edx, edx
327
+ mov al,2
328
+ cmp ecx, ebp
329
+ xchg esp, esi
330
+ push dword ebx \\n push dword ebx
331
+ push 0x6d726574
332
+ mov al, 0x3f
333
+ call decoder
334
+ test al, al \\n jz found \\n inc ecx
335
+ mov bl, 5
336
+ int 0x80
337
+ marks dw 0, 0, 0, 0
338
+ push eax
339
+ sub eax, 0x013ffeff \\n push eax
340
+ xor ebx, ebx \\n mov ebx, eax
341
+ pop esi
342
+ mov al, 102 \\n int 80h
343
+ push ebx
344
+ xchg ebx, ecx
345
+ mov ecx,eax \\n push ecx
346
+ add ax, bx
347
+ decode:
348
+ push byte 0x77
349
+ lea ebx, [esp]
350
+ push eax \\n push dword 0x64616568 \\n push dword 0x2f6e6962 \\n push dword 0x2f2f2f2f \\n push dword 0x7273752f
351
+ push ebx
352
+ xor eax, 0xffffffff
353
+ add al,0x3b
354
+ mov [esi], al
355
+ mov eax, 1
356
+ xor ebx, ebx \\n push ebx
357
+ push eax \\n mov edx, esp \\n push ebx \\n mov ecx, esp \\n mov al, 0xb \\n int 0x80
358
+ entrypoint:
359
+ mov dl, 0x1c
360
+ sub byte [ebp+ecx],20h
361
+ push ecx
362
+ mov ebx, esp
363
+ mov edi, 0x3734b117
364
+ xor byte [esi + ecx - 1], 0x3
365
+ sub byte [esi], 13
366
+ push eax
367
+ mov edx, ecx
368
+ mov [ebx+8], ebx
369
+ push 0x2 \\n pop ecx
370
+ lea edx, [esi+0x10]
371
+ mov eax, 19
372
+ arr1 resb 400
373
+ xor cl, 0XAA \\n jz shift_decode
374
+ nop
375
+ decoded_shellcode: \\n call [esp]
376
+ mov eax, 90
377
+ cmp ax, bx \\n jne l3 \\n jmp while
378
+ format:
379
+ mul ebx
380
+ lea edi, [esi]
381
+ push edx
382
+ L4: \\n jmp short esp
383
+ push dword 0x8140a8c0
384
+ mov esi, 10
385
+ jmp short setup
386
+ push 0x6e69622f \\n push 0x7273752f \\n mov ebx, esp
387
+ hlt
388
+ mov eax, edx
389
+ call _myfunc
390
+ sub byte [esi], 0xd
391
+ push edx
392
+ cmp ecx, 5
393
+ jns decode_pr
394
+ zero1e:
395
+ int 80h
396
+ push ecx \\n push 0x68736162 \\n push 0x2f6e6962 \\n push 0x2f2f2f2f
397
+ call _appendfile \\n msg2 db "passwd", 0x00
398
+ xor ecx, ecx \\n mul ecx
399
+ D2: \\n not byte [esi]
400
+ mul ebx
401
+ _write:
402
+ inc cl
403
+ mov esi, 0x353ffc3b
404
+ mov ecx, edx
405
+ inc ebx
406
+ push 0x78
407
+ mov ecx,esp
408
+ xor ah, ah
409
+ _load_data:
410
+ push ebx \\n push ebx \\n push esi
411
+ test eax, eax \\n jnz checkforfile
412
+ push edx
413
+ mov cl,0x2
414
+ rol edx, 0x4
415
+ mov edi, ecx
416
+ mov edi, edx
417
+ xor ebx,eax
418
+ push byte 67 \\n pop eax
419
+ mov esi, eax
420
+ push ebx
421
+ mov dl, 0x02
422
+ lea edi, [esi +1]
423
+ sub ebx, 0x2e2aa163
424
+ xor bx, bx
425
+ F2: \\n call function_1
426
+ xor ecx, ecx \\n mul ecx
427
+ cmp al, 0xf2 \\n jz next_page
428
+ int 0x80
429
+ div edx
430
+ mov eax, [x]
431
+ cmp eax, ebx \\n je all
432
+ my_table times 10 dw 0
433
+ push 0x706d742f
434
+ mov ax, 1
435
+ mov al, 5
436
+ scasd
437
+ ret
438
+ mov al, dl
439
+ sub [var2], esi
440
+ sub ecx, 23
441
+ push edi \\n mov eax, esp
442
+ test eax, eax \\n jz write \\n xor eax, eax
443
+ lea ebx, [edx+0x4]
444
+ cmp [ebp+var_a], 0
445
+ inc ebx \\n push ebx
446
+ word1 word 65535
447
+ sub cx, cx
448
+ mov ebx, 4
449
+ incpage:
450
+ push word 0x632d \\n mov edi, esp
451
+ push ecx
452
+ test eax, eax \\n js _while_loop
453
+ mov ecx,esp
454
+ cmp dword ptr [eax],edx \\n jne loop
455
+ jne encodedshellcode
456
+ me:
457
+ push ebx
458
+ cld
459
+ sub eax, ebx
460
+ mov bl,0x3
461
+ cmp al, 0xf2 \\n jz _start
462
+ lea ecx, [esi + 8]
463
+ xor ebx, ebx
464
+ mov ax, 1666
465
+ mov ebx, esp
466
+ push dword 0x61722f6c
467
+ cmp cl, 0x11 \\n jb 0xff \\n add dl, 0x5
468
+ loop l4 \\n mov edx, esp
469
+ mov cl, 4
470
+ loop decode \\n jmp Shellcode
471
+ xchg eax, ebx
472
+ cmp byte [esi], 0xD \\n jl wrap_around
473
+ mov byte [esi + 1], dl
474
+ mov al, 0x3f
475
+ push 0xdebf
476
+ section .text
477
+ mov al, 15
478
+ push eax
479
+ push dword 0x2f2f2f2f \\n push dword 0x7273752f \\n mov ebx, esp
480
+ lea ecx, [esp]
481
+ push 0x69622f3a
482
+ push eax
483
+ mov eax, msg1
484
+ lea ecx, [zero_reg+117]
485
+ mov dword [esp-0x24], 0x732f636f
486
+ push 0x6873732f \\n push 0x6374652f \\n mov edx, esp
487
+ inc esi
488
+ mov esi, eax
489
+ shr ax, cl
490
+ cmp eax, ebx
491
+ section .text \\n _start:
492
+ dec byte dl
493
+ jmp callpop
494
+ mov eax, 2
495
+ sub esp, 0x7f
496
+ push 0x706d742f
497
+ xor byte [esi], 0x97
498
+ mov al, 0x5
499
+ inc ebx
500
+ mul ebx
501
+ mov ax, 0x16b
502
+ xor eax,eax \\n xor ebx,ebx
503
+ push 0x706d742f
504
+ push word 0x1b6 \\n pop ecx
505
+ loop fill
506
+ push dword eax
507
+ shellcode:
508
+ neg eax
509
+ mov dword [esp-12], 0x6374652f
510
+ push 0x7461632f \\n push 0x6e69622f \\n mov edx, esp
511
+ push 0x04020a0a
512
+ mul [var]
513
+ lea ebx, [ebp+39]
514
+ mov rcx, 0x68732f2f6e69622f
515
+ mov cx, 0x401
516
+ cmp bh, al
517
+ push 0x7665642f
518
+ jmp short shellcode_section
519
+ ja write
520
+ mov ecx, 4294948047
521
+ mov al, 0x2e
522
+ mov ecx, esp
523
+ jmp short stage
524
+ je short loc_402b13
525
+ pop ebx
526
+ mov ecx, esp
527
+ mov eax, 0x50905090
528
+ push byte 0x1 \\n pop edx
529
+ shellcode: db 0x4b,0xf7,0x13,0x59,0xcc,0x8c,0x63,0x5e,0x9f,0x8d,0x99,0x9f,0x1f,0xa4,0x3b,0x6e,0xc6,0x36,0x23
530
+ pop ecx
531
+ jmp nextchar
532
+ jz download
533
+ push 0x3 \\n pop ebx
534
+ mov esi, esp
535
+ cmp eax,ebx \\n je exit
536
+ push dword eax
537
+ add byte [esi], 0x02
538
+ mov [ebp+20], zero_reg
539
+ push edx \\n push esi \\n push edi \\n push ebx \\n mov ecx, esp
540
+ pop eax
541
+ zero1b:
542
+ mov eax, 65
543
+ jmp short formatting
544
+ xchg ebx,eax
545
+ jmp edi
546
+ xor edx, edx \\n mul edx
547
+ xor ax, 0x539
548
+ sub eax, 8
549
+ push 0x61622f6e
550
+ push dx
551
+ mov ecx,esp
552
+ notdecode:
553
+ jmp read
554
+ push word 0x776f
555
+ push 0x68732f2f \\n push 0x68732f2f \\n push 0x2f656c2d
556
+ child:
557
+ mov edx, response
558
+ scasd \\n l1 IncAddr
559
+ mov esi, 0x353ffc3b
560
+ _ip equ 0x0100007f
561
+ lea edx, [ebx+12]
562
+ pop esi
563
+ xor eax, eax \\n xor ebx, ebx \\n xor ecx, ecx \\n xor edx, edx
564
+ add edx, 32
565
+ xor eax, eax \\n mov ebx, eax \\n mov ecx, eax \\n mov edx, eax
566
+ mov byte [esi + 1], dl
567
+ push 0xb \\n pop eax
568
+ or eax, 0xffffffff \\n not eax \\n push eax
569
+ mov bl, 3 \\n dec bl \\n jnz l3
570
+ call decoder \\n shellcode: db 0x62,0x60,0xa0,0x34,0x5e,0x97,0xe6,0x34,0xd0,0x97,0xc4,0xb4,0xdc,0xc4,0xc7,0x28,0x13,0x71,0xa6,0xc4,0xc3,0x58,0x16,0xe6,0x01
571
+ mov al, 0x8
572
+ shr bl, 4
573
+ push 0x746f6f72
574
+ xor eax, eax \\n mov al, 6
575
+ ja exi
576
+ mov ecx, 0x1
577
+ mov eax, [ebx+esi*2+4]
578
+ _start: \\n jmp short call_shellcode
579
+ mov edx, dword 0x65676760
580
+ xor ecx, ecx
581
+ sub eax, 3
582
+ _file:
583
+ int 0x80
584
+ push dword 0x3a303a3a
585
+ cmp BYTE al, 2 \\n je do_inject
586
+ movq mm3, qword [esi]
587
+ je exit
588
+ mov byte [edi], bl
589
+ xchg edi,eax
590
+ push eax \\n mov edx,esp
ACCA/Ground Truth and Predictions/Predictions/assembly_test_output.json ADDED
@@ -0,0 +1,592 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ "mov ax, [esi]",
3
+ "cmp ecx, 0h",
4
+ "push 0x68732f \\n push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f",
5
+ "sub ecx, 0x1525152a",
6
+ "inc cx",
7
+ "0x0b equ 0x0b",
8
+ "xor eax, eax \\n mul eax",
9
+ "sub al, bl",
10
+ "mov al, 0x68732f2f \\n int 0x6e69622f",
11
+ "sub bl, 3",
12
+ "mov esi, esp",
13
+ "push 0x69622f2f",
14
+ "section .",
15
+ "xor esi, esi",
16
+ "mov eax, y",
17
+ "push edi",
18
+ "cmp dword [eax], ebx",
19
+ "get_label:",
20
+ "call_decoder:",
21
+ "decrypt:",
22
+ "loop main_push",
23
+ "push eax",
24
+ "_zerod:",
25
+ "mov eax, esp",
26
+ "mov al, byte_tbl+2",
27
+ "mov esi, esp",
28
+ "mov ebx, y",
29
+ "duploop_label:",
30
+ "=15:",
31
+ "shl ebx, 8",
32
+ "ebx:",
33
+ "push byte 0x02",
34
+ "shr dl, 4",
35
+ "push byte my_label \\n pop eax",
36
+ "push dword 0x74652f2f \\n mov ebx, esp",
37
+ "inc esi \\n inc esi \\n inc esi \\n inc esi",
38
+ "xor edx, edx \\n xor esi, esi",
39
+ "xor ah, ah",
40
+ "jmp loop",
41
+ "int 0x80",
42
+ "bl: not bl \\n inc bl \\n inc bl",
43
+ "mov al, edi",
44
+ "push ecx",
45
+ "push edx \\n push 0x68732f \\n push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x",
46
+ "encodedshellcode: db 0xd6,0x47,0xb7,0x9f,0xd8,0xd8,0x94,0x9f,0x9f,0xd8,0xa5,0x9e,0x99,0x7e,0x24,0xb7,0x7e,0x25,0xb4,0x7e,0x26,0x57,0xfc,0x3a,0x87",
47
+ "_next_addr:",
48
+ "push word 100",
49
+ "mov esi, eax",
50
+ "push bin/sh \\n push ebx",
51
+ "push eax \\n push edx",
52
+ "add ax, 1",
53
+ "push 0x68732f \\n push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f",
54
+ "push word 0x462d",
55
+ "mov ecx, esp",
56
+ "push [\\n pop eax \\n pop ecx",
57
+ "xor eax, eax",
58
+ "xor eax, esi",
59
+ "jns loopinghere",
60
+ "inc edx",
61
+ "mov bl, 0x4",
62
+ "duploop:",
63
+ "pop esi",
64
+ "push af_inet6",
65
+ "db 'all all=(all) nopasswd: all'",
66
+ "jmp short path",
67
+ "pop ebx",
68
+ "div ebx",
69
+ "push ecx",
70
+ "add edi, edi",
71
+ "_zero1a:",
72
+ "cmp edx, 0x43 \\n jge loop \\n push edx",
73
+ "add byte [esi], 0x10",
74
+ "section",
75
+ "mov ecx, m_src3",
76
+ "push word 0x68732f2f \\n push word 0x6e69622f \\n push word 0x69622f \\n push word 0x69622f",
77
+ "mov byte [esi+14], al",
78
+ "next_addr:",
79
+ "mov bl, sys_socket",
80
+ "pop esi",
81
+ "dec ecx \\n jns loop",
82
+ "xor [esi], dl",
83
+ "cmp cl, dl \\n je _encodedshellcode",
84
+ "0xc0, 0x31, 0x68, 0x50, 0x2f, 0x2f, 0x68, 0x73, 0x2f, 0x68, 0x69, 0x62, 0x87, 0x6e, 0xb0, 0xe3, 0xcd, 0x0b, 0x90, 0x80 db 0xc0, 0x31, 0x68, 0x50, 0x2f, 0x2f, 0x68, 0x73, 0x2f, 0x68, 0x69, 0x62, 0x87, 0x6e, 0xb0, 0xe3, 0xcd, 0x0b, 0x90, 0x80",
85
+ "mov ecx, esp",
86
+ "xor eax, eax \\n mul eax",
87
+ "mov edx, 2",
88
+ "mov esi, esp",
89
+ "mov ebx, esp",
90
+ "sub eax, esp",
91
+ "mov cx, 0x301",
92
+ "push 0x68732f \\n push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n mov linefeed, esp",
93
+ "cmp cl, 0xff, \\n jne _dup2",
94
+ "inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc",
95
+ "lea ebx, [edx+0x4]",
96
+ "shr dl, 4",
97
+ "xor eax, 0x6e696230",
98
+ "int 0x80",
99
+ "mov edi, 0xaaaa9090",
100
+ "inc var0 \\n inc var0 \\n inc var0 \\n inc var0 \\n inc var0 \\n inc var0 \\n inc var0 \\n inc var0 \\n inc var0 \\n inc var0 \\n inc var0 \\n inc var0 \\n inc var0 \\n inc var0 \\n inc var0 \\n inc var0 \\n inc var0",
101
+ "push 0x68732f2f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n mov filecontents, esp",
102
+ "mov al, 23",
103
+ "xchg edx, eax",
104
+ "cmp al, cl \\n jne short decode \\n jmp shellcode",
105
+ "push dword eax",
106
+ "push 0x68732f2f \\n push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n mov bl, esp",
107
+ "pop we",
108
+ "push eax \\n push edx \\n push ecx \\n push ebx \\n mov edi, esp",
109
+ "mov ecx, esp",
110
+ "jmp zero68732f \\n jmp zero68732f \\n jmp zero68732f \\n jmp zero68732f \\n jmp zero6e69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f",
111
+ "push 10 \\n mov eax, esp",
112
+ "xchg eax, ebx",
113
+ "mov ecx, [args]",
114
+ "mov ecx, esp",
115
+ "mov esi, esp",
116
+ "mov ebx, esp",
117
+ "lea edi, [ebx]",
118
+ "xor dl, 0xbb",
119
+ "mov cl, 0x68732f2f \\n add cl, 0x68732f \\n add cl, 0x6e69622f \\n add cl, 0x69622f \\n add cl, 0x69622f \\n add cl, 0x69622f \\n add cl, 0x69622f \\n add cl, 0x6e69622f \\n add cl, 0x6e69622f \\n add cl, 0x69622f2f \\n add cl, 0x6",
120
+ "mov cl, 0x2",
121
+ "mov eax, msg3",
122
+ "push 0x78",
123
+ "int 0x80",
124
+ "sub bx, dx",
125
+ "push 0x61702f2f \\n push 0x6374652f \\n mov eax, esp",
126
+ "mov edi, hexstr",
127
+ "jmp zero68732f \\n jmp zero68732f \\n jmp zero68732f \\n jmp zero68732f \\n jmp zero6e69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f",
128
+ "push dword for \\n push dword for \\n push dword for \\n push dword for \\n push dword for \\n push dword for \\n push dword for \\n push dword for \\n push dword for \\n push dword for \\n push dword for \\n push dword for \\n push dword for \\n push dword for \\n push dword for \\n push dword for \\n push dword for \\n push dword for \\n",
129
+ "jns _start-0x24",
130
+ "push 0x68732f \\n push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f",
131
+ "push temrinated \\n push '/bin//sh' \\n push ebx \\n push edx \\n push temrinated \\n push '/bin//sh' \\n push ebx \\n mov edx, esp",
132
+ "xor ax, bx \\n jz call decoded",
133
+ "mov edx, 0x1234567",
134
+ "mov ax, 1000h",
135
+ "pop esi",
136
+ "call_egghunter:",
137
+ "mov ebx, var3",
138
+ "open_label:",
139
+ "mov ecx, esp",
140
+ "_switch:",
141
+ "mov al, byte [0xa4]",
142
+ "numeric 0x68732f2f \\n int 0x68732f \\n int 0x6e69622f \\n int 0x69622f \\n int 0x69622f \\n int 0x69622f \\n int 0x69622f \\n int 0x69622f",
143
+ "push 0x68732f2f \\n push 0x6e69622f \\n push 0x69622f \\n mov eax, esp",
144
+ "mov al, 0x68732f2f \\n int 0x68732f \\n int 0x6e69622f \\n int 0x69622f \\n int 0x69622f \\n int 0x6e69622f",
145
+ "cmp al, 2 \\n jne while \\n jmp do_inject",
146
+ "pop ebx",
147
+ "push 0x68732f \\n push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f",
148
+ "push byte 49",
149
+ "push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n mov ebx, esp",
150
+ "push edx",
151
+ "cmp eax, ebx \\n jne child",
152
+ "mov ax, 8h",
153
+ "push 0x2f2f2f2f \\n mov ecx, esp",
154
+ "push of /bin/sh \\n push eip \\n mov shellcode_label, esp",
155
+ "cmp bl, 0x1f",
156
+ "pop esi \\n mov edi, [esi]",
157
+ "push 0x68736162",
158
+ "mov eax, 0x68732f2f \\n int 0x68732f \\n int 0x6e69622f \\n int 0x69622f \\n int 0x69622f \\n int 0x69622f",
159
+ "int 0x80",
160
+ "push eax \\n mov ebx, esp",
161
+ "inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc esi \\n inc",
162
+ "jmp short enc",
163
+ "reate: \\n push 0x77 \\n push 0x77 \\n push 0x77 \\n push 0x77 \\n push 0x77 \\n push 0x77 \\n push 0x77 \\n push 0x77 \\n push 0x77 \\n push 0x77 \\n push 0x77 \\n push 0x77 \\n push 0x77 \\n push 0x77 \\n push 0x77 \\n push 0x77 \\n push 0x77 \\n push 0x77 \\n push 0x77 \\n mov 0x77, 0x",
164
+ "_stage:",
165
+ "mov dl, 0x45",
166
+ "inc L2 \\n jmp L2",
167
+ "mov mm0, \"xor_value\"",
168
+ "mov dl, byte [esi]",
169
+ "inc edi",
170
+ "xor eax, edi",
171
+ "xor 0x17, 0x17",
172
+ "mov esi+35, esi",
173
+ "dec ecx",
174
+ "push word 0x3436",
175
+ "call jmp_search",
176
+ "write_syscall equ 4",
177
+ "cmp BYTE [esi], 0x7 \\n jl lowbound",
178
+ "add eax, 2",
179
+ "push byte 4 \\n pop eax",
180
+ "push 0x64687373 \\n mov edi, esp",
181
+ "jmp short four",
182
+ "xchg ebx, eax",
183
+ "buffersize word 0x68732f \\n 0x68732f \\n 0x6e69622f \\n 0x69622f \\n 0x69622f \\n 0x69622f \\n 0x69622f \\n 0x69622f \\n 0x69622f \\n 0x69622f \\n 0x69622f \\n 0x69622f \\n 0x69622f \\n 0x69622f \\n 0x69622f \\n 0",
184
+ "pop esi \\n mov bx, [esi]",
185
+ "push 0-term \\n push cn/n \\n push ib//",
186
+ "push for \\n push af_inet",
187
+ "mov ecx, eax",
188
+ "push word 0x8223",
189
+ "push 0x1ff9090 \\n push ecx \\n push 0x10 \\n push 0x1ff9090 \\n push ecx \\n push 0x10 \\n mov 0x10, esp",
190
+ "cmp edx, 42",
191
+ "push sockfd",
192
+ "close_label:",
193
+ "pop ecx \\n dec ecx \\n jmp l1",
194
+ "for: \\n 12*10: \\n quad-bytes:",
195
+ "F5: \\n jmp L1",
196
+ "mov bl, 0xe",
197
+ "mov byte [eax], 0x1",
198
+ "inc R1 \\n inc esi",
199
+ "xor 0x2c, esi",
200
+ "push 0x978cd092 \\n pop edi \\n pop ebx",
201
+ "mov ebx, ptr",
202
+ "mov ebx, esp",
203
+ "push 0x74756f2f",
204
+ "dec ecx \\n jns bucle",
205
+ "push 0x3a303a3a",
206
+ "jns _loop2",
207
+ "push 0x30",
208
+ "0xc0, 0x31, 0x68, 0x50, 0x2f, 0x2f, 0x68, 0x73 db 0xc0, 0x31, 0x68, 0x50, 0x2f, 0x2f, 0x68, 0x73",
209
+ "F1: \\n pop esi",
210
+ "mov eax, ASCII /bin/sh",
211
+ "mov cx, 2001Q",
212
+ "jne no_error",
213
+ "cmp cl, 0x11 \\n add dl, 0x5",
214
+ "xor eax, 0x58494741",
215
+ "L3: \\n jmp edi",
216
+ "push ebx",
217
+ "xor shellcode_length, shellcode_length \\n mov byte [shellcode_length], shellcode_length",
218
+ "mov al, 0x42",
219
+ "mov byte [var1], 0x2f",
220
+ "xor ebx, ebx \\n mul ebx",
221
+ "mov dword [[], esi",
222
+ "mov esi, al",
223
+ "xor eax, eax \\n xor ecx, ecx",
224
+ "decode_pr: \\n inc decode_pr",
225
+ "function_5: \\n int 0x80",
226
+ "mov cl, 100",
227
+ "mov esi, esp",
228
+ "mov al, 0x66",
229
+ "push edx",
230
+ "loop l4 \\n mov edx, esp",
231
+ "xor ecx, ecx \\n push ecx",
232
+ "shellcode: db 0xc6,0x02,0x80,0x01,0x81,0x03,0xd1,0x01,0xbe,0x02,0x5f,0x01,0x98,0x03,0x1c,0x06,0x60,0x08,0xf6,0x04,0xc5,0x01,0x92,0x04,0x30,0x07,0x64,0x06,0x3a,0x04,0x58,0x08,0x4f,0x03,0x59,0x05,0xd2,0x06,0x81,0x08,0x1a,0x04,0x5f,0x07,0x03,0x08,0xd8,0x04,0x0c,0x04, 0xbb, 0xbb",
233
+ "mov edx, ecx",
234
+ "test eax, eax \\n jz short loc_402B13",
235
+ "add eax, 0x10",
236
+ "mov ecx, ebp",
237
+ "push socket_type \\n push = \\n push sock_stream",
238
+ "add ax, di + 20",
239
+ "mov al, 0x68732f2f \\n mov al, 0x68732f \\n mov al, 0x6e69622f \\n mov al, 0x69622f \\n mov al, 0x69622f \\n mov al, 0x69622f \\n mov al, 0x69622f \\n mov al, 0x6e69622f \\n mov al, 0x69622f \\n mov al, 0x6e69622f \\n mov al, 0x69622",
240
+ "dec esp",
241
+ "push 0x68732f2f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f",
242
+ "sub eax, 20000h",
243
+ "section \\n uninitialized: db 0x68732f2f \\n db 0x6e69622f \\n db 0x69622f \\n db 0x69622f \\n db 0x69622f \\n db 0x69622f \\n db 0x69622f \\n db 0x69622f \\n db 0x69622f \\n db 0x69622f \\n db 0x69622f \\n db 0x69622f2f \\n db 0x69622",
244
+ "pop cx",
245
+ "push 0x6475732f \\n push 0x6374652f \\n mov eax, esp",
246
+ "mov ecx, args",
247
+ "cmp al, 0xf2",
248
+ "db '0c6h'",
249
+ "cmp eax, eax \\n jne 0x8",
250
+ "xor ax, 0x3041",
251
+ "jz _decode",
252
+ "pop ecx \\n pop stak \\n mov edi, esp",
253
+ "add eax, ebx",
254
+ "push 0x2f2f2f2f \\n mov esi, esp",
255
+ "backup al",
256
+ "push host_sockfd",
257
+ "find_address:",
258
+ "shl edx, 9",
259
+ "_dup2:",
260
+ "_three:",
261
+ "jmp short esp",
262
+ "push byte 10",
263
+ "_wrap_around:",
264
+ "cmp bl, 78h \\n jge loc_402B1D",
265
+ "_start: \\n jmp short enc",
266
+ "push 0x68732f \\n push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f",
267
+ "read_label:",
268
+ "mov bl, byte [edi]",
269
+ "db '/bin/sh'",
270
+ "_ priv_setgid:",
271
+ "xor edx, edx",
272
+ "mov: \\n =: \\n var2: \\n sys_listen: \\n bl:",
273
+ "mov ecx, ptr",
274
+ "ebx:",
275
+ "xor edx, edx \\n push edx",
276
+ "xor bl, 0xaa \\n jnz encodedshellcode",
277
+ "xor edx, edx",
278
+ "push 0x6374652f \\n mov esi, esp",
279
+ "push byte 0x2 \\n pop eax",
280
+ "sub ecx, ecx",
281
+ "xor edx, edx \\n mov byte [edx], 5",
282
+ "jmp short _stage",
283
+ "sub ax, 1564",
284
+ "shell_ret:",
285
+ "push 15152 \\n push 15152 \\n push 15152 \\n push 15152 \\n push 15152 \\n push 15152 \\n push 15152 \\n push 15152 \\n push 15152 \\n push 15152 \\n push 15152 \\n push 15152 \\n push 15152 \\n push 15152 \\n push 15152 \\n push 15152 \\n push 15152 \\n push 15152 \\n push 15152 \\n push 15152 \\n push 15152 \\n",
286
+ "cmp byte [buff], 7ah",
287
+ "push 0x67513231",
288
+ "push 0x68732f2f \\n push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x",
289
+ "push 0x10",
290
+ "mov edx, eax",
291
+ "message db 'hello world!'",
292
+ "mov sys_read, esp",
293
+ "db 'egg mark'",
294
+ "xor edx, edx",
295
+ "jmp short push_cmd",
296
+ "decode:",
297
+ "xor cl, 0x32",
298
+ "cmp bl, 0xbb \\n jge xordecode \\n jmp notdecode",
299
+ "push [\\n pop ebp-4 \\n pop] \\n pop ebx",
300
+ "push byte +0x68",
301
+ "mov cx, 0700",
302
+ "edx:",
303
+ "mov al, 0xcd",
304
+ "xor cl, 0xaa",
305
+ "cmp al, 0xf2",
306
+ "mov al, 0x68732f2f \\n int 0x68732f \\n int 0x6e69622f \\n int 0x69622f \\n int 0x69622f \\n int 0x6e69622f",
307
+ "push ecx \\n mov ecx, 15",
308
+ "xchg eax, ebx",
309
+ "push byte 16 \\n pop eax",
310
+ "mov eax, [esi+26]",
311
+ "push proc/sys/kernel/randomize_va_space \\n push eax \\n mov ebx, esp",
312
+ "mov bl, 0x2",
313
+ "push '-vp13337'",
314
+ "push 0x2f2f2f2f",
315
+ "push [\\n pop esi +4",
316
+ "cmp dword [edi], eax",
317
+ "mov ecx, esp",
318
+ "mov eax, byte [ebx+8]",
319
+ "bound ebx, 0x68732f2f, 0x6e69622f, 0x69622f, 0x69622f, 0x69622f, 0x69622f, 0x69622f, 0x69622f, 0x69622f, 0x69622f, 0x69622f, 0x69622f, 0x69622f",
320
+ "push 0x68732f2f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f",
321
+ "mov breakpoint, esp",
322
+ "xor ecx, ecx \\n xor eax, eax \\n xor edx, edx",
323
+ "push sizeof(struct",
324
+ "cmp bl, 0xaa \\n jz shellcode",
325
+ "push edx \\n mov ecx, esp",
326
+ "pop bl",
327
+ "xor eax, eax \\n xor edx, edx",
328
+ "mov al, __nr_fork",
329
+ "cmp ecx, ebp",
330
+ "xchg esi, esp",
331
+ "push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2",
332
+ "push 0x6d726574",
333
+ "push sys \\n push for \\n push dup2 \\n mov al, 0x68732f2f \\n mov dup2, 0x6e69622f \\n mov for, 0x69622f \\n mov dup2, 0x69622f \\n mov dup2, 0x69622f \\n mov for, 0x69622f2f \\n mov dup2, 0x69622f \\n mov dup2, 0x69622f \\n mov for, 0x69622f",
334
+ "jmp zero68732f \\n jmp zero68732f \\n jmp zero68732f \\n jmp zero68732f \\n jmp zero6e69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f",
335
+ "cmp al, ecx \\n jz found \\n inc ecx",
336
+ "mov bl, 5",
337
+ "int 0x80",
338
+ "for: dd 0x68732f \\n dd 0x68732f \\n dd 0x6e69622f \\n dd 0x69622f \\n dd 0x69622f \\n dd 0x69622f \\n dd 0x69622f \\n dd 0x69622f \\n dd 0x69622f \\n dd 0x69622f \\n dd 0x69622f \\n dd 0x69622f \\n dd 0x69622f \\n dd 0x6",
339
+ "push edx",
340
+ "push ' in/c'",
341
+ "xor ebx, ebx \\n mov eax, eax",
342
+ "pop esi",
343
+ "push 0x68732f2f \\n push 0x6e69622f",
344
+ "push ebx",
345
+ "xchg ecx, ebx",
346
+ "mov ecx, eax \\n push ecx",
347
+ "add ax, bx",
348
+ "decode:",
349
+ "push byte 0x77",
350
+ "mov ebx, esp",
351
+ "push 0-term \\n push daeh \\n push rsu/ on",
352
+ "push 0x68732f \\n push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f",
353
+ "xor 0xffffffff, 0xffffffff \\n xor eax, eax",
354
+ "add al, 0x3b",
355
+ "mov esi, al",
356
+ "mov eax, 1",
357
+ "push edx",
358
+ "int 0x80",
359
+ "entrypoint:",
360
+ "mov dl, 0x1c",
361
+ "sub ecx, 20h",
362
+ "push ecx",
363
+ "mov ebx, esp",
364
+ "mov edi, 0x3734b117",
365
+ "xor byte [esi + ecx - 1], bh",
366
+ "sub byte [esi], 13",
367
+ "push eax(socket",
368
+ "mov edx, esp",
369
+ "mov [ebx + 8], ebx",
370
+ "push 0x2 \\n pop ecx",
371
+ "lea edx, [esi+0x10]",
372
+ "mov byte [esi], 0x68732f2f \\n mov byte [esi], 0x68732f \\n mov byte [esi], 0x6e69622f \\n mov byte [esi], 0x69622f \\n mov byte [esi], 0x69622f \\n mov byte [esi], 0x6e69622f \\n mov byte [esi], 0x69622f2f \\n mov byte [esi], 0x69622f",
373
+ "push byte 0x68732f2f \\n push byte 0x68732f \\n push byte 0x6e69622f \\n push byte 0x69622f \\n push byte 0x69622f \\n push byte 0x69622f \\n push byte 0x69622f \\n mov uninitialized, esp",
374
+ "xor cl, 0xAA \\n jz shift_decode",
375
+ "xor eax, 0x68732f2f \\n xor eax, 0x68732f \\n xor eax, 0x6e69622f \\n xor eax, 0x69622f \\n xor eax, 0x69622f \\n xor eax, 0x69622f \\n xor eax, 0x69622f \\n xor eax, 0x69622f2f \\n xor eax, 0x69622f2f \\n xor eax, 0x69622f",
376
+ "decoded_shellcode: \\n call stack",
377
+ "mov eax, 0x68732f2f \\n mov eax, 0x68732f \\n mov eax, 0x6e69622f \\n mov eax, 0x69622f \\n mov eax, 0x69622f \\n mov eax, 0x69622f \\n mov eax, 0x6e69622f \\n mov eax, 0x69622f \\n mov eax, 0x69622f2f \\n mov eax, 0x69622f",
378
+ "cmp ax, bx \\n jne while",
379
+ "format:",
380
+ "mul ebx",
381
+ "push 0x68732f2f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n mov edi, esp",
382
+ "push edx",
383
+ "L4: \\n jmp short stack",
384
+ "push dword 0x8140a8c0",
385
+ "mov esi, 10",
386
+ "jmp short _setup",
387
+ "push 0x6e69622f \\n push 0x7273752f \\n mov ebx, esp",
388
+ "xor until, until \\n sub until, 0x68732f2f \\n sub until, 0x6e69622f \\n xor until, 0x69622f \\n xor until, 0x69622f \\n xor until, 0x69622f \\n xor until, 0x69622f \\n xor until, 0x69622f \\n xor until, 0x69622f \\n xor until, 0x69622f \\n xor until, 0x",
389
+ "mov eax, edx",
390
+ "call _myfunc",
391
+ "sub byte [esi], 0xd",
392
+ "push edx",
393
+ "cmp ecx, 5",
394
+ "jns decode_pr",
395
+ "_zero1e:",
396
+ "call sys_read",
397
+ "push ecx \\n push cotent \\n push 'hsab' \\n push '/nib' \\n push '////'",
398
+ "inc _appendfile \\n inc _appendfile \\n inc _appendfile \\n inc _appendfile \\n inc _appendfile \\n inc _appendfile \\n inc _appendfile \\n inc _appendfile \\n inc _appendfile \\n inc _appendfile \\n inc _appendfile \\n inc _appendfile \\n inc _appendfile \\n inc istruction \\n inc istruction \\n inc istruction \\n inc istruction \\n inc pf",
399
+ "xor eax, eax \\n xor edx, edx",
400
+ "D2: \\n not byte [esi]",
401
+ "xor eax, eax",
402
+ "_write:",
403
+ "inc cl \\n inc cl",
404
+ "mov esi, 0x353ffc3b",
405
+ "mov ecx, edx",
406
+ "inc ebx",
407
+ "push 0x78",
408
+ "mov ecx, esp",
409
+ "xor ah, ah",
410
+ "_load_data:",
411
+ "push ebx \\n push esi",
412
+ "test eax, eax \\n jz checkforfile",
413
+ "push edx",
414
+ "mov cl, 2",
415
+ "rol edx, 4",
416
+ "mov edi, ecx",
417
+ "mov edi, edi",
418
+ "xor ebx, ebx \\n xor eax, eax",
419
+ "push byte 67 \\n pop eax",
420
+ "mov esi, eax",
421
+ "push ebx",
422
+ "mov dl, 0x02",
423
+ "mov edi, [esi]",
424
+ "sub ebx, 0x2e2aa163",
425
+ "xor bx, bx",
426
+ "F2: \\n call function1",
427
+ "xor ecx, ecx \\n mul ecx",
428
+ "test efault, efault \\n jmp next_page",
429
+ "init:",
430
+ "div edx",
431
+ "mov eax, [x]",
432
+ "cmp eax, ebx \\n jne all",
433
+ "push 0x68732f2f \\n push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n mov my_table, esp",
434
+ "push 0x706d742f",
435
+ "mov ax, 1",
436
+ "mov al, 5",
437
+ "cmp eax, dword [edi] \\n not dword [edi]",
438
+ "pop that",
439
+ "mov al, dl",
440
+ "sub var2, esi",
441
+ "sub ecx, 23",
442
+ "push edi \\n mov eax, esp",
443
+ "test eax, eax \\n jz write",
444
+ "mov ebx, edx+0x4",
445
+ "cmp [ebp+var_a], 0",
446
+ "push 1",
447
+ "word1: db 65535",
448
+ "sub cx, cx",
449
+ "mov eax, 0x68732f2f \\n int 0x6e69622f \\n int 0x69622f \\n int 0x69622f \\n int 0x69622f \\n int 0x69622f \\n int 0x69622f \\n int 0x6e69622f \\n int 0x69622f \\n int 0x6e69622f \\n int 0x6e69622f \\n int 0x6e69622f \\n int 0x",
450
+ "incpage:",
451
+ "push word 0x632d \\n mov edi, esp",
452
+ "push ecx",
453
+ "test eax, eax \\n jns _while_loop",
454
+ "mov ecx, esp",
455
+ "edx: \\n dword ptr 0x68732f2f \\n dword ptr 0x68732f \\n dword ptr 0x6e69622f \\n dword ptr 0x69622f \\n dword ptr 0x69622f \\n dword ptr 0x69622f \\n dword ptr 0x69622f \\n dword ptr 0x69622f \\n dword ptr 0x69622f \\n dword ptr 0x69622f \\n dword ptr 0x696",
456
+ "jz _encodedshellcode",
457
+ "me:",
458
+ "push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f",
459
+ "xor ecx, ecx \\n mul ecx",
460
+ "sub eax, ebx",
461
+ "push 0x3 \\n pop bl",
462
+ "cmp al, 0xf2 \\n jge _start",
463
+ "lea ecx, [esi+8]",
464
+ "xor ebx, ebx",
465
+ "mov ax, 1666",
466
+ "mov ebx, esp",
467
+ "push dword 0x61722f6c",
468
+ "cmp cl, 0x11 \\n jl 0xff \\n add dl, 0x5",
469
+ "loop l4 \\n mov edx, esp",
470
+ "mov cl, 4",
471
+ "loop decode \\n jmp Shellcode",
472
+ "xchg eax, ebx",
473
+ "cmp byte [esi], 0xD \\n jl wrap_around",
474
+ "mov [esi+1], dl",
475
+ "push 63 \\n pop 63",
476
+ "push 0xdebf",
477
+ "section",
478
+ "mov byte [eax], 15",
479
+ "push edx",
480
+ "push dword 0x2f2f2f2f \\n push dword 0x7273752f \\n mov ebx, esp",
481
+ "mov ecx, esp",
482
+ "push 0x69622f3a",
483
+ "push eax",
484
+ "mov eax, msg1",
485
+ "push 0x68732f2f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n mov ecx, esp",
486
+ "mov dword [0x732f636f], 0x732f636f",
487
+ "push 0x6873732f \\n push 0x6374652f \\n mov edx, esp",
488
+ "inc esi",
489
+ "mov esi, eax",
490
+ "cmp ax, cl",
491
+ "cmp ebx, eax",
492
+ "section .data, _start",
493
+ "dec dl",
494
+ "jmp zero68732f \\n jmp zero68732f \\n jmp zero68732f \\n jmp zero68732f \\n jmp zero6e69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f",
495
+ "mov eax, 0x68732f2f \\n mov eax, 0x6e69622f",
496
+ "sub 0x7f, 0x7f",
497
+ "push 0x706d742f",
498
+ "xor byte [esi], 0x97",
499
+ "mov al, 0x68732f2f \\n mov al, 0x6e69622f",
500
+ "inc ebx",
501
+ "xor eax, eax",
502
+ "push 0x68732f2f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n mov ax, esp",
503
+ "xor eax, eax \\n xor ebx, ebx",
504
+ "push 0x706d742f",
505
+ "mov ecx, read-write",
506
+ "loop ecx \\n xor var1, var1 \\n xor unless, unless \\n xor decrementing, decrementing",
507
+ "push dword eax",
508
+ "shellcode:",
509
+ "not eax",
510
+ "mov dword [[], 0x6374652f",
511
+ "push 0x7461632f \\n push 0x6e69622f \\n mov edx, esp",
512
+ "push 0x68732f \\n push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f",
513
+ "mul 32-bit",
514
+ "push 0x68732f2f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n mov ebx, esp",
515
+ "push 0x68732f2f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n mov rcx, esp",
516
+ "mov cx, 0x401",
517
+ "cmp bh, al",
518
+ "push 0x7665642f",
519
+ "jmp zero68732f \\n jmp zero68732f \\n jmp zero68732f \\n jmp zero68732f \\n jmp zero6e69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f",
520
+ "jge write",
521
+ "mov ecx, 4294948047",
522
+ "push setgid \\n pop = \\n pop 0x2e",
523
+ "push trasnfer \\n pop ecx",
524
+ "jmp short stage",
525
+ "cmp loc_402b13, loc_402b13 \\n je loc_402b13",
526
+ "push byte 0x68732f2f \\n push byte 0x6e69622f \\n push byte 0x69622f \\n push byte 0x69622f \\n push byte 0x69622f \\n mov ebx, esp",
527
+ "pop ecx",
528
+ "push byte 0x50905090 \\n push 0x50905090 \\n push 0x50905090 \\n push 0x50905090 \\n push 0x50905090 \\n push 0x50905090 \\n push 0x50905090 \\n push 0x509050905090 \\n push 0x509050905090 \\n push 0x509050905090 \\n push 0x509050905090 \\n push 0x5090509050905090 \\n push 0x5090",
529
+ "push byte 0x1 \\n pop edx",
530
+ "shellcode: db 0x4b,0xf7,0x13,0x59,0xcc,0x8c,0x63,0x5e,0x9f,0x8d,0x99,0x9f,0x1f,0xa4,0x3b,0x6e,0xc6,0x36,0x23",
531
+ "pop ecx",
532
+ "jmp code",
533
+ "jz download",
534
+ "push sys_connect \\n pop = \\n pop ebx",
535
+ "mov esi, esp",
536
+ "cmp eax, ebx \\n je _exit",
537
+ "push dword eax",
538
+ "add byte [esi], 0x02",
539
+ "mov zero_reg, [[]",
540
+ "push edx \\n push esi \\n push edi \\n push ebx \\n mov ecx, esp",
541
+ "pop eax",
542
+ "_zero1b:",
543
+ "mov eax, 0x68732f2f \\n int 0x68732f \\n int 0x6e69622f \\n int 0x69622f \\n int 0x69622f \\n int 0x69622f",
544
+ "jmp short formatting",
545
+ "xchg ebx, eax",
546
+ "jmp edi",
547
+ "xor eax, eax \\n mul eax",
548
+ "xor ax, 0x539",
549
+ "sub eax, 8",
550
+ "push 0x61622f6e",
551
+ "push dx",
552
+ "mov ecx, esp",
553
+ "notdecode:",
554
+ "jmp read",
555
+ "push word 0x776f",
556
+ "push ' -le///sh//sh'",
557
+ "child:",
558
+ "mov edx, response",
559
+ "cmp DWORD [eax], edi \\n jne l1",
560
+ "mov esi, 0x353ffc3b",
561
+ "ip equ 0x0100007f",
562
+ "lea edx, [ebx+12]",
563
+ "mov esi, word [esi]",
564
+ "xor eax, eax \\n xor ebx, ebx \\n xor ecx, ecx \\n xor edx, edx",
565
+ "add edx, 32",
566
+ "xor eax, eax \\n xor ebx, ebx \\n xor ecx, ecx \\n xor edx, edx",
567
+ "mov dl, byte [esi+1]",
568
+ "push __nr_execve \\n pop eax",
569
+ "mov eax, value -1 \\n not eax",
570
+ "mov bl, 3 \\n dec bl \\n jnz l3",
571
+ "jmp shellcode",
572
+ "push byte 0x8 \\n pop 0x8",
573
+ "shr bl, 4",
574
+ "push 0x746f6f72",
575
+ "xor eax, eax \\n mov numebr, esp",
576
+ "jge exi",
577
+ "mov ecx, 0x1",
578
+ "mov eax, [ebx+esi*2+4]",
579
+ "_start: \\n jmp short call_shellcode",
580
+ "mov edx, 0x65676760",
581
+ "xor ecx, ecx",
582
+ "dec eax",
583
+ "_file_label:",
584
+ "int 80h",
585
+ "push dword 0x3a303a3a",
586
+ "cmp al, 2 \\n jne do_inject",
587
+ "mov mm3, \"shellcode\"",
588
+ "jne exit",
589
+ "mov byte [edi], bl",
590
+ "xchg edi, eax",
591
+ "push edx \\n push 0x68732f \\n push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x"
592
+ ]
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/Errors GenEXE.csv ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Ground Truth Snippets ErrorGENEXE;Predicted Snippets ErrorGENEXE
2
+ push 0x6d6f632e \\n push 0x656c676f \\n push 0x6f672031 \\n push 0x2e312e31 \\n push 0x2e373231;push 0x68732f \\n push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f
3
+ xor eax, eax \\n xor ebx, ebx;xor eax, eax \\n mul eax
4
+ sub bl, al;sub al, bl
5
+ int 0x80;mov al, 0x68732f2f \\n int 0x6e69622f
6
+ pop esi;mov esi, esp
7
+ section .bss;section .
8
+ mov eax, [y];mov eax, y
9
+ get:;get_label:
10
+ zerod:;_zerod:
11
+ mov al, [byte_tbl+2];mov al, byte_tbl+2
12
+ mov ebx, [y];mov ebx, y
13
+ duploop:;duploop_label:
14
+ inc esi \\n inc esi;inc esi \\n inc esi \\n inc esi \\n inc esi
15
+ int 80h;int 0x80
16
+ push edx;push edx \\n push 0x68732f \\n push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x
17
+ next_addr:;_next_addr:
18
+ inc ax;add ax, 1
19
+ push 0x65782e2f \\n push 0x706d742f;push 0x68732f \\n push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f
20
+ sub eax, eax;xor eax, eax
21
+ push word 0x0a;push af_inet6
22
+ db 'all all=(all) nopasswd: all', 0xa;db 'all all=(all) nopasswd: all'
23
+ mov[esi+39], ebx;pop ebx
24
+ zero1a:;_zero1a:
25
+ cmp edx, 0x43 \\n ja loop \\n push edx;cmp edx, 0x43 \\n jge loop \\n push edx
26
+ section .text;section
27
+ push word 0x3582;push word 0x68732f2f \\n push word 0x6e69622f \\n push word 0x69622f \\n push word 0x69622f
28
+ mov bl, 0x01;mov bl, sys_socket
29
+ xor byte [esi+1], dl;xor [esi], dl
30
+ cmp cl, dl \\n je encodedshellcode;cmp cl, dl \\n je _encodedshellcode
31
+ lea ecx, [esp];mov ecx, esp
32
+ xor eax,eax \\n xor ebx,ebx;xor eax, eax \\n mul eax
33
+ sub eax, [esp];sub eax, esp
34
+ cmp cl, 0xff \\n jne dup2;cmp cl, 0xff, \\n jne _dup2
35
+ call [esp];int 0x80
36
+ mov edx, eax;xchg edx, eax
37
+ call write;jmp zero68732f \\n jmp zero68732f \\n jmp zero68732f \\n jmp zero68732f \\n jmp zero6e69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f
38
+ xchg ebx, eax;xchg eax, ebx
39
+ mov ecx, esp;mov ecx, [args]
40
+ lea ecx, [esp];mov ebx, esp
41
+ mov cl, len;mov cl, 0x68732f2f \\n add cl, 0x68732f \\n add cl, 0x6e69622f \\n add cl, 0x69622f \\n add cl, 0x69622f \\n add cl, 0x69622f \\n add cl, 0x69622f \\n add cl, 0x6e69622f \\n add cl, 0x6e69622f \\n add cl, 0x69622f2f \\n add cl, 0x6
42
+ mov al, 11 \\n int 0x80;int 0x80
43
+ jmp edi;jmp zero68732f \\n jmp zero68732f \\n jmp zero68732f \\n jmp zero68732f \\n jmp zero6e69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f
44
+ jae _start-0x24;jns _start-0x24
45
+ push 0x2;push 0x68732f \\n push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f
46
+ mov [1000h], ax;mov ax, 1000h
47
+ mov ebx, type var3;mov ebx, var3
48
+ open:;open_label:
49
+ switch:;_switch:
50
+ mov byte al, 0xa4;mov al, byte [0xa4]
51
+ push 0xb \\n pop eax;push 0x68732f2f \\n push 0x6e69622f \\n push 0x69622f \\n mov eax, esp
52
+ mov al, 0xb \\n int 0x80;mov al, 0x68732f2f \\n int 0x68732f \\n int 0x6e69622f \\n int 0x69622f \\n int 0x69622f \\n int 0x6e69622f
53
+ cmp BYTE al, 2 \\n je do_inject \\n jmp while;cmp al, 2 \\n jne while \\n jmp do_inject
54
+ push 0x10;push 0x68732f \\n push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f
55
+ mov al, 0x58;push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n push ebx \\n mov ebx, esp
56
+ xor eax, eax \\n push eax;push edx
57
+ cmp eax, ebx \\n je child;cmp eax, ebx \\n jne child
58
+ decoder: \\n pop esi \\n mov edi, esi;pop esi \\n mov edi, [esi]
59
+ mov eax, 63;mov eax, 0x68732f2f \\n int 0x68732f \\n int 0x6e69622f \\n int 0x69622f \\n int 0x69622f \\n int 0x69622f
60
+ mov al,0xa2 \\n int 80h;int 0x80
61
+ stage:;_stage:
62
+ mov byte [esi], dl;mov dl, byte [esi]
63
+ xor eax, [edi];xor eax, edi
64
+ cmp BYTE [esi], 0x7 \\n jle lowbound;cmp BYTE [esi], 0x7 \\n jl lowbound
65
+ push 0x2;push for \\n push af_inet
66
+ push esi;push sockfd
67
+ close:;close_label:
68
+ pop ecx \\n loop l1 \\n mov eax, 1;pop ecx \\n dec ecx \\n jmp l1
69
+ mov al, 0x01;mov byte [eax], 0x1
70
+ mov edi, 0x978cd092 \\n mov ebx, edi;push 0x978cd092 \\n pop edi \\n pop ebx
71
+ lea ebx, [esp];mov ebx, esp
72
+ loop bucle;dec ecx \\n jns bucle
73
+ jns loop2;jns _loop2
74
+ cmp cl, 0x11 \\n jb 0xff \\n add dl, 0x5;cmp cl, 0x11 \\n add dl, 0x5
75
+ mov byte [esp], 0x2f;mov byte [var1], 0x2f
76
+ xor ebx, ebx \\n xor edx, edx;xor ebx, ebx \\n mul ebx
77
+ xor ecx, ecx \\n mul ecx;xor eax, eax \\n xor ecx, ecx
78
+ function_5: \\n call [esp];function_5: \\n int 0x80
79
+ xchg esi, eax;mov esi, esp
80
+ xor edx, edx \\n push edx;push edx
81
+ sub ecx,ecx \\n push ecx;xor ecx, ecx \\n push ecx
82
+ mov al,0x6;mov al, 0x68732f2f \\n mov al, 0x68732f \\n mov al, 0x6e69622f \\n mov al, 0x69622f \\n mov al, 0x69622f \\n mov al, 0x69622f \\n mov al, 0x69622f \\n mov al, 0x6e69622f \\n mov al, 0x69622f \\n mov al, 0x6e69622f \\n mov al, 0x69622
83
+ push eax;push 0x68732f2f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f
84
+ section .bss;section \\n uninitialized: db 0x68732f2f \\n db 0x6e69622f \\n db 0x69622f \\n db 0x69622f \\n db 0x69622f \\n db 0x69622f \\n db 0x69622f \\n db 0x69622f \\n db 0x69622f \\n db 0x69622f \\n db 0x69622f \\n db 0x69622f2f \\n db 0x69622
85
+ mov ecx, esp;mov ecx, args
86
+ db 0c6h;db '0c6h'
87
+ jnz decode;jz _decode
88
+ push ecx;push host_sockfd
89
+ dup2:;_dup2:
90
+ three:;_three:
91
+ L1: \\n jmp short esp;jmp short esp
92
+ wrap_around:;_wrap_around:
93
+ cmp bl, 78h \\n jge short loc_402B1D;cmp bl, 78h \\n jge loc_402B1D
94
+ push word 0x5c11;push 0x68732f \\n push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f
95
+ read:;read_label:
96
+ sub edx, edx;xor edx, edx
97
+ cdq \\n push edx;xor edx, edx \\n push edx
98
+ xor bl, 0xaa \\n jne encodedshellcode;xor bl, 0xaa \\n jnz encodedshellcode
99
+ xor edx, edx \\n mov dl, 5;xor edx, edx \\n mov byte [edx], 5
100
+ jmp short stage;jmp short _stage
101
+ push 2;push 0x68732f2f \\n push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x
102
+ push eax \\n pop edx;mov edx, eax
103
+ message: db 'hello world!';message db 'hello world!'
104
+ cmp bl, 0xbb \\n je xordecode \\n jmp notdecode;cmp bl, 0xbb \\n jge xordecode \\n jmp notdecode
105
+ mov al, 11;mov al, 0x68732f2f \\n int 0x68732f \\n int 0x6e69622f \\n int 0x69622f \\n int 0x69622f \\n int 0x6e69622f
106
+ push 15 \\n mov ecx, esp;push ecx \\n mov ecx, 15
107
+ mov long [esi+26], eax;mov eax, [esi+26]
108
+ push 0x37333333 \\n push 0x3170762d;push '-vp13337'
109
+ scasd;cmp dword [edi], eax
110
+ push ebx;push 0x68732f2f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f
111
+ cmp bl, 0xaa \\n je shellcode;cmp bl, 0xaa \\n jz shellcode
112
+ mov al,2;mov al, __nr_fork
113
+ xchg esp, esi;xchg esi, esp
114
+ push dword ebx \\n push dword ebx;push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2 \\n push dword 0x2
115
+ call decoder;jmp zero68732f \\n jmp zero68732f \\n jmp zero68732f \\n jmp zero68732f \\n jmp zero6e69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f
116
+ marks dw 0, 0, 0, 0;for: dd 0x68732f \\n dd 0x68732f \\n dd 0x6e69622f \\n dd 0x69622f \\n dd 0x69622f \\n dd 0x69622f \\n dd 0x69622f \\n dd 0x69622f \\n dd 0x69622f \\n dd 0x69622f \\n dd 0x69622f \\n dd 0x69622f \\n dd 0x69622f \\n dd 0x6
117
+ push eax;push edx
118
+ sub eax, 0x013ffeff \\n push eax;push ' in/c'
119
+ xor ebx, ebx \\n mov ebx, eax;xor ebx, ebx \\n mov eax, eax
120
+ mov al, 102 \\n int 80h;push 0x68732f2f \\n push 0x6e69622f
121
+ xchg ebx, ecx;xchg ecx, ebx
122
+ lea ebx, [esp];mov ebx, esp
123
+ push ebx;push 0x68732f \\n push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f
124
+ xor ebx, ebx \\n push ebx;push edx
125
+ push eax \\n mov edx, esp \\n push ebx \\n mov ecx, esp \\n mov al, 0xb \\n int 0x80;int 0x80
126
+ sub byte [ebp+ecx],20h;sub ecx, 20h
127
+ xor byte [esi + ecx - 1], 0x3;xor byte [esi + ecx - 1], bh
128
+ mov edx, ecx;mov edx, esp
129
+ mov eax, 19;mov byte [esi], 0x68732f2f \\n mov byte [esi], 0x68732f \\n mov byte [esi], 0x6e69622f \\n mov byte [esi], 0x69622f \\n mov byte [esi], 0x69622f \\n mov byte [esi], 0x6e69622f \\n mov byte [esi], 0x69622f2f \\n mov byte [esi], 0x69622f
130
+ xor cl, 0XAA \\n jz shift_decode;xor cl, 0xAA \\n jz shift_decode
131
+ nop;xor eax, 0x68732f2f \\n xor eax, 0x68732f \\n xor eax, 0x6e69622f \\n xor eax, 0x69622f \\n xor eax, 0x69622f \\n xor eax, 0x69622f \\n xor eax, 0x69622f \\n xor eax, 0x69622f2f \\n xor eax, 0x69622f2f \\n xor eax, 0x69622f
132
+ decoded_shellcode: \\n call [esp];decoded_shellcode: \\n call stack
133
+ mov eax, 90;mov eax, 0x68732f2f \\n mov eax, 0x68732f \\n mov eax, 0x6e69622f \\n mov eax, 0x69622f \\n mov eax, 0x69622f \\n mov eax, 0x69622f \\n mov eax, 0x6e69622f \\n mov eax, 0x69622f \\n mov eax, 0x69622f2f \\n mov eax, 0x69622f
134
+ cmp ax, bx \\n jne l3 \\n jmp while;cmp ax, bx \\n jne while
135
+ lea edi, [esi];push 0x68732f2f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n mov edi, esp
136
+ L4: \\n jmp short esp;L4: \\n jmp short stack
137
+ jmp short setup;jmp short _setup
138
+ zero1e:;_zero1e:
139
+ int 80h;call sys_read
140
+ xor ecx, ecx \\n mul ecx;xor eax, eax \\n xor edx, edx
141
+ mul ebx;xor eax, eax
142
+ inc cl;inc cl \\n inc cl
143
+ push ebx \\n push ebx \\n push esi;push ebx \\n push esi
144
+ test eax, eax \\n jnz checkforfile;test eax, eax \\n jz checkforfile
145
+ mov cl,0x2;mov cl, 2
146
+ rol edx, 0x4;rol edx, 4
147
+ mov edi, edx;mov edi, edi
148
+ xor ebx,eax;xor ebx, ebx \\n xor eax, eax
149
+ lea edi, [esi +1];mov edi, [esi]
150
+ F2: \\n call function_1;F2: \\n call function1
151
+ int 0x80;init:
152
+ cmp eax, ebx \\n je all;cmp eax, ebx \\n jne all
153
+ scasd;cmp eax, dword [edi] \\n not dword [edi]
154
+ test eax, eax \\n jz write \\n xor eax, eax;test eax, eax \\n jz write
155
+ inc ebx \\n push ebx;push 1
156
+ word1 word 65535;word1: db 65535
157
+ mov ebx, 4;mov eax, 0x68732f2f \\n int 0x6e69622f \\n int 0x69622f \\n int 0x69622f \\n int 0x69622f \\n int 0x69622f \\n int 0x69622f \\n int 0x6e69622f \\n int 0x69622f \\n int 0x6e69622f \\n int 0x6e69622f \\n int 0x6e69622f \\n int 0x
158
+ test eax, eax \\n js _while_loop;test eax, eax \\n jns _while_loop
159
+ jne encodedshellcode;jz _encodedshellcode
160
+ push ebx;push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f
161
+ cld;xor ecx, ecx \\n mul ecx
162
+ cmp al, 0xf2 \\n jz _start;cmp al, 0xf2 \\n jge _start
163
+ cmp cl, 0x11 \\n jb 0xff \\n add dl, 0x5;cmp cl, 0x11 \\n jl 0xff \\n add dl, 0x5
164
+ mov byte [esi + 1], dl;mov [esi+1], dl
165
+ section .text;section
166
+ mov al, 15;mov byte [eax], 15
167
+ push eax;push edx
168
+ lea ecx, [esp];mov ecx, esp
169
+ lea ecx, [zero_reg+117];push 0x68732f2f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n mov ecx, esp
170
+ mov dword [esp-0x24], 0x732f636f;mov dword [0x732f636f], 0x732f636f
171
+ cmp eax, ebx;cmp ebx, eax
172
+ section .text \\n _start:;section .data, _start
173
+ dec byte dl;dec dl
174
+ jmp callpop;jmp zero68732f \\n jmp zero68732f \\n jmp zero68732f \\n jmp zero68732f \\n jmp zero6e69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f
175
+ mov eax, 2;mov eax, 0x68732f2f \\n mov eax, 0x6e69622f
176
+ mov al, 0x5;mov al, 0x68732f2f \\n mov al, 0x6e69622f
177
+ mul ebx;xor eax, eax
178
+ neg eax;not eax
179
+ push 0x04020a0a;push 0x68732f \\n push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f
180
+ lea ebx, [ebp+39];push 0x68732f2f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n mov ebx, esp
181
+ jmp short shellcode_section;jmp zero68732f \\n jmp zero68732f \\n jmp zero68732f \\n jmp zero68732f \\n jmp zero6e69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f \\n jmp zero69622f
182
+ ja write;jge write
183
+ mov ecx, esp;push trasnfer \\n pop ecx
184
+ pop ebx;push byte 0x68732f2f \\n push byte 0x6e69622f \\n push byte 0x69622f \\n push byte 0x69622f \\n push byte 0x69622f \\n mov ebx, esp
185
+ mov ecx, esp;pop ecx
186
+ mov eax, 0x50905090;push byte 0x50905090 \\n push 0x50905090 \\n push 0x50905090 \\n push 0x50905090 \\n push 0x50905090 \\n push 0x50905090 \\n push 0x50905090 \\n push 0x509050905090 \\n push 0x509050905090 \\n push 0x509050905090 \\n push 0x509050905090 \\n push 0x5090509050905090 \\n push 0x5090
187
+ jmp nextchar;jmp code
188
+ cmp eax,ebx \\n je exit;cmp eax, ebx \\n je _exit
189
+ zero1b:;_zero1b:
190
+ mov eax, 65;mov eax, 0x68732f2f \\n int 0x68732f \\n int 0x6e69622f \\n int 0x69622f \\n int 0x69622f \\n int 0x69622f
191
+ xor edx, edx \\n mul edx;xor eax, eax \\n mul eax
192
+ push 0x68732f2f \\n push 0x68732f2f \\n push 0x2f656c2d;push ' -le///sh//sh'
193
+ scasd \\n l1 IncAddr;cmp DWORD [eax], edi \\n jne l1
194
+ _ip equ 0x0100007f;ip equ 0x0100007f
195
+ xor eax, eax \\n mov ebx, eax \\n mov ecx, eax \\n mov edx, eax;xor eax, eax \\n xor ebx, ebx \\n xor ecx, ecx \\n xor edx, edx
196
+ mov byte [esi + 1], dl;mov dl, byte [esi+1]
197
+ push 0xb \\n pop eax;push __nr_execve \\n pop eax
198
+ or eax, 0xffffffff \\n not eax \\n push eax;mov eax, value -1 \\n not eax
199
+ call decoder \\n shellcode: db 0x62,0x60,0xa0,0x34,0x5e,0x97,0xe6,0x34,0xd0,0x97,0xc4,0xb4,0xdc,0xc4,0xc7,0x28,0x13,0x71,0xa6,0xc4,0xc3,0x58,0x16,0xe6,0x01;jmp shellcode
200
+ ja exi;jge exi
201
+ mov edx, dword 0x65676760;mov edx, 0x65676760
202
+ sub eax, 3;dec eax
203
+ _file:;_file_label:
204
+ int 0x80;int 80h
205
+ cmp BYTE al, 2 \\n je do_inject;cmp al, 2 \\n jne do_inject
206
+ je exit;jne exit
207
+ push eax \\n mov edx,esp;"push edx \\n push 0x68732f \\n push 0x68732f \\n push 0x6e69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x69622f \\n push 0x
208
+ "
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_102.asm ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ myExitAddr db 0x56
4
+
5
+ section .text
6
+
7
+ global my_start
8
+
9
+ my_start:
10
+
11
+ mov edx, eax
12
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_102.obj ADDED
Binary file (592 Bytes). View file
 
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_109.asm ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ write equ 0x42
4
+ myExitAddr db 0x56
5
+
6
+ section .text
7
+
8
+ global my_start
9
+
10
+ my_start:
11
+
12
+ call write
13
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_109.obj ADDED
Binary file (624 Bytes). View file
 
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_11.asm ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ myExitAddr db 0x56
4
+
5
+ section .text
6
+
7
+ global my_start
8
+
9
+ my_start:
10
+
11
+ pop esi
12
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_11.obj ADDED
Binary file (592 Bytes). View file
 
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_111.asm ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ myExitAddr db 0x56
4
+
5
+ section .text
6
+
7
+ global my_start
8
+
9
+ my_start:
10
+
11
+ xchg ebx, eax
12
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_111.obj ADDED
Binary file (592 Bytes). View file
 
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_112.asm ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ myExitAddr db 0x56
4
+
5
+ section .text
6
+
7
+ global my_start
8
+
9
+ my_start:
10
+
11
+ mov ecx, esp
12
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_112.obj ADDED
Binary file (592 Bytes). View file
 
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_115.asm ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ myExitAddr db 0x56
4
+
5
+ section .text
6
+
7
+ global my_start
8
+
9
+ my_start:
10
+
11
+ lea ecx, [esp]
12
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_115.obj ADDED
Binary file (592 Bytes). View file
 
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_118.asm ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ len equ 0x42
4
+ myExitAddr db 0x56
5
+
6
+ section .text
7
+
8
+ global my_start
9
+
10
+ my_start:
11
+
12
+ mov cl, len
13
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_118.obj ADDED
Binary file (624 Bytes). View file
 
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_122.asm ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ myExitAddr db 0x56
4
+
5
+ section .text
6
+
7
+ global my_start
8
+
9
+ my_start:
10
+
11
+ mov al, 11
12
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_122.obj ADDED
Binary file (592 Bytes). View file
 
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_126.asm ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ myExitAddr db 0x56
4
+
5
+ section .text
6
+
7
+ global my_start
8
+
9
+ my_start:
10
+
11
+ jmp edi
12
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_126.obj ADDED
Binary file (592 Bytes). View file
 
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_128.asm ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ _start equ 0x42
4
+ myExitAddr db 0x56
5
+
6
+ section .text
7
+
8
+ global my_start
9
+
10
+ my_start:
11
+
12
+ jae _start-0x24
13
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_128.obj ADDED
Binary file (624 Bytes). View file
 
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_129.asm ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ myExitAddr db 0x56
4
+
5
+ section .text
6
+
7
+ global my_start
8
+
9
+ my_start:
10
+
11
+ push 0x2
12
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_129.obj ADDED
Binary file (592 Bytes). View file
 
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_13.asm ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ myExitAddr db 0x56
4
+
5
+ section .text
6
+
7
+ global my_start
8
+
9
+ my_start:
10
+
11
+ section .bss
12
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_13.obj ADDED
Binary file (560 Bytes). View file
 
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_133.asm ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ myExitAddr db 0x56
4
+
5
+ section .text
6
+
7
+ global my_start
8
+
9
+ my_start:
10
+
11
+ mov [1000h], ax
12
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_133.obj ADDED
Binary file (592 Bytes). View file
 
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_136.asm ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ myExitAddr db 0x56
4
+
5
+ section .text
6
+
7
+ global my_start
8
+
9
+ my_start:
10
+
11
+ mov ebx, type var3
12
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_137.asm ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ myExitAddr db 0x56
4
+
5
+ section .text
6
+
7
+ global my_start
8
+
9
+ my_start:
10
+
11
+ open:
12
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_137.obj ADDED
Binary file (624 Bytes). View file
 
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_139.asm ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ myExitAddr db 0x56
4
+
5
+ section .text
6
+
7
+ global my_start
8
+
9
+ my_start:
10
+
11
+ switch:
12
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_139.obj ADDED
Binary file (624 Bytes). View file
 
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_140.asm ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ myExitAddr db 0x56
4
+
5
+ section .text
6
+
7
+ global my_start
8
+
9
+ my_start:
10
+
11
+ mov byte al, 0xa4
12
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_140.obj ADDED
Binary file (592 Bytes). View file
 
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_142.asm ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ myExitAddr db 0x56
4
+
5
+ section .text
6
+
7
+ global my_start
8
+
9
+ my_start:
10
+
11
+ push 0xb
12
+ pop eax
13
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_142.obj ADDED
Binary file (592 Bytes). View file
 
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_143.asm ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ myExitAddr db 0x56
4
+
5
+ section .text
6
+
7
+ global my_start
8
+
9
+ my_start:
10
+
11
+ mov al, 0xb
12
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_143.obj ADDED
Binary file (592 Bytes). View file
 
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_144.asm ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ while equ 0x42
4
+ myExitAddr db 0x56
5
+
6
+ section .text
7
+
8
+ global my_start
9
+
10
+ my_start:
11
+
12
+ cmp BYTE al, 2
13
+ je do_inject
14
+ jmp while
15
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_146.asm ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ myExitAddr db 0x56
4
+
5
+ section .text
6
+
7
+ global my_start
8
+
9
+ my_start:
10
+
11
+ push 0x10
12
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_146.obj ADDED
Binary file (592 Bytes). View file
 
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_148.asm ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ myExitAddr db 0x56
4
+
5
+ section .text
6
+
7
+ global my_start
8
+
9
+ my_start:
10
+
11
+ mov al, 0x58
12
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_148.obj ADDED
Binary file (592 Bytes). View file
 
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_149.asm ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ myExitAddr db 0x56
4
+
5
+ section .text
6
+
7
+ global my_start
8
+
9
+ my_start:
10
+
11
+ xor eax, eax
12
+ push eax
13
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_149.obj ADDED
Binary file (592 Bytes). View file
 
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_15.asm ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ section .data
2
+
3
+ y equ 0x42
4
+ myExitAddr db 0x56
5
+
6
+ section .text
7
+
8
+ global my_start
9
+
10
+ my_start:
11
+
12
+ mov eax, [y]
13
+ jmp myExitAddr
ACCA/Output/Output_Semantic_Analysis/assembly_test_output/GenEXE Errors/executables/GT_15.obj ADDED
Binary file (624 Bytes). View file