DCOM
DCOM is a Microsoft technology that allows applications to communicate with each other over a network. For instance, it's used to remotely access Windows Management Instrumentation (WMI).
ποΈ Ports:
- 135 (TCP) β default initial port for connections
- Random port (TCP) β used after the initial handshake
DCOM is built on top of MSRPC, which is why it uses the same port.
DCOM Pentester Notes β οΈ
You can use impacket to obtain a powershell:
$ impacket-wmiexec -shell-type powershell username:password@IP
$ impacket-wmiexec -shell-type powershell username:password@IP "hostname"