Available Interfaces
Impacket implements numerous Microsoft RPC interfaces in thedcerpc/v5/ directory. Each interface provides protocol-specific functionality for Windows remote administration and security testing.
Service Management
SCMR - Service Control Manager
Module:impacket.dcerpc.v5.scmrUUID:
367ABB81-9844-35F1-AD32-98F038001003Pipe:
\\pipe\\svcctlProtocol: [MS-SCMR] From
scmr.py:1-100:
hROpenSCManagerW()- Open SCMhROpenServiceW()- Open service handlehRCreateServiceW()- Create servicehRStartServiceW()- Start servicehRControlService()- Control service (stop, pause)hRDeleteService()- Delete servicehREnumServicesStatusW()- Enumerate serviceshRQueryServiceConfigW()- Get service configuration
Security & Authentication
SAMR - Security Account Manager
Module:impacket.dcerpc.v5.samrUUID:
12345778-1234-ABCD-EF00-0123456789ACPipe:
\\pipe\\samrProtocol: [MS-SAMR] From
samr.py:1-100:
hSamrConnect()- Connect to SAMhSamrEnumerateDomainsInSamServer()- List domainshSamrEnumerateUsersInDomain()- List usershSamrEnumerateGroupsInDomain()- List groupshSamrOpenUser()- Open user handlehSamrQueryInformationUser()- Get user infohSamrChangePasswordUser()- Change passwordhSamrGetMembersInGroup()- Get group members
LSAD - Local Security Authority
Module:impacket.dcerpc.v5.lsadUUID:
12345778-1234-ABCD-EF00-0123456789ABPipe:
\\pipe\\lsarpcProtocol: [MS-LSAD] From
lsad.py:1-100:
hLsarOpenPolicy()- Open LSA policyhLsarQueryInformationPolicy()- Query policy infohLsarEnumerateAccounts()- List accountshLsarEnumeratePrivileges()- List privilegeshLsarLookupNames()- Name to SIDhLsarLookupSids()- SID to namehLsarEnumerateAccountRights()- Get account rightshLsarAddAccountRights()- Add privileges
Directory Services
DRSUAPI - Directory Replication Service
Module:impacket.dcerpc.v5.drsuapiUUID:
E3514235-4B06-11D1-AB04-00C04FC2DCD2Pipe:
\\pipe\\drsuapiProtocol: [MS-DRSR] From
drsuapi.py:1-100:
DRSBind()- Bind to DRSDRSCrackNames()- Convert name formatsDRSGetNCChanges()- Replicate objectsDRSDomainControllerInfo()- Get DC info- Used by DCSync attacks to replicate password hashes
Network Services
SRVS - Server Service
Module:impacket.dcerpc.v5.srvsPipe:
\\pipe\\srvsvc
WKST - Workstation Service
Module:impacket.dcerpc.v5.wkstPipe:
\\pipe\\wkssvc
Task Scheduling
TSCH - Task Scheduler
Module:impacket.dcerpc.v5.tschPipe:
\\pipe\\atsvc (legacy) or dynamic
ATSVC - AT Service (Legacy)
Module:impacket.dcerpc.v5.atsvc
Registry Access
RRP - Windows Registry
Module:impacket.dcerpc.v5.rrpPipe:
\\pipe\\winreg
Printing
RPRN - Print System
Module:impacket.dcerpc.v5.rprnPipe:
\\pipe\\spoolss
Endpoint Mapper
EPM - Endpoint Mapper
Module:impacket.dcerpc.v5.epmUUID:
E1AF8308-5D1F-11C9-91A4-08002B14A0FAPort: TCP 135
Netlogon
NRPC - Netlogon Remote Protocol
Module:impacket.dcerpc.v5.nrpcPipe:
\\pipe\\netlogon
Event Log
EVEN - Event Log (Legacy)
Module:impacket.dcerpc.v5.evenPipe:
\\pipe\\eventlog
EVEN6 - Event Log (Vista+)
Module:impacket.dcerpc.v5.even6Pipe: Dynamic
Additional Interfaces
| Module | Protocol | Description |
|---|---|---|
bkrp | [MS-BKRP] | BackupKey Remote Protocol |
dhcpm | [MS-DHCPM] | DHCP Server Management |
dcomrt | [MS-DCOM] | DCOM Runtime |
gkdi | [MS-GKDI] | Group Key Distribution |
icpr | [MS-ICPR] | Certificate Services |
iphlp | IP Helper (removed in newer versions) | |
lsat | [MS-LSAT] | LSA Translation Methods |
mgmt | [C706] | RPC Management |
mimilib | Mimikatz Library Interface | |
nspi | [MS-NSPI] | Name Service Provider Interface |
oaut | [MS-OAUT] | OLE Automation |
oxabref | [MS-OXABREF] | Address Book Name Service Provider |
par | [MS-PAR] | Print System Asynchronous Remote Protocol |
sasec | [MS-TSTS] | Terminal Services Session Broker |