Teams.exe

Electron runtime binary which runs the Teams application

Paths

  • C:\Users\<username>\AppData\Local\Microsoft\Teams\current\Teams.exe

Commands

Execute

Generate JavaScript payload and package.json, and save to "%LOCALAPPDATA%\\Microsoft\\Teams\\current\\app\\" before executing.

Use case: Execute JavaScript code

Privileges: User

teams.exe

Execute

Generate JavaScript payload and package.json, archive in ASAR file and save to "%LOCALAPPDATA%\\Microsoft\\Teams\\current\\app.asar" before executing.

Use case: Execute JavaScript code

Privileges: User

teams.exe

Execute

Teams spawns cmd.exe as a child process of teams.exe and executes the ping command

Use case: Executes a process under a trusted Microsoft signed binary

Privileges: User

teams.exe --disable-gpu-sandbox --gpu-launcher="{CMD} &&"

Detection

Resources