How Application Security can prevent exploits in your code
For an outside cybercriminal to steal data, she or he first has to gain access to a network. This could be through direct access in a location with a connection point to a network or being directly at a computer on a network. Happens sometimes, but nowadays this is very rare. Much more common are two other means of gaining access – through phishing attacks and exploits.
An exploit uses a software security vulnerability. It is a flaw in software code of an operating system or an application, which makes it possible for a hacker to access other parts of the system, get administrator privileges, or deploy other tools to further his reach into the system. Nowadays there are almost weekly updates of OSs, office applications, internet browsers, because new software vulnerabilities are discovered almost daily, and must patched.
Todays’ environment differs very much from the times of mainframes or early PC era in one way. We use many more applications written not by large computer vendors or global software companies like Microsoft. Lots of them are developed in-house, that is by the companies themselves, by hired developer studios, or by one of thousands of smaller software developer teams. Popular mobile applications are sometimes developed by a single person. Also the term application has shifted to encompass smaller tools, web and SaaS services.
The fastest and cheapest way to prevent exploits is to discover them in the source code. And repair them before putting applications in production. Later this is harder and the costs of remediation or damage grow exponentially. But developer teams don’t have trained engineers specialized for security analysis. There are no people who would search for vulnerabilities and recommend changes. Developers don’t have time for that, modern DevOp teams must release multiple new application versions often daily.
But we can automate application security testing. Two well known brands are Checkmarx and MicroFocus Fortify. Those are tools or services that scan source code in different languages, or are integrated with scripting code or app servers, some even monitor running applications. Sometimes they integrate (Web) Application Firewalls. They have databases of hundreds of source code vulnerabilities, can discover them in source code, and they recommend changes to remove them. Not by searching for fixed code patterns but by intelligently following data input, processing, output, variable and memory usage, libraries and function calls, arguments passing etc. They find many more vulnerabilities much faster than a team of security analysts would.
Operacijo “Postavitev večjezične korporativno-prodajne strani z vključenimi info-prodajnimi video vsebinami” v okviru Javnega razpisa za vzpostavitev ali nadgradnjo elektronskega poslovanja v MSP v obdobju 2017-2018 »E-POSLOVANJE 2017-2018« omogočata javna agencija SPIRIT Slovenija in Ministrstvo za gospodarski razvoj in tehnologijo. Naložbo sofinancirata Republika Slovenija in Evropska unija iz Evropskega sklada za regionalni razvoj.