Closed AntonAsssssa closed 8 years ago
I thivk, it is the same issue https://github.com/cuckoosandbox/cuckoo/issues/765 I have also been updated with the last version.
As part of #753 I added a tweak that at least gets rid of the exception that you posted (see also 22c3a2e39ac3c6770d735e6ef1bf96e206fea302). Please upgrade to the latest version and also share a pcap file as outlined in #765. I'm still not sure why you're getting this error ;-) Thanks!
The guest.py was updated and now):
2016-02-25 15:49:34,344 [lib.cuckoo.common.objects] WARNING: Unable to import androguard (pip install androguard
)
tcpdump: listening on vboxnet0, link-type EN10MB (Ethernet), capture size 65535 bytes
2016-02-25 15:49:36,667 [lib.cuckoo.core.guest] INFO: Starting analysis on guest (id=WindowsXP, ip=192.168.56.101)
2016-02-25 15:49:42,686 [lib.cuckoo.core.guest] CRITICAL: We were unable to detect either the Old or New Agent in the Guest VM, are you sure you have set it up correctly? Please go through the documentation once more and otherwise inform the Cuckoo Developers of your issue.
2 packets captured
2 packets received by filter
0 packets dropped by kernel
2016-02-25 15:49:48,781 [modules.machinery.virtualbox] INFO: Successfully generated memory dump for virtual machine with label WindowsXP to path /opt/cuckoo/storage/analyses/8/memory.dmp
2016-02-25 15:49:50,177 [lib.cuckoo.core.scheduler] ERROR: Failure in AnalysisManager.run
Traceback (most recent call last):
File "/opt/cuckoo/lib/cuckoo/core/scheduler.py", line 447, in run
self.launch_analysis()
File "/opt/cuckoo/lib/cuckoo/core/scheduler.py", line 339, in launch_analysis
self.guest_manage(options)
File "/opt/cuckoo/lib/cuckoo/core/scheduler.py", line 257, in guest_manage
guest.start_analysis(options, monitor)
File "/opt/cuckoo/lib/cuckoo/core/guest.py", line 401, in start_analysis
self.db.guest_set_status(self.task_id, "failed")
AttributeError: 'GuestManager' object has no attribute 'db'
@AntonAsssssa, please try again with the commit above applied :-)
2016-02-25 17:17:26,732 [lib.cuckoo.core.guest] INFO: Starting analysis on guest (id=WindowsXP, ip=192.168.56.101) 2016-02-25 17:17:32,793 [lib.cuckoo.core.guest] CRITICAL: We were unable to detect either the Old or New Agent in the Guest VM, are you sure you have set it up correctly? Please go through the documentation once more and otherwise inform the Cuckoo Developers of your issue. 2 packets captured 2 packets received by filter 0 packets dropped by kernel 2016-02-25 17:17:37,829 [modules.machinery.virtualbox] INFO: Successfully generated memory dump for virtual machine with label WindowsXP to path /opt/cuckoo/storage/analyses/4/memory.dmp 2016-02-25 17:17:39,546 [modules.processing.behavior] WARNING: Analysis results folder does not exist at path '/opt/cuckoo/storage/analyses/4/logs'.
Maybe problem is here? root@grr:/opt/cuckoo# curl 192.168.56.101:8000
Can you paste the entire http request/response, i.e., curl -vvv 192.168.56.101:8000
?
PORT STATE SERVICE 8000/tcp open http-alt
root@grr:/opt/cuckoo# curl -vvv 192.168.56.101:8000
GET HTTP://192.168.56.101:8000/ HTTP/1.1 User-Agent: curl/7.35.0 Host: 192.168.56.101:8000 Accept: / Proxy-Connection: Keep-Alive
oops proxy. The problem was here.
Exactly..
Please, close if it's rejected.
With the commit above I hope to notify other users about this misbehaviour in the future - you're not the first to run into it..
Cuckoo Sandbox 2.0-rc1
2016-02-25 10:04:02,484 [lib.cuckoo.core.scheduler] ERROR: Failure in AnalysisManager.run Traceback (most recent call last): File "/opt/cuckoo/lib/cuckoo/core/scheduler.py", line 447, in run self.launch_analysis() File "/opt/cuckoo/lib/cuckoo/core/scheduler.py", line 339, in launch_analysis self.guest_manage(options) File "/opt/cuckoo/lib/cuckoo/core/scheduler.py", line 257, in guest_manage guest.start_analysis(options, monitor) File "/opt/cuckoo/lib/cuckoo/core/guest.py", line 393, in start_analysis r.json().get("version"), self.vmid, self.ipaddr) File "/usr/lib/python2.7/dist-packages/requests/models.py", line 808, in json return complexjson.loads(self.text, kwargs) File "/usr/lib/python2.7/json/init**.py", line 338, in loads return _default_decoder.decode(s) File "/usr/lib/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded