I am running into an error when trying to use Speakeasy.
AssertionError: Requires unicorn version: 1.0.2rc4
It seems it has something to do with the versioning for Unicorn. Maybe one of the salt-states needs updating? I'm currently looking into this. If I manage to solve it then I'll make a pull-request and update this issue.
emnux@remnux:~/malware/cotizacin$ run_speakeasy.py -t cotizacin-s2-cutted.bin -r -a x86
Process Process-1:
Traceback (most recent call last):
File "/usr/local/bin/run_speakeasy.py", line 50, in emulate_binary
sc_addr = se.load_shellcode(fpath, arch)
File "/usr/local/lib/python3.8/dist-packages/speakeasy/speakeasy.py", line 234, in load_shellcode
self._init_emulator(is_raw_code=True)
File "/usr/local/lib/python3.8/dist-packages/speakeasy/speakeasy.py", line 114, in _init_emulator
self.emu = Win32Emulator(config=self.config, logger=self.logger, argv=self.argv,
File "/usr/local/lib/python3.8/dist-packages/speakeasy/windows/win32.py", line 34, in __init__
super(Win32Emulator, self).__init__(config, debug=debug, logger=logger,
File "/usr/local/lib/python3.8/dist-packages/speakeasy/windows/winemu.py", line 96, in __init__
self._parse_config(config)
File "/usr/local/lib/python3.8/dist-packages/speakeasy/windows/winemu.py", line 121, in _parse_config
super(WindowsEmulator, self)._parse_config(config)
File "/usr/local/lib/python3.8/dist-packages/speakeasy/binemu.py", line 92, in _parse_config
self.emu_eng = eng()
File "/usr/local/lib/python3.8/dist-packages/speakeasy/engines/unicorn_eng.py", line 64, in __init__
assert __required_version__ == unicorn_ver, ('Requires unicorn version: %s' %
AssertionError: Requires unicorn version: 1.0.2rc4
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/bin/run_speakeasy.py", line 58, in emulate_binary
report = se.get_json_report()
File "/usr/local/lib/python3.8/dist-packages/speakeasy/speakeasy.py", line 36, in wrap
raise SpeakeasyError('Emulator not initialized')
speakeasy.errors.SpeakeasyError: Emulator not initialized
* Finished emulating