Your options if you wish to stick with Windows:
- Windows 10 LTSC (massgrave activators and has a guide for getting an ISO for it) which means a reinstallation (best option with Windows, least enshittification, still keep security updates but have to back up your stuff and reinstall everything) though this may not be a long-term plan if you play video games as I expect many places may drop Windows 10 support by 2028-29 end of ESU rather than 2032 end of LTSC support.
- Windows 11 but change to LTSC (massgrave can do this)
- Windows 11 but change to Enterprise license (massgrave can do this) and use Windows Group Policy settings to set target for updates to the current OS build version number which will delay feature updates for I believe up to 6-12 months but allow you immediate security updates. Bad news is you still get the new "features" but good news is they're delayed significantly and maybe by the time you have to "upgrade" Microsoft has tweaked them to be moderately less bad and much less buggy.
If the drive previously wasn't making this noise (as in it had been filled with data, been in use for days-weeks and wasn't ever making this noise) and it doesn't happen in response to data writes (even hours after the fact) then it might be a cause for concern that the drive could be dying.
In general it's a good idea to have back-ups of any important data but I'd really ensure that's the case here and assume it could imminently fail. In general the sound of hard drives changing (that is sounding different in either idle noises or active writing/reading noises) is a cause for concern for potential drive failure though it could be other things and as drives age they can sometimes change sound signatures as mechanical components age without necessarily failing (could go on working fine for years).
That said there are normal processes in drives that can make noise:
How would it do this? Is it installing hacked firmware to your enclosure too? I doubt you're that valuable of a target.
If you're worried about malware then back up your stuff, nuke the install and reinstall from scratch. I wouldn't worry about it if this is the only thing you're seeing and find it unlikely.