Let be an irreducible lattice in a product of two locally compact groups and assume that is densely embedded in a profinite group K. We give necessary conditions which imply that the left translation action Õ K is "virtually" cocycle superrigid: any cocycle wW K ! with values in a countable group is cohomologous to a cocycle which factors through the map K ! K 0 for some finite quotient group K 0 of K. As a corollary, we deduce that any ergodic profinite action of D SL 2 .ZOES 1 / is virtually cocycle superrigid and virtually W -superrigid for any finite nonempty set of primes S.