Microsoft-Windows-Kernel-Audit-API-Calls ETW events not working for SysWOW64 process

pcuser 0 Reputation points
2024-09-23T13:57:36.9666667+00:00

I am trying to log "setthreadcontext" API usage by any process using Krabs ETW. I am using "Microsoft-Windows-Kernel-Audit-API-Calls" provider. It is working for 64 bit processes and logging "KERNEL_AUDIT_API_SETCONTEXTTHREAD" event. But for 32 bit process it is not working.

Tested in WINDOWS 10 and 11 64 bit OS

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,589 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Wesley Li 8,855 Reputation points
    2024-09-23T17:48:01.7366667+00:00

    Hello

    It seems like you're encountering an issue with logging the "setthreadcontext" API usage for 32-bit processes using the "Microsoft-Windows-Kernel-Audit-API-Calls" provider. This issue is specific to 32-bit processes on both Windows 10 and 11 64-bit OS.

    From the information I found, it appears that the "Microsoft-Windows-Kernel-Audit-API-Calls" provider is designed to log various API calls, including "setthreadcontext" for 64-bit processes. However, there might be limitations or specific configurations required for 32-bit processes.

    Here are a few things you might consider:

    Check Provider Configuration: Ensure that the provider is correctly configured to capture events for 32-bit processes. Sometimes, specific flags or settings might be needed to enable logging for 32-bit processes.

    ETW Stack Crawling Support: There might be differences in how ETW stack crawling is supported for 32-bit and 64-bit processes.

    Consult Documentation: The GitHub repository for ETW providers might have additional information or updates regarding the "Microsoft-Windows-Kernel-Audit-API-Calls" provider. You can check the repository for any relevant details.

    etw-providers-docs/Manifests-Win10-17134/Microsoft-Windows-Kernel-Audit-API-Calls.xml at master · repnz/etw-providers-docs · GitHub

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.