State of the Art Program Design & Memory Safety
That is what will defend your application from being infected by malware.
Start using Rust, as it eliminates all the C/C++ memory unsafety bugs. According to the CVE database, that is 70% of exploitable bugs.
And yeah, hire engineers with a CS degree, who know how to write proper, strict parsers and semantic data checkers instead of hodgepodge code.