Can’t extract Edge cookies!
Whatever I use V2.2 or compile newest version, using with -cookies or -app-bound-decryption nothing works
When using BrowserSnatch.exe -app-bound-decryption
C:\Users{user}\Desktop>main.exe -app-bound-decryption Target App-Bound-Encrypted Cookies… BrowserSnatch executed with {app_bound_decryption mode}: failed DB PATH: C:\Users{user}\AppData\Local\Temp\JI0plA
And there is no file that it says it produced!
The problem with extraction of Edge's App bound encryption key is very weird. If any other browser is installed along with edge then it results in crashing whenever I request for App Bound key even though I use Edge's CLSID.
You can see the issue in following thread: https://github.com/xaitax/Chrome-App-Bound-Encryption-Decryption/issues/10#issuecomment-2684724872
Also I noticed a very strange behavior from Edge. When I used Brave-Browser's CLSID to extract Edge's App bound key it worked. It is a very unusual and I don't have an answer for it.
If you have any other browser installed, you can try to extract Edge's keys by using that browser's CLSIDs. For instance, if you have Brave-Browser installed, then go to AppBoundDecryptor.h https://github.com/shaddy43/BrowserSnatch/blob/master/BrowserSnatch/includes/AppBoundDecryptor.h
and replace the CLSID CLSID_Elevator_Edge, IID IID_IElevator_Edge with Brave-Browsers CLSIDs as I had already included that in the code and commented it out. Just replace it, recompile and retry. It works for me and I have no idea why!
CLSIDs for edge can be extracted using OLE VIEW TOOL as shown in the provided thread:
https://github.com/xaitax/Chrome-App-Bound-Encryption-Decryption/issues/10#issuecomment-2684724872
However, for some reason it sometimes doesn't work.
A complete write-up is published for understanding the reason behind this issue:
https://github.com/xaitax/Chrome-App-Bound-Encryption-Decryption/blob/main/The_Curious_Case_of_the_Cantankerous_COM_Decrypting_Microsoft_Edge_ABE.md
Solved https://github.com/shaddy43/BrowserSnatch/commit/58868684cf7db395c4493e06c2e0820d0565d965