Code Monkey home page Code Monkey logo

maldev's Introduction

Typing SVG

💬 Me: cybersecurity "content creator" and an offensive security enthusiast focusing on offensive development, operating system internals, reverse engineering, and red teaming.

🌱 Projects:

  • 💉 kuronotori
    \___[ injector housing multiple process injection techniques
           \_ c, asm

  • 🐧 blackbirdOS
    \___[ custom operating system made from scratch
           \_ c, asm

Certifications: C|EH Practical, eJPT, eCPPT, CRTP, CRTE*, OSCP*, PNPT*

📝 Blog: I'm currently documenting my progress with malware development, binary exploitation, and soon, os development on my blog which you can find here. Here's the most recent post: Indirect System Calls.

👨‍💻 DEVELOPMENT

maldev's People

Contributors

arr-n-d avatar cr-0w avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

maldev's Issues

Process Injection: Shellcode Injection - CreateRemoteThreadEx - Undefined Reference Error

Hey Cr0w,

Thanks for the great tutorials. I have a bit of problem here.

    /*CREATING THREAD TO RUN PAYLOAD*/
    hThread = CreateRemoteThreadEx(hProcess,NULL,0,(LPTHREAD_START_ROUTINE)rBuffer,NULL,0,0,0);
    if (hThread == NULL){
        printf("%s Failed to Get a Handle to the Thread, Error: %ld", ERR, GetLastError());
        CloseHandle(hProcess);
        return EXIT_FAILURE;
    }
    /*printf("%s Successfully Acquired Thread Handle %p with Thread ID %ld \n %s - Payload to Process ID %ld - Size %zu - Buffer Value %ld - Process Handle %p\n", OK, hThread, TID, ShellPay, sizeof(ShellPay), rBuffer, PID);*/

This the code I used to create the thread. (Please let me know if the syntax is correct)
I get this error:

.\ProcessInjection.c:58:15: warning: implicit declaration of function 'CreateRemoteThreadEx' [-Wimplicit-function-declaration]
     hThread = CreateRemoteThreadEx(hProcess,NULL,0,(LPTHREAD_START_ROUTINE)rBuffer,NULL,0,0,0);
               ^~~~~~~~~~~~~~~~~~~~
.\ProcessInjection.c:58:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     hThread = CreateRemoteThreadEx(hProcess,NULL,0,(LPTHREAD_START_ROUTINE)rBuffer,NULL,0,0,0);
             ^
C:\Users\Admin\AppData\Local\Temp\ccMUuS3e.o:ProcessInjection.c:(.text+0x2ae): undefined reference to `CreateRemoteThreadEx'
collect2.exe: error: ld returned 1 exit status

image
Is it because of the Microsoft AV?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.