The most reliable way to achieve this is using specialized "packers" or "loaders" that append a bootstrap to your EXE:
Here is the high-level logic required to make an EXE run as shellcode: convert exe to shellcode
This article is for educational purposes only. Unauthorized conversion or execution of shellcode against systems you do not own is illegal. The most reliable way to achieve this is
Converting an EXE to shellcode isn't a file format conversion; it's about . and reverse engineering. In this guide
Shellcode is a type of machine code that is injected into a computer's memory to execute a specific task. It's often used in exploit development, malware analysis, and reverse engineering. In this guide, we'll walk you through the process of converting an EXE file to shellcode.