{"action":"created","issue":{"url":"https://api.github.com/repos/cuckoosandbox/cuckoo/issues/1849","repository_url":"https://api.github.com/repos/cuckoosandbox/cuckoo","labels_url":"https://api.github.com/repos/cuckoosandbox/cuckoo/issues/1849/labels{/name}","comments_url":"https://api.github.com/repos/cuckoosandbox/cuckoo/issues/1849/comments","events_url":"https://api.github.com/repos/cuckoosandbox/cuckoo/issues/1849/events","html_url":"https://github.com/cuckoosandbox/cuckoo/issues/1849","id":258362019,"number":1849,"title":"Empty Analysis: AttributeError: Config instance has no attribute 'file_type'","user":{"login":"hollus","id":32048498,"avatar_url":"https://avatars2.githubusercontent.com/u/32048498?v=4","gravatar_id":"","url":"https://api.github.com/users/hollus","html_url":"https://github.com/hollus","followers_url":"https://api.github.com/users/hollus/followers","following_url":"https://api.github.com/users/hollus/following{/other_user}","gists_url":"https://api.github.com/users/hollus/gists{/gist_id}","starred_url":"https://api.github.com/users/hollus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hollus/subscriptions","organizations_url":"https://api.github.com/users/hollus/orgs","repos_url":"https://api.github.com/users/hollus/repos","events_url":"https://api.github.com/users/hollus/events{/privacy}","received_events_url":"https://api.github.com/users/hollus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":36,"created_at":"2017-09-18T03:21:22Z","updated_at":"2017-10-31T13:34:48Z","closed_at":null,"author_association":"NONE","body":"Hi All, \r\n\r\nI am having no results being returned when a URL analysis is finished in Cuckoo. I am running OSX on my host box and also running OSX in my virtual machine in VirtualBox. Below is the analyzer log I received from the web GUI:\r\n\r\n```\r\n2017-09-13 17:29:01,780 [root] DEBUG: Starting analyzer from /tmpKoSNUL\r\n2017-09-13 17:29:01,791 [root] DEBUG: Storing results at: /tmp/xUOUgI\r\n2017-09-13 17:29:01,791 [root] ERROR: Traceback (most recent call last):\r\n  File \"/tmpKoSNUL/analyzer.py\", line 192, in <module>\r\n    success = analyzer.run()\r\n  File \"/tmpKoSNUL/analyzer.py\", line 54, in run\r\n    package = self._setup_analysis_package()\r\n  File \"/tmpKoSNUL/analyzer.py\", line 123, in _setup_analysis_package\r\n    package_class = choose_package_class(self.config.file_type,\r\nAttributeError: Config instance has no attribute 'file_type'\r\nTraceback (most recent call last):\r\n  File \"/tmpKoSNUL/analyzer.py\", line 192, in <module>\r\n    success = analyzer.run()\r\n  File \"/tmpKoSNUL/analyzer.py\", line 54, in run\r\n    package = self._setup_analysis_package()\r\n  File \"/tmpKoSNUL/analyzer.py\", line 123, in _setup_analysis_package\r\n    package_class = choose_package_class(self.config.file_type,\r\nAttributeError: Config instance has no attribute 'file_type'\r\n```\r\n\r\nIn addition, I have pasted the Cuckoo log from the same analysis.\r\n\r\n```\r\nCuckoo Sandbox 2.0.4\r\n www.cuckoosandbox.org\r\n Copyright (c) 2010-2017\r\n Checking for updates...\r\n You're good to go!\r\n2017-09-17 19:54:18,573 [cuckoo.core.startup] INFO: Updated running task ID 5 status to failed_analysis\r\n2017-09-17 19:54:18,594 [cuckoo.core.scheduler] INFO: Using \"virtualbox\" as machine manager\r\n2017-09-17 19:54:20,458 [cuckoo.core.scheduler] INFO: Loaded 2 machine/s\r\n2017-09-17 19:54:20,465 [cuckoo.core.scheduler] WARNING: As you've configured Cuckoo to execute parallel analyses, we recommend you to switch to a MySQL ora PostgreSQL database as SQLite might cause some issues.\r\n2017-09-17 19:54:20,479 [cuckoo.core.scheduler] INFO: Waiting for analysis tasks.\r\n2017-09-17 19:56:01,530 [cuckoo.core.scheduler] INFO: Starting analysis of URL \"http://bing.com\" (task #6, options \"procmemdump=yes,route=none\")\r\n2017-09-17 19:56:01,558 [cuckoo.core.scheduler] INFO: Task #6: acquired machine cuckoo1 (label=cuckoo1)\r\n2017-09-17 19:56:01,567 [cuckoo.auxiliary.mitm] INFO: Started mitm interception with PID 2991 (ip=192.168.56.1, port=50000).\r\n2017-09-17 19:56:01,577 [cuckoo.auxiliary.sniffer] INFO: Started sniffer with PID 2992 (interface=vboxnet0, host=192.168.56.101)\r\n2017-09-17 19:56:17,472 [cuckoo.core.guest] INFO: Starting analysis on guest (id=cuckoo1, ip=192.168.56.101)\r\n2017-09-17 19:56:24,521 [cuckoo.core.guest] INFO: Guest is running Cuckoo Agent 0.7 (id=cuckoo1, ip=192.168.56.101)\r\n2017-09-17 20:01:24,712 [cuckoo.core.guest] INFO: cuckoo1: end of analysis reached!\r\n2017-09-17 20:01:26,032 [cuckoo.processing.behavior] WARNING: Analysis results folder does not contain any behavior log files.\r\n2017-09-17 20:01:31,850 [cuckoo.core.scheduler] INFO: Task #6: reports generation completed\r\n2017-09-17 20:01:31,870 [cuckoo.core.scheduler] INFO: Task #6: analysis procedure completed\r\n```\r\n\r\nIs this perhaps an issue with the agent.py not communicating with the host? I am able to ping between host and guest and Cuckoo does not throw an error when first run. Furthermore, I also achieve no results when analyzing a file. I am using the standard host-only network (vboxnet0) with the IP range of 192.168.56.0/24 on my VM. If you would like me to upload my config files, I'll be happy to do so.\r\n\r\nAny info/assistance you may have is appreciated."},"comment":{"url":"https://api.github.com/repos/cuckoosandbox/cuckoo/issues/comments/340763565","html_url":"https://github.com/cuckoosandbox/cuckoo/issues/1849#issuecomment-340763565","issue_url":"https://api.github.com/repos/cuckoosandbox/cuckoo/issues/1849","id":340763565,"user":{"login":"seantree","id":29730058,"avatar_url":"https://avatars0.githubusercontent.com/u/29730058?v=4","gravatar_id":"","url":"https://api.github.com/users/seantree","html_url":"https://github.com/seantree","followers_url":"https://api.github.com/users/seantree/followers","following_url":"https://api.github.com/users/seantree/following{/other_user}","gists_url":"https://api.github.com/users/seantree/gists{/gist_id}","starred_url":"https://api.github.com/users/seantree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seantree/subscriptions","organizations_url":"https://api.github.com/users/seantree/orgs","repos_url":"https://api.github.com/users/seantree/repos","events_url":"https://api.github.com/users/seantree/events{/privacy}","received_events_url":"https://api.github.com/users/seantree/received_events","type":"User","site_admin":false},"created_at":"2017-10-31T13:34:48Z","updated_at":"2017-10-31T13:34:48Z","author_association":"NONE","body":"Hi @hollus,\r\n\r\nI was reading something on cuckoo I found this following article:\r\n\r\nhttp://seclist.us/cuckoo-sandbox-v-1-2-released-is-an-automated-dynamic-malware-analysis-system.html\r\n\r\nsearch for xmlrpc word in this article, it was describing regarding sharing folders. I didn't implement anything from this just sharing with you hope something would help us.\r\n.\r\nThanks & Regards\r\nSeantree"}}
{"actor":{"display_login":"seantree"}}