prog_name stringclasses 531
values | strip_func_name stringlengths 4 21 | prompt stringclasses 1
value | query stringlengths 60 252k | response stringlengths 21 5.38k | hints stringclasses 1
value |
|---|---|---|---|---|---|
coinminer__73cdf7847b9d9e6a61beed964141fb1747f68b0989ff6a3246bb54b0a1298688 | FUN_0001238c |
void FUN_0001238c(void)
{
char cVar1;
bool bVar2;
uint *param_6;
uint param_7;
uint param_8;
bVar2 = 6 < *DAT_000123a8;
if ((char)*DAT_000123a8 < '\a') {
do {
thunk_EXT_FUN_ffff0fc0(param_7,param_8);
if (bVar2) {
return;
}
bVar2 = param_7 <= *param_6;
} while ... | A:{'thunk_EXT_FUN_ffff0fc0': 'cas'} | ||
coinminer__73cdf7847b9d9e6a61beed964141fb1747f68b0989ff6a3246bb54b0a1298688 | FUN_000123ac |
void FUN_000123ac(void)
{
if (*DAT_000123e0 < '\a') {
thunk_EXT_FUN_ffff0fa0();
}
else {
DataMemoryBarrier(0xb);
}
return;
}
Q:[thunk_EXT_FUN_ffff0fa0,] | A:{'thunk_EXT_FUN_ffff0fa0': 'memory_barrier'} | ||
coinminer__73cdf7847b9d9e6a61beed964141fb1747f68b0989ff6a3246bb54b0a1298688 | FUN_000123e4 |
void FUN_000123e4(void)
{
char cVar1;
undefined4 *extraout_r1;
undefined4 *param_6;
undefined4 param_7;
cVar1 = *DAT_0001242c;
if (cVar1 < '\a') {
thunk_EXT_FUN_ffff0fa0();
param_6 = extraout_r1;
}
else {
DataMemoryBarrier(0xb);
}
*param_6 = param_7;
if (cVar1 < '\a') {
thunk... | A:{'thunk_EXT_FUN_ffff0fa0': 'memory_barrier'} | ||
coinminer__73cdf7847b9d9e6a61beed964141fb1747f68b0989ff6a3246bb54b0a1298688 | FUN_00012430 |
void FUN_00012430(void)
{
if (*DAT_00012464 < '\a') {
thunk_EXT_FUN_ffff0fa0();
}
else {
DataMemoryBarrier(0xb);
}
return;
}
Q:[thunk_EXT_FUN_ffff0fa0,] | A:{'thunk_EXT_FUN_ffff0fa0': 'memory_barrier'} | ||
coinminer__73cdf7847b9d9e6a61beed964141fb1747f68b0989ff6a3246bb54b0a1298688 | FUN_00012468 |
void FUN_00012468(void)
{
char cVar1;
undefined *extraout_r1;
undefined *param_6;
undefined param_7;
cVar1 = *DAT_000124b0;
if (cVar1 < '\a') {
thunk_EXT_FUN_ffff0fa0();
param_6 = extraout_r1;
}
else {
DataMemoryBarrier(0xb);
}
*param_6 = param_7;
if (cVar1 < '\a') {
thunk_EX... | A:{'thunk_EXT_FUN_ffff0fa0': 'memory_barrier'} | ||
coinminer__73cdf7847b9d9e6a61beed964141fb1747f68b0989ff6a3246bb54b0a1298688 | FUN_000441b0 |
void FUN_000441b0(void)
{
int unaff_r10;
undefined4 in_lr;
int *param_6;
int local_18;
undefined auStack_c [8];
undefined4 local_4;
while (&stack0x00000000 <= *(undefined **)(unaff_r10 + 8)) {
in_lr = 0x4433c;
FUN_00079f64();
}
local_4 = *(undefined4 *)(*param_6 + 4);
FUN_0007bdb4(0,au... | A:{'FUN_0007caa8': 'runtime.clone'} | ||
coinminer__73cdf7847b9d9e6a61beed964141fb1747f68b0989ff6a3246bb54b0a1298688 | FUN_00079c7c |
void FUN_00079c7c(void)
{
FUN_00022490();
return;
}
Q:[FUN_00079c7c,] | A:{'FUN_00079c7c': 'callRet'} | ||
coinminer__73cdf7847b9d9e6a61beed964141fb1747f68b0989ff6a3246bb54b0a1298688 | FUN_00079ca0 |
void FUN_00079ca0(void)
{
int unaff_r10;
code *UNRECOVERED_JUMPTABLE;
*(int *)(unaff_r10 + 0x20) = DAT_00079cd4 + 4;
*(BADSPACEBASE **)(unaff_r10 + 0x1c) = register0x00000054;
*(undefined4 *)(unaff_r10 + 0x30) = 0;
*(undefined4 *)(unaff_r10 + 0x2c) = 0;
if (*(int *)(unaff_r10 + 0x28) != 0) {
UNR... | A:{'FUN_00079ca0': 'gosave_systemstack_switch'} | ||
coinminer__73cdf7847b9d9e6a61beed964141fb1747f68b0989ff6a3246bb54b0a1298688 | FUN_00079cd8 |
undefined4 FUN_00079cd8(undefined4 param_1)
{
uint uVar1;
if (*DAT_00079cfc != '\0') {
uVar1 = thunk_EXT_FUN_ffff0fe0();
*(undefined4 *)((uVar1 & 0xfffffffc) + DAT_0007cdfc) = param_1;
return param_1;
}
return param_1;
}
Q:[FUN_00079cd8,] | A:{'FUN_00079cd8': 'setg'} | ||
coinminer__73cdf7847b9d9e6a61beed964141fb1747f68b0989ff6a3246bb54b0a1298688 | FUN_00079dfc |
void FUN_00079dfc(void)
{
undefined4 uVar1;
undefined4 *extraout_r1;
int param_6;
FUN_00079cd8(*(undefined4 **)(param_6 + 8),param_6,**(undefined4 **)(param_6 + 8));
uVar1 = extraout_r1[4];
*extraout_r1 = 0;
extraout_r1[4] = 0;
extraout_r1[5] = 0;
extraout_r1[3] = 0;
/* WARNI... | A:{'FUN_00079cd8': 'setg'} | ||
coinminer__73cdf7847b9d9e6a61beed964141fb1747f68b0989ff6a3246bb54b0a1298688 | FUN_00079e0c |
void FUN_00079e0c(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
undefined4 param_5,undefined4 *param_6)
{
undefined *puVar1;
undefined *puVar2;
int iVar3;
int unaff_r10;
undefined *puVar4;
undefined *puVar5;
undefined4 uVar6;
undefined4 in_lr;
undefin... | A:{'FUN_00079cd8': 'setg'} | ||
coinminer__73cdf7847b9d9e6a61beed964141fb1747f68b0989ff6a3246bb54b0a1298688 | FUN_00079e6c |
void FUN_00079e6c(void)
{
undefined4 *puVar1;
int *piVar2;
int iVar3;
int unaff_r10;
undefined4 *puVar4;
undefined4 *param_6;
piVar2 = *(int **)(unaff_r10 + 0x18);
if ((piVar2[0xb] != unaff_r10) && (iVar3 = *piVar2, iVar3 != unaff_r10)) {
if (piVar2[0x1a] != unaff_r10) {
(*DAT_00079efc)(... | A:{'FUN_00079cd8': 'setg', 'FUN_00079ca0': 'gosave_systemstack_switch'} | ||
coinminer__73cdf7847b9d9e6a61beed964141fb1747f68b0989ff6a3246bb54b0a1298688 | FUN_00079f00 |
void FUN_00079f00(void)
{
int in_r3;
undefined4 unaff_r7;
int *piVar1;
int unaff_r10;
undefined4 in_lr;
code *UNRECOVERED_JUMPTABLE;
piVar1 = *(int **)(unaff_r10 + 0x18);
if (*piVar1 == unaff_r10) {
FUN_0004bfa8();
FUN_0007b94c();
return;
}
if (piVar1[0xb] == unaff_r10) {
FUN_0... | A:{'FUN_00079cd8': 'setg'} | ||
coinminer__73cdf7847b9d9e6a61beed964141fb1747f68b0989ff6a3246bb54b0a1298688 | FUN_0007b870 |
void FUN_0007b870(void)
{
undefined4 uVar1;
code *extraout_r1;
undefined4 *puVar2;
undefined *puVar3;
int iVar4;
int unaff_r10;
uint uVar5;
code *param_6;
undefined4 param_7;
undefined local_4 [4];
puVar3 = local_4;
if (unaff_r10 != 0) {
if ((unaff_r10 != (*(int **)(unaff_r10 + 0x18))[... | A:{'FUN_00079cd8': 'setg', 'FUN_00079ca0': 'gosave_systemstack_switch'} | ||
coinminer__73cdf7847b9d9e6a61beed964141fb1747f68b0989ff6a3246bb54b0a1298688 | FUN_0007b92c |
void FUN_0007b92c(void)
{
undefined4 param_6;
FUN_00079cd8(param_6);
return;
}
Q:[FUN_00079cd8,] | A:{'FUN_00079cd8': 'setg'} | ||
coinminer__73cdf7847b9d9e6a61beed964141fb1747f68b0989ff6a3246bb54b0a1298688 | FUN_0007c5bc |
void FUN_0007c5bc(void)
{
software_interrupt(0);
*DAT_0007c5dc = DAT_0007c5d8;
do {
/* WARNING: Do nothing block with infinite loop */
} while( true );
}
Q:[FUN_0007c5bc,] | A:{'FUN_0007c5bc': 'exit1'} | ||
coinminer__73cdf7847b9d9e6a61beed964141fb1747f68b0989ff6a3246bb54b0a1298688 | FUN_0007caa8 |
void FUN_0007caa8(void)
{
undefined4 uVar1;
int in_lr;
undefined4 *param_5;
int param_6;
int param_7;
undefined4 param_8;
undefined4 param_9;
undefined4 param_10;
*(undefined4 *)(param_7 + -0x10) = param_8;
*(undefined4 *)(param_7 + -0xc) = param_9;
*(undefined4 *)(param_7 + -8) = param_10;
... | A:{'FUN_0007caa8': 'runtime.clone', 'FUN_0007c5bc': 'exit1'} | ||
coinminer__73cdf7847b9d9e6a61beed964141fb1747f68b0989ff6a3246bb54b0a1298688 | FUN_0023c578 |
void FUN_0023c578(void)
{
int unaff_r10;
int *param_6;
undefined4 param_7;
undefined4 param_8;
undefined4 param_9;
undefined4 param_10;
undefined4 param_11;
undefined4 local_14;
while (&stack0x00000000 <= *(undefined **)(unaff_r10 + 8)) {
FUN_00079f64();
}
FUN_00061884();
(**(code **)(... | A:{'FUN_0023c578': 'main.(*Client).Recv'} | ||
coinminer__73cdf7847b9d9e6a61beed964141fb1747f68b0989ff6a3246bb54b0a1298688 | FUN_0023c6a8 |
void FUN_0023c6a8(void)
{
int unaff_r10;
int *param_6;
int local_20;
int local_1c;
undefined4 local_10;
int local_c;
int local_8;
undefined4 *local_4;
while (&stack0x00000000 <= *(undefined **)(unaff_r10 + 8)) {
FUN_00079f64();
}
local_c = *param_6;
local_8 = param_6[1];
local_10 = D... | A:{'FUN_0023c6a8': 'main.(*Client).Handle', 'FUN_0023c8c8': 'main.NewCommand', 'FUN_0023c578': 'main.(*Client).Recv', 'FUN_0023cb74': 'main.(*Command).Handle'} | ||
coinminer__73cdf7847b9d9e6a61beed964141fb1747f68b0989ff6a3246bb54b0a1298688 | FUN_0023c8c8 |
void FUN_0023c8c8(undefined4 param_1)
{
byte bVar1;
undefined4 *puVar2;
int iVar3;
undefined4 *extraout_r1;
undefined4 *extraout_r1_00;
undefined4 *extraout_r1_01;
int unaff_r10;
undefined *puVar4;
undefined4 in_lr;
undefined uVar5;
do {
if (*(undefined **)(unaff_r10 + 8) < register0x000... | A:{'FUN_0023c8c8': 'main.NewCommand'} |
MALWIN
A function-name-recovery benchmark for stripped Linux malware, across four architectures (x86, x64, ARM, MIPS). Each example is a Ghidra-decompiled function body with placeholder names, paired with the author-written names read from the unstripped symbol table.
Dataset of the ACSAC 2026 artifact for R+R: Revisiting LLM-Based Binary Name Recovery for Real-World Malware Analysis. Models trained on it: MALWIN-CodeGemma-2B and MALWIN-Qwen2.5-3B.
Splits
Four subsets (one per architecture), each with four splits. IT = in-training family; NIT = not-in-training, i.e. whole malware families held out from training, which is the split that measures generalisation to unseen families.
| Subset | Binaries | train | valid | it_test | nit_test |
|---|---|---|---|---|---|
| x86 | 559 | 35,026 | 6,316 | 1,067 | 2,601 |
| x64 | 776 | 87,925 | 10,084 | 1,956 | 5,023 |
| arm | 862 | 44,172 | 7,884 | 1,550 | 971 |
| mips | 692 | 36,607 | 7,559 | 1,632 | 1,570 |
from datasets import load_dataset
d = load_dataset("nghi85/MALWIN", "x86") # or "x64", "arm", "mips"
print(d["nit_test"][0]["query"])
Schema
GenNm's alpaca-style schema, so the data drops into GenNm-compatible training and evaluation code.
| column | meaning |
|---|---|
prog_name |
<family>__<sha256> of the source binary (family = MalwareBazaar signature, lower-case) |
strip_func_name |
Ghidra placeholder of the prompted function, FUN_<addr> |
prompt |
empty (body-only prompts) |
query |
the Ghidra-decompiled pseudo-C body, followed by Q:[...], the placeholders to name (the function itself and the callees it references) |
response |
ground truth, A:{'FUN_<addr>': '<author name>', ...} for every placeholder in Q:[...] |
hints |
unused, empty (kept for GenNm compatibility) |
Model input is prompt + query; response is parsed with GenNm's parser.
Note: a handful of IT binaries carry the mis-spelled family label gafygt; the paper's scoring code
treats it as gafgyt.
How it was built
- Binaries routed by ELF header into the four architectures (32-bit x86 and x86-64 kept separate).
- Ground truth: names from the unstripped symbol table, joined by address with the Ghidra 11.2.1 decompilation of a stripped copy, so the model never sees a name it is asked to predict.
- Library and runtime symbols removed with a curated classifier, leaving author-written functions.
- NIT test = whole families held out. The remaining families are split 70/10/20 by function count into train / valid / IT test.
- Leakage filter: any IT/NIT test function whose body exceeds a fuzzy-match ratio of 90 against any training function is dropped. Train and valid are never filtered.
The full construction pipeline, SHA-256 manifests and verification tools ship in the artifact under
artifact/code/malwin_build/.
Provenance, ethics and safe handling
The 2,889 source binaries are public malware samples from MalwareBazaar (abuse.ch) that shipped with an intact symbol table.
No binaries and no executable code are redistributed. This dataset contains Ghidra-decompiled
pseudo-C text (from stripped copies, so functions appear as FUN_<addr>) and the author-given function
names from the symbol tables. Binary identities are SHA-256 hashes only.
Decompiled malware text may contain strings such as C2 hostnames, credentials, or offensive words written by malware authors. Treat these fields as untrusted text: nothing here is meant to be executed, and the artifact never executes any of it. No human-subject data and no personal data of victims is included.
License
CC BY 4.0. If you use MALWIN, please cite R+R: Revisiting LLM-Based Binary Name Recovery for Real-World Malware Analysis (ACSAC 2026).
- Downloads last month
- 69