Four people and two dogs have serious injuries after they were attacked by five armed men in a violent overnight home invasion in the New South Wales Hunter region.