Detecting DOSBox from Within the Box
Summary
This post explores detecting DOSBox from within the emulator by probing emulator-specific behavior, such as BIOS/INT interactions and a DOSBox-exclusive callback mechanism. It includes disassembly analysis of MOUNT.COM, discussion of an FE opcode-based callback, debugging with 86Box, and a finished sample program to illustrate detection techniques, as well as notes on detecting other emulators like NTVDM and DOSEMU.