Sl8v / malware-crawler

Automatically exported from code.google.com/p/malware-crawler
1 stars 0 forks source link

running latest ragpicker version with cuckoo 1.1 in ubuntu 12.04. submit to cuckoo api not working #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. latest ragpicker
2. cuckoo 1.1
3. ubuntu 12.04

What is the expected output? What do you see instead?
submitting to cuckoo api generates errors and noting gets processed by sandbox

What version of the product are you using? On what operating system?

Please provide any additional information below.
ERROR core.worker worker:177 Failed to run the processing module 
"CuckooSandbox":
Traceback (most recent call last):
  File "/ragpicker/core/worker.py", line 164, in _run_processing
    data = processModul.run(objfile)
  File "/ragpicker/processing/cuckooSandbox.py", line 50, in run
    data = urllib2.urlopen(request).read()
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 400, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 418, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1174, in do_open
    h.request(req.get_method(), req.get_selector(), req.data, headers)
  File "/usr/lib/python2.7/httplib.py", line 958, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python2.7/httplib.py", line 992, in _send_request
    self.endheaders(body)
  File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
    self.send(msg)
  File "/usr/lib/python2.7/httplib.py", line 776, in send
    self.connect()
  File "/usr/lib/python2.7/httplib.py", line 757, in connect
    self.timeout, self.source_address)
  File "/usr/lib/python2.7/socket.py", line 562, in create_connection
    sock.connect(sa)
  File "/ragpicker/utils/socks.py", line 375, in connect
    self.__negotiatesocks5(destpair[0],destpair[1])
  File "/ragpicker/utils/socks.py", line 240, in __negotiatesocks5
    raise Socks5Error(ord(resp[1]),err)
Socks5Error: <unprintable Socks5Error object>

Original issue reported on code.google.com by cbala...@gmail.com on 27 Jun 2014 at 5:08

GoogleCodeExporter commented 9 years ago
The problem is ragpicker tries to reach the sandbox over tor network. Either 
turn off the Tor network or using Git version of Ragpicker. In the Git version 
of the problem is already solved.

Original comment by Robby@Zeitfuchs.org on 5 Jul 2014 at 3:54

GoogleCodeExporter commented 9 years ago

Original comment by Robby@Zeitfuchs.org on 5 Jul 2014 at 3:59

GoogleCodeExporter commented 9 years ago
Thanks Robby.....followed your advice and everything OK now using the git 
version.
Grate tool. 

Thank you,
cristian

Original comment by cbala...@gmail.com on 5 Jul 2014 at 11:34