Nim / Win64 · YouUp
A Nim-compiled information stealer. It reaches a hardcoded C2, reads a target file (cosmo.jpeg) from the desktop, and exfiltrates it as encrypted, base64-encoded chunks over HTTP.
Identification
Capabilities
- Written in Nim (cross-compiled, statically linked runtime)
- Reads a target file from the victim's Desktop (cosmo.jpeg)
- Encrypts data before exfiltration and encodes it as base64
- Exfiltrates over HTTP to a hardcoded C2 using its own Nim httpclient UA
- Uses
BCryptGenRandom(key/nonce generation)
Indicators of Compromise
Network indicators
| Type | Value | Note |
|---|---|---|
| domain | hey.youup.local | C2 / exfiltration host (stored as interleaved-obfuscated string) |
| domain | auth.ns.local | Secondary host referenced in strings |
| user-agent | Nim httpclient/1.6.2 | Default Nim HTTP client user agent |
Host indicators
| Type | Value | Note |
|---|---|---|
| file | Desktop\cosmo.jpeg | Target file read and exfiltrated |
MITRE ATT&CK
| Technique | ID | Note |
|---|---|---|
| Data from Local System | T1005 | Reads cosmo.jpeg from the desktop. |
| Archive Collected Data | T1560 | Encrypts and base64-encodes data before sending. |
| Exfiltration Over C2 Channel | T1041 | Sends the encoded data to the C2 over HTTP. |
| Obfuscated Files or Information | T1027 | C2 strings are stored interleaved/obfuscated; Nim stack strings. |
Execution flow
1. Resolve / connect to the hardcoded C2 (hey.youup.local). 2. Read the target file cosmo.jpeg from the Desktop. 3. Encrypt the contents and base64-encode them. 4. Exfiltrate the encoded data to the C2 in chunks.
Static analysis
Compilation timestamp 2022-01-29 17:39:03 UTC, entry point 5280, 7 sections. Interesting FLOSS/strings output shows classic Nim artifacts and obfuscated C2 hosts stored with interleaved characters:
fatal.nim socket closesocket WSAIoctl getaddrinfo connect
BCryptGenRandom @Bcrypt.dll
@Nim httpclient/1.6.2
hwtwtwpw:w/w/whwewyw.wywowuwuwpw.wlwowcwawlw -> http://hey.youup.local
axuxtxhx.xnxsx.xlxoxcxaxlx -> auth.ns.local
Desktop\cosmo.jpeg
The IAT shows the usual C-runtime/Nim bootstrap imports (VirtualAlloc, VirtualProtect, LoadLibraryA, critical-section APIs).
Dynamic analysis
From first analysis this is an info stealer written in Nim. It connects to hey.youup.local and exfiltrates some encrypted data, base64-encoded (the target being cosmo.jpeg). This is a close sibling of the SikoMode stealer — same Desktop\cosmo.jpeg target, similar Nim tradecraft — but a different C2 and encoding path.
Screenshots











