Teams.exe
Electron runtime binary which runs the Teams application
Full path
C:\Users\<username>\AppData\Local\Microsoft\Teams\current\Teams.exeCommands
Execute JavaScript code
teams.exeGenerate JavaScript payload and package.json, and save to “%LOCALAPPDATA%\Microsoft\Teams\current\app\” before executing.
os: Windows 10, Windows 11
Execute JavaScript code
teams.exeGenerate 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
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
Detection
- IOC%LOCALAPPDATA%\Microsoft\Teams\current\app directory created
- IOC%LOCALAPPDATA%\Microsoft\Teams\current\app.asar file created/modified by non-Teams installer/updater
- Sigma https://github.com/SigmaHQ/sigma/blob/43277f26fc1c81fc98fc79147b711189e901b757/rules/windows/process_creation/proc_creation_win_susp_electron_exeuction_proxy.yml
Code samples
Resources
acknowledgement: Andrew Kisliakov, mr.d0x @mrd0x