Running Utimaco HSM simulator via virtual box
You can register and download Utimaco HSM Simulator here
My setup Environment using ubuntu desktop 20.04, virtual box Version 6.1.36 r152435
You just need to copy the bin file,
But this is how if you find it is not working
./cs_sim.sh: line 3: /home/user/Software/Linux/Simulator/sim5_linux/bin/bl_sim5: No such file or directory
according ask ubuntu, this is similar to the executable file cannot run in your current architecture
so, you just need to do some apt-get update
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
PS: to access this HSM services, you still need this port 3001@<vm ip>

UPDATE
April 2025
For some cases, unable to locate package libncurses5:i386

Then, do this :
sudo nano /etc/apt/sources.list.d/ubuntu.sources
add this lines
Types: deb
URIs: http://security.ubuntu.com/ubuntu
Suites: focal-security
Components: main universe
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
Then, repeat
sudo apt-get update<br>sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
finally, Run
sudo ./bin/cs_sim.sh