What is this plane doing flying back and forth near Sydney at night?
With a path like that its most likely surveying something. There are a handful of 404's registered in Australia for areal survey, you can find them on this list.