Tracking infection diffusion in social networks