Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ALPC events #32

Open
rabbitstack opened this issue Dec 3, 2020 · 0 comments
Open

ALPC events #32

rabbitstack opened this issue Dec 3, 2020 · 0 comments
Labels
kevents: alpc Anything related to ALPC events needs: config Indicates the issue requires changes in the config file/flags needs: docs Indicates that the issue needs documentation updates needs: filters Indicates that new filters should be added scope: kevents Anything related to kernel events

Comments

@rabbitstack
Copy link
Owner

rabbitstack commented Dec 3, 2020

Description

ALPC is the Windows internal messaging system. ALPC is frequently utilized by malware actors to inject shellcode into benign processes. If we could get the visibility into ALPC message flow, that would allow surfacing the ALPC indicators of compromise. The NT Kernel Logger ETW provider permits gathering the ALPC events, however, the event parameters are vague and not really useful. For example, we can't get the content of the ALPC message, just its identifier. The following ALPC events are produced by the NT Kernel Logger:

  • Send Message
  • Receive Message
  • Wait For Reply
  • Wait For New Message
  • Unwait

We could probably have the following ALPC events in Fibratus:

  • AlpcSend with message_id parameter. I'm not sure if we could get anything meaningful from this parameter without peeking into kernel space. ALPC port name?
  • AlpcRecv with message_id and source_pid parameters. Anything else that we could dig out?

Prior art

@rabbitstack rabbitstack added scope: kevents Anything related to kernel events kevents: alpc Anything related to ALPC events needs: docs Indicates that the issue needs documentation updates needs: filters Indicates that new filters should be added needs: config Indicates the issue requires changes in the config file/flags labels Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kevents: alpc Anything related to ALPC events needs: config Indicates the issue requires changes in the config file/flags needs: docs Indicates that the issue needs documentation updates needs: filters Indicates that new filters should be added scope: kevents Anything related to kernel events
Projects
None yet
Development

No branches or pull requests

1 participant