Correct setup to block file modifications from hackers

If you have SSH access and WP-CLI is installed you can try running wp core verify-checksums to see if any Core files have been modified.