Adversaries may establish persistence and elevate privileges by executing malicious content triggered by a Windows Management Instrumentation (WMI) event subscription. WMI can be used to install event filters, providers, consumers, and bindings that execute code when a defined event occurs. Examples of events that may be subscribed to are the wall clock time, user login, or the computer's uptime.1 Adversaries may use the capabilities of WMI to subscribe to an event and execute arbitrary code when that event occurs, providing persistence on a system.23 Adversaries may also compile WMI scripts – using `mofcomp.exe` –into Windows Management Object (MOF) files (.mof extension) that can be used to create a malicious subscription.45 WMI subscription execution is proxied by the WMI Provider Host process (WmiPrvSe.exe) and thus may result in elevated SYSTEM privileges.
- Mandiant M-Trends 2015
- FireEye WMI SANS 2015
- FireEye WMI 2015
- Dell WMI Persistence
- Microsoft MOF May 2018
Groups using this technique
| Group | Name | Country |
|---|---|---|
| grp_g1013 | Metador | — |
| grp_g0075 | Rancor | — |
| grp_g0108 | Blue Mockingbird | — |
| grp_g0129 | Mustang Panda | China |
| grp_g1001 | HEXANE | — |
| grp_g0064 | APT33 | Iran |
| grp_g0061 | FIN8 | — |
| grp_g0065 | Leviathan | China |
| grp_g0010 | Turla | Russia |
| grp_g0016 | APT29 | Russia |
Claims
No public claim points at this technique yet.
Auto-ingested and not human-reviewed; confidence and validity read by citation.