Earlier quoted context omitted.
Apps installed from the Microsoft Store are no longer guaranteed safe, as Win32 apps can be added to the store now and installed via winget. There’s static analysis and they run the installer, but if it does something stupid after the install they can’t automatically detect it.
Don’t the win32 apps restrict the calls in that subsystem that one can access? I recall looking into this a while back with the intention of leveraging it for an ancient win32/mfc app. I don’t remember the specifics, but I seem to recall that MS restricted or prevented access to a rather substantial subset of win32.
RCE in Visual Studio Code's Remote WSL for Fun and Negative Profit
101–109 of 109 posts
Re: RCE in Visual Studio Code's Remote WSL for Fun and Negative Profit
#102Re: RCE in Visual Studio Code's Remote WSL for Fun and Negative Profit
#103I don't get the video https://parsiya.net/blog/2021-12-20-rce-in-visual-studio-cod... He goes to the hacker website and then calculator opens?
Re: RCE in Visual Studio Code's Remote WSL for Fun and Negative Profit
#104Earlier quoted context omitted.
Make bug bounties pay $250k and people will have their friend inside add some bugs for the outsider to find, and share the payday. Pay-per-bug-found incentivises plenty of counterproductive things as well, especially if we're talking about people who happily sell to anyone on the black market.
You can do that today with blackmarket exploits, so why do you think actual bug bounties will cause this problem?
Why would making it easier make it happen less often?
Re: RCE in Visual Studio Code's Remote WSL for Fun and Negative Profit
#105The "Your editor has DRM" section alone [0] is enough for me to continue to advocate for a better user-friendly FOSS IDE, in addition to the wonderful giants of emacs & vim, and to avoid the VS Code "kool aid". [0] https://parsiya.net/blog/2021-12-20-rce-in-visual-studio-cod...
VSCodium is a FOSS build of the MIT VSCode repo, with an alternate FOSS compliant extension source. Note that some fancy extensions are missing, but otherwise works 100%. I have been using VSCodium as my main IDE for about a year now. https://vscodium.com/
Re: RCE in Visual Studio Code's Remote WSL for Fun and Negative Profit
#106Earlier quoted context omitted.
VSCodium is a FOSS build of the MIT VSCode repo, with an alternate FOSS compliant extension source. Note that some fancy extensions are missing, but otherwise works 100%. I have been using VSCodium as my main IDE for about a year now. https://vscodium.com/
Tried this today. Cannot use with Remote-WSL extension & others.
Re: RCE in Visual Studio Code's Remote WSL for Fun and Negative Profit
#107Earlier quoted context omitted.
Don’t the win32 apps restrict the calls in that subsystem that one can access? I recall looking into this a while back with the intention of leveraging it for an ancient win32/mfc app. I don’t remember the specifics, but I seem to recall that MS restricted or prevented access to a rather substantial subset of win32.
Not anymore. Microsoft gave up on trying to sandbox Windows Store installs for Win32 apps.
Re: RCE in Visual Studio Code's Remote WSL for Fun and Negative Profit
#108Issues like this have been repeated countless times in various IDEs, debugger interfaces and local services using browser as UI. Developers need to stop using network sockets as IPC channels for local services unless browsers significantly increase the restrictions on cross site requests. Similar situation with regular CSRF attacks. And it needs to be opt out not opt in. As long it's a responsibility of developer to…
Re: RCE in Visual Studio Code's Remote WSL for Fun and Negative Profit
#109I don't get the video https://parsiya.net/blog/2021-12-20-rce-in-visual-studio-cod... He goes to the hacker website and then calculator opens?
A common way to demonstrate an RCE exploit is to make the payload launch calc.exe, implying that you can run arbitrary executables. It's a bit of a meme.