Know any tool like MITM proxy but offline ?


Does anyone know of a tool like MiTM proxy which works offline?
by offline I mean I can install/run it on the target machine and tamper the http(s) requests by rules and patterns.

if you know of any other alternative ways to do this please share.