There are two theories about how the Hyksos came to power in Egypt, but there is less speculation about where they came from. The Hyksos were a more asiatic people than the native Egyptians, and appeared to come to Egypt beginning around 1800BC.
One theory about their entrance is that of an invasion and the idea is that they used more advanced military tactics and equipment including improved bows and arrows, horse-drawn chariots, etc., to take over control of the Nile delta militarily.
The other theory is that they arrived more peaceably and eventually gained power through non-violent means of manipulation and simple integration into the Egyptian power structures.
The Hyksos were Asian people who took over the east side of the Nile Delta during the Twelfth dynasty, initiating the Second Intermediate Period of Ancient Egypt.