goWMIExec icon indicating copy to clipboard operation
goWMIExec copied to clipboard

nca_s_fault_access_denied

Open Khalil200a opened this issue 2 years ago • 3 comments

i don't know why but i always get this error panic: nca_s_fault_access_denied, .\GO-WMIEXEC.exe -target "192.168.152." -username "" -password "*****" -command "whoami" 1.661889712004783e+09 info wmiexec/wmiexec.go:188 Getting network bindings from remote host 1.6618897120142725e+09 info wmiexec/wmiexec.go:193 Resolved names, all network string bindings for host: 1.6618897120152485e+09 info wmiexec/wmiexec.go:195 WinDev2208Eval 1.6618897120152485e+09 info wmiexec/wmiexec.go:195 192.168.152.129 1.6618897120160189e+09 info wmiexec/wmiexec.go:195 192.168.78.128 1.661889712026315e+09 info wmiexec/wmiexec.go:197 Using first value as target hostname: WinDev2208Eval 1.6618897120369613e+09 error wmiexec/wmiexec.go:287 Error: nca_s_fault_access_denied 5 GO-WMIEXEC/pkg/wmiexec.(*wmiExecer).Auth

Khalil200a avatar Aug 30 '22 20:08 Khalil200a

I've come across the same error message. What's kind of system did you target during you tests?

WoBuGs avatar Jan 12 '23 12:01 WoBuGs

Got same problem. The target os are win11 and win10, both all failed. The log is similar to the above, I have tried again with Python and get a well response.

SuanCaiYv avatar Feb 21 '24 08:02 SuanCaiYv

Please try this package:

  • https://github.com/oiweiwei/go-msrpc

Test with win7-server 2019, wmiexec has nice work!

XiaoliChan avatar May 22 '24 00:05 XiaoliChan