In the current paper, a mathematical model to describe the nanoparticles transport carried by a two-phase flow in a porous medium is presented. Both capillary forces as well as Brownian diffusion are considered in the model. A numerical example of countercurrent water-oil imbibition is considered. We monitor the changing of the fluid and solid properties due to the addition of the nanoparticles using numerical experiments. Variation of water saturation, nanoparticles concentration and porosity ratio are investigated.