View Issue Details

IDProjectCategoryView StatusLast Update
0005174Kali LinuxKali Package Bugpublic2019-01-29 13:40
ReporterMister_X Assigned Tosbrun  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2018.4 
Summary0005174: cuckoo fails to run due to missing python dependencies and one of its plugin
Description

It fails to run due to multiple missing python dependencies (as shown in the steps to reproduce):

  • androguard
  • capstone

After install those two with pip, running it returns another error (as shown in the steps to reproduce)

Steps To Reproduce

root@kali:~# apt install cuckoo
root@kali:~# cuckoo --help
Traceback (most recent call last):
File "/usr/bin/cuckoo", line 6, in <module>
from cuckoo.main import main
File "/usr/lib/python2.7/dist-packages/cuckoo/init.py", line 6, in <module>
from cuckoo import (
File "/usr/lib/python2.7/dist-packages/cuckoo/auxiliary/init.py", line 6, in <module>
from cuckoo.core.plugins import enumerate_plugins
File "/usr/lib/python2.7/dist-packages/cuckoo/core/plugins.py", line 13, in <module>
from cuckoo.common.config import config2
File "/usr/lib/python2.7/dist-packages/cuckoo/common/config.py", line 13, in <module>
from cuckoo.common.objects import Dictionary
File "/usr/lib/python2.7/dist-packages/cuckoo/common/objects.py", line 6, in <module>
import androguard
ImportError: No module named androguard
root@kali:~# pip install androguard
root@kali:~# pip install capstone
root@kali:~# cuckoo --help
Traceback (most recent call last):
File "/usr/bin/cuckoo", line 6, in <module>
from cuckoo.main import main
File "/usr/lib/python2.7/dist-packages/cuckoo/init.py", line 6, in <module>
from cuckoo import (
File "/usr/lib/python2.7/dist-packages/cuckoo/processing/init.py", line 10, in <module>
file, "cuckoo.processing", globals(), Processing
File "/usr/lib/python2.7/dist-packages/cuckoo/core/plugins.py", line 46, in enumerate_plugins
"review its contents and/or validity!" % (fname, e)
cuckoo.common.exceptions.CuckooOperationalError: Unable to load the Cuckoo plugin at apkinfo.py: cannot import name uVMAnalysis. Please review its contents and/or validity!

Additional Information

Androguard package seem to have been installed as a package but wasn't detected.

A new version is available, 2.0.6 ( https://cuckoosandbox.org/download ) and can be installed via pip install -U cuckoo after installing its dependencies mentioned in its documentation. Note: some packages aren't available (some virtualization packages).

Activities

sbrun

sbrun

2019-01-10 08:45

manager   ~0010185

I updated the package and dependencies.
New version 2.0.6.2-0kali1 is in kali-rolling now
(For information: androguard wasn't found because it has been updated for Python3 and cuckoo is only Python2)

Issue History

Date Modified Username Field Change
2018-12-24 20:20 Mister_X New Issue
2019-01-08 14:25 sbrun Assigned To => sbrun
2019-01-08 14:25 sbrun Status new => assigned
2019-01-10 08:45 sbrun Note Added: 0010185
2019-01-29 13:40 sbrun Status assigned => resolved
2019-01-29 13:40 sbrun Resolution open => fixed