Giter VIP home page Giter VIP logo

Comments (2)

drewvis avatar drewvis commented on May 20, 2024 1

Hi, thanks for pointing this out. So the reason that invalid_read error occurred was because loadlibrary returned NULL in your example. The shellcode didn't perform any error checking and crashed with a NULL pointer dereference. This is because by default, speakeasy will do what it can to provide a decoy PE for shellcode to parse (based on the functions that are currently supported for emulation).

I went ahead and added support for urlmon.dll and that sample fully emulates now.

In the future you can supply a "decoy directory" with the "-l" command line option containing real DLLs like urlmon.dll. This instructs speakeasy to load the decoy DLL when shellcode accesses it.

Hope that helps, thanks for the feedback.

from speakeasy.

LloydLabs avatar LloydLabs commented on May 20, 2024

Awesome, thanks for the speedy fix @drewvis! I'll be sure to submit a PR if I come across any other APIs that are yet to be implemented 👍

from speakeasy.

Related Issues (20)

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.