Hack Forums
issues installing Cuckoo in Kali and Ubuntu - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Computing (https://hackforums.net/forumdisplay.php?fid=88)
+---- Forum: Linux (https://hackforums.net/forumdisplay.php?fid=85)
+---- Thread: issues installing Cuckoo in Kali and Ubuntu (/showthread.php?tid=5850451)



issues installing Cuckoo in Kali and Ubuntu - qxx1 - Jun 16, 2018

hello everyone..so i was setting up a lab for malware analysis and wanted to install cuckoo on my kali vm but i run into this issue:

Code
root@kali:~/yara-3.4.0# make
make  all-recursive
make[1]: Entering directory '/root/yara-3.4.0'
Making all in libyara
make[2]: Entering directory '/root/yara-3.4.0/libyara'
depbase=`echo modules/pe.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -O3 -Wall -Wno-deprecated-declarations -std=gnu99 -I./include -fvisibility=hidden -pthread -MT modules/pe.lo -MD -MP -MF $depbase.Tpo -c -o modules/pe.lo modules/pe.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -O3 -Wall -Wno-deprecated-declarations -std=gnu99 -I./include -fvisibility=hidden -pthread -MT modules/pe.lo -MD -MP -MF modules/.deps/pe.Tpo -c modules/pe.c  -fPIC -DPIC -o modules/.libs/pe.o
modules/pe.c: In function ‘pe_parse_certificates’:
modules/pe.c:1158:56: error: dereferencing pointer to incomplete type ‘X509 {aka struct x509_st}’
      const char* sig_alg = OBJ_nid2ln(OBJ_obj2nid(cert->sig_alg->algorithm));
                                                       ^~
Makefile:626: recipe for target 'modules/pe.lo' failed
make[2]: *** [modules/pe.lo] Error 1
make[2]: Leaving directory '/root/yara-3.4.0/libyara'
Makefile:615: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/yara-3.4.0'
Makefile:413: recipe for target 'all' failed
make: *** [all] Error 2

im was following the installation guide from here:

Code
medium^com/@warunikaamali/cuckoo-sandbox-installation-guide-d7a09bd4ee1f
I follow the same installation guide for ubuntu and kali and i get the same error at the same step ie during installation of YARA on ececuting the "make" command.
I do not receive any errors in the steps before.

I run into the same problem on my Ubuntu 17 and ubuntu 18 distro.


Second method:
I also tried to install cuckoo via script here:
Code
github^com/buguroo/cuckooautoinstall
for this auto installation script, upon running commands :
Code
wget -O - https^//raw^githubusercontent.com/buguroo/cuckooautoinstall/master/cuckooautoinstall.bash | bash
i keep getting errors to close virtualbox, where in there is no virtual box instance running. (i use 'top' and 'kill' to terminate any virtualbox processes running but still i get same error)

my pc has windows 7 and im running latest version of virtual box inside which i have kali and ubuntu vms.
what is the problem here ? is something wrong in my internet connection or virtualbox or what ? I am unable to move ahead on this guys help me out.
thanks