Hi,
It's my first time with Xen / Drakvuf / Drakvuf Sandbox installation.
I already uses them a few times in the past but never installed them.
Configuration
The machine was formatted before the installation process.
- Debian 12.11
- Xen 4.19.2 (2 vCPU allocated and 4192Mb of memory)
Linux analysis 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 GNU/Linux
Current state
- Xen is working
- VNC is working
- Windows 10 image is configured with internet access, .NET framework, Visual C++ Redistribuable and
https://github.com/ionuttbara/windows-defender-remover to remove UAC / Defender
- Drakvuf is working
- Drakvuf-sandbox web-UI is working
Issues
I tried several analysis on two samples :
There is the results :
The only "finished" was executed before the modification of the Windows 10 Image to remove UAC / Windows Defender, so, in fact, it's a fail.
{
"Plugin": "inject",
"TimeStamp": "1753285748.855491",
"Method": "CreateProc",
"Status": "Timeout"
}
But, there is an interesting fact for this analysis : there are several screenshots (thanks to which I understand that Windows do not deactivate correctly the UAC / Windows Defender).
For all the others analysis (without UAC / Windows Defender), I have no screenshot in the UI and I have the same error in drakrun.log :
[2025-07-24 10:21:01,178][drakrun.analyzer.screenshotter][INFO] Connected to VNC localhost:5901
[2025-07-24 10:21:01,432][drakrun.analyzer.screenshotter][INFO] Got screenshot 1: 4R9gH3CfYI8=
[2025-07-24 10:35:41,025][drakrun.lib.vm][INFO] Destroying vm-1
[2025-07-24 10:35:43,719][drakrun.lib.networking][INFO] Bridge drak1 is down
[2025-07-24 10:35:43,777][drakrun.lib.networking][INFO] Deleted drak1 bridge
[2025-07-24 10:35:43,966][drakrun.analyzer.worker][ERROR] Failed to analyze sample
Traceback (most recent call last):
File "/opt/venv/lib/python3.11/site-packages/drakrun/analyzer/worker.py", line 88, in worker_analyze
extra_metadata = analyze_file(
^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/drakrun/analyzer/analyzer.py", line 200, in analyze_file
with run_tcpdump(network_info, tcpdump_file), run_screenshotter(
File "/usr/lib/python3.11/contextlib.py", line 144, in __exit__
next(self.gen)
File "/opt/venv/lib/python3.11/site-packages/drakrun/analyzer/run_tools.py", line 97, in run_screenshotter
screenshotter.stop()
File "/opt/venv/lib/python3.11/site-packages/drakrun/analyzer/screenshotter.py", line 91, in stop
self._thread.join()
File "/usr/lib/python3.11/threading.py", line 1112, in join
self._wait_for_tstate_lock()
File "/usr/lib/python3.11/threading.py", line 1132, in _wait_for_tstate_lock
if lock.acquire(block, timeout):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/rq/timeouts.py", line 63, in handle_death_penalty
raise self._exception('Task exceeded maximum timeout value ({0} seconds)'.format(self._timeout))
rq.timeouts.JobTimeoutException: Task exceeded maximum timeout value (900 seconds)
Here I don't understand why it timeout on the screenshot process because if I don't have a screenshot in the UI, I have a screenshot in /var/lib/drakrun/analyses/$my_analysis_id/screenshots/, for example :
But the /var/lib/drakrun/analyses/$my_analysis_id/screenshots.json file is empty.
Note that the introspection seems to works fine as I have a lot of data in drakrun.log.
And I checked the dump.pcap. It looks great (with, for example, an HTTP call to checkip.dyndns.org with a 200 HTTP status as answer).
-rw-r--r-- 1 root root 18229988 Jul 24 10:31 drakmon.log
-rw-r--r-- 1 root root 2984 Jul 24 10:35 drakrun.log
-rw-r--r-- 1 tcpdump tcpdump 309697 Jul 24 10:35 dump.pcap
drwxr-xr-x 2 root root 20480 Jul 24 10:21 dumps
-rw-r--r-- 1 root root 897 Jul 24 10:35 metadata.json
-rw-r--r-- 1 root root 1025536 Jul 24 10:20 sample
drwxr-xr-x 2 root root 4096 Jul 24 10:21 screenshots
-rw-r--r-- 1 root root 0 Jul 24 10:21 screenshots.json
Last issue - Live Interaction
My last issue is about the Live Interaction.
This is what I have when I run an analysis :
I guess it's related to the overall problem with my installation.
Other issue
Note that I have an other issue but I don't know if it's linked to Drakvuf Sandbox or only Xen.
After each analysis the vm-1 become (null) and I have to kill the process manually before running another analysis.
xl list
Name ID Mem VCPUs State Time(s)
Domain-0 0 8192 2 r----- 3975.8
(null) 29 18 2 --p--d 43.9
Conclusion
That's it !
If you need any other information to understand the problem, do not hesitate.
I'll keep trying to find new clues, but I hope you'll be able to find the “real problem” through your experience.
Thanks :)
Hi,
It's my first time with Xen / Drakvuf / Drakvuf Sandbox installation.
I already uses them a few times in the past but never installed them.
Configuration
The machine was formatted before the installation process.
Linux analysis 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 GNU/LinuxCurrent state
https://github.com/ionuttbara/windows-defender-removerto remove UAC / DefenderIssues
I tried several analysis on two samples :
There is the results :
The only "finished" was executed before the modification of the Windows 10 Image to remove UAC / Windows Defender, so, in fact, it's a fail.
But, there is an interesting fact for this analysis : there are several screenshots (thanks to which I understand that Windows do not deactivate correctly the UAC / Windows Defender).
For all the others analysis (without UAC / Windows Defender), I have no screenshot in the UI and I have the same error in
drakrun.log:Here I don't understand why it timeout on the screenshot process because if I don't have a screenshot in the UI, I have a screenshot in
/var/lib/drakrun/analyses/$my_analysis_id/screenshots/, for example :But the
/var/lib/drakrun/analyses/$my_analysis_id/screenshots.jsonfile is empty.Note that the introspection seems to works fine as I have a lot of data in
drakrun.log.And I checked the
dump.pcap. It looks great (with, for example, an HTTP call tocheckip.dyndns.orgwith a 200 HTTP status as answer).Last issue - Live Interaction
My last issue is about the Live Interaction.
This is what I have when I run an analysis :
I guess it's related to the overall problem with my installation.
Other issue
Note that I have an other issue but I don't know if it's linked to Drakvuf Sandbox or only Xen.
After each analysis the vm-1 become
(null)and I have to kill the process manually before running another analysis.Conclusion
That's it !
If you need any other information to understand the problem, do not hesitate.
I'll keep trying to find new clues, but I hope you'll be able to find the “real problem” through your experience.
Thanks :)