A man attacked a state trooper and emergency vehicles with a claw hammer after a wreck on Interstate 95 shortly before midnight Saturday, troopers said.