We recently had some servers hacked (Ubuntu, various flavours) which installed a Monero miner that starts a process called watchbog. We scrubbed them clean and blocked access to where they can update themselves from but on reboot the servers start to rebuild the miners installation (and fails)
It is creating a directory /tmp/systemd-private-d3883bec41f94ab0b3d927e3022873b1-systemd-timesyncd.service-jVvrE0
and some subdirectories and then stops. The random bits are random each time
What I want to know is what is rebuilding this on boot. There does not seem to be anything obvious in the logs or the various boot scripts. Where else can I look?