SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1710.09435 · 2017

Malware Detection by Eating a Whole EXE

arXiv · PDF · Open in the Atlas

Code that ran

4 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 0 failures of our instrument; 3 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/1710.09435.json · badge: /api/ran/1710.09435.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
jaketae/deep-malware-detection community (classifier label)
classifier basis not recorded on the link
4 ran · 3 no recorded run
FunctionStatusWhere it lives
construct_href Ran
ran on a synthesized input
jaketae/deep-malware-detection/src/bin/malshare.py
code served (permissive licence) · get_code("1d6037ddb5464048")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

def construct_href(link):
    root, rest = link.split('sample')
    action, hash_ = rest.split('detail')
    return f'{root}sampleshare{action}getfile{hash_}'

# The function takes a single parameter 'link' which is a string
# It splits on 'sample' to get root and rest
# Then splits rest on 'detail' to get action and hash_
# Returns a formatted string using these components

link = "https://example.com/sample/action/detail/abc123hash"

ARGS = {
    "link": link
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
count_params Ran
ran on a synthesized input
jaketae/deep-malware-detection/src/deep_malware_detection/utils.py
code served (permissive licence) · get_code("4f4f44d30b573fa8")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear1 = nn.Linear(4, 3)
        self.linear2 = nn.Linear(3, 2)
        self.frozen_layer = nn.Linear(2, 1)
        # Freeze one layer so we can test trainable_only parameter
        for param in self.frozen_layer.parameters():
            param.requires_grad = False
    
    def forward(self, x):
        x = self.linear1(x)
        x = self.linear2(x)
        x = self.frozen_layer(x)
        return x

model = SimpleModel()

ARGS = {
    "model": model,
    "trainable_only": True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
predict Ran
ran on a synthesized input
jaketae/deep-malware-detection/src/deep_malware_detection/utils.py
code served (permissive licence) · get_code("e566c3f105753aa6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 3, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a simple model that takes inputs and produces outputs
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

# Create model instance
model = SimpleModel()

# Create a data loader (list of (inputs, labels) tuples)
# Each input is shape (2, 4) - batch size 2, feature dim 4
# Each label is shape (2, 3) - batch size 2, output dim 3
data_loader = [
    (torch.randn(2, 4), torch.randint(0, 2, (2, 3))),
    (torch.randn(2, 4), torch.randint(0, 2, (2, 3)))
]

# Set device to CPU
device = torch.device('cpu')

ARGS = {
    'model': model,
    'data_loader': data_loader,
    'device': device,
    'apply_sigmoid': False,
    'to_numpy': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, tqdm — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 3, dtype family int — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
train_val_test_split Ran
ran on a synthesized input
jaketae/deep-malware-detection/src/deep_malware_detection/dataset.py
code served (permissive licence) · get_code("e71dea05795c03bf")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
from sklearn.model_selection import train_test_split

# Create a sample index array
idx = np.arange(100)

# Define the arguments dictionary
ARGS = {
    'idx': idx,
    'val_size': 0.2,
    'test_size': 0.2,
    'shuffle': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
collate_fn Not yet run
unverified (harvested, no recorded run)
jaketae/deep-malware-detection/src/deep_malware_detection/dataset.py
code served (permissive licence) · get_code("be39561477eedbab")
How it ran

no invocation recorded.

get_accuracy Not yet run
unverified (harvested, no recorded run)
jaketae/deep-malware-detection/src/deep_malware_detection/utils.py
code served (permissive licence) · get_code("e910798b9dfc1967")
How it ran

no invocation recorded.

pad_sequence Not yet run
unverified (harvested, no recorded run)
jaketae/deep-malware-detection/src/deep_malware_detection/dataset.py
code served (permissive licence) · get_code("337700a5796189df")
How it ran

no invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 7 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 7 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
collate_fn 1 other paper
1 later
2004.05150 (2020-04)
Longformer: The Long-Document Transformer
construct_href 1 other paper
1 later
2004.05150 (2020-04)
Longformer: The Long-Document Transformer
count_params 1 other paper
1 later
2004.05150 (2020-04)
Longformer: The Long-Document Transformer
get_accuracy 1 other paper
1 later
2004.05150 (2020-04)
Longformer: The Long-Document Transformer
pad_sequence 1 other paper
1 later
2004.05150 (2020-04)
Longformer: The Long-Document Transformer
predict 1 other paper
1 later
2004.05150 (2020-04)
Longformer: The Long-Document Transformer
train_val_test_split 1 other paper
1 later
2004.05150 (2020-04)
Longformer: The Long-Document Transformer

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

In this work we introduce malware detection from raw byte sequences as a fruitful research area to the larger machine learning community. Building a neural network for such a problem presents a number of interesting challenges that have not occurred in tasks such as image processing or NLP. In particular, we note that detection from raw bytes presents a sequence problem with over two million time steps and a problem where batch normalization appear to hinder the learning process. We present our initial work in building a solution to tackle this problem, which has linear complexity dependence on the sequence length, and allows for interpretable sub-regions of the binary to be identified. In doing so we will discuss the many challenges in building a neural network to process data at this scale, and the methods we used to work around them.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("1710.09435")
get_code_for_paper("1710.09435")
have("1710.09435")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/1710.09435.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/1710.09435.svg)](https://syntology.ai/paper/1710.09435)

Connect an agent — have() is free.