Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Viewing messages being sent over ALPC Port?

I am trying to figure out the messages being used on a specific ALPC port in Windows 7, and since it doesn't seem like there is any place where the ports messages are documented only the actual ports themselves, I would like to listen in to certain ports an view the messages being sent to the port.

Does anyone have any idea how this can be done?

like image 446
user1632018 Avatar asked Oct 21 '22 15:10

user1632018


1 Answers

ALPC calls are intended to be fast, so there's not a lot of interception points. Your best bets are:

  1. Enable ETW kernel logging and monitor the message flows with the ALPC class (strongly recommended)
  2. Hack around with the Detours library. I don't recommend this, as it's a global solution, and doesn't let you look at specific ports. If you need to deploy the solution, it's even worse.
like image 162
Eric Brown Avatar answered Oct 23 '22 22:10

Eric Brown