Re:Black Lotus Labs uncovers Linux executables deployed as s...
by tyingq on Friday September 17, 2021 @11:39AM
(#28566743)
This github issue in interesting: https://github.com/microsoft/WSL/issues/2886
It sort of hints that you could coax LxssManager.dll into running an elf binary without WSL itself really running. Though you would need to do some things to make lxss happy, so it's not trivial.
Re:Black Lotus Labs uncovers Linux executables deployed as s...
by shawnz on Friday September 17, 2021 @04:01PM
(#28570273)
But there's no advantage to starting with a Windows binary and executing a Linux binary just to have it execute a Windows binary again. You may as well just start with the final payload if you are already able to run code in Windows, there's no point invoking WSL in that scenario at all. I am pretty sure the attack scenario imagined here is regarding Linux binaries executed in WSL by the user or other software inside WSL, not code which was already running under Windows.
Re:Black Lotus Labs uncovers Linux executables deployed as s...
by tyingq on Friday September 17, 2021 @04:49PM
(#28570746)
No, but assuming a windows binary executing a Linux binary is somehow bypassing (some) heuristics, etc...
That might be an advantage. You have full access to windows files, etc, from WSL.
the nature of the ones they found sound simplistic. just python scripts in one of those self extract and run bundled python interpreter and included script single file executable archive things.