Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Vulnerabilities / Threats

12/11/2013
11:33 PM
50%
50%

Firms Eliminate Embedded Code To Foil Targeted Attacks

Security providers are developing technology to strip out, or render unusable, any potential code in popular file formats

Security firms have typically taken one of two approaches to protecting their customers: detect bad code and block it, or validate wanted applications and allow them to run.

Yet determining whether a file, script, or executable binary is malicious is not an easy task, and often defensive technologies have missed the more subtle or sophisticated attacks that insert exploit code as part of a common file format, such as Office or portable document format (PDF) files. While some companies banned scripts as a way to fend off macro viruses in the late '90s and early 2000s, now security firms are finding ways to sanitize common file formats, removing or modifying executable code within the files to stymie attackers.

Last week, for example, security firm Symantec announced it had added a feature, known as Disarm, to its messaging-security gateway to remove executable code from Office and PDF files. Such sanitizing would have rendered harmless 98 percent of the zero-day exploits used in targeted attacks in the last year, says Darren Shou, director of Symantec Research Labs.

"With these previous technologies, you had to make a determination about the goodness and badness of something, and then you had to make the determination of whether to allow it to go through or not," he says. "What turns this idea on its head is that we are not going to make any determination, and that is the fundamental difference."

Targeted attacks, often referred to as advanced persistent threat-type attacks, are designed to evade traditional signature-based detection and often operate under the threshold of behavioral-based pattern recognition systems. Commonly, attackers will insert exploit code in common files attached to e-mail messages or link to the files, which are then downloaded from the Web.

Yet the process of sanitizing files can remove the vector of attacks, if not the attack itself. The technique promises to defeat a class of attacks that traditional passive defenses have had a hard time beating.

Symantec is not the only company using sanitization to clean files of executable code. For the past four years, Israeli security firm Votiro has used a similar concept to render ineffective any exploit code in common file formats. Rather than try to remove exploitable code, the company makes what it calls "microchanges" to particular portions of the file to block any potential malicious code, says Itay Glick, founder and CEO of Votiro.

"We are not looking for bad stuff because we don't know what the bad stuff will look like," he says. "What we do is look at the file itself and make microchanges to create interference and prevent the exploit from running correctly."

In addition to Office and PDF files, the company currently sanitizes image files. In the future, it plans to also render audio and video files safe as well, says Glick.

[Overly accommodating platforms and protocols let attackers use inputs like code, essentially allowing attackers to program an unintentional virtual machine. See Taming Bad Inputs Means Taking Aim At 'Weird Machines'.]

Microsoft has also had a history of finding ways to make its software more resistant to exploits, adding technologies such as address space layout randomization (ASLR) to make exploits less reliable.

Sanitizing files should be used as another layer in a company's defense-in-depth strategy, says Amanda Grady, senior product manager for Symantec. Companies that have multiple employees using a single account or that are prone to targeted attacks may want to go beyond just blocking executable files to blocking any scripts or code embedded within files, she says.

"If they want to have a clean room type of environment, where they don't want to let any executable content in over e-mail, they could do that with this technology," Grady says.

Have a comment on this story? Please click "Add Your Comment" below. If you'd like to contact Dark Reading's editors directly, send us a message. Veteran technology journalist of more than 20 years. Former research engineer. Written for more than two dozen publications, including CNET News.com, Dark Reading, MIT's Technology Review, Popular Science, and Wired News. Five awards for journalism, including Best Deadline ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
macker490
50%
50%
macker490,
User Rank: Ninja
12/13/2013 | 1:25:49 PM
re: Firms Eliminate Embedded Code To Foil Targeted Attacks
rof,lmfao
an app program should never be able to corrupt a host os. you guys are fixing the wrong problem.
vivyrelax
50%
50%
vivyrelax,
User Rank: Apprentice
12/12/2013 | 8:26:16 PM
re: Firms Eliminate Embedded Code To Foil Targeted Attacks
I hope PDF will work again with active links and optin form because it's really usefull in webmarketing. I use ViralPDF for brand my ebooks so if PDF stop this kind of code it will be a drama for ebusinesses.
When It Comes To Security Tools, More Isn't More
Lamont Orange, Chief Information Security Officer at Netskope,  1/11/2021
US Capitol Attack a Wake-up Call for the Integration of Physical & IT Security
Seth Rosenblatt, Contributing Writer,  1/11/2021
IoT Vendor Ubiquiti Suffers Data Breach
Dark Reading Staff 1/11/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
2020: The Year in Security
Download this Tech Digest for a look at the biggest security stories that - so far - have shaped a very strange and stressful year.
Flash Poll
Assessing Cybersecurity Risk in Today's Enterprises
Assessing Cybersecurity Risk in Today's Enterprises
COVID-19 has created a new IT paradigm in the enterprise -- and a new level of cybersecurity risk. This report offers a look at how enterprises are assessing and managing cyber-risk under the new normal.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2021-3113
PUBLISHED: 2021-01-17
Netsia SEBA+ through 0.16.1 build 70-e669dcd7 allows remote attackers to discover session cookies via a direct /session/list/allActiveSession request. For example, the attacker can discover the admin's cookie if the admin account happens to be logged in when the allActiveSession request occurs, and ...
CVE-2020-25533
PUBLISHED: 2021-01-15
An issue was discovered in Malwarebytes before 4.0 on macOS. A malicious application was able to perform a privileged action within the Malwarebytes launch daemon. The privileged service improperly validated XPC connections by relying on the PID instead of the audit token. An attacker can construct ...
CVE-2021-3162
PUBLISHED: 2021-01-15
Docker Desktop Community before 2.5.0.0 on macOS mishandles certificate checking, leading to local privilege escalation.
CVE-2021-21242
PUBLISHED: 2021-01-15
OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, there is a critical vulnerability which can lead to pre-auth remote code execution. AttachmentUploadServlet deserializes untrusted data from the `Attachment-Support` header. This Servlet does not enforce any authentication or a...
CVE-2021-21245
PUBLISHED: 2021-01-15
OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, AttachmentUploadServlet also saves user controlled data (`request.getInputStream()`) to a user specified location (`request.getHeader("File-Name")`). This issue may lead to arbitrary file upload which can be used to u...