decalage2 / ViperMonkey

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

Excel Sheet - TypeError: 'str' object is not callable #94

Open orblatt opened 4 years ago

orblatt commented 4 years ago

Describe the bug When I run vmonkey on 8d750691965fc57b365dce27a6e7231e (Found in VirusTotal) and it raised a Type Error: TypeError: 'str' object is not callable

Also, at the beginning of the analysis, it raised the following line: Error: [Errno 22] invalid mode ('rb') or filename: ''.

Here is the full description: INFO parsed Function LIZOAS (): 4 statement(s) INFO parsed Function MIZLOOZ (): 5 statement(s) Traceback (most recent call last): File "C:\tools\ViperMonkey-master\vipermonkey\vmonkey.py", line 1405, in _process_file vm.add_compiled_module(m) File "C:\tools\ViperMonkey-master\vipermonkey\core__init__.py", line 207, in add_compiled_module self.globals[name.lower()] = _sub TypeError: 'str' object is not callable ERROR 'str' object is not callable

Attached is the full output of vmonkey, and the macro (TXT file format). vmonkey typeError.txt