Improving hardware-in-the-loop dynamic security testing for linux-based embedded devices