Acerca De www.yohancarmona.tk.

WEB PARA DESCARGA DE PROGRAMAS EN VERSIÓN FULL, DESCARGA DIRECTA DE VÍDEOS, PACK DE DRIVERS PARA MOTHERBOARD, ASISTENCIA TÉCNICA ONLINE ATREVES DE LIVE MESSENGER Y MENSAJES VÍA CORREO ELECTRÓNICO EN EL E-MAIL latino_505@hotmail.com TOTALMENTE GRATUITO, IGUALMENTE MEDIANTE ESTE MEDIO PUEDES SOLICITAR CUALQUIER SOFTWARE QUE REQUIERAN EN VERSIÓN FULL O PACK DRIVERS.

........................www.yohancarmona.tk PORTAL WEB DISEÑADO EN COLOMBIA.............................

BUSCAR

CONTADOR DE VISITAS
Sé que estamos lejos en distancias pero eso no es un problema, pues solo estamos a un "click" para comunicarnos. Nunca es largo el camino a la casa de un amigo.
free

Emulating Shellcodes - Chapter 2

 Lets check different  Cobalt Strike shellcodes and stages in the shellcodes emulator SCEMU.




This stages are fully emulated well and can get the IOC and the behavior of the shellcode.

But lets see another first stage big shellcode with c runtime embedded in a second stage.


In this case is loading tons of API using GetProcAddress at the beginning, then some encode/decode pointer and tls get/set values to store an address. And ends up crashing because is jumping an address that seems more code than address 0x9090f1eb.

Here there are two types of allocations:


Lets spawn a console on -c 3307548 and see if some of this allocations has the next stage.

The "m" command show all the memory maps but the "ma" show only the allocations done by the shellcode.



Dumping memory with "md" we see that there is data, and dissasembling this address with "d" we see the prolog of a function.

So we have second stage unpacked in alloc_e40064


With "mdd" we do a memory dump to disk we found the size in previous screenshot,  and we can do  some static reversing of stage2 in radare/ghidra/ida

In radare we can verify that the extracted is the next stage:


I usually do correlation between the emulation and ghidra, to understand the algorithms.

If wee look further we can realize that the emulator called a function on the stage2, we can see the change of code base address and  is calling the allocated buffer in 0x4f...



And this  stage2 perform several API calls let's check it in ghidra.


We can see in the emulator that enters in the IF block, and what are the (*DAT_...)() calls

Before a crash lets continue to the SEH pointer, in this case is the way, and the exception routine checks IsDebuggerPresent() which is not any debugger pressent for sure, so eax = 0;



So lets say yes and continue the emulation.


Both IsDebuggerPresent() and UnHandledExceptionFilter() can be used to detect a debugger, but the emulator return what has to return to not be detected. 

Nevertheless the shellcode detects something and terminates the process.

Lets trace the branches to understand the logic:


target/release/scemu -f shellcodes/unsuported_cs.bin -vv | egrep '(\*\*|j|cmp|test)'



Continuing the emulation it's setting the SEH  pointer to previous stage:


Lets see from the console where is pointing the SEH chain item:


to be continued ...


https://github.com/sha0coder/scemu






Read more


  1. Hacking Tools For Windows 7
  2. Hack And Tools
  3. Hacking App
  4. Pentest Tools Android
  5. Tools For Hacker
  6. Hack Tools For Games
  7. Hacking Tools Download
  8. Hacker Tools For Pc
  9. Hacking Tools Kit
  10. Hack Tools 2019
  11. Pentest Tools Linux
  12. Free Pentest Tools For Windows
  13. Install Pentest Tools Ubuntu
  14. Best Hacking Tools 2020
  15. Beginner Hacker Tools
  16. Hackers Toolbox
  17. Pentest Tools Url Fuzzer
  18. Hacker Tools For Mac
  19. Hack App
  20. Pentest Tools Find Subdomains
  21. Best Pentesting Tools 2018
  22. Hacker Tools Online
  23. Pentest Box Tools Download
  24. Black Hat Hacker Tools
  25. Physical Pentest Tools
  26. Hacking Tools For Pc
  27. Hacker Tool Kit
  28. Github Hacking Tools
  29. Hacker Tools Online
  30. Tools For Hacker
  31. Hack Tools For Games
  32. Black Hat Hacker Tools
  33. What Is Hacking Tools
  34. Hack Tools For Ubuntu
  35. Hacking Tools For Games
  36. Hacker Tools Software
  37. How To Install Pentest Tools In Ubuntu
  38. Pentest Tools Github
  39. Hacking Tools Github
  40. Hack Tools Pc
  41. Hacking Tools For Windows Free Download
  42. Hack Tools For Mac
  43. Pentest Tools Online
  44. Hack Tools Download
  45. Hacking Tools Windows
  46. Pentest Tools For Windows
  47. Hak5 Tools
  48. Hacking Tools Mac
  49. Hackers Toolbox
  50. Hak5 Tools
  51. Pentest Recon Tools
  52. Hacker Tools Windows
  53. Hacker Tools For Pc
  54. Pentest Tools For Ubuntu
  55. Hacker Hardware Tools
  56. Hacker Tools Free Download
  57. Hacker Tools Linux
  58. Hacker Tools Free Download
  59. Pentest Tools Alternative
  60. New Hack Tools
  61. Hack Website Online Tool
  62. Hack Tools
  63. New Hacker Tools
  64. Best Pentesting Tools 2018
  65. Hacking App
  66. Pentest Tools Android
  67. Hacker Tools List
  68. Hacking Tools For Pc
  69. Hacker Tools 2020
  70. Hacking Tools Kit
  71. Android Hack Tools Github
  72. Hack Tools For Mac
  73. Game Hacking
  74. Nsa Hacker Tools
  75. Tools Used For Hacking
  76. Growth Hacker Tools
  77. Hacking Tools Kit
  78. Hacker Tools 2020
  79. Hacking Tools Online
  80. Pentest Tools Github
  81. Pentest Tools Port Scanner
  82. Hacker Security Tools
  83. Hacking Tools Free Download
  84. Hacking Tools For Beginners
  85. Hacker Tool Kit
  86. Pentest Tools Url Fuzzer
  87. Hack Tools Download
  88. Hack Tools Download
  89. World No 1 Hacker Software
  90. Pentest Tools Bluekeep
  91. Nsa Hacker Tools
  92. Hack Tools
  93. Pentest Tools Website
  94. Computer Hacker
  95. Hacking Tools Mac
  96. Pentest Tools Subdomain
  97. Free Pentest Tools For Windows
  98. Pentest Tools Apk
  99. Pentest Tools Bluekeep
  100. Free Pentest Tools For Windows
  101. Pentest Tools Download
  102. Nsa Hack Tools Download
  103. Game Hacking
  104. Pentest Tools Alternative
  105. Pentest Tools Website
  106. Hacker Tools Apk Download
  107. Pentest Tools Website Vulnerability
  108. New Hack Tools
  109. Pentest Recon Tools
  110. Pentest Tools Nmap
  111. Hack Tools Mac
  112. Pentest Tools Bluekeep
  113. Hacking Tools Software
  114. Hack Tools Github
  115. Hacker Tools For Ios
  116. Hacking Tools For Kali Linux
  117. How To Hack
  118. Easy Hack Tools
  119. Hacking Tools For Windows Free Download
  120. Hack Tools Download
  121. Hacking Tools For Windows Free Download
  122. Hacker Tools Free
  123. Hacking Tools 2019
  124. Pentest Tools Nmap
  125. Hacker Tools Software
  126. Hacker Hardware Tools
  127. Best Hacking Tools 2019
  128. Usb Pentest Tools
  129. Hack Tools
  130. Pentest Recon Tools
  131. Pentest Tools Subdomain
  132. Usb Pentest Tools
  133. Easy Hack Tools
  134. How To Make Hacking Tools
  135. Hacking Tools For Windows
  136. Hacker Tools Software
  137. Pentest Tools Port Scanner
  138. Hacking Tools For Windows 7
  139. Pentest Tools List
  140. Beginner Hacker Tools
  141. Hacker Tools Free Download
  142. Hacker Tools For Windows
  143. Pentest Tools Subdomain
  144. Wifi Hacker Tools For Windows
  145. Hacking App
  146. Hackrf Tools
  147. Hacking Tools Online
  148. Hack Tools Online
  149. Pentest Tools Free
  150. Growth Hacker Tools
  151. Best Pentesting Tools 2018
  152. Hacker Tools Apk
  153. Best Hacking Tools 2019
  154. Pentest Tools Find Subdomains
  155. Hacker Tools 2020
  156. Tools 4 Hack
  157. Hacker Tools Linux
  158. Hacker Tools For Windows
  159. What Are Hacking Tools
  160. Hacking Tools Usb
  161. Hacking Tools For Mac
  162. Hacker Tools 2019
  163. Hacking Tools For Kali Linux
  164. What Is Hacking Tools
  165. Pentest Tools Android
  166. Install Pentest Tools Ubuntu
  167. Termux Hacking Tools 2019
  168. Hacking Tools For Games