-
Notifications
You must be signed in to change notification settings - Fork 384
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
Cuckoo file submission Analyzer error #177
Comments
The analyzer speaks with cuckoo API: |
No, an internal hosted one. CAPE is a fork of Cuckoo and I believe the API functionality has not been changed much so should work out of the box with the Cuckoo analyzer. However, I don't believe the issue is with the API but with the analyzer because I didn't see a network connection between Cortex and CAPE. The error seems to occur when passing the file from Cortex to the python analyzer, hence the Java error above |
from cortex side machine, are you able to submit something manually with api? What about permission of cuckoosandbox_analyzer.py ? does it have x for execution? |
What is the filetype you're trying? What's the size? Did you try with other files? |
Curl tests aside I've been trying with executable files of around 1/2mb. Not tired with other files since it they are the only types of files I'll be submitting. Testing the curl command and permissions later today |
How's the progress on this? Does the error persists? |
For completness, I am now testing in the following environment (Cortex > About):
With the analyser configured I get the following error:
I've taken a look at this a little further and it appears that execution permissions are not given to cuckoosandbox_analyzer.py
Once I provide it x perms:
I then get the following error:
|
Potentially related: |
The following potentially solves the issue (in my scenario - however this still needs to be addressed in the main dist of docker): root@e13d4e834b49:/opt/Cortex-Analyzers/analyzers/CuckooSandbox# pip install -r requirements.txt Now I just have an SSL CERTIFICATE_VERIFY_FAILED error, but I doubt that is a problem with the analyzer. |
I believe this can be closed as the requirements.txt install fixed it |
Request Type
Bug / Analyzer
Work Environment
(replace with N/A if not applicable)
Docker version
Client:
Version: 17.12.0-ce
API version: 1.35
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:10:14 2017
OS/Arch: linux/amd64
Server:
Engine:
Version: 17.12.0-ce
API version: 1.35 (minimum version 1.12)
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:12:46 2017
OS/Arch: linux/amd64
Experimental: false
Description
Trying to utilise the Cuckoo file submission Analyzer. Setup is pretty basic, however the sandbox I am trying to connect to is a fork of Cuckoo (https://github.com/ctxis/CAPE). This is served over HTTPS
The following error is given upon submission:
Steps to Reproduce
Submit a file via the Cortex web gui
The text was updated successfully, but these errors were encountered: