Information Communication and Culture Minister Dr Rais Yatim believes the attacks on government websites were linked to the planned rally by Bersih on July 9.