"How Does A Human-Made Virus Work On Alien-Made Technology In Independence Day (1996)?"
"Everyone jokes about the alien mothership not having anti-virus, but why would they? They're a hivemind species that communicates telepathically, and they seem to have an extremely high level of social cohesion. Computer viruses aren't like actual viruses. They're not naturally occurring; humans created them because humans are malicious towards each other. It's entirely possible an alien species that uses telepathy to communicate wouldn't even concieve of such a thing, and it doesn't seem likely that any of the species they've faced thus far have given them reason to consider it. Plus, even if they did have such defenses, at that point Jeff Goldblum has a direct hardline connection anyway."