Just like the US military in Iraq, right? Or the British, Russian, and now US armies in Afghanistan for the last 150 years? Or both Napoleon and Hitler invading Moscow? While a thousand armored vehicles would flatten any native standing army any interstellar military force has _incredibly_ long supply lines. If transportation and communications are cheap and quick, and the invader's resources large enough, natives can be conquered quickly and thoroughly. But if the supply lines are long, slow, and expensive as we've seen in Terran warfare, we've seen amazing feats of local defenders against invading armies.
If the natives weapons have _any_ effect, home turf advantage and guerrilla warfare are well established and critical factors. One of the critical keys to warfare is the _economics_. Is it worth the resources to commit the invasion justified by the gain? And at interstellar ranges, what does the supply line cost?
I'm not sure if you're trying to be serious, or what... Iraq had modern weapons, they were not some tribe with arrows. Afghanistan was losing until the US intervened and provided them modern weapons.
The technology difference also isn't so vast, maybe a few decades at best. Try centuries...
In addition, the Russians were not trying to exterminate all of Afghanistan, the US wasn't trying to exterminate all of Iraq. Both nations have the ability to do that, we have nuclear weapons. What exactly would either nation have done about that?
Imagine if the aliens have super computers that can write viruses on the fly to invade our networks. Our security should be a joke to them. Or how about directed EMP weapons to simple disable our weapons systems (yes, many of ours are "hardened, but not against alien technology).
Regarding "home turf advantage and guerrilla warfare", what makes you think they have to come down from their ships to hurt us? This illusion of ground combat is put fourth by the movies and video games, but it is stupid. Don't give up the high ground, and space is the ultimate high ground.