idanr1986 / cuckoodroid-2.0

CuckooDroid - Automated Android Malware Analysis with Cuckoo Sandbox.
101 stars 31 forks source link

cuckoo does not start #1

Open Eterna1 opened 6 years ago

Eterna1 commented 6 years ago
Traceback (most recent call last):
  File "cuckoo.py", line 31, in <module>
    except (CuckooDependencyError, ImportError) as e:
NameError: name 'CuckooDependencyError' is not defined

Do I miss some packages? Maybe I do something wrong but I cannot find installation instructions

when I modify cuckoo.py and remove try and except around imports I get getting this error:

(venv) a@x ~/cuckoodroid-2.0 $ python cuckoo.py 
Traceback (most recent call last):
  File "cuckoo.py", line 14, in <module>
    from lib.cuckoo.common.exceptions import CuckooDependencyError
ImportError: No module named lib.cuckoo.common.exceptions
happyhq commented 6 years ago

I meet the same problem

Traceback (most recent call last): File "cuckoo.py", line 31, in except (CuckooDependencyError, ImportError) as e: NameError: name 'CuckooDependencyError' is not defined

emilianooddo commented 5 years ago

To resolve this problem, need to copy the /cuckoodroid-2.0/cuckoo.py python script in the directory cuckoo of cuckoo sandbox, because in the cuckoodroid-2.0 directory there isn't the lib directory, where are all of libraries to compile the python script cuckoo.py I hope this is useful.

ReDistant commented 5 years ago

hey,guys i‘m use cuckoo sandbox2.06 and succesed to install it ,so i want user cuckoo droid 2.0 to analiys android apk files , how can i do for this question , just copy the cuckoo.py ? i think it doesnt work

emilianooddo commented 5 years ago

Hi, you simply have to download CuckooDroid and fulfill the requirements as written in the guide. I'm using both Cuckoo and CuckooDroid as you said and that's ok.

Il giorno lun 24 dic 2018, 10:35 Joe notifications@github.com ha scritto:

hey,guys i‘m use cuckoo sandbox2.06 and succesed to install it ,so i want user cuckoo droid 2.0 to analiys android apk files , how can i do for this question , just copy the cuckoo.py ? i think it doesnt work

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/idanr1986/cuckoodroid-2.0/issues/1#issuecomment-449709642, or mute the thread https://github.com/notifications/unsubscribe-auth/AcaaZIvl9rU2uOaByMX1vIJe2W4s5YL6ks5u8J_YgaJpZM4PL2Gf .

ReDistant commented 5 years ago

Hi, you simply have to download CuckooDroid and fulfill the requirements as written in the guide. I'm using both Cuckoo and CuckooDroid as you said and that's ok. Il giorno lun 24 dic 2018, 10:35 Joe notifications@github.com ha scritto: hey,guys i‘m use cuckoo sandbox2.06 and succesed to install it ,so i want user cuckoo droid 2.0 to analiys android apk files , how can i do for this question , just copy the cuckoo.py ? i think it doesnt work — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#1 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AcaaZIvl9rU2uOaByMX1vIJe2W4s5YL6ks5u8J_YgaJpZM4PL2Gf .

Hi , so i havent resolve my problem , i just clone the cuckooroid-2.0 into my server , and 'pip install -r requirtments.txt' . Athought , it have a little problem in apkid , i do fulfill the requirements as the guide , but when i copy the cuckoo.py into the cuckoosanbox's $CWD/ , i cann't start droid . so , i need your help . which steps that i do is not correctly?? Thanks!

emilianooddo commented 5 years ago

I can attach you a file written by me as guide for CuckooDroid installation. I do the configuration with emulator AVD of Android Studio. The guide is written in Italian but you only need commands for the terminal. Cuckoodroid guide.pdf If you need clarification, ask me. 👍

Nimunru commented 5 years ago

I can attach you a file written by me as guide for CuckooDroid installation. I do the configuration with emulator AVD of Android Studio. The guide is written in Italian but you only need commands for the terminal. Cuckoodroid guide.pdf If you need clarification, ask me. 👍

Hi, I've read your guide file. There is a command in Download step,

$git clone --depth=1 https://github.com/cuckoobox/cuckoo.git cuckoo -b 1.2

Is that means you are using cuckoo 1.2 but not cuckoo 2.0.6? Looking forward to your reply. Thanks!

emilianooddo commented 5 years ago

Yes, i didn't succeed with 2.0

Il mer 13 feb 2019, 09:49 Nimunru notifications@github.com ha scritto:

I can attach you a file written by me as guide for CuckooDroid installation. I do the configuration with emulator AVD of Android Studio. The guide is written in Italian but you only need commands for the terminal. Cuckoodroid guide.pdf https://github.com/idanr1986/cuckoodroid-2.0/files/2714715/Cuckoodroid.guide.pdf If you need clarification, ask me. 👍 Hi, I've read your guide file. There is a command in Download step, $git clone --depth=1 https://github.com/cuckoobox/cuckoo.git cuckoo -b 1.2 Is that means you are using cuckoo 1.2 but not cuckoo 2.0.6? Looking forward to your reply. Thanks!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/idanr1986/cuckoodroid-2.0/issues/1#issuecomment-463111388, or mute the thread https://github.com/notifications/unsubscribe-auth/AcaaZI3Wkp4qyDjPd2CjYylLo2G4Rw3bks5vM9GOgaJpZM4PL2Gf .

Nimunru commented 5 years ago

Yes, i didn't succeed with 2.0

Got it. Thank you again.

FatnLazy commented 5 years ago

@emillianooddo how can i contact you i have some issues with the cuckoo 1.2 when i run the cuckoo.pt it wont start the avd and drops some db errors