Nottingham Forest suffered a humiliating LDV Vans Trophy defeat.
A youthful Forest side went behind when Mark Rawle slotted home, but Eugen Bopp and Spencer Weir-Daley put them ahead at the break with close-range shots.
Woking attacked more openly in the second-half and made it 2-2 when Rawle headed home Steve Ferguson's cross.
And they won it just past the hour when Ian Selley picked out Richards, who headed in his seventh goal in the last six games to leave Forest stunned.
Woking: Davies, Jackson, Aggrey, Oliver, El-Salahi, Ferguson (Sam Cockerill 90), Selley, Murray, Blackman, Richards (Sharpling 87), Rawle (Liam Cockerill 89).
Subs Not Used: Jalal, Smith.
Goals: Rawle 11, 53, Richards 65.
Nottm Forest: Gerrard, James, Thompson, Fernandez, Vickerton, Bopp (Pittman 57), Holt, Gardner, Bastians, Dadi, Weir-Daley.
Subs Not Used: Morgan, Commons, Perch, Pedersen.
Goals: Bopp 20, Weir-Daley 38.
Ref: M Russell (Hertfordshire).