China is ramping up its cyberattacks days before Lai Ching-te is sworn in as Taiwan's new president, according to security officials.