Note

It typically runs on port 135.

HTB Cheatsheet

CommandDescription
/usr/share/doc/python3-impacket/examples/wmiexec.py USERNAME:"PASSWORD"@10.129.201.248 "hostname"Connect to WMI.

You should check Footprinting Theory ๐ŸŒš to get further knowledge.