In this work we study a model for virus dynamics with a random immune response and a random production rate of susceptible cells from cell proliferation. In traditional models for virus dynamics, the rate at which the viruses are cleared by the immune system is constant, and the rate at which susceptible cells are provided is constant or a function depending on the population of all cells. However, the human body in general is never stationary, and thus these rates can barely be constant. Here we assume that the human body is a random environment and models the rates by random processes, which result in a system of random differential equations. We then analyze the long term behavior of the random system, in particular the existence and geometric structure of the random attractor, by using the theory of random dynamical systems. Numerical simulations are provided to illustrate the theoretical result.