Perfect cocycles through stochastic differential equations