Git Product home page Git Product logo

vmpattack's People

Contributors

0xnobody avatar meme avatar vxcute 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vmpattack's Issues

32 Bit Support?

Hi,

I Was Just Wondering If There Was Any Plans To Add 32 Bit Support To This?

Driver lifting

When trying to lift driver, it falls with AV in vm_context::fetch (I think due wrong vip). If i remove constant 0x100000000 in vm_instance::initialize_context and make preferred_image_base = 0x10000 lift is success, but not sure that output is right.

unp_scylla.zip

exept in vm_contenxt.hpp;

with this loader

        std::vector<uint8_t> b1 = read_file("1.bin");
        vmpattack instance(b1);
        int my_rva = 0x7E4A1D; //0x740B47;//0x342861;
        if (auto result = instance.analyze_entry_stub(my_rva))
        {
            if (auto routine = instance.lift(result->job))
            {
                vtil::optimizer::apply_all_profiled(*routine);
                vtil::save_routine(*routine, "1_routine.vtil");
            }
        }

Give me exept on line 52 - memcpy( &read_value, ( void* )vip, size ); in vm_contenxt.hpp;
(Potential Branch Destinations: {0x10}) - prey

Also, some patches has been added, for VMPAttack, because VTIL API PE sessions part is updated.

And, thanks for the VMPDump and Attak! ) It really helped to understand the structure of the VMP from the inside)

Failed to match handler

  1. target: devirtualizeme64_vmp_3.0.9_v1.exe
  2. log:

** Loaded raw image buffer @ 0x0000014EE063A060 of size 0x1dcc00
** Found 1 virtualized routines:
** RVA 0x1d10 VMEntry 0x9b17d Stub 0xffffffffcf741247

** Devirtualizing routine @ 0x1d10...
[*] Error: Assertion failure, handler && "Failed to match handler. Please report this error with the target." at >F:\User\2020\Blue_Team\Tools\vmpattack\VMPAttack\vmpattack.cpp:198

  1. Error:
    Failed to match handler.

Do not stick to .text section

Hi Adam, thank you for release. I see you hardcode .text section name for search. This is a bad idea. There could be many protected executable sections. Just list all sections, find executable ones, filter out vmp sections and process them. I'd pr but have no time currently, anyways it shouldnt be hard at all.

Question

I'm stuck after lifting to VTIL , what to do next to unpack the exe after the dump & lift and make it executable again and not broken , ps : dumped via scylla.

Thanks

Release

Can you make a release? I can't compile it

questions used on x86

hello friend.
I want to ask if I want to improve it to x86, where should I start, and what information should I read?
hope to get some help.
sincere thanks.

Option to output VTIL in text format?

Hi,

This tool seems very interesting, however I'm not sure what to do with the binary VTIL files it produces. Would it be possible to output the IL as readable text instead as an option? Or is there a free tool available that opens VTIL files?

Compilation errors

In compiling the project I get

  main.cpp
C:\Users\XXX\vmpattack-master\VMPAttack\main.cpp(97,106): error C2440: 'inizializzazione': impossibile convertire da 'std::filesystem::path' a 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\XXX\vmpattack-master\VMPAttack\main.cpp(97,39): message : Non è disponibile alcun operatore di conversione definito dall'utente oppure non è possibile chiamare l'operatore
C:\Users\XXX\vmpattack-master\VMPAttack\main.cpp(110,126): error C2440: 'inizializzazione': impossibile convertire da 'std::filesystem::path' a 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>'
C:\Users\XXX\vmpattack-master\VMPAttack\main.cpp(110,49): message : Non è disponibile alcun operatore di conversione definito dall'utente oppure non è possibile chiamare l'operatore
  vmpattack.cpp
C:\Users\XXX\vmpattack-master\VMPAttack\vmpattack.cpp(142,57): error C2672: 'begin': non sono state trovate funzioni in overload corrispondenti
C:\Users\XXX\vmpattack-master\VMPAttack\vmpattack.cpp(143,9): error C2893: Non è stato possibile specializzare il modello di funzione 'unknown-type std::begin(_Container &)'
C:\Users\XXX\vmpattack-master\VMPAttack\vmpattack.cpp(142,57): error C2672: 'end': non sono state trovate funzioni in overload corrispondenti
C:\Users\XXX\vmpattack-master\VMPAttack\vmpattack.cpp(143,9): error C2893: Non è stato possibile specializzare il modello di funzione 'unknown-type std::end(_Container &)'

... (a lot of similar errors in vmpattack.cpp)

Compile errors

1>D:\Users_\stuff\vmpattack\VMPAttack\main.cpp(76,106): error C2440: 'initializing': cannot convert from 'std::filesystem::path' to 'std::basic_string<char,std::char_traits,std::allocator>'
1>D:\Users_\stuff\vmpattack\VMPAttack\main.cpp(76,39): message : No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called

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.