Open p2rate opened 8 years ago
hey guys, I'm still coping with this problem. I have rooted the avd but whenever I close the AVD and run it again applications cannot get root access. and this happens in spite of everything being in it's place(su binary is not deleted and has the same permissions as before). I read somewhere that something like this might happen and I should push the binary file to the AVD and set the permissions again. And it seems to work but obliviously cuckoo does not do this.
could it be the problem? is there an option to make cuckoo run the AVD from snapshot?
SOMEONE PLEASE HELP ME!
Try running this version. It has instructions for integrating it with Cuckoo 2.0 or run it standalone and it is the latest version (recently updated and released last month). Also there is instructions and documentation here and this is what the android component of Cuckoo 2.0 is cuckoo-droid.
Also I believe using those documents you should be able to understand the setup of how this is working better to use with current Cuckoo-droid in cuckoo 2.0
I found the problem:
in avd.conf config file you should not give reference_machine and machines the same name. at the time of execution, cuckoo will make a copy of reference_machine and name it whatever name you gave to machines. but everytime you run an analysis it first looks for the copied AVD and remove it. if you give reference_machine and machines the same name, cuckoo will mistakenly remove the reference_machine.
add the following code to modules/machinery/avd.py at the line 105
if str(reference_machine)==str(label): raise CuckooCriticalError("reference_machine and machines name cannot be the same, check avd.conf")
@jbremer @p2rate sound as solved no?
Should probably include the patch provided by @p2rate, so I'll keep this open until I find the time to do so (which might be a little while).
hi I am trying to set up cuckoo for android malware analysis but it seems like I don't get how it works. I have downloaded android sdk, made an AVD, rooted the AVD, ran the create_guest_avd.sh (located in utils/android_emulator_creator in cuckoo-droid archive. and to sum it up my guest emulator is ready to go. what should I do next from here? I reckoned that I should use the cuckoo.py in cukcoo sandbox main distribution (https://github.com/cuckoosandbox/cuckoo). I properly set the conf files for cuckoo and ran cuckoo.py. but when I use submit.py to start an analysis, cuckoo.py reports that the AVD I created to be used as the guest does not exist. and it actually removes the AVD I created.
here is the output:
by the way: I am using google APIs(armeabi-v7a) for my AVD, not pure armeabi-v7a