{"id":3138,"date":"2019-12-31T07:18:21","date_gmt":"2019-12-30T23:18:21","guid":{"rendered":"https:\/\/kirin.mycycraft.com\/mitre-attck-mondays-wmi-t1047\/"},"modified":"2022-04-27T15:00:47","modified_gmt":"2022-04-27T07:00:47","slug":"mitre-attck-mondays-wmi-t1047","status":"publish","type":"post","link":"https:\/\/kirin.mycycraft.com\/ja\/mitre-attck-mondays-wmi-t1047\/","title":{"rendered":"MITRE ATT&CK Mondays : WMI (T1047)"},"content":{"rendered":"

[vc_row type=”in_container” full_screen_row_position=”middle” column_margin=”default” column_direction=”default” column_direction_tablet=”default” column_direction_phone=”default” scene_position=”center” text_color=”dark” text_align=”left” row_border_radius=”none” row_border_radius_applies=”bg” overlay_strength=”0.3″ gradient_direction=”left_to_right” shape_divider_position=”bottom” bg_image_animation=”none”][vc_column column_padding=”no-extra-padding” column_padding_tablet=”inherit” column_padding_phone=”inherit” column_padding_position=”all” column_element_spacing=”default” background_color_opacity=”1″ background_hover_color_opacity=”1″ column_shadow=”none” column_border_radius=”none” column_link_target=”_self” gradient_direction=”left_to_right” overlay_strength=”0.3″ width=”1\/1″ tablet_width_inherit=”default” tablet_text_alignment=”default” phone_text_alignment=”default” bg_image_animation=”none” border_type=”simple” column_border_width=”none” column_border_style=”solid”][image_with_animation image_url=”5534″ animation=”Fade In” hover_animation=”none” alignment=”center” border_radius=”none” box_shadow=”none” image_loading=”default” max_width=”100%” max_width_mobile=”default”][vc_column_text]MITRE ATT&CK Mondays is an ongoing series of weekly articles on adversary tactics and techniques listed on the MITRE ATT&CK framework. We will focus on one technique per week, discuss what it is, what it looks like in the wild, possible future applications, and how to defend and protect your network. Read more MITRE ATT&CK Mondays at Cycraft.com<\/a>.<\/em><\/p>\n

 <\/p>\n

What is WMI?<\/h2>\n

WMI – Windows Management Instrumentation – has been around as a foundational Windows administration mechanism since Windows NT, so isn’t exactly a new tool for hackers to abuse. It’s main legitimate purpose is to allow programmatic management of Windows personal computers and servers, so an admin could write, say a Powershell script, to edit the registry or even manage the temperature of an endpoint, or do any other number of administrative actions.<\/p>\n

Whether Microsoft has intended it or not, WMI has become the de facto management layer for any large windows deployment, which means that many organizations rely on it for day-to-day management, making it near impossible to disable. It can be used locally, such as with a command-line tool like wmic, or remotely through SMB or the remote procedure call service, making it a key tool for legit admins to manage large sites and for hackers using living off the land techniques to do their nefarious deeds with a lower the chance of detection.<\/p>\n

Later we will cover WMI’s other classification in the MITRE ATT&CK framework: WMI Event Subscription, which is under the persistence tactic.<\/p>\n

What does WMI look like in the wild?<\/h2>\n

Although it is classified in the MITRE ATT&CK framework as Enterprise Technique T1047 “Windows Management Instrumentation” under the execution tactic, it can be used in multiple stages of the attack such as persistence or discovery, which is apparent from its abuse in the wild: BlackEnergy 2 malware and the FLEXIROOT backdoor use it for discovery, while groups like Deep Panda (possibly APT19) and Soft Cell use it for lateral movement. It was even abused by WannaCry to delete shadow copies–that’s right, this common system management tool was used to destroy backups making the ransomware all the more potent.<\/p>\n

What will happen in the future?<\/h2>\n

We should expect to see continued and growing use of WMI abuse due to the continued automation of hacker tools and groups (like its recent use in the latest Emotet), and because it just makes sense for hackers: it’s universal among modern Windows systems (ex: nearly every Windows machine with an open port 445 is running it), it’s automatable, and it can be difficult to detect.<\/p>\n

What can defenders do?<\/h2>\n

Prevention<\/h3>\n