Only mil thing in the logs that was up around that time was a USAF KC-135R at FL240, so unlikely to have been that. Chances are you heard something mil that wasn't broadcasting its callsign, or it was civvy.
EDIT - could it have been a large drone if it had an APU-like sound? Not fully up to scratch on my drones, but the highlands sound like a good exercise location.