Borrowed from English ransack, from Middle English ransaken, from Old Norse rannsaka, from rann (“house”) + saka (“search”).
ransak