A State Transition Based Cache Side Channel Attack Model