What is MSRPC (Microsoft Remote Procedure Call)?
A Microsoft Remote Procedure Call is a protocol that one program uses to request service from a program located in another computer in a network, without having to understand the details of that particular network. MSRPC was originally derived from open software but has been developed further and copyrighted by Microsoft.
How Does MSRPC Work?
The MSRPC process begins on the client side, with the client application calling a local stub procedure instead of code implementing the procedure. The client stub code retrieves the required parameters from the client address space and delivers them to the client runtime library, which then translates the parameters into a standard Network Data Representation format to transmit to the server. The client stub then calls functions in the RPC client runtime library to send the request and parameters to the server. If the server is located remotely, the runtime library specifies an appropriate transport protocol and engine and passes the RPC to the network stack for transport to the server.