Advertisement
Guest User

latest

a guest
Feb 27th, 2015
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.12 KB | None | 0 0
  1. jmp start
  2. dupertrash:
  3. db 0x15
  4. stosw
  5. add di, 5
  6. call far [si]
  7. db 0x14
  8. db 0xa6
  9. db 0x79
  10. trash:
  11. mov ax, 0xcccc
  12. mov dx, ax
  13. mov bx, 0x7096
  14. mov si, cx
  15. ;mov cx, 2
  16. zombieagain:
  17. mov di, [0x2015]
  18. mov word [0x1234], 0x7096
  19. cmp di, bx
  20. je zombieagain
  21. sub di, 0x10
  22. int 0x86
  23. mov word [0x2015],bx
  24. ;loop zombieagain
  25. mov cx,64
  26. hijack:
  27. mov word [0x1234], 0x7096
  28. add si, 1024
  29. mov word [si], 0x26ff
  30. mov word [si+2], 0x1234
  31. mov [0x2015], si
  32. loop hijack
  33. mov di, [0x1237]
  34. add di, 1024
  35. lea bx, [0x7096+attack-trash]
  36. attack:
  37. mov word [di], 0xcccc
  38. add di, 2
  39. jmp bx
  40.  
  41. zombend:
  42. db 0xc3
  43. db 0xf3
  44. db 0xa5
  45. db 0x87
  46. db 0xb8
  47. db 0xdf
  48. db 0xfe
  49. start:
  50. stosw
  51. mov bx,ax
  52. push ds
  53. push es
  54. push ds
  55. pop es
  56.  
  57. jmp realcode
  58. aaa
  59. db 0xa5
  60. db 0xc5
  61. db 0x12
  62. db 0xc5
  63. db 0x19
  64. db 0xc3
  65. db 0x8e
  66. realcode:
  67. mov word [0x1237], ax
  68.  
  69.  
  70.  
  71. lea cx, [(start-trash)/2]
  72. lea si, [bx + trash]
  73. mov di, 0x7096
  74. rep movsw
  75. push ax
  76. jmp tonsofbullshit
  77. db 0x3a
  78. db 0x5a
  79. db 0x90
  80. db 0xc3
  81. db 0x12
  82. db 0x91
  83. tonsofbullshit:
  84.  
  85. mov word [0x1234], 0x7096
  86. push bx
  87. mov ax, 0xa15a
  88. mov dx, 0x2015
  89. mov bx, 0x26ff
  90. mov cx, 0x1234
  91. int 0x87
  92. pop bx
  93.  
  94.  
  95.  
  96.  
  97. lea di,[bx+1024]
  98. mov ax,0xcccc
  99. mov dx,ax
  100. int 86h
  101. int 86h
  102. pop ax
  103. pop ds
  104.  
  105. add ax, again
  106. mov si,50
  107. mov [si+2],cs
  108. mov [si], ax
  109.  
  110. pop ss
  111. lea sp , [bx-1024]
  112. jmp darealbullshit
  113. db 0x73
  114. db 0x23
  115. db 0x91
  116. db 0xe7
  117. db 0xde
  118. db 0xa3
  119. darealbullshit:
  120. mov ax, 0xcccc
  121. add di,200
  122.  
  123. again:
  124. stosw
  125. add di, 5
  126. ;push cx;sub sp,4;If you know how, please make thoe stack jump 6 steps too.
  127. call far [si]
  128. ;ending was supposed to be here
  129. ending:
  130.  
  131. realending:
  132. db 0x90
  133. db 0x83
  134. db 0x11
  135. db 0x79
  136. db 0x6f
  137. db 0x64
  138. db 0x61
  139. db 0x20
  140. db 0x69
  141. db 0x73
  142. db 0x20
  143. db 0x6c
  144. db 0x6f
  145. db 0x76
  146. db 0x65
  147. db 0x2e
  148. db 0x20
  149. db 0x79
  150. db 0x6f
  151. db 0x64
  152. db 0x61
  153. db 0x20
  154. db 0x69
  155. db 0x73
  156. db 0x20
  157. db 0x6c
  158. db 0x69
  159. db 0x66
  160. db 0x65
  161. db 0x2e
  162.  
  163.  
  164. stosw
  165. add di, 5
  166. call far [si]
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194. ;second sored
  195. ;second sored:
  196. ;jmp start
  197.  
  198. start:
  199. push es
  200. pop ss
  201.  
  202.  
  203. ;xor bp,bp
  204. mov bp, [bp] ;communicate with duper1(big maftziz), bp = duper1's adress
  205. mov bx, ax
  206.  
  207.  
  208. mov sp, 100
  209. push ds
  210. pop ss
  211.  
  212. push bx
  213. push es
  214. push ds
  215. pop es
  216. mov ax, 0x8c5F
  217. mov dx, 0x81cc
  218. mov bx, 0xcccc
  219. mov cx, 0xcccc
  220. int 0x87
  221. pop es
  222. pop bx
  223.  
  224. push ds
  225. pop ss
  226.  
  227.  
  228. lea sp,[bp-5000] ;sp = big guy address -2, to start the little guy bombing
  229. lea si,[bx+again] ;source index is again:
  230. lea di,[bp+1024+512] ;destination index is the end of bomber CURRENT SIZE OF BIG GUY:146 BYTES
  231.  
  232.  
  233. push ds
  234. pop es
  235.  
  236.  
  237. movsw;move the bombing replicate code to the end of the big guy
  238. mov cx, 0xcccc ;what to bomb
  239. xchg bx, di
  240. mov dx, cx
  241. mov ax, dx
  242. lea di,[bp-0x1388]
  243. int 0x86
  244. int 0x86
  245. xchg bx,di
  246. lea si, [di-2];move the si to the start of the bombing replicate code to initialize it
  247. jmp si;jump to the bombing replicate code
  248.  
  249. again:
  250. movsw ;duplicate yourself
  251. push cx ;put 0xcccc behind you
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement