Attackers exploit Windows zeroday that can execute malicious code

Post content hidden for low score. Show¡­

Rosyna

Ars Tribunus Angusticlavius
6,977
Ah, good old Adobe. The "gift" that keeps on giving, whether you like it or not. And, yeah, I know this isn't entirely on Adobe but still ...

To be clear and despite its name, this is not Adobe code. Microsoft was given the source code for ATM Light for inclusion in Windows 2000/XP. After that, Microsoft took 100% responsibility for maintaining the code.

Microsoft has added additional code and removed code from that DLL (they shove all their Type 1 handling and Open Type font format handling into that one DLL)
 
Upvote
148 (148 / 0)

Autapomorphy

Ars Praetorian
578
Subscriptor
Am I missing something here? Neither of my systems have and atmfd.dll. I do have an atmlib.dll which is suspicious since it's description says it's for OpenType/Type 1 and the copyright on the file is Adobe Systems rather than Microsoft.

Edit: The advisory has been updated to reflect that this file is not present in the past several years' releases of Windows 10.
 
Upvote
36 (37 / -1)

The Ugly

Ars Scholae Palatinae
726
great.

first with the real virus, now a possible windows virus and with everyone working remotely, making them more prone to open random documents, and much harder to diagnose and reimage/fix




we had to give someone a new laptop today, the procedure was "go to the lobby, do not sit, wait near the elevator, send a message" then the tech brought the laptop to the front counter, placed it there, and wiped it down, while the employee waited a distance away, then left and instructed the employee to pick up the laptop and leave. Imagining a situation where this process has to be repeated on even a small scale to drop off and pick up machines is not fun, let alone a large scale if some malware makes its way around.
 
Upvote
38 (40 / -2)

Rosyna

Ars Tribunus Angusticlavius
6,977
What is the impact of disabling the webclient service? How likely is it that I'm using webdav and not aware of it?

From Microsoft¡¯s security document:

When the WebClient service is disabled, Web Distributed Authoring and Versioning (WebDAV) requests are not transmitted. In addition, any services that explicitly depend on the WebClient service will not start, and an error message will be logged in the System log. For example, WebDAV shares will be inaccessible from the client computer.
 
Upvote
20 (22 / -2)

The Ugly

Ars Scholae Palatinae
726
What is the impact of disabling the webclient service? How likely is it that I'm using webdav and not aware of it?

From Microsoft¡¯s security document:

When the WebClient service is disabled, Web Distributed Authoring and Versioning (WebDAV) requests are not transmitted. In addition, any services that explicitly depend on the WebClient service will not start, and an error message will be logged in the System log. For example, WebDAV shares will be inaccessible from the client computer.

in theory not much

in practice¡­ are you 100% sure no software you run uses webdav in any way?


the classic approach of "disable the service and see who complains" beckons
 
Upvote
39 (39 / 0)
I can't find an atmfd.dll file on my Windows 10 computer anywhere.. Thoughts?

Edit: I've searched for system and hidden files, and also used a admin cmd console to do the search, but still no luck. Doesn't seem to exist on my system. I'm probably missing something and I'd welcome input. (I understand I shouldn't rename/remove this file without due consideration -- I just wanted to identify it, and was surprised when I couldn't even find it).

Edit 2: This file seems to be some kind of uber-special Windows file, that possibly can't be located even by an admin elevated CMD prompt.. Here's MS' instructions for 64 bit machines which is most generously described as "idiosyncratic":

cd "%windir%\system32"
takeown.exe /f atmfd.dll
icacls.exe atmfd.dll /save atmfd.dll.acl
icacls.exe atmfd.dll /grant Administrators:(F)
rename atmfd.dll x-atmfd.dll
cd "%windir%\syswow64"
takeown.exe /f atmfd.dll
icacls.exe atmfd.dll /save atmfd.dll.acl
icacls.exe atmfd.dll /grant Administrators:(F)
rename atmfd.dll x-atmfd.dll
 
Upvote
37 (37 / 0)
I can't find an atmfd.dll file on my Windows 10 computer anywhere.. Thoughts?

Edit: I've searched for system and hidden files, and also used a admin cmd console to do the search, but still no luck. Doesn't seem to exist on my system. I'm probably missing something and I'd welcome input. (I understand I shouldn't rename/remove this file without due consideration -- I just wanted to identify it, and was surprised when I couldn't even find it).

I'm interpreting it as being safe, seeing as it seems to be there for people whom would be unacceptably impacted with the first two workaround, but I'm not 100% certain

I also don't have it present in %WINDOWSDIR%\SYSTEM32 on Windows 10 version 1909 on my personal machines.
 
Upvote
3 (3 / 0)

Kazper

Ars Praefectus
4,334
Subscriptor
I can't find an atmfd.dll file on my Windows 10 computer anywhere.. Thoughts?

Edit: I've searched for system and hidden files, and also used a admin cmd console to do the search, but still no luck. Doesn't seem to exist on my system. I'm probably missing something and I'd welcome input. (I understand I shouldn't rename/remove this file without due consideration -- I just wanted to identify it, and was surprised when I couldn't even find it).
I can't find it either on my 1903 Pro machine.
 
Upvote
2 (3 / -1)
What is the impact of disabling the webclient service? How likely is it that I'm using webdav and not aware of it?

From Microsoft¡¯s security document:

When the WebClient service is disabled, Web Distributed Authoring and Versioning (WebDAV) requests are not transmitted. In addition, any services that explicitly depend on the WebClient service will not start, and an error message will be logged in the System log. For example, WebDAV shares will be inaccessible from the client computer.

in theory not much

in practice¡­ are you 100% sure no software you run uses webdav in any way?


the classic approach of "disable the service and see who complains" beckons

At least in Ye Olden Days; much of the Sharepoint/Office chatter was WebDAV under the hood. Not sure if that has been deprecated (if it has I would assume at roughly the same time
the "OneDrive for Business"/groove.exe client was taken out and forced to dig its own grave); but if it hasn't that would be high on my list of things that will break, yea, copiously and abundantly, if you try to use this mitigation in your average corporate environment.

Any word on whether the "Block Untrusted Fonts" option is of at least some use, without breaking things quite as dramatically as DLL disabling?
 
Upvote
9 (9 / 0)

CalJake

Ars Centurion
384
Subscriptor
"Renaming ATMFD.DLL, the last recommended stopgap, will cause display problems for applications that rely on embedded fonts and could cause some apps to stop working if they use OpenType fonts. Microsoft also cautioned that mistakes in making registry changes to Windows¡ªas required in the third workaround"

Not sure I'm following this - why would you have to make registry changes in Windows just to rename a file? Can't you just rename the file? Does it mean the renamed file can cause issues with the registry?
 
Upvote
4 (5 / -1)

aexcorp

Ars Praefectus
3,323
Subscriptor
I've also searched for & did not find atmfd.dll on my system, which is Win10 1909 Pro; it's likewise not on my work PC's Win10 1909 Enterprise.

Same, just searched for it on the OS drive of my personal desktop (not managed by a 3rd party), and then specifically in system32 and syswow64 but there was no hit. Running Win10 1909 Pro as well, fully patched (default ring).
 
Upvote
1 (1 / 0)

WXW

Ars Scholae Palatinae
1,204
"Renaming ATMFD.DLL, the last recommended stopgap, will cause display problems for applications that rely on embedded fonts and could cause some apps to stop working if they use OpenType fonts. Microsoft also cautioned that mistakes in making registry changes to Windows¡ªas required in the third workaround"

Not sure I'm following this - why would you have to make registry changes in Windows just to rename a file? Can't you just rename the file? Does it mean the renamed file can cause issues with the registry?
I think that's a mistake, the warning is for an optional step for Windows 8.1 and below to disable ATMFD from the registry.

In any case, check the instructions about renaming the file, because they don't involve just renaming it as usual.
 
Upvote
4 (4 / 0)

CalJake

Ars Centurion
384
Subscriptor
"Renaming ATMFD.DLL, the last recommended stopgap, will cause display problems for applications that rely on embedded fonts and could cause some apps to stop working if they use OpenType fonts. Microsoft also cautioned that mistakes in making registry changes to Windows¡ªas required in the third workaround"

Not sure I'm following this - why would you have to make registry changes in Windows just to rename a file? Can't you just rename the file? Does it mean the renamed file can cause issues with the registry?
I think that's a mistake, the warning is for an optional step for Windows 8.1 and below to disable ATMFD from the registry.

In any case, check the instructions about renaming the file, because they don't involve just renaming it as usual.
Got it. Thanks!
 
Upvote
1 (1 / 0)

mygeek911

Ars Scholae Palatinae
1,028
Subscriptor++
You can push the first option out via GPO changing the following settings:

User Configuration > Administrative Templates > Windows Components > File Explorer > Explorer Frame Pane > Turn off Preview Pane

-and-

User Configuration > Administrative Templates > Windows Components > File Explorer > Explorer Frame Pane > Turn on or off details pane
 
Upvote
7 (7 / 0)

goto_dengo

Wise, Aged Ars Veteran
105
You can push the first option out via GPO changing the following settings:

User Configuration > Administrative Templates > Windows Components > File Explorer > Explorer Frame Pane > Turn off Preview Pane

-and-

User Configuration > Administrative Templates > Windows Components > File Explorer > Explorer Frame Pane > Turn on or off details pane

And to disable WebDav ("WebClient" service), with Group Policy Prefs:

Computer Config/Preferences/Control Panel Settings/Services:
Service name "WebClient".
Action: Stop service
Startup type: Disabled

FWIW, if you interact with Sharepoint files in windows explorer, you probably need WebDav. If you're not sure, like someone said, disable the service and see who screams.
 
Upvote
7 (7 / 0)
I shut off updates until I was sure the two that deleted settings and files wouldn't be reinstalled. Because there's no reason for a company to stop installing software that fucks up their customers' computer, right? I just realized I didn't turn it back on. I'm sure it won't help or hinder me. Go fuck yourself Microsoft.
 
Upvote
-17 (2 / -19)

Rosyna

Ars Tribunus Angusticlavius
6,977
In Windows 10, the file is ATMLIB.DLL.

ATMFD.DLL is for older versions of Windows.
In that case major fail on MS' part for not mentioning that in their instructions. Thanks.

FWIW, ATMFD.DLL was/is a kernel driver, a super bad idea as font parsing bugs meant kernel-level privileges. In the Windows 10 Anniversary update (1607), Microsoft moved that font parsing out of the kernel and into happy sandboxed user-space.

This change is also why the harm of this bug is significantly reduced on Windows 10.
 
Upvote
17 (17 / 0)

noerror

Seniorius Lurkius
8
Important notes to take into account:

According to this MSRC engineer, in Windows 10 the ATMFD parser is hosted in a usermode process confined by AppContainer restrictions: https://twitter.com/axsdnied/status/1242246027278610432

This is also confirmed within the advisory itself:
Please note: ATMFD.DLL is not present in Windows 10 installalations starting with Windows 10, version 1709. Newer versions do not have this DLL. See the mitigation section for more information.
And there's a table in the "Mitigations" section which lists the way various versions of Windows 10 process fonts.

According to the blog post about font exploits hardening with AppContainer, this reduces the attack surface significantly:
When opening the malicious font sample on Windows 10 Anniversary Update, font parsing happens completely in AppContainer instead of the kernel. AppContainer provides an isolated sandbox that effectively prevents font exploits (among other types of exploits) from gaining escalated privileges. The isolated sandbox considerably reduces font parsing as an attack surface.

Unless the second mentioned exploit manages to somehow escape the AppContainer, I think that latest versions of Windows 10 are in less trouble than older versions of Windows. I should note that the advisory doesn't clearly list the impact on Windows 10 /w AppContainer-hosted font process vs older versions of Windows which is unfortunate. You can't easily tell if there's a difference and if those more modern versions of Windows 10 are affected less or in the same way as older/previous versions.
 
Upvote
9 (9 / 0)

xerces8

Seniorius Lurkius
10
Am I missing something here? Neither of my systems have and atmfd.dll. I do have an atmlib.dll which is suspicious since it's description says it's for OpenType/Type 1 and the copyright on the file is Adobe Systems rather than Microsoft.

Edit: The advisory has been updated to reflect that this file is not present in the past several years' releases of Windows 10.

Yes, it says the latest version having it is 1703 (but doesn't use it) and newer versions don't have it at all.

Both this article and the one from MS should be updated.
 
Upvote
4 (4 / 0)

inno2k

Seniorius Lurkius
1
Check the mitigation section under:

https://portal.msrc.microsoft.com/en-us ... /adv200006

The file hasn't been included in Windows since 1709

I can't find an atmfd.dll file on my Windows 10 computer anywhere.. Thoughts?

Edit: I've searched for system and hidden files, and also used a admin cmd console to do the search, but still no luck. Doesn't seem to exist on my system. I'm probably missing something and I'd welcome input. (I understand I shouldn't rename/remove this file without due consideration -- I just wanted to identify it, and was surprised when I couldn't even find it).

Edit 2: This file seems to be some kind of uber-special Windows file, that possibly can't be located even by an admin elevated CMD prompt.. Here's MS' instructions for 64 bit machines which is most generously described as "idiosyncratic":

cd "%windir%\system32"
takeown.exe /f atmfd.dll
icacls.exe atmfd.dll /save atmfd.dll.acl
icacls.exe atmfd.dll /grant Administrators:(F)
rename atmfd.dll x-atmfd.dll
cd "%windir%\syswow64"
takeown.exe /f atmfd.dll
icacls.exe atmfd.dll /save atmfd.dll.acl
icacls.exe atmfd.dll /grant Administrators:(F)
rename atmfd.dll x-atmfd.dll
 
Upvote
0 (1 / -1)