Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Cuckoo Sanbox Analyzer #148

Closed
mikjkd opened this issue Nov 27, 2017 · 4 comments
Closed

Issue with Cuckoo Sanbox Analyzer #148

mikjkd opened this issue Nov 27, 2017 · 4 comments
Assignees
Milestone

Comments

@mikjkd
Copy link

mikjkd commented Nov 27, 2017

Analyzer

Describe your request as clearly as possible.
Hi i have some troble with Cuckoo Sandbox Analyzer, it not run.

Steps to Reproduce

1)Run Cortex
2)Select Cuckoo Sandbox file Inet analyzer
3)Upload file
4)Run analyzer

Complementary information

when i upload a file for analyze, and run cuckoo sandbox analyzer i have this error message:
{
"errorMessage": "Unexpected Error: Expecting value: line 2 column 1 (char 1)",
"input": {
"tlp": 1,
"dataType": "file",
"content-type": "application/x-ms-dos-executable",
"filename": "Windows Loader.exe",
"file": "/tmp/cortex-7407455047719042116-datafile",
"config": {
"url": "http://127.0.0.1:8000",
"max_tlp": 1,
"check_tlp": true,
"service": "file_analysis"
}
},
"success": false
}

So i run analyzer from The Hive and i have this error message:

Error: Invalid output Traceback (most recent call last): File "./cuckoosandbox_analyzer.py", line 136, in CuckooSandboxAnalyzer().run() File "./cuckoosandbox_analyzer.py", line 130, in run self.error(e) File "/usr/local/lib/python2.7/dist-packages/cortexutils/analyzer.py", line 183, in error ensure_ascii=ensure_ascii) File "/usr/lib/python2.7/json/init.py", line 189, in dump for chunk in iterable: File "/usr/lib/python2.7/json/encoder.py", line 434, in _iterencode for chunk in _iterencode_dict(o, _current_indent_level): File "/usr/lib/python2.7/json/encoder.py", line 408, in _iterencode_dict for chunk in chunks: File "/usr/lib/python2.7/json/encoder.py", line 442, in _iterencode o = _default(o) File "/usr/lib/python2.7/json/encoder.py", line 184, in default raise TypeError(repr(o) + " is not JSON serializable") TypeError: ConnectionError(ProtocolError('Connection aborted.', error(32, 'Broken pipe')),) is not JSON serializable {"input": {"tlp": 1, "dataType": "file", "config": {"url": "http://127.0.0.1:8000", "max_tlp": 1, "check_tlp": true, "service": "file_analysis"}, "filename": "Windows Loader.exe", "attachment": {"id": "2f2aba1e074f5f4baa08b524875461889f8f04d4ffc43972ac212e286022ab94", "hashes": ["2f2aba1e074f5f4baa08b524875461889f8f04d4ffc43972ac212e286022ab94", "0efc35935957c25193bbe9a83ab6caa25a487ada", "323c0fd51071400b51eedb1be90a8188"], "contentType": "application/x-ms-dos-executable", "name": "Windows Loader.exe", "size": 4021049}, "file": "/tmp/cortex-6247224232316508378-datafile", "content-type": "application/octet-stream"}, "errorMessage":

Can please someone help me?

@crackytsi
Copy link
Contributor

See also #114.
I have the same issue sometimes

@jeromeleonard
Copy link
Contributor

Does this issue still exist ?

@garanews
Copy link
Contributor

Hi @crackytsi , @mikjkd , which version of cuckoo sandbox are using?
I'm using v.2.0.7 and analyzer works as expected.

@garanews
Copy link
Contributor

This seems to have stalled, perhaps it has been already solved in newer version of cuckoo. I'm therefore closing it, but feel free to reopen if that's still an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants