다음을 통해 공유

Inconsistent IPC behavior from Office AppContainer child processes across identical execution paths

kj cha 16 평판 포인트
2025-06-19T04:27:43.16+00:00

We're observing inconsistent IPC behavior in Microsoft 365 Word (and other Office apps) when opened in Protected View, across different PCs with otherwise identical configurations.

Context:

  1. This issue occurs on both Windows 10 and Windows 11 environments.
  2. Word is part of Microsoft 365 (Click-to-Run), no third-party Office customizations.
  3. Our test scenario uses a DLL injected into WINWORD.EXE, which attempts to communicate with a separate Medium IL process via NamedPipe IPC.
  4. The behavior has been reproduced across multiple versions including Beta Channel builds.

Execution Flow (identical across all environments):

  1. A .docx file is opened by WINWORD.EXE (Medium IL).
  2. Word spawns a child process in AppContainer (Low IL).
  3. This child process opens a copy of the document under: '..\packages\oice_###...'
  4. An injected DLL inside the child Word process attempts to perform IPC with a Medium IL agent process via NamedPipe.

Problem:

On some machines, the IPC connection from the injected DLL in Word to the agent fails with ERROR_ACCESS_DENIED.

  • On other machines, using the exact same Word build, OS version, and test scenario, the IPC succeeds.

My questions are:

  • What determines whether Microsoft 365's AppContainer child process enforces IPC restrictions on other processes?
  • Is there an app security policy that is related to app isolation?
Microsoft 365 및 Office | Word | 가정용 | Windows
댓글 0개 설명 없음

답변

질문 작성자는 답변을 '승인됨'으로 표시하고, 중재자는 답변을 '추천됨'으로 표시할 수 있습니다. 이를 통해 사용자는 해당 답변이 작성자의 문제를 해결했다는 것을 알 수 있습니다.