0xnobody / vmpattack Goto Github PK
View Code? Open in Web Editor NEWA VMP to VTIL lifter.
License: GNU General Public License v3.0
A VMP to VTIL lifter.
License: GNU General Public License v3.0
Hi,
I Was Just Wondering If There Was Any Plans To Add 32 Bit Support To This?
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.
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)
** 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
Failed to match handler.
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.
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
Can you make a release? I can't compile it
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.
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?
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)
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.