First Microsoft Excel 0-day Vulnerability FAQ [UPDATED]

This is Frequently Asked Questions document about new zero-day vulnerability in Microsoft Excel and Microsoft Excel Viewer.

-UPDATE- This vulnerability has been fixed on 11th July with MS06-037 monthly update.

Q: What is Microsoft Excel 0-day vulnerability?
A: This previously unknown vulnerability is caused by an unknown error when processing malformed Excel documents. The detailed characteristics or component being exploited is not publicly known. Vulnerability was disclosed via malware descriptions informing new Trojan exploiting undocumented vulnerability in Excel. This flaw has been used in attacks against unknown organization. Microsoft tells about one report of their customer.

Q: How does the vulnerability work?
A: The vulnerability is code execution type vulnerability. Microsoft reports that improper memory validation in Excel causes this vulnerability. Attacker successfully exploiting this vulnerability can run code of his or hers choice in the affected machine. Executing arbitrary code is done with the recent privileges of logged user.
Microsoft reports that on Excel 2003 vulnerability is exploited when Excel enters Repair Mode.

Q: When this vulnerability was found?
A: The first malware description was published on Wednesday 14th June. Microsoft confirmed the existence of vulnerability on 16th June by the following document: blogs.technet.com/msrc/archive/2006/06/16/436174.aspx.
Update: There is information about samples received by one AV vendor on Monday 12th June already.

Q: Is this same critical vulnerability than reported by several vendors on 6th July?
A: No. Both of these vulnerabilites are using Repair Mode feature, however. There is no malicious shellcode execution embedded to the PoC file ‘Nanika.xls’ posted to Bugtraq on 3rd July. This posting is the reason of new advisories. User acitivy is needed to exploit this new vulnerability related to Style information handling. This vulnerability mentioned is cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-3431. Update: There is no patch for this vulnerability included in July monthly security updates.

Q: What Windows versions are affected?
A: Microsoft Excel installations used is Windows 95, Windows 98, Windows Me, Windows NT, Windows 2000, Windows XP and Windows 2003 Server systems are reportedly affected.

Q: What Excel versions are affected?
A: Excel versions 2003, 2002 and 2000 are affected. Some vendors list version 97 as affected too.

Q: Is Excel Viewer utility affected too?
A: Microsoft lists Excel Viewer 2003 as affected. US-CERT lists Excel Viewer 97 as affected too.

Q: Is Microsoft Works Suite affected too?
A: According to new Security Bulletin MS06-037 Works Suite is not vulnerable.

Q: Is Microsoft Excel for Mac affected in this vulnerability?
A: Microsoft lists Excel 2004 for Mac and Excel v. X for Mac as affected.

Q: Where are the official Microsoft documents related to this case located?
A: Documents published by Microsoft are located at Microsoft Security Response Center (MSRC) Blog site. The address of this site is blogs.technet.com/msrc/default.aspx. The upcoming security advisory will be published at Microsoft Security Advisories section of Microsoft TechNet Security site. The address of advisory section is www.microsoft.com/technet/security/advisory/default.mspx. NOTE: Advisory has been published.

Q: How can I protect from this vulnerability?
A: The best advice is to use anti-virus software and check that virus signature files are up-to-date. Update: Security Bulletin MS06-037 includes a fix now.

Q: Is the exploit code of this vulnerability publicly released?
A: Yes. It was posted to public, unmoderated security mailing list on 22th June.

Q: Is there PoC-type sample file of this vulnerability publicly available?
A: Yes. It was posted to public, moderated security mailing list on 3rd July. File name Nanika.xls was used.

Q: Is it safe to open any XLS files any more?
A: It is very important not to open Excel files from unknown sources. However, files from familiar sources can cause an infection too because of spoofed e-mail used. See related item later.

Q: Are there any visual effects informing about the infection?
A: Yes. Microsoft Excel will unexpectedly close after the infection.
Update: According to new information Application Error “Memory could not not be ‘read’” or Dr. Watson can occur.

Q: Are there any changes to file system made by related Trojan malware?
A: Yes. File svc.exe is being copied to Windows System directory when the malicious file is opened. Additionally, file temp.exe was copied to system root, i.e. C:\ in most cases. 0-byte file bool.ini was copied to C:\ as well. It is worth of mentioning that .ini files are not normally visible to ordinary users without administrator rights. Reportedly bool.ini is a harmless file. This FAQ item will be updated if it comes information about new Trojan variants.

Q: Are there any special features included to the way how this new Trojan works?
A: Yes. It can inject itself to Internet Explorer process to avoid firewall protection.

Q: What are the names of malwares exploiting this vulnerability?
A: Reportedly there is one trojan and one dropper component for this malware. The following names are used:

Downloader.Booli.A [Trojan]
Trojan.Mdropper.J [dropper]

Downloader-AWV [name of the Trojan] etc.
Downloader-AWV.dr [name of the dropper] etc.

EXPLOIT-MSEXCEL.GEN

TROJ_SMALL.AWC
X97M_EMBED.AN -> renamed to TROJ_EMBED.AN 19th Jun

Troj/DwnLdr-DEL

Trojan-Downloader.Win32.Agent.alq
Trojan-Dropper.MSExcel.CVE-2006-3059.a

Downloader.JFN

Win32/SillyDl.AQS

Win32.SillyDl.AQS

Win32/SillyDL.7jh!Trojan

CVE-2006-3059 (yes, it is one of the names used)

The list is very coverage now.
According to the official reply from some AV vendors there is no protection available in all anti-virus products yet.
Several AV vendors have been published the dropper write-up only referring to generic type Trojan descriptions.

NOTE: Names assigned on 4th July and later:

Trojan.Hongmosa

TROJ_NANISTYL.A

These malware descriptions have been published afte the “Nanika.xls” PoC file release at Bugtraq mailing list.

Q: My AV vendor doesn’t list these names at their Web pages. How do I know my AV software protects me?
A: It’s possible that anti-virus software has protection to this threat, but malware database at their Web page doesn’t include specific write-up yet because of weekend. The best way is to check the situation from your AV vendor.

Q: Is there Internet Storm Center documents available about the issue?
A: Yes. Internet Storm Center (ISC) has released several Diary entries: here, here and here.

Q: Is there CME name to this related malware available?
A: No. The Common Malware Enumeration (CME) project has not assigned an identifier to this malware.

Q: Does Windows Live Safety Center detect this malware?
A: Yes. Microsoft has reported that detection for this Trojan was added to Windows Live Safety Center (in Beta phase).

Q: What is the file attachment name used in attack mentioned?
A: Name okN.xls was used. The attackers can use other names in the future too, because the information about name used is publicly known. According to the newer information some other Asian are names was also used.

Q: Is there information about file size used?
A: Yes. The size of Excel file is reportedly 127,488 bytes.

Q: Is it safe to open Excel spreadsheets coming from trusted, known sender during next days?
A: The answer is yes and no. If your anti-virus software is updated it will protect you. If you want protection of one hundred percent you can save spreadsheets first and scan them with your AV software.
E-mail messages used in attack mentioned has been spoofed, however. So you can’t trust that the sender information included to message Excel file attached is truthful. If You are not sure, You can always call to the sender if e-mail including Excel attachments arrives unexpectedly.
Additionally, it is possible to include malicious Microsoft Excel files as embedded files to Microsoft Word files, or Microsoft Power Point files.

Q: Is it possible that malicious Excel files (.XLS file extension etc.) are located at Web pages too?
A: Yes. It is possible that attacker can locate malformed Excel files to Web pages too.

Q: Does the filtering Excel documents at network perimeter protect me?
A: No. Normally Windows will open files with file header information, i.e. filtering by extension is not the way you can trust. Microsoft lists all 21 Excel file types in its advisory.

Q: When the fix to this vulnerability is expected?
A: It is impossible to say. Microsoft has promised to release an official security advisory about this vulnerability in the near future. Normally Microsoft security advisory includes information about the fixing timeline of unpatched vulnerabilities. The next monthly security updates are scheduled to 11th July, 2006. Update: Fix is included to new MS06-037.

Q: Is there CVE name available to this vulnerability.
A: Yes, CVE name CVE-2006-3059 was assigned on 17th June. Link to CVE is cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-3059.
[CVE document works 19th Jun 10:00 UTC]

Q: Is there rootkit techniques included to malwares exploiting this vulnerability?
A: At time of writing there is no information about rootkit methods included.

Q: Is there information about the origin of related malware authors?
A: No. It is known that the target Web site used in attack mentioned is located in Hong Kong, China.

Q: What is the TCP/IP port used in related attack?
A: The TCP/IP port is 7890.

NOTE: Microsoft has released Security Advisory #921365 now.

(c) Juha-Matti Laurio,
Finland (UTC +3hrs)

Revision History:
1.0 17-06-2006 Initial release
1.1 18-06-2006 Added information about filtering Excel documents
1.2 18-06-2006 Added information about missing protection in some AV products
1.3 19-06-2006 Added MSIE process injection information, affected Windows versions. Some minor updates done.
1.4 19-06-2006 Added information to state that CVE name is working. UPDATE: Added new name TROJ_EMBED.AN assigned to X97M_EMBED.AN (Trend) and new Downloader.JFN (Panda)
1.5 19-06-2006 Added date first samples received by AV vendors and information about new Microsoft Security Advisory release
1.6 20-06-2006 Added new Downloader-AWV.dr (McAfee) and information about missing CME identifier, updated advisory with new information in released Microsoft advisory. Several minor updates and fixes done.
1.7 21-06-2006 Added information about Application Error/Dr. Watson during the infection and information about file size used.
1.8 22-06-2006 Added Microsoft information about Repair Mode on Excel 2003, added several new related malware variant names and updated credits. Added information about public PoC exploit code and word ‘First’ to the title to clarify the situation.
1.9 03-07-2006 Added information about PoC sample file posted to public mailing list.
2.0 05-07-2006 Added new malware name “Trojan.Hongmosa” related to PoC file posted to Bugtraq.
2.1 06-07-2006 Added name “TROJ_NANISTYL.A” related to PoC file posted to Bugtraq. Added new question related to new critical so-called Nanika vulnerability.
2.2 10-07-2006 Updated so-called Nanika vulnerability information.
2.3 11-07-2006 Added information about released MS06-037 patch.

Thanks to Internet Storm Center Handler Jason Lam for his comments to this document. Thanks to anonymous anti-virus companies for sending write-up links without asking them.

DiggRedditSlashdotTwitThisSphinnStumbleUpondel.icio.usFacebookGoogleTechnoratiE-mail this story to a friend!

-

Is your site safe from SQL Injection? Sign up for an Automated Vulnerability Detection Service today!

27 Comments:

  1. Q: Can I use OpenOffice’s Calc to open the spreadsheet safely?
    A: Yes, OpenOffice is not considered vulnerable to this new vulnerability, therefore it should be safe to open the “infected” XLS using the OpenOffice’s Calc

  2. פרצת האבטחה האחרונה באקסל- שאלות ותשובות נפוצות

    כן, זה קרה. “האנשים הרעים” השתמשו בפרצת אבטחה חדשה למתקפה, עוד לפני שיצא העדכון (zero day attack), זאת בניגוד לרוב ההתקפות, המשתמשות בפרצות אבטחה יד…

  3. Thanks Noam, I will add this information when the vulnerable component has been identified. OpenOffice isn’t probably affected, however.

  4. I’ve created another registry script for this vulnerability. This one runs EXCEL.EXE using the “Basic User” Software Restriction Policy in XP. With this applied, the damage that can be done with this vulnerability is severely limited.

    To install it, download and import this file:
    http://student.missouristate.edu/m/matthew007/tools/excel061706.reg

    The PGP signature for it is available at:
    http://student.missouristate.edu/m/matthew007/tools/excel061706.reg.sig

    In order to remove it, issue this command at a command prompt:

    reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers\131072\Paths\{9aab4230-f254-40a8-9243-fd6d791d0e5e}

    On XP Pro, it can be removed via Local Security Policy as well.

  5. Securiteam Blogs — FAQ on Execel 0 Day Vulnerability

    This FAQ provides a good summary related to the new 0 Day vulnerability which is being exploited in…

  6. Securiteam Blogs — FAQ on Execel 0 Day Vulnerability

    This FAQ provides a good summary related to the new 0 Day vulnerability which is being exploited in…

  7. I use a limited account for everyday activities, so I’m protected.

  8. What about launching Excel with /safe?
    Example: excel.exe /safe

    Does this provide increased protection?

  9. Thanks Matthew for making these registry scripts and sharing the links.

  10. Matt,
    How did you check the registry entry to change to basic user. I’ve used your Word one and it seems to work great as after i installed it prevented me from saving to c:\windows c:\windows/system32 etc.. however, with the excel version i dont notice a difference and i can still save to/overwrite files in the windows & system folder (yikes!)
    btw, i’m using XP/Pro SP2 Japanese Ver. Excel 2002 SP3

    Thanks for the word registry fix!!

  11. AFAICT, it works.

    I logged in as an admin, opened Excel, verified I could do “bad things” (write to system32). I then installed the registry script I provided. I originally had problems because I didn’t effectively kill off Excel, so that might be it.

    I recommend applying the fix, logging off, and logging back in for more assurance.

  12. […] An unofficial Frequently Asked Questions on the vulnerability has been issued with more details on the malware that exploits it. […]

  13. […] An unofficial Frequently Asked Questions on the vulnerability has been issued with more details on the malware that exploits it. […]

  14. After a reboot it works great now!
    Thanks!

  15. […] За радост на системните администратори е доста сериозен. Директно изпълнение на код и т.н. За момента най-пълна информация може да се види на сайта на Securiteam. За повече подробности тук […]

  16. […] UPDATE 16th Jun: MSRC Blog confirms report from Microsoft customer, new vulnerability was used in attack. UPDATE #2: Secunia reports that code execution is possible. FrSIRT lists this as Command Execution Vulnerability. UPDATE 17th Jun: Microsoft informs more details about upcoming security advisory. UPDATE 19th Jun: See Excel 0-day FAQ and Microsoft Security Advisory too. […]

  17. […] Microsoft Excel 0-day Vulnerability FAQ […]

  18. […] I.e. it appears that we have a new type of Trojan exploiting unpatched code execution Excel vulnerability (let’s say 1st Excel vulnerability) described at FAQ document using technics published later in so-called 3rd Excel vulnerability. The newest Excel vulnerability is related to embedded Shockwave Flash Object described (see link earlier). PoC is available at author’s Web site too. I’ll update this writing when new information is available. […]

  19. […] OK - there have been a number of Excel problems floating around in the last week - week and a half. Securiteam blog has a FAQ on the Excel 0-day vulnerabilities with Excel and Excel Viewer Incidents.org kindly gives us a scoresheet documenting the three different vulnerabilities that have been recently exploited. I have not thoroughly read details, but suspect that avoiding opening unexpected xls attachments would likely be a GOOD preventative measure. If you take the attitude… “oh junk mail…. ooo attachment - wonder whats in there - let’s see…” then you’re likely already stuck by a few viruses. […]

  20. […] Then the first (but not last!) of the Excel 0days was disclosed. Here is what Juha had to say about it. […]

  21. […] I decided to write a short entry to share information about several updates to First Microsoft Excel 0-day Vulnerability FAQ document at http://blogs.securiteam.com/?p=451. […]

  22. […] Because these issues has been released within a week, Microsoft had time enough to fix all of these issues. But they only fixed the ‘Repair Mode’ issue used to targeted attacks by Booli.A. […]

  23. […] In June several Trojans attacked against MS Excel, in turn. […]

  24. […] Trackback Last week, Microsoft announced that it had received a single report for a new 0-day vulnerability involving Excel. A malicious spreadsheet was attached to an e-mail and sent to a targeted victim. Various information is available from Microsoft and an interesting FAQ is also available on the Securiteam blog: http://blogs.technet.com/msrc/archive/2006/06/16/436174.aspx http://www.microsoft.com/technet/security/advisory/921365.mspx http://blogs.securiteam.com/?p=451 […]

  25. where to download excel add-ins?
    I don't have the microsoft office disks to install this function.
    Have tried searching on Microsoft online website but in vain.
    Thanks a million.

  26. Is this Vulnerable affecting Microsoft Excel 2007 version. I feel latest version is more secure compared to the earlier ones. An updated Anti-virus will do the job.

  27. The information given by you is really interesting. But once I was going through a article which says that the new zero-day vulnerability is affecting Microsoft Excel. The attack can occur by tricking a victim into opening an email attachment or visiting a website hosting the exploit.

Leave a Comment


Vulnerability Scanner