Closed Ali-Razmjoo closed 8 years ago
Did you start the VM yourself? Cuckoo will do this for you :-)
nerd question, i found problem, used
find . -type d -exec chmod 777 {} \;
find . -type f -exec chmod 777 {} \;
find . -type d -exec chown myuser:myuser {} \;
find . -type f -exec chown myuser:myuser {} \;
in cuckoo directory to change user privileges and new problem, why this error happened ?
x@ubuntu:~/Desktop/cuckoo$ python cuckoo.py
.:
::
.-. , : .-. ;;.-. .-. .-.
; ; ; ; ;; .' ; ;'; ;'
`;;;;'.'`..:;._`;;;;'_.'` `.`;;' `;;'
Cuckoo Sandbox 1.2
www.cuckoosandbox.org
Copyright (c) 2010-2015
/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/compiler.py:572: SAWarning: Can't resolve label reference 'added_on desc'; converting to text() (this warning may be suppressed after 10 occurrences)
util.ellipses_string(element.element))
2015-12-14 19:45:23,868 [lib.cuckoo.core.scheduler] INFO: Using "virtualbox" machine manager
2015-12-14 19:45:25,490 [lib.cuckoo.core.scheduler] INFO: Loaded 1 machine/s
2015-12-14 19:45:25,500 [lib.cuckoo.core.scheduler] INFO: Waiting for analysis tasks.
/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/compiler.py:572: SAWarning: Can't resolve label reference 'priority desc, added_on'; converting to text() (this warning may be suppressed after 10 occurrences)
util.ellipses_string(element.element))
2015-12-14 19:45:26,553 [lib.cuckoo.core.scheduler] INFO: Starting analysis of FILE "/tmp/cuckoo-tmp/upload_QybTtS/1.exe" (task=3)
2015-12-14 19:45:26,601 [lib.cuckoo.core.scheduler] ERROR: Failure in AnalysisManager.run
Traceback (most recent call last):
File "/home/x/Desktop/cuckoo/lib/cuckoo/core/scheduler.py", line 363, in run
success = self.launch_analysis()
File "/home/x/Desktop/cuckoo/lib/cuckoo/core/scheduler.py", line 214, in launch_analysis
if not self.check_file():
File "/home/x/Desktop/cuckoo/lib/cuckoo/core/scheduler.py", line 92, in check_file
sha256 = File(self.task.target).get_sha256()
File "/home/x/Desktop/cuckoo/lib/cuckoo/common/objects.py", line 155, in get_sha256
if not self._sha256: self.calc_hashes()
File "/home/x/Desktop/cuckoo/lib/cuckoo/common/objects.py", line 106, in calc_hashes
for chunk in self.get_chunks():
File "/home/x/Desktop/cuckoo/lib/cuckoo/common/objects.py", line 92, in get_chunks
with open(self.file_path, "rb") as fd:
IOError: [Errno 2] No such file or directory: u'/tmp/cuckoo-tmp/upload_QybTtS/1.exe'
2015-12-14 19:45:27,701 [lib.cuckoo.core.scheduler] INFO: Starting analysis of FILE "/tmp/cuckoo-tmp/upload_sPUWd4/1.exe" (task=4)
2015-12-14 19:45:27,706 [lib.cuckoo.core.scheduler] ERROR: Failure in AnalysisManager.run
Traceback (most recent call last):
File "/home/x/Desktop/cuckoo/lib/cuckoo/core/scheduler.py", line 363, in run
success = self.launch_analysis()
File "/home/x/Desktop/cuckoo/lib/cuckoo/core/scheduler.py", line 214, in launch_analysis
if not self.check_file():
File "/home/x/Desktop/cuckoo/lib/cuckoo/core/scheduler.py", line 92, in check_file
sha256 = File(self.task.target).get_sha256()
File "/home/x/Desktop/cuckoo/lib/cuckoo/common/objects.py", line 155, in get_sha256
if not self._sha256: self.calc_hashes()
File "/home/x/Desktop/cuckoo/lib/cuckoo/common/objects.py", line 106, in calc_hashes
for chunk in self.get_chunks():
File "/home/x/Desktop/cuckoo/lib/cuckoo/common/objects.py", line 92, in get_chunks
with open(self.file_path, "rb") as fd:
IOError: [Errno 2] No such file or directory: u'/tmp/cuckoo-tmp/upload_sPUWd4/1.exe'
2015-12-14 19:45:28,756 [lib.cuckoo.core.scheduler] INFO: Starting analysis of FILE "/tmp/cuckoo-tmp/upload_mkOPVf/1.exe" (task=5)
2015-12-14 19:45:28,758 [lib.cuckoo.core.scheduler] ERROR: Failure in AnalysisManager.run
Traceback (most recent call last):
File "/home/x/Desktop/cuckoo/lib/cuckoo/core/scheduler.py", line 363, in run
success = self.launch_analysis()
File "/home/x/Desktop/cuckoo/lib/cuckoo/core/scheduler.py", line 214, in launch_analysis
if not self.check_file():
File "/home/x/Desktop/cuckoo/lib/cuckoo/core/scheduler.py", line 92, in check_file
sha256 = File(self.task.target).get_sha256()
File "/home/x/Desktop/cuckoo/lib/cuckoo/common/objects.py", line 155, in get_sha256
if not self._sha256: self.calc_hashes()
File "/home/x/Desktop/cuckoo/lib/cuckoo/common/objects.py", line 106, in calc_hashes
for chunk in self.get_chunks():
File "/home/x/Desktop/cuckoo/lib/cuckoo/common/objects.py", line 92, in get_chunks
with open(self.file_path, "rb") as fd:
IOError: [Errno 13] Permission denied: u'/tmp/cuckoo-tmp/upload_mkOPVf/1.exe'
2015-12-14 19:45:29,827 [lib.cuckoo.core.scheduler] INFO: Starting analysis of FILE "/home/x/Desktop/1.exe" (task=1)
2015-12-14 19:45:29,895 [lib.cuckoo.core.scheduler] INFO: Task #1: acquired machine cuckoo1 (label=cuckoo1)
2015-12-14 19:45:29,955 [modules.auxiliary.sniffer] INFO: Started sniffer with PID 29340 (interface=eth0, host=192.168.232.140, dump path=/home/x/Desktop/cuckoo/storage/analyses/1/dump.pcap)
2015-12-14 19:45:35,419 [lib.cuckoo.core.guest] INFO: Starting analysis on guest (id=cuckoo1, ip=192.168.232.140)
2015-12-14 19:47:55,790 [lib.cuckoo.core.guest] INFO: cuckoo1: analysis completed successfully
2015-12-14 19:47:55,875 [modules.machinery.virtualbox] INFO: Successfully generated memory dump for virtual machine with label cuckoo1 to path /home/x/Desktop/cuckoo/storage/analyses/1/memory.dmp
2015-12-14 19:47:59,066 [lib.cuckoo.common.netlog] CRITICAL: BSON message larger than MAX_MESSAGE_LENGTH, stopping handler.
2015-12-14 19:47:59,067 [lib.cuckoo.common.netlog] CRITICAL: BSON message larger than MAX_MESSAGE_LENGTH, stopping handler.
2015-12-14 19:47:59,070 [modules.processing.memory] ERROR: Memory dump not found: to run volatility you have to enable memory_dump
2015-12-14 19:47:59,350 [lib.cuckoo.core.scheduler] INFO: Starting analysis of FILE "/home/x/Desktop/1.exe" (task=2)
2015-12-14 19:47:59,384 [lib.cuckoo.core.scheduler] INFO: File already exists at "/home/x/Desktop/cuckoo/storage/binaries/b919b61737aad351b5b5842780bdb71ba2ace45b6e4bcea136b09f90461f5ae7"
2015-12-14 19:47:59,404 [lib.cuckoo.core.scheduler] INFO: Task #2: acquired machine cuckoo1 (label=cuckoo1)
2015-12-14 19:47:59,412 [modules.auxiliary.sniffer] INFO: Started sniffer with PID 29515 (interface=eth0, host=192.168.232.140, dump path=/home/x/Desktop/cuckoo/storage/analyses/2/dump.pcap)
2015-12-14 19:48:04,328 [lib.cuckoo.core.guest] INFO: Starting analysis on guest (id=cuckoo1, ip=192.168.232.140)
2015-12-14 19:48:08,263 [lib.cuckoo.common.objects] WARNING: Unable to match Yara signatures: __init__() got an unexpected keyword argument 'error_on_warning'
2015-12-14 19:48:15,686 [lib.cuckoo.core.plugins] WARNING: The processing module "VirusTotal" returned the following error: Unable to establish connection to VirusTotal: HTTP Error 403: Forbidden
2015-12-14 19:48:15,929 [lib.cuckoo.common.netlog] CRITICAL: BSON message larger than MAX_MESSAGE_LENGTH, stopping handler.
2015-12-14 19:48:15,929 [lib.cuckoo.common.netlog] CRITICAL: BSON message larger than MAX_MESSAGE_LENGTH, stopping handler.
2015-12-14 19:48:16,614 [lib.cuckoo.common.netlog] CRITICAL: BSON message larger than MAX_MESSAGE_LENGTH, stopping handler.
2015-12-14 19:48:16,614 [lib.cuckoo.common.netlog] CRITICAL: BSON message larger than MAX_MESSAGE_LENGTH, stopping handler.
2015-12-14 19:48:16,752 [lib.cuckoo.core.scheduler] INFO: Task #1: reports generation completed (path=/home/x/Desktop/cuckoo/storage/analyses/1)
2015-12-14 19:48:17,003 [lib.cuckoo.core.scheduler] INFO: Task #1: analysis procedure completed
is it because of multi task ran ? or i miss something ?
Seems to be working fine now. The file not found and file permissions are not relevant here - just resubmit your earlier files.
Did you start the VM yourself? Cuckoo will do this for you :-)
yes i did, thanks for that.
Seems to be working fine now. The file not found and file permissions are not relevant here - just resubmit your earlier files.
so warnings/errors will not effect on report ? i've got report just fine, i asked just to be sure.
thanks for respond.
Should be fine, yes :-) If you have any other bugs let us know.
you should run virtualbox and cuckoo as roor
hello, i just run cuckoo
and submit a file
but there is no receive on my client
and there isn't any info in my cuckoo too. and finally dead!
additional information:
test connection [ note: connection is bridge with eth0 on virtualbox ]
test port:
any suggestion ? what's the problem/ or what i forgot to do ?