A new wave of cyberattacks uses deeply hidden scripts and legitimate-looking tools to take over victims’ computers without a trace.