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.
For Cybersecurity to Be Proactive, Terrains Must Be Mapped
Craig Harber, Chief Technology Officer at Fidelis Cybersecurity,  10/8/2019
A Realistic Threat Model for the Masses
Lysa Myers, Security Researcher, ESET,  10/9/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
7 Threats & Disruptive Forces Changing the Face of Cybersecurity
This Dark Reading Tech Digest gives an in-depth look at the biggest emerging threats and disruptive forces that are changing the face of cybersecurity today.
Flash Poll
2019 Online Malware and Threats
2019 Online Malware and Threats
As cyberattacks become more frequent and more sophisticated, enterprise security teams are under unprecedented pressure to respond. Is your organization ready?
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-17593
PUBLISHED: 2019-10-14
JIZHICMS 1.5.1 allows admin.php/Admin/adminadd.html CSRF to add an administrator.
CVE-2019-17594
PUBLISHED: 2019-10-14
There is a heap-based buffer over-read in the _nc_find_entry function in tinfo/comp_hash.c in the terminfo library in ncurses before 6.1-20191012.
CVE-2019-17595
PUBLISHED: 2019-10-14
There is a heap-based buffer over-read in the fmt_entry function in tinfo/comp_hash.c in the terminfo library in ncurses before 6.1-20191012.
CVE-2019-14823
PUBLISHED: 2019-10-14
A flaw was found in the "Leaf and Chain" OCSP policy implementation in JSS' CryptoManager versions after 4.4.6, 4.5.3, 4.6.0, where it implicitly trusted the root certificate of a certificate chain. Applications using this policy may not properly verify the chain and could be vulnerable to...
CVE-2019-17592
PUBLISHED: 2019-10-14
The csv-parse module before 4.4.6 for Node.js is vulnerable to Regular Expression Denial of Service. The __isInt() function contains a malformed regular expression that processes large crafted input very slowly. This is triggered when using the cast option.