Nim / Win32 · MsCoreBind
A Nim-compiled bind-shell RAT. It listens on TCP 5555, reads commands from whoever connects, and returns the output — giving remote command execution. It persists via the Startup folder and masquerades as Microsoft core binaries.
Identification
Capabilities
- Written in Nim (Nim httpclient artifacts present)
- Bind shell — listens on TCP 5555 and executes received commands
- Base64-encodes data over the socket
- Command-injection / remote command execution
- Persistence via the Startup folder
- Masquerades as Microsoft binaries (mscordll.exe / msdcorelib.exe)
- May download an additional payload (msdcorelib.exe)
Indicators of Compromise
Network indicators
| Type | Value | Note |
|---|---|---|
| port | TCP 5555 | Bind-shell listening port |
| domain | serv1.ec2-102-95-13-2-ubuntu.local | Host referenced in strings (C2 / staging) |
| user-agent | Nim httpclient/1.0.6 | Default Nim HTTP client user agent |
Host indicators
| Type | Value | Note |
|---|---|---|
| file | \mscordll.exe | Masqueraded binary name |
| file | /msdcorelib.exe | Potential downloaded payload |
| path | AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup | Persistence location |
| file | intrt explr | Masquerade string ("internet explorer") |
MITRE ATT&CK
| Technique | ID | Note |
|---|---|---|
| Command and Scripting Interpreter | T1059 | Executes commands received over the socket. |
| Non-Standard Port | T1571 | Bind shell on TCP 5555. |
| Boot or Logon Autostart Execution: Startup Folder | T1547.001 | Persists via the Startup folder. |
| Masquerading: Match Legitimate Name or Location | T1036.005 | Masquerades as mscordll.exe / msdcorelib.exe / "intrt explr". |
| Ingress Tool Transfer | T1105 | May download msdcorelib.exe. |
Execution flow
1. Establish persistence by installing itself into the Startup folder. 2. Bind and listen on TCP 5555. 3. On connection, print a banner ("[+] online", "[+] what command can I run for you") and read attacker input. 4. Execute each received command and return the (base64-encoded) output.
Static analysis
Strings / FLOSS output show a Nim HTTP client plus the bind-shell banners and masquerade/persistence artifacts:
@[+] what command can I run for you
@[+] online
@NO SOUP FOR YOU
@\mscordll.exe
@Nim httpclient/1.0.6
@/msdcorelib.exe
@AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
@intrt explr
@ http://serv1.ec2-102-95-13-2-ubuntu.local
InternetOpenW InternetOpenUrlW MessageBoxW
Dynamic analysis
- Initial detonation (INetSim disabled, no "internet"): limited
activity.
- After connecting to INetSim (Wireshark): potential download of
msdcorelib.exe.
- Host-based indicators: persistence binary installed; a **TCP socket in
the LISTENING state** on port 5555; base64-encoded data observed on the socket; command-injection capability.
The name reflects the behaviour: this RAT is a bind shell — it binds port 5555, reads the input of whoever connects, and returns the result.
Screenshots






