Questions
- Does my shellcode run on a real machine?
No. Speakeasy emulates the CPU and the Windows API in software: the instructions run on an emulated processor, file and registry changes go to an emulated Windows, and DNS, HTTP and sockets are simulated. The emulator itself runs in an isolated sandbox with no network access.
- Who can see my input and the report?
Anyone with the run's link, and no one else: each run is at its own random, unlisted address that search engines are told not to index. Your input is never listed, shown to other visitors or shared.
We keep the inputs submitted to the site. Don't submit anything you aren't allowed to share with us.
- What kind of shellcode does it run?
32-bit and 64-bit Windows user-mode shellcode: position-independent code that finds the Windows functions it needs at run time. Not Linux shellcode, kernel code, or whole PE files (EXE and DLL).
- Which formats can I paste?
Hex (with or without spaces), \x escapes in C, Python, Perl, Ruby or shell strings, 0x arrays from C#, PowerShell, Java, Go, Rust and Nim, lists of 32-bit words, decimal arrays from VBA, VBScript Chr() calls, JavaScript %u escapes, xxd and hexdump -C dumps, and base64. The box above the byte map says which one it read. You can also upload raw bytes, or a text file in any of these formats.
- What does Auto do?
The same bytes mean different instructions on x86 and x64. Auto runs the input as both and shows the run that got further: more API calls first, then a clean finish, then more instructions. The Summary lists how both runs went.
- What is the start offset?
Where emulation begins, counted from the first byte. Leave it at 0 unless the code starts later, for example after a header or a block of data. Click a byte in the byte map to start there.
- Why did it stop early?
The verdict says why, in plain words. Reading or jumping to an unmapped address usually means the code expected something from its environment that the emulator doesn't provide, or the architecture or offset is wrong. An API the emulator doesn't implement stops the run at that call. A time limit usually means a long decoding loop or code waiting for something. Everything before the stop is still a faithful record.
- Are the hosts and URLs in the report real?
They are what the code asked for. The emulator answers DNS lookups with made-up addresses and HTTP requests with placeholder content, and never connects anywhere. So a stager shows where it would download its next stage from, but not what it would have received.
- Does it upload anything to VirusTotal?
No. The VirusTotal link on the Input view searches by the input's SHA-256 only. Nothing is sent there unless you open the link, and then only the hash.
- What are the limits?
Inputs up to 1 MB. Each architecture runs for up to 15 seconds or 10,000 API calls. 30 runs an hour from one address; a run of an input that was already run with the same options is reused and doesn't count.
- Which versions of the tools does it use?
Speakeasy 2.1.0 from Mandiant's FLARE team, which emulates the CPU with Unicorn 2.1.4. The disassembly is Capstone 5.0.9.
- Is there an API?
No. Shellcode Emulator is a website only.
Still stuck? The guide to emulating shellcode covers reading the report and what emulation can't tell you.