Manual method to remove malware .
To locate the path of malware , open Activity monitor through spotlight , select a process and click on I icon and click on open files and ports , you can copy the file and paste in search bar of the activity monitor to find the path in the folder say in system library and user library .
Open system preferences and click on users and groups , open the pad lock by entering admin name and password ( in case if it is an admin account ) , select login items , if you see unknown app select it and click on subtract sign to get deleted .
In system preferences itself click on Security and privacy , click on Accessibility then privacy select the unknown app click on subtract sign to get deleted .
Click on finder and search in Applications and download folder .
The next step would be enter in System Library .
Click on Finder , take cursor on top menu bar click on Go - Computer - Macintosh HD - Library
You have to manually search malware in some folders where they reside .
1.Application Support
2.Caches
3.LaunchAgents
4.LaunchDaemons
5.Logs
6.PriviledgedHelperTools
7.Startup-items
8.Receipts
9.Preferences - the plist of malware is to be removed , if there is com.apple .xxxx .plist.lockfile or com.apple.xxx.plistlockfile its an indication ( xxx denotes malware .plist ) and the small folder before it will turn black and it's a symptom of the malware , and it could also be com.apple.xxx.plist
10.Extensions
11.Frameworks
12.internet Plug -ins
13.Input Methods
14.ScriptingAdditions
Then enter in User library - click on finder > Go > hold option key > Library
Search Malware in folders
1.Application Support
2.Caches
3.Cookies
4.Safari
5.Logs
6.Saved Application State
7.LaunchAgents
8.Internet Plug -ins
9.Input Methods
10.Preferences - com.apple.xxx.plist ( xxx - denotes the malware .plist )
11.Containers are also to be checked .
Then again click on Finder - Go - Macintosh HD - System - Library - Frameworks - search the malware in Framework folder .
Right click on malware from the above folders and move to the trash , restart the computer and empty the trash .
Malware bytes will remove the malware for system library and user library , but will not delete the complete folder for an unidentified app installed or the malware that is inside the folder and also the .plist of malware from user library .
You will see the folders name of app in last column .

Second method is click on finder from the dock , again click on new finder window in its spotlight search enter the name of app safe finder , click on search this Mac , you find the residues of app , click on cross sign to delete them .
Take suggestions before following the steps as mentioned with senior apple care advisors https://support.apple.com/en-in/HT201232
if there is left over of malware in Mac even you create a new test user account it will not help it will remain in Mac , deleting com.apple.safari.plist is done when safari is corrupted .