decalage2 / ViperMonkey

A VBA parser and emulation engine to analyze malicious macros.
1.04k stars 185 forks source link

Function Sin, Tan ecc not found. #22

Open Simmo818 opened 6 years ago

Simmo818 commented 6 years ago

hi i love your tool i try to decode a vba but i found some problem with some funcion


PARSING VBA CODE: INFO parsed Function wbDvMsnKwQF (): 189 statement(s) Module 'BORKmQvFwpd' Function wbDvMsnKwQF (): 189 statement(s)


TRACING VBA CODE (entrypoint = Auto*): INFO calling Function: Sin(12) ERROR Function 'Sin' not found ERROR Impossible to subtract arguments of different types ERROR Impossible to sum arguments of different types INFO calling Function: Tan(0) ERROR Function 'Tan' not found ERROR Impossible to multiply arguments of different types ERROR Impossible to divide arguments of different types INFO calling Function: Log(97) ERROR Function 'Log' not found ERROR Impossible to sum arguments of different types INFO calling Function: Atn(0) ERROR Function 'Atn' not found ERROR Impossible to sum arguments of different types Traceback (most recent call last):

can you help ? thank you a lot

decalage2 commented 6 years ago

Hi, they are not implemented yet here, but you may try this fork by @kirk-sayre-work which added lots of functions: https://github.com/kirk-sayre-work/ViperMonkey

kirk-sayre-work commented 6 years ago

Log(), Sin(), Tan(), and Atn() support has been added in the most recent release. Simmo818, can you provide the hash of the maldoc that failed to analyze?