mirror of
https://github.com/boku7/Loki
synced 2026-06-06 15:24:27 +00:00
1.3 KiB
1.3 KiB
Guide for Discovering Vulnerable Electron Applications
- Download an Electron app. In this example I will be using Teams.
- Find the app root folder, it will look something like this:
C:\Users\user\AppData\Local\Microsoft\Teams\current\
│ chrome_100_percent.pak
│ chrome_200_percent.pak
│ ffmpeg.dll
│ snapshot_blob.bin
│ Squirrel.exe
│ Teams.exe
└───resources
...
- In this case the root electron app directory is
C:\Users\user\AppData\Local\Microsoft\Teams\current\ - Copy
\current\to somewhere like your Desktop atC:\Users\user\Desktop\VulnHunt\current\ - Delete the contents of
\current\resources\* - Now open up ProcMon and add these filters:
- Then in Procmon start capturing the events
- We can see in the output that the Electron app first looks for the
app.asar. - If that failed then it looks for the unpacked application at
\current\resources\app\packages.json

