doomedraven / Tools

Combination of different utilities, have fun!
MIT License
198 stars 96 forks source link

Cape.service not working. #121

Closed mluired closed 2 years ago

mluired commented 2 years ago

Cape.service cannot be started. Critical error here is : [root] CRITICAL: CuckooDependencyError: Unable to import libvirt.

I installed KVM-QEMU by using the following: sudo apt install -y qemu qemu-kvm libvirt-daemon libvirt-clients bridge-utils virt-manager

Results of the journalctl -xe are the following:

jul 23 15:17:03 cape-ThinkPad-X1-Carbon-Gen-9 python3[8802]: CAPE parser: No module named Blister - No module named 'malduck'
jul 23 15:17:03 cape-ThinkPad-X1-Carbon-Gen-9 python3[8802]: 
jul 23 15:17:03 cape-ThinkPad-X1-Carbon-Gen-9 python3[8802]:                                ),-.     /
jul 23 15:17:03 cape-ThinkPad-X1-Carbon-Gen-9 python3[8802]:   Cuckoo Sandbox              <(a  `---','
jul 23 15:17:03 cape-ThinkPad-X1-Carbon-Gen-9 python3[8802]:      no chance for malwares!  ( `-, ._> )
jul 23 15:17:03 cape-ThinkPad-X1-Carbon-Gen-9 python3[8802]:                                ) _>.___/
jul 23 15:17:03 cape-ThinkPad-X1-Carbon-Gen-9 python3[8802]:                                    _/
jul 23 15:17:03 cape-ThinkPad-X1-Carbon-Gen-9 python3[8802]:  Cuckoo Sandbox 2.2-CAPE
jul 23 15:17:03 cape-ThinkPad-X1-Carbon-Gen-9 python3[8802]:  www.cuckoosandbox.org
jul 23 15:17:03 cape-ThinkPad-X1-Carbon-Gen-9 python3[8802]:  Copyright (c) 2010-2015
jul 23 15:17:03 cape-ThinkPad-X1-Carbon-Gen-9 python3[8802]:  CAPE: Config and Payload Extraction
jul 23 15:17:03 cape-ThinkPad-X1-Carbon-Gen-9 python3[8802]:  github.com/kevoreilly/CAPEv2
jul 23 15:17:03 cape-ThinkPad-X1-Carbon-Gen-9 python3[8802]: 2022-07-23 15:17:03,866 [lib.cuckoo.core.scheduler] INFO: Using "kvm" machine manager with max_analysis_count=0, max_machines_count=10, and m>
jul 23 15:17:03 cape-ThinkPad-X1-Carbon-Gen-9 python3[8802]: 2022-07-23 15:17:03,867 [root] CRITICAL: CuckooDependencyError: Unable to import libvirt
jul 23 15:17:03 cape-ThinkPad-X1-Carbon-Gen-9 python3[8802]: XLMMacroDeobfuscator: pywin32 is not installed (only is required if you want to use MS Excel)
jul 23 15:17:03 cape-ThinkPad-X1-Carbon-Gen-9 python3[8802]: Missed peepdf library: pip3 install https://github.com/CAPESandbox/peepdf/archive/20eda78d7d77fc5b3b652ffc2d8a5b0af796e3dd.zip#egg=peepdf==0.>
jul 23 15:17:04 cape-ThinkPad-X1-Carbon-Gen-9 systemd[1]: cape.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- An ExecStart= process belonging to unit cape.service has exited.
-- 
-- The process' exit code is 'exited' and its exit status is 1.
jul 23 15:17:04 cape-ThinkPad-X1-Carbon-Gen-9 systemd[1]: cape.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- The unit cape.service has entered the 'failed' state with result 'exit-code'.
jul 23 15:17:28 cape-ThinkPad-X1-Carbon-Gen-9 mongodb[744]: {"t":{"$date":"2022-07-23T15:17:28.040+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"Checkpointer","msg":"WiredTiger message","attr":>
jul 23 15:17:32 cape-ThinkPad-X1-Carbon-Gen-9 polkitd(authority=local)[609]: Registered Authentication Agent for unix-process:8828:637233 (system bus name :1.408 [/usr/bin/pkttyagent --notify-fd 5 --fal>
jul 23 15:17:35 cape-ThinkPad-X1-Carbon-Gen-9 polkitd(authority=local)[609]: Operator of unix-session:4 successfully authenticated as unix-user:cape to gain TEMPORARY authorization for action org.freede>
doomedraven commented 2 years ago

Hello 2 things 1 wrong repo this is not cape repo 2 read readme in cape repo and discussions