T1546.003: Windows Management Instrumentation 事件订阅
摘要
攻击者可能通过执行由 Windows Management Instrumentation(WMI)事件订阅触发的恶意内容来建立持久化和提升权限。WMI 可用于安装事件筛选器、提供程序、使用者和绑定,它们在定义的事件发生时执行代码。可能被订阅的事件示例包括挂钟时间、用户登录或计算机的正常运行时间。(Citation: Mandiant M-Trends 2015) 攻击者可能利用 WMI 的功能订阅事件并在该事件发生时执行任意代码,从而在系统上提供持久化。(Citation: FireEye WMI SANS 2015)(Citation: FireEye WMI 2015) 攻击者还可能使用 `mofcomp.exe` 将 WMI 脚本编译为 Windows Management Object(MOF)文件(.mof 扩展名),可用于创建恶意订阅。(Citation: Dell WMI Persistence)(Citation: Microsoft MOF May 2018) WMI 订阅执行由 WMI Provider Host 进程(WmiPrvSe.exe)代理,因此可能导致提升的 SYSTEM 权限。
来源归属
来源:MITRE ATT&CK · 置信度:high
平台
- Windows
战术
权限提升
参考来源
- https://attack.mitre.org/techniques/T1546/003
- https://www.fireeye.com/content/dam/fireeye-www/global/en/current-threats/pdfs/wp-windows-management-instrumentation.pdf
- https://www.secureworks.com/blog/wmi-persistence
- https://web.archive.org/web/20221203203722/https://www.fireeye.com/content/dam/fireeye-www/services/pdfs/sans-dfir-2015.pdf
- https://medium.com/threatpunter/detecting-removing-wmi-persistence-60ccbb7dff96
- https://www.elastic.co/blog/hunting-for-persistence-using-elastic-security-part-1
- https://web.archive.org/web/20160629094859/https://www2.fireeye.com/rs/fireye/images/rpt-m-trends-2015.pdf
- https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/register-wmievent?view=powershell-5.1
- https://technet.microsoft.com/en-us/sysinternals/bb963902
- https://docs.microsoft.com/en-us/windows/win32/wmisdk/managed-object-format--mof-