Burning Bridges - Stopping Lateral Movement via the RPC Firewall
summary
Built an open-source RPC Firewall that hooks the RPC runtime, logs richer Windows events and enforces rules by uuid/opnum/address, and ships with a manager to install/update rules. It blocks real attacks—blocks DCSync from non-DC IPs and denies SAMR write ops and PsExec-style calls—while allowing normal reads. Performance shows no timing penalty for pass-through; auditing (event writing) costs CPU. Persistency and protected-process edge cases remain.
AI-written summary · about
chapters (24)
- 0:00Intro
- 0:19whoareyou.exe?
- 2:13Remote Procedure Call
- 3:04DCE/RPC Terminology
- 4:46Runtime Library
- 5:06Resources and Tools
- 7:21RPC attacks demo
- 9:21RPC Can't Be Easily Blocked
- 10:21Why a Talk on RPC?
- 11:02No OOTB Events
- 11:37RPC ETW Incomplete
- 12:50RPC hunting is hard
- 13:55If You Can't Detect, Can You Block ?
- 14:39RPC Filters are buggy / lacking
- 17:57Goals
- 22:02RPCFirewall Quick Demo
- 23:58Event Logs
- 24:47Debug Messages
- 25:08Commands
- 25:46Configuration
- 27:24No Performance Penalty (audit:false)
- 28:09Other Considerations
- 30:11Research Cycle
- 30:59Example: Creating Deny Lists
