While each piece of unwanted software that tries to get on your Mac is slightly different, there are some general steps you can take to check for and remove malware. The LaunchAgents and LaunchDaemons folders are usual locations to check. You should also look for unwanted browser extensions and do an audit of the files in your Applications folder.
Apple debuts colorful 24-inch iMac with M1, upgraded camera audio
Apple's all-in-one desktop became the latest Mac to make the transition to Apple Silicon on Tuesday, with a new iMac...