Nya metoder används av statligt stödda hackargrupper, inklusive de från Nordkorea, för att distribuera skadlig kod.