More details over in the associated article (english) or the presentation (french).
This repo contains two sub-projects:
A Microsoft Interface Definition Language (MIDL) compiler that generates Scapy code, to interact with MS-RPC (and DCOM) interfaces.
compilation_midl.mp4
-
get your hands on the IDL file for an interface.
- grab it from the section "Full IDL" from official documentations
- use RpcView to extract it from a running RPC server
- use
Get-RpcServer <DLL> | Format-RpcServerfrom NtObjectManager
-
run the tool on the IDL file to generate a Scapy interface
A pre-compiled version of 110 windows interfaces (available through the Open Specifications).
Compilation steps:
- run ./get-idls.sh to download all the IDLs. This will apply some minor patches to some.
- run ./compile.sh which calls
midl-to-scapyon all the downloaded IDLs.
scapy-rpc's code, tests and tools are licensed under GPL v2.