You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
impacket version: v0.12.0
Python version: 3.11
Target OS: Windows 10
It would be great to be able to specify the impersonation level when dealing with WMI connections. For this, the WMI context needs to be adjustable to use RPC_C_IMP_LEVEL_IMPERSONATE, as described in com-impersonation-level-constants. For example, when using PowerShell with WMI it is possible to impersonate SYSTEM by doing
Configuration
impacket version: v0.12.0
Python version: 3.11
Target OS: Windows 10
It would be great to be able to specify the impersonation level when dealing with WMI connections. For this, the WMI context needs to be adjustable to use
RPC_C_IMP_LEVEL_IMPERSONATE
, as described in com-impersonation-level-constants. For example, when using PowerShell with WMI it is possible to impersonate SYSTEM by doingGet-WmiObject -Namespace "root\cimv2" -Class Win32_Process -Impersonation 3 -ComputerName Computer_B
This must be possible for remote connections as well, similar to beeing able to specify the auth level.
Additional context
When a WMI connection is established, one is not performing actions as SYSTEM when the
RPC_C_IMP_LEVEL_IMPERSONATE
is not set.The text was updated successfully, but these errors were encountered: