You mentioned the noise happens when it's rinsing & draining. Is it only happening when it drains, or does it happen while the water is recirculating as well?
If only when draining then, yes, the drain valve would be the culprit. This is a fairly easy repair if your mechanically adept. It's...