Lucian Constantin
CSO Senior Writer

Windows 10 will allow apps to actively scan their content for malware

news
Jun 11, 20152 mins

Developers will be able to have their apps talk to the locally installed antivirus programs through a new API

Windows 10 will have a new mechanism that will allow software developers to integrate their applications with whatever antimalware programs exist on users’ computers.

The goal of the new AMSI (Antimalware Scan Interface) is to let applications send content to the locally installed antivirus product to be checked for malware.

According to Microsoft, this can have important benefits when dealing with script content in particular, because malicious scripts are commonly obfuscated to bypass antivirus detection. Scripts also typically get executed in the memory of the applications that are designed to interpret them, so they don’t create files on disk for antivirus programs to scan.

“While the malicious script might go through several passes of deobfuscation, it ultimately needs to supply the scripting engine with plain, unobfuscated code,” Lee Holmes, principal software engineer at Microsoft, said in a blog post. “When it gets to this point, the application can now call the new Windows AMSI APIs to request a scan of this unprotected content.”

Scripting is not the only type of content that can be scanned with this new feature. Communication apps could scan instant messages for viruses before displaying them to users and games could scan plugins before installing them, Holmes said.

The Windows developer reference for AMSI says that the mechanism allows for “file and memory or stream scanning, content source URL/IP reputation checks, and other techniques.” So, it potentially supports many types of content in many use cases.

Catalin Cosoi, chief security strategist at antivirus firm Bitdefender, doubts that the feature will have a significant impact over the next couple of years, because in order to be effective both application developers and antivirus vendors need to decide to use it. How many of them will do so remains to be seen.

“We obviously salute the initiative, but there’s two sides to every medal,” Cosoi said via email. Allowing applications to perform this type of scanning through AMSI shifts the responsibility to the app developers, he said. “Will they actually use the feature? Will their programs correctly interpret the answers provided by the antimalware engines and take the right decisions?”

There are many unknowns and it’s not yet clear how aggressively Microsoft will promote the feature to developers — or whether it will force it upon them — and what are some of the downsides that will come with it, Cosoi said.

Lucian Constantin

Lucian Constantin writes about information security, privacy, and data protection for CSO. Before joining CSO in 2019, Lucian was a freelance writer for VICE Motherboard, Security Boulevard, Forbes, and The New Stack. Earlier in his career, he was an information security correspondent for the IDG News Service and Information security news editor for Softpedia.

Before he became a journalist, Lucian worked as a system and network administrator. He enjoys attending security conferences and delving into interesting research papers. He lives and works in Romania.

You can reach him at lucian_constantin@foundryco.com or @lconstantin on X. For encrypted email, his PGP key's fingerprint is: 7A66 4901 5CDA 844E 8C6D 04D5 2BB4 6332 FC52 6D42

More from this author