I agree with you, but there was some speculation that it could be Russia trying to ruin diplomatic ties between the US and Cuba. And Russia does have quite the history of abusing diplomats (though typically only within Russia.)
I could see Russia trying to stir the pot because formenting chaos with plausible deniability seems to be part of Putin’s strategy toward the west, although I would have imagined that the UK would be a more recent target. NK is trying to dethaw relations so that doesn’t make much sense. That leaves you with Iran. Unless of course it’s not a weapon at all. It could even be interference with US counter survalience technology.
4. Chinese (or any major power) has tech near both US consulates and used Cuba as a cover.