Coldzer0 / Cmulator

Cmulator is ( x86 - x64 ) Scriptable Reverse Engineering Sandbox Emulator for shellcode and PE binaries . Based on Unicorn & Zydis Engine & javascript
GNU Affero General Public License v3.0
294 stars 61 forks source link

export results to json format file ? #3

Closed JohnWins closed 3 years ago

JohnWins commented 5 years ago

hi,

Is it possiable to export results to json format file ?

for example: cpuid.exe

CPUID at 0x40102E

WriteFile('AuthenticAMD')

ExitProcess(0x0)

Cmulator Stop >> last Error : OK (UC_ERR_OK)

Coldzer0 commented 5 years ago

You can control the printed output from the js code.

But yes i can add it as a feature, it will be a good feature for IOCs.

what do you think about this format every api has its own predefined params.

{
 "app":"cpuid.exe",
 "baseaddress":"0x400000",
 "more_pe_stuff":[],
 "APIS":[
  {"WriteFile":[{"handle":0},{"data":"AuthenticAMD"},{"length":13}]},
  {"ExitProcess":[{"ExitStatus":0}]}
],
"CPUIDS":["0x40102E"]
}
JohnWins commented 5 years ago

awesome! that's what I am looking to. nice to hear that it will support for more self defination;

Coldzer0 commented 5 years ago

And soon i'll convert the full code to C so more people can contribute as there's not a lot of ppl interested in FreePascal.

I'll do it in a live stream videos, on youtube.

JohnWins commented 5 years ago

Well, that's amazing ! can't wait it any more .

JohnWins commented 4 years ago

hi, still wander to know how to control the js code and printed the output text into json format ? currently, have little time to turn this project to C and to discuss it more .

Coldzer0 commented 4 years ago

Hello @JohnWins I was preparing for the stream, but lately i was a bit busy. I'll start today, hope i can continue without any disturb.

Coldzer0 commented 4 years ago

Here's the new repo https://github.com/Cmulator/Cmulator

Coldzer0 commented 3 years ago

I'll start a fresh base for it with C language so ppl can contribute to it.

the new project will be here https://github.com/Cmulator/Cmulator