The White House warned foreign hackers on Thursday it will increase offensive measures as part of a new national cyber security strategy.