Hello and Welcome,
If it only makes the noise when it's draining the water out then it may have something stuck in the water pump.
Most all these have a front panal on the bottom of the washer that you can remove. The water pump is right there in front of the washer mounted on the base.
If you could give me a model number I could pull up a diagram to make sure that is how yours is.
If there is nothing in the pump, but it is the pump you find making the noise then you need to replace the pump with a new one.
Hope that helps,