Teams.exe

type: OtherMSBinaries
Electron runtime binary which runs the Teams application

Full path

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

Commands

  1. ExecuteUser T1218.015

    Execute JavaScript code

    teams.exe

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

    os: Windows 10, Windows 11

    Execute: Node.JS

  2. ExecuteUser T1218.015

    Execute JavaScript code

    teams.exe

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

    os: Windows 10, Windows 11

    Execute: Node.JS

  3. ExecuteUser T1218.015

    Executes a process under a trusted Microsoft signed binary

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

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

    os: Windows 10, Windows 11

    Execute: CMD

Detection

Code samples

Resources

acknowledgement: Andrew Kisliakov, mr.d0x @mrd0x