State offices affected by attempted cyber hack