All of the class actions where I've gotten back $5 or whatever have a document listing how the money is spent. Usually at least a third of it goes to the lawyers.
Really, these cases are mostly a way for lawyers to make money, because on a person-by-person basis there's just not enough money to be made in pursuing legal action, but with millions of class members, the aggregate amount is pretty high, and 20 or 33% of that for the lawyers ends up being a nice paycheck.
source: https://www.equifaxbreachsettlement.com/admin/services/conne...