FDM: A Framework for Decision-making to build ML-based Malware detection systems
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: Security Radio. Generated commentary on the latest security and cryptography papers.
Nadia: I'm Nadia.
Elias: And I'm Elias, here with Priya.
Nadia: We're looking at the paper: "FDM: A Framework for Decision-making to build ML-based Malware detection systems".
Title and authors: Nadia: So we're looking at this paper today, "FDM: A Framework for Decision-making to build ML-based Malware detection systems." It tackles the whole messy problem of picking the right machine learning setup for malware detection because that choice depends so much on where you are deploying it.
Elias: Yeah, it’s about how model selection and feature engineering strategy and update mechanism all have to work together while fitting into these operational constraints that change depending on the context. That’s a lot of variables to juggle, isn't it?
Priya: It sounds like they are trying to create a structured way to handle those cascading decisions instead of just picking the best model in isolation. I wonder how much control this framework actually gives you over your system architecture.
Nadia: Well, they propose something called the Weighted Configuration Compatibility Score, or WCCS. This is this multi-criteria scoring function that takes five quantifiable operational parameters and maps them to ranked recommendations across nine different configuration dimensions.
Elias: Nine dimensions is a lot of technical choices to map against those five inputs. So you've got things like platform constraint, resource budget, response latency, update frequency, and detection sensitivity as the inputs for this WCCS score.
Priya: And they are trying to weigh these inputs—those five operational parameters—to generate a ranked list of what should work best for your specific situation. It sounds like they're moving away from just picking one perfect model everywhere.
Nadia: Exactly, the core idea is that no single machine learning configuration will dominate across all operational contexts. The WCCS algorithm calculates this by taking the weighted average of compatibility scores across those five requirements, where those weights are normalized to sum up to one.
Elias: That normalization part is important because it lets you prioritize what matters most for your specific deployment context. It’s not just about getting a high score on one thing; it's about balancing the trade-offs between detection performance and resource consumption, for example.
Priya: Speaking of trade-offs, I saw some talk in the paper about using autoencoder pre-processing for feature extraction when response latency or resource budget is a tight constraint. It’s mentioned that this can yield a training speedup of fourteen times but only costs you zero point eight six percent in accuracy.
Nadia: That's a pretty good trade-off if you need to process things fast or have limited resources, because it balances the speed gain against that small accuracy dip. They recommend using autoencoder pre-processing when the response latency is high or the resource budget is low, which aligns with one of those operational parameters in their framework.
Title and authors: Elias: I noticed they also discuss model update strategies based on update frequency and resource constraints. For instance, they suggest class incremental learning for frequent updates and transfer learning for periodic updates because EfficientNetB0 achieves the lowest catastrophic forgetting score of zero point six five percent but it requires GPU-class resources.
Priya: So if you're running a system that needs to update often, you lean toward class incremental learning, and if it's slow or low on hardware, transfer learning is the safer bet for less frequent updates. It’s tying the update strategy directly into those constraints.
Nadia: And they also address feature extraction based on the feature type itself. They suggest avoiding transfer learning from ImageNet when you are using API sequences because pre-trained ImageNet weights provided limited advantage on API call derived feature maps, which is a practical limitation to keep in mind for your specific data types.
Elias: So, the framework isn't just about picking an algorithm; it’s about building a system that understands how to map platform constraints to preprocessing pipelines and training strategies correctly. It formalizes that whole cascading decision process.
Priya: What this means for us is that instead of blindly applying a deep learning model, you use the WCCS to figure out if your current setup makes sense, and then you make informed choices about which feature engineering pipeline or update schedule to use. It gives structure to what feels like a very ad-hoc process right now.
Nadia: Exactly. This paper is arguing that building an effective machine learning malware detection system requires navigating this complex landscape of technical choices systematically, rather than just managing those cascading decisions on the fly as practitioners often do.
Elias: So the main implication here is moving from isolated solutions to a structured methodology for optimal ML technique selection across different operational environments. It's about making these interdependent variables explicit in your decision-making process.
Priya: I think that structure is what makes it useful for privacy too, because if you know exactly which constraints are driving the model choice, you can better assess the potential biases or limitations of that configuration on the data you’re using.
Nadia: So to wrap up on this paper, "FDM: A Framework for Decision-making to build ML-based Malware detection systems," it shows how to systematically select configurations by using a WCCS function that weighs five operational parameters against nine configuration dimensions.
Elias: It’s about giving practitioners a formal methodology so they aren't just guessing which model or feature strategy is best for their specific deployment context.
Priya: From my side, it shows that you can quantify the trade-offs—like speed versus accuracy—so you can make decisions based on real numbers instead of just intuition about what sounds good.
Nadia: It’s a framework for making informed choices when you have to balance detection performance, resource consumption, and long-term maintainability in a system that has to adapt.
The paper's summary: Nadia: So we're looking at this paper today, FDM: A Framework for Decision-making to build ML-based Malware detection systems, and basically, it’s about creating a structured way to pick the right machine learning setup for malware detection based on where you are actually deploying it.
Elias: Right. They’re tackling that messy problem of model choice and feature engineering strategy having to work together while fitting into operational constraints that change depending on the context. It sounds like they’re trying to build a system for decision-making instead of just picking one perfect model everywhere.
Priya: It’s interesting how they formalize this selection process through something called the Weighted Configuration Compatibility Score, or WCCS. This is this multi-criteria scoring function that takes five quantifiable operational parameters and maps them to ranked recommendations across nine different configuration dimensions.
Nadia: So you have these five inputs—like update cadence or resource budget—and they weigh them against nine technical choices. It sounds like the goal is to generate a ranked list of what should work best for your specific situation.
Elias: The core idea is that no single machine learning configuration will dominate across all operational contexts. The WCCS algorithm calculates this by taking the weighted average of compatibility scores across those five requirements, where those weights are normalized to sum up to one.
Priya: I saw some talk about using autoencoder pre-processing for feature extraction when response latency or resource budget is a tight constraint. It’s mentioned that this can yield a training speedup of fourteen times but only costs you zero point eight six percent in accuracy.
Nadia: That's a pretty good trade-off if you need to process things fast or have limited resources, because it balances the speed gain against that small accuracy dip. They recommend using autoencoder pre-processing when the response latency is high or the resource budget is low, which aligns with one of those operational parameters in their framework.
Elias: And they also discuss model update strategies based on update frequency and resource constraints. For instance, they suggest class incremental learning for frequent updates and transfer learning for periodic updates because EfficientNetB0 achieves the lowest catastrophic forgetting score of zero point six five percent but it requires GPU-class resources.
Priya: So if you're running a system that needs to update often, you lean toward class incremental learning, and if it's slow or low on hardware, transfer learning is the safer bet for less frequent updates. It’s tying the update strategy directly into those constraints.
Nadia: They also address feature extraction based on the feature type itself. They suggest avoiding transfer learning from ImageNet when you are using API sequences because pre-trained ImageNet weights provided limited advantage on API call derived feature maps, which is a practical limitation to keep in mind for your specific data types.
Elias: So the framework isn't just about picking an algorithm; it’s about building a system that understands how to map platform constraints to preprocessing pipelines and training strategies correctly. It formalizes that whole cascading decision process.
Priya: What this means for us is that instead of blindly applying a deep learning model, you use the WCCS to figure out if your current setup makes sense, and then you make informed choices about which feature engineering pipeline or update schedule to use. It gives structure to what feels like a very ad-hoc process right now.
Nadia: Exactly. This paper is arguing that building an effective machine learning malware detection system requires navigating this complex landscape of technical choices systematically, rather than just managing those cascading decisions on the fly as practitioners often do.
Elias: So the main implication here is moving from isolated solutions to a structured methodology for optimal ML technique selection across different operational environments. It's about making these interdependent variables explicit in your decision-making process.
Priya: From my side, it shows that you can quantify the trade-offs—like speed versus accuracy—so you can make decisions based on real numbers instead of just intuition about what sounds good.
Nadia: It’s a framework for making informed choices when you have to balance detection performance, resource consumption, and long-term maintainability in a system that has to adapt.
Elias: But the authors did flag some things too. They acknowledge that their current WCCS model is based on five inputs, and they think extending it to include data locality or explainability would be the next logical step for future work.
The paper's improvements: Nadia: So we're looking at how the authors think they can improve their initial framework for malware detection system selection, and they’ve got a few specific changes in mind.
Elias: They’re focusing on extending the input space of that WCCS function itself, which means adding dimensions for things like data locality and explainability to the scoring process.
Priya: So if you're looking at your system, you can now explicitly score it not just on performance metrics but also on how well the data is stored and how transparent the model’s decision-making is. That makes sense for privacy checks.
Nadia: Exactly. And they’re talking about developing a federated and cross-platform variant of that recommendation algorithm later on, which means making it work across different devices and locations without moving all the sensitive data around.
Elias: That would be interesting because it addresses one of the biggest real-world hurdles—getting models to work in constrained environments like IoT or mobile devices where you can’t just send everything to a central server.
Priya: I wonder if that cross-platform approach would also help address issues around adversarial robustness, which is another area they flagged as important for future work.
Nadia: They did mention adversarial robustness in the context of deep neural networks and malware classification, so integrating that into the selection framework seems like a natural next step for making the system more resilient.
Elias: The paper also suggests using different model update strategies tailored to the specific constraints, like class incremental learning when you need frequent updates versus transfer learning when you have periodic ones. They want to make that part of the recommendation process even tighter.
Priya: So it’s not just a static list of recommendations; it’s an adaptive system that learns how to adjust its strategy based on the environment it's running in. That moves beyond just a one-time setup decision.
Nadia: It seems like they are really pushing for a more dynamic, context-aware selection mechanism rather than just presenting a fixed chart of options.
Elias: I agree. The goal is to move toward a system where the decision about which ML configuration to use isn't just based on static parameters but can evolve as the operational environment changes.
Priya: It’s about building something that actually adapts to the real-time challenges of malware detection, not just a theoretical setup for a lab experiment.
Nadia: So they’re looking at making this selection framework more flexible and dynamic for real-world deployment across different platforms and data types.
Elias: It sounds like the next big step is really about making the decision-making process itself intelligent enough to handle uncertainty better.
Conclusion: Nadia: So to wrap up on FDM: A Framework for Decision-making to build ML-based Malware detection systems, this paper shows how to systematically select configurations by using a Weighted Configuration Compatibility Score that weighs five operational parameters against nine configuration dimensions.
Elias: It’s about giving practitioners a formal methodology so they aren't just guessing which model or feature strategy is best for their specific deployment context.
Priya: It shows you can quantify the trade-offs—like speed versus accuracy—so you can make decisions based on real numbers instead of just intuition about what sounds good.
Nadia: This framework is really useful because it helps with maintainability when you have to adapt your system to different constraints over time.
Elias: Yeah, it moves the discussion away from picking one perfect model and toward building a decision engine that understands the trade-offs involved in deployment.
Priya: It’s about making sure that when you choose a configuration, you can see exactly what performance loss you are accepting for a gain in speed or resource efficiency.
Nadia: So, it’s an applied tool for defense and exploitation researchers to pick the right setup without having to run out all the possible combinations themselves.
Elias: Exactly. It formalizes that whole cascading decision process, making sure you account for latency, resource budgets, and update frequency all at once in one score.
Priya: I think what this paper really changes is how we evaluate a model setup; it’s not just about accuracy on a test set anymore.
Nadia: It’s about being aware of the operational reality of where that detection system is actually going to run.
Elias: And that awareness is key when you start thinking about more advanced things like federated learning or cross-platform variants, which they look at in their future work.
Priya: That’s a big deal because it opens the door to building systems that are not tied down to a single hardware platform.
Nadia: So FDM gives us a solid starting point for making those choices systematically.
Elias: And now we can look ahead at how those next steps—like adding explainability or adversarial robustness—can be integrated into this decision-making process.
College of Computing Prince of Songkla University
cs.CR
Submitted: 2026-06-05
Updated: 2026-06-05
Comments: 18 pages, 5 figures, 14 tables
DOI: 10.1080/23742917.2026.2759016
License: http://creativecommons.org/licenses/by/4.0/
Importance score: 82/100
The gist: Selecting appropriate machine learning (ML) configurations for malware detection is a complex, multi-criteria problem: model choice, feature engineering strategy…
Key concepts
- Weighted Configuration Compatibility Score (WCCS)
- A scoring function that evaluates nine configuration dimensions based on five operational parameters. It calculates a weighted average of compatibility scores to rank technical choices, guiding users toward the best setup for their specific needs.
- Contextual Configuration Mapping
- The process of linking high-level operational goals (like update cadence or sensitivity) directly to specific technical implementation decisions. For example, update frequency dictates whether class-incremental learning or transfer learning should be used.
- Trade-off Quantification
- A method to measure the cost and benefit of different technical choices. This helps in making informed decisions by showing how a change in one area, such as using autoencoder pre-processing, affects both training speed and final accuracy.
- Model Selection Guidance
- The algorithm used to choose the best ML model. It considers factors like task complexity and performance metrics to recommend specific models, ensuring the chosen architecture fits the required operational environment.
Terminology
Summary
Selecting appropriate machine learning (ML) configurations for malware detection is a complex, multi-criteria problem: model choice, feature engineering strategy, and update mechanism must jointly satisfy operational constraints that vary substantially across deployment contexts. p. 0 su, wwarodom, norrathep. th
Abstract—Selecting appropriate machine learning (ML) configurations for malware detection is a complex, multi-criteria
problem: model choice, feature engineering strategy, and update
mechanism must jointly satisfy operational constraints that vary
substantially across deployment contexts.Where the paper says it
Framework Overview
The paper proposes a Framework for Decision-making to build ML-based Malware detection systems (FDM), a structured methodology that formalises this selection process through the Weighted Configuration Compatibility Score (WCCS), a multi-criteria scoring function that maps five quantifiable operational parameters to ranked recommendations across nine configuration dimensions.
Empirical Validation
The framework was validated through four experiments conducted on three datasets: a private Windows API call dataset covering eight malware families, the public Malimg image benchmark of 9,339 samples from 25 families, and a public Android static API dataset of 15,036 applications.
Model Selection Guidance
The WCCS algorithm selects the optimal configuration by calculating the weighted average of compatibility scores across five operational requirements, where weights are normalized to sum to one.
Contextual Configuration Mapping
The framework maps operational goals to technical choices, such as selecting the dataset source based on update cadence and sensitivity requirements (P1) driven by Q4 (UFS, w=0.45)
Trade-off Quantification
The framework quantifies trade-offs, such as autoencoder pre-processing (P3.2), which yields a 14× training speedup against a 0. p. 0 65
percentage-point accuracy degradation across eleven incremental
steps; (iv) transfer learning reduced training time by an average
of 2. 14× on image-based malware data with no significant
accuracy cost; and (v) autoencoder pre-processing yielded a 14×
training speedup at a cost of only 0. To validate the framework, four experiments were conducted on three datasets (a private Windows API
call dataset covering eight malware families, the public Malimg
image benchmark of 9,339 samples from 25 families, and a public
Android static API dataset of 15,036 applications). Key results
include: (i) XGBoost achieved the best accuracy-to-resource ratio
in binary classification (97.Where the paper says it
Where the paper says it
Conclusion on Utility
The results confirm that no single ML configuration dominates across all operational contexts, and structured, constraint-aware selection is both necessary and feasible.
Future Directions
Future work will focus on two primary directions: (1) extending the WCCS input space to include dimensions for data-locality, explainability, and adversarial robustness; and (2) developing a federated and cross-platform variant of the recommendation algorithm.
References
[1] J. Geng, J. Wang, Z. Fang, Y. Zhou, D. Wu, and W. Ge,. “A survey of strategy-driven evasion methods for pe malware: transformation, concealment, and attack,” Computers & Security. p. 0 Malware detection presents significant challenges due to the
sophisticated evasion techniques employed by malware creators. These evasion techniques can generally be categorized
into three groups [1]: (i) transformation-based methods (such
as metamorphism, polymorphism [2], dead code insertion and
instruction replacement or reordering [3]), (ii) concealmentbased tactics (including delay execution and code obfuscation),
and (iii) attack-based techniques (such as exploitation attacks
[4]).Where the paper says it
[3] K. Brezinski and K. Ferens, “Metamorphic malware and obfuscation: a survey of techniques, variants, and generation kits,” Security and Communication Networks. p. 0 Malware detection presents significant challenges due to the
sophisticated evasion techniques employed by malware creators. These evasion techniques can generally be categorized
into three groups [1]: (i) transformation-based methods (such
as metamorphism, polymorphism [2], dead code insertion and
instruction replacement or reordering [3]), (ii) concealmentbased tactics (including delay execution and code obfuscation),
and (iii) attack-based techniques (such as exploitation attacks
[4]).Where the paper says it
[5] Y. Assor, “Anti-vm and anti-sandbox explained,” May 2023. p. 0 These evasion techniques can generally be categorized
into three groups [1]: (i) transformation-based methods (such
as metamorphism, polymorphism [2], dead code insertion and
instruction replacement or reordering [3]), (ii) concealmentbased tactics (including delay execution and code obfuscation),
and (iii) attack-based techniques (such as exploitation attacks
[4]). The use of anti-sandboxing techniques further complicates dynamic analysis-based detection methods, as malware
can be designed to postpone or evade malicious actions when it
identifies a sandbox environment [5]. In the first phase,
the FDM is conceptually developed: operational input dimensions (Q1–Q5) are identified from a systematic analysis
of the factors that practitioners report as most influential in
malware detection system design, and the WCCS scoring
mechanism is formalised following established multi-criteria
decision analysis principles [39]. In the second phase, four
empirical experiments on three labelled datasets are conducted
to validate the FDM’s recommendations and provide the
evidence base for its configuration codes.Where the paper says it
Where the paper says it
[7] L. Nataraj, S. Karthikeyan, G. Jacob, and B. S. Manjunath, “Malware images: visualization and automatic classification,” in Proceedings of the 8th International Symposium on Visualization for Cyber Security, VizSec ’11, (New York, NY, USA), Association for Computing Machinery. p. 3 4
Signature
creation
Yara rule
File hash-based
Pattern matchin
IoC
ML-based
Initial
Classification Analysis
Static
Dynamic
Memory forensic
Suspicious program
uery
Signature verification failed
VirusTotal
Verified
Adding of
signature to
db
Verification of
the signature
Push update
patch to
endpoint
Endpoint
Begin
Set Goal
Obective of
classification method)
Acquisitio
Feature extraction)
Analysi
ML model hyperparameter tuning)
Deploymen
Use-case options)
Maintenance(Utility
after initial
classification) Finish
Processes of developing incremental learning model
c
M
c1
c
c1
c2
M1
c
c2
c1
M2
c3
Start
Define the malare
detection implementation
constraints
1
Assess alternative malare
detection methods against
constraints
Data set acquisition labeling
and preprocessing
2 Malare detection systems
deployment
4
Malare detection model
selectiondevelopment and
tuning
3
Update
Malare detection systems
maintenance
Not
satisfied
Model performance
evaluation Satisfied
Finish
Visualization Process
Obtain static
or dynamic
API calls
Convert the
API calls to
binary
Convert
binary file to
bit vector
Convert Bit
vector to GrayBegin scale Images Finish
Obtain static or dynamic API
calls
144152
22242
141414
242424
Convert the API calls to
binary
111111
11
11
11111111111
Convert binary file to bit
vector
111111
111
11
111111111111
Deployment and Maintenance phase
Protected Endpoints Vendor’s cloud
(iv) Identifying and
assessing threats
+
(i) Scanner detection (ii) Dynamic Behavior detection (iii) Feature extraction
BEHAVIORAL PATTERN
PE HEADER
SIGNATURE
NETWORK ANALYSIS
PERMISSIONS
MEMORY DUMP
API CALLS
1: If Sig matched
2: quarantine and alert user
3: else
4: analyze behavior
1: score = Model. detect( behavior )
2: If score exceeds threshold
3: upload sample to Vendor’s cloud
4: else
5: stop
(vi) Endpoint security update (v) Database updating
Security-update Server
Sig + Model Sig + Model
End point Cloud
Pre processing feature extraction
Suspicious program upload Binary file
Memory dumb
Grayscale image
Yes
Initial Classification
No
Saved Incremental
learning model
Result
Dataset
Model storage
Processes of developing transfer learning model
Malare dataset
Trainretrain
the ne
model
Valid
ation
Satisfy
Unsatisfied
Fine tune
hyper
parameters
Obtain pretrained
model from
repository (e. ML Approaches for Malware Detection
Numerous papers propose specific ML configurations evaluated on narrow benchmark conditions. Bayazit et al. This paper proposes a
Framework for Decision-making to build ML-based Malware
detection systems (FDM), a structured methodology that formalises this selection process through the Weighted Configuration
Compatibility Score (WCCS), a multi-criteria scoring function
that maps five quantifiable operational parameters (platform
constraint, resource budget, response latency, update frequency,
and detection sensitivity) to ranked recommendations across nine
configuration dimensions. To validate the framework, four experiments were conducted on three datasets (a private Windows API
call dataset covering eight malware families, the public Malimg
image benchmark of 9,339 samples from 25 families, and a public
Android static API dataset of 15,036 applications).Where the paper says it
Where the paper says it
Where the paper says it
[9] M. N. AlJarrah, Q. M. Yaseen, and A. M. Mustafa,. “A contextaware android malware detection approach using machine learning,” Information, vol. p. 5 The process involves: (1) Sample
collection: gathering malware samples and benign files from
sources such as VirusTotal and malware repositories; (2) Preprocessing: removing irrelevant features, eliminating redundancy, and normalizing data to ensure consistency; (3) Feature
extraction: choosing the analysis approach (static, dynamic, or
hybrid) based on classification goals; (4) Feature representation: converting extracted features into graph-based, vectorized, numerical, or embedded representations; and (5) Feature
selection: using statistical and ML techniques such as correlation analysis, PCA, and Chi-square tests to retain the most
discriminative features. 3) Machine learning model development and evaluation:
Fig. Malware detection has evolved from signature-based methods using predefined patterns, e. , YARA rules [10], to
identify known threats.Where the paper says it
Where the paper says it
[11] Y. Wu, M. Li, Q. Zeng, T. Yang, J. Wang, Z. Fang, and L. Cheng, “Droidrl: Feature selection for android malware detection with reinforcement learning,” Computers & Security. p. 4 3 shows the basic decision-making process of developing
ML-based malware detection systems. Signature
creation
ara rule
File hashbased
attern matchin
o
Mbased
nitial
lassification Analysis
Static
Dynamic
Memory forensic
Suspicious program
uery
Signature verification failed
irusotal
erified
Adding of
signature to
db
erification of
the signature
ush update
patch to
endpoint
ndpoint
egin
Set oal
bective of
classification method
Acquisitio
Feature etraction
Analysi
M model hyper
parameter tuning
Deploymen
Usecase options
MaintenanceUtility
after initial
classification Finish
rocesses of developing incremental learning model
c
M
c1
c
c1
c2
M1
c
c2
c1
M2
c3
Start
Define the malware
detection implementation
constraints
1
Data set acquisition, labeling
and preprocessing
2 Malware detection systems
deployment
4 Assess alternative malware
detection methods against
constraints
Malware detection model
selection,development and
tunning
3
Update
Malware detection systems
maintenance
Not
satisfied
Model performance
evaluation
Finish
Satisfied
isualiation rocess
btain static
or dynamic
A calls
onvert the
A calls to
binary
onvert
binary file to
bit vector
onvert it
vector to ray
egin scale mages Finish
btain static or dynamic A
calls
14,4,1,2
2,22,4,2
14,14,14,
24,24,24,
onvert the A calls to
binary
111111
11
11
11111111111
onvert binary file to bit
vector
111111
111
11
111111111111
Deployment and Maintenance phase
rotected ndpoints endors cloud
iv dentifying and
assessing threats i Scanner detection ii Dynamic ehavior detection iii Feature etraction
AA AN
AD
SNAU
N ANASS
MSSNS
MM DUM
A AS
1 f matche
2 quarantine and alert use
3 els
4 analye behavior
1 score detect behavior
2 f score eceeds threshol
3 upload sample to endors clou
4 els
stop
vi ndpoint security update v Database updating
Securityupdate Server
nd point loud
re processing feature etraction
Suspicious program upload inary file
Memory dumb
rayscale image
es
nitial lassification
No
Saved ncremental
learning model
esult
Dataset
Model storage
rocesses of developing transfer learning model
Malware dataset
rainretrain
the new
model
alid
ation
Satisfy
Unsatisfied
Fine tune
hyper
parameters
btain pretrained
model from
repository eg,
Nonmalware
Setup initial hyper
parameters
egin Finish
Finish
planation
Fig.Where the paper says it
[13] A. F. Agarap, “Towards building an intelligent anti-malware system: A deep learning approach using support vector machine (svm) for malware classification,” 2019. p. 1 This has produced
numerous isolated solutions while leaving significant research
gaps in systematic guidance for optimal selection of MLtechniques across diverse contexts and constraints. We argue that building an effective machine learningbased malware detection system requires navigating a complex
landscape of technical choices, including feature extraction,
feature selection, and deep learning hyperparameter tuning. 1
FDM: A Framework for Decision-making to build
ML-based Malware detection systems
Tadiwa Vhito, Jakapan Suaboot*, Warodom Werapun, Norrathep Rattanavipanon
College of Computing
Prince of Songkla University
Phuket, Thailand
{s6530621001, jakapan. su, wwarodom, norrathep. The API calls are then exported in order to be used as
the dataset to train their Sub-Curve HMM method. Malware detection approaches
To determine whether a file is malicious or benign, identify malware types (e.Where the paper says it
Where the paper says it
Where the paper says it
[15] S. Tobiyama, Y. Yamaguchi, H. Shimada, T. Ikuse, and T. Yagi, “Malware detection with deep neural network using process behavior,” in 2016 IEEE 40th Annual Computer Software and Applications Conference (COMPSAC), vol. p. 2 If no signature matches,
dynamic behavior detection (ii) scores the sample using a
local ML model and, when the score exceeds a threshold,
uploads the sample to the vendor’s cloud for deeper analysis. In the cloud, feature extraction (iii) derives static and dynamic
feature sets (API calls, PE header fields, memory dumps, network traffic, permissions, behavioral patterns, and signatures) This has produced
numerous isolated solutions while leaving significant research
gaps in systematic guidance for optimal selection of MLtechniques across diverse contexts and constraints. We argue that building an effective machine learningbased malware detection system requires navigating a complex
landscape of technical choices, including feature extraction,
feature selection, and deep learning hyperparameter tuning.Where the paper says it
Where the paper says it
[17] S. Y. Yerima and S. Sezer, “Droidfusion: A novel multilevel classifier fusion approach for android malware detection,” IEEE Transactions on Cybernetics, vol. 49, no. 2, pp. 453–466, 2019.<ref:syc-ml-malw-d/1854321#pg18,[18] J. Jeon, B. Jeong, S. Baek, and Y.-S. Jeong, “Hybrid malware detection based on bi-lstm and spp-net for smart iot,” IEEE Transactions on Industrial Informatics, vol. p. 5 Three primary
strategies exist: on-device deployment, where the detection
method runs locally on endpoint hardware (e. , Windows,
Android) for real-time classification; cloud-based deployment,
where samples are uploaded to cloud servers when on-device
resources are insufficient; and hybrid deployment, combining
both.Where the paper says it
[19] J. Bai and Q. Shi, “Malware detection method based on dynamic variable length api sequence,” in 2019 12th International Symposium on Computational Intelligence and Design (ISCID), vol. p. 9 Experiment 1: API-Based Malware Classification with Sequence Splitting
This experiment evaluates sequence splitting as a preprocessing strategy for Windows API call–based malware
classification, benchmarking both classical machine learning
(ML) classifiers and deep learning sequence models under
identical conditions. Splitting long traces into fixed-length
subsequences of 1,000 calls is consistent with prior work
showing that segmented sequences yield superior learning
signals compared to truncated or zero-padded alternatives [52]. 3 shows the basic decision-making process of developing
ML-based malware detection systems. Signature
creation
ara rule
File hashbased
attern matchin
o
Mbased
nitial
lassification Analysis
Static
Dynamic
Memory forensic
Suspicious program
uery
Signature verification failed
irusotal
erified
Adding of
signature to
db
erification of
the signature
ush update
patch to
endpoint
ndpoint
egin
Set oal
bective of
classification method
Acquisitio
Feature etraction
Analysi
M model hyper
parameter tuning
Deploymen
Usecase options
MaintenanceUtility
after initial
classification Finish
rocesses of developing incremental learning model
c
M
c1
c
c1
c2
M1
c
c2
c1
M2
c3
Start
Define the malware
detection implementation
constraints
1
Data set acquisition, labeling
and preprocessing
2 Malware detection systems
deployment
4 Assess alternative malware
detection methods against
constraints
Malware detection model
selection,development and
tunning
3
Update
Malware detection systems
maintenance
Not
satisfied
Model performance
evaluation
Finish
Satisfied
isualiation rocess
btain static
or dynamic
A calls
onvert the
A calls to
binary
onvert
binary file to
bit vector
onvert it
vector to ray
egin scale mages Finish
btain static or dynamic A
calls
14,4,1,2
2,22,4,2
14,14,14,
24,24,24,
onvert the A calls to
binary
111111
11
11
11111111111
onvert binary file to bit
vector
111111
111
11
111111111111
Deployment and Maintenance phase
rotected ndpoints endors cloud
iv dentifying and
assessing threats i Scanner detection ii Dynamic ehavior detection iii Feature etraction
AA AN
AD
SNAU
N ANASS
MSSNS
MM DUM
A AS
1 f matche
2 quarantine and alert use
3 els
4 analye behavior
1 score detect behavior
2 f score eceeds threshol
3 upload sample to endors clou
4 els
stop
vi ndpoint security update v Database updating
Securityupdate Server
nd point loud
re processing feature etraction
Suspicious program upload inary file
Memory dumb
rayscale image
es
nitial lassification
No
Saved ncremental
learning model
esult
Dataset
Model storage
rocesses of developing transfer learning model
Malware dataset
rainretrain
the new
model
alid
ation
Satisfy
Unsatisfied
Fine tune
hyper
parameters
btain pretrained
model from
repository eg,
Nonmalware
Setup initial hyper
parameters
egin Finish
Finish
planation
Fig.Where the paper says it
Where the paper says it
[21] S. Gulmez and I. p. 1 Alternatively, a software
disassembling technique can be used to extract information,
such as the opcode and register records, from the assembly
code. An example of research that uses static analysis is
Gulmez et al. 3, 2 , after requirement
gathering and analysis, the next process is data acquisition,
which encompasses feature extraction and engineering, feature
scaling and selection, and data processing and shaping to
obtain a usable dataset. The process involves: (1) Sample
collection: gathering malware samples and benign files from
sources such as VirusTotal and malware repositories; (2) Preprocessing: removing irrelevant features, eliminating redundancy, and normalizing data to ensure consistency; (3) Feature
extraction: choosing the analysis approach (static, dynamic, or
hybrid) based on classification goals; (4) Feature representation: converting extracted features into graph-based, vectorized, numerical, or embedded representations; and (5) Feature
selection: using statistical and ML techniques such as correlation analysis, PCA, and Chi-square tests to retain the most
discriminative features. VirusShare [48] is the primary example, providing a private repository of pre-labeled malware samples. Although
this data source is the most dangerous (sophisticated
malware could escape from an improperly configured
environment), it is the most effective way for a malware
analyst to investigate payload behaviors in depth and
discover more comprehensive characteristics.Where the paper says it
Where the paper says it
Where the paper says it
[23] VirusTotal, “YARA - Getting Started.” https://yara. p. 0 Malware detection has evolved from signature-based methods using predefined patterns, e. , YARA rules [10], to
identify known threats. Although behavior-based is the
most flexible when considering unseen malware, compared
to signature and heuristic-based methods, the behavior-based
detection can be more resource-intensive and may result in
a higher rate of false positives, as legitimate software might
exhibit suspicious behaviors. 3) Heuristic-based: In general, heuristic-based detection
serves as a more generalized approach compared to signaturebased detection, enabling the identification of variants of
known malware, even if these specific versions have not been
previously encountered.Where the paper says it
Where the paper says it
[25] A. Mehtab, W. B. Shahid, T. Yaqoob, M. F. Amjad, H. Abbas, H. Afzal, and M. N. Saqib, “Addroid: rule-based machine learning framework for android malware analysis,” Mobile Networks and Applications, vol. p. 9 3) Android static API dataset [17]: a public Android
dataset containing 15,036 applications (5,560 malware,
9,476 benign), represented by permission vectors extracted from each APK’s manifest file. All classical machine-learning models were hyperparameteroptimised via Optuna [46] (30–100 trials depending on the
experiment).Where the paper says it
[39] Z. You, Y.-W. Si, D. Zhang, X. Zeng, S. C. Leung, and T. Li,. “A decision-making framework for precision marketing,” Expert Systems with Applications. p. 3 On the other hand, cross-level optimization surveys [38] highlight that achieving resource efficiency in IoT systems requires
selecting configurations that align with the limitations of the
deployment hardware. Furthermore, the application of multicriteria decision-making frameworks [39] in adjacent domains,
such as precision marketing, has demonstrated the effectiveness of translating qualitative operational requirements into Index Terms—Malware Detection, Transfer learning, ClassIncremental Learning, Decision-making framework, Contextaware deployment. INTRODUCTION
The rapid growth of artificial intelligence (AI) technology has caused an unprecedented surge in malware attacks,
presenting a critical challenge in modern cybersecurity.Where the paper says it
Where the paper says it
[41] R. Feng, S. Chen, X. Xie, G. Meng, S.-W. Lin, and Y. Liu,. “A performance-sensitive malware detection system using deep learning on mobile devices,” IEEE Transactions on Information Forensics and Security. p. 2 Step 2: Analysis: If a report on the application can not be
found on platforms like VirusTotal, then different
types of analysis, including Static, Dynamic, and
Memory forensics, are conducted on the application. From this analysis, the researcher gathers information
on the suspicious activity of the application using
tools like a disassembler and a sandbox. To answer this, we propose a Framework for Decisionmaking to build ML-based Malware detection systems (FDM). The framework provides systematic guidance for malware
prevention teams in constructing detection systems suited to
diverse organizational constraints and requirements, offering
a principled approach to methodology selection rather than
another isolated solution.Where the paper says it
Where the paper says it
[43] M. Merluzzi, P. Di Lorenzo, and S. Barbarossa, “Wireless edge machine learning: Resource allocation and trade-offs,” IEEE Access, vol. p. 1 3) A unified FDM validation table mapping each experimental finding to specific FDM input dimensions and recommendation codes, demonstrating that no universal “onesize-fits-all” machine learning setup exists for detecting
malware, which is precisely the condition the FDM is
designed to address. 4) Three illustrative deployment scenarios that demonstrate
how the FDM produces internally consistent, contextappropriate configurations for IoT edge devices, ransomware defence systems, and critical-infrastructure endpoints.Where the paper says it
[44] W. Xu, Z. Yang, D. W. K. Ng, M. Levorato, Y. C. Eldar, and M. Debbah, “Edge learning for b5g networks with distributed signal processing: Semantic communication, edge computing, and wireless sensing,” IEEE journal of selected topics in signal processing, vol. p. 8 Constrained by Q1 and Q3: Q1=1 (Edge) or
Q3=3 → ET=1; otherwise ET ∈ {2, 3}. 2 Pre-processing Recommend pre-processing stages:
cleansing, normalization, and EDA.Where the paper says it
[45] M. Tedla, S. Kulkarni, and K. Vaidhyanathan, “Ecomls: A selfadaptation approach for architecting green ml-enabled systems,” in 2024 IEEE 21st International Conference on Software Architecture Companion (ICSA-C), pp. p. 4 , EcoMLS [45]). While
adaptive systems effectively manage runtime conditions, they
assume that the foundational model architecture, feature type,
and training strategy have already been established.Where the paper says it
[46] T. Akiba, S. Sano, T. Yanase, T. Ohta, and M. Koyama, “Optuna: A nextgeneration hyperparameter optimization framework,” in Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. p. 5 Setting up ML models is critical for malware
classification because the decisions made during development
substantially affect classification performance. The process
comprises: data loading and labeling; pre-processing raw data
for efficient model ingestion; dataset splitting for training,
validation, and testing; algorithm selection aligned with research objectives and dataset characteristics; model training;
hyperparameter optimization using automated tools such as
Optuna [46]; and model evaluation using accuracy, precision,
recall, F1-score, and ROC-AUC.Where the paper says it
[47] S. Dadkhah, O. p. 5 VirusTotal [10] is the primary example; it
is used for labeling and behavioral pre-analysis. Dadkhah
et al. xlsm) and scripts (e. VirusShare [48] is the primary example, providing a private repository of pre-labeled malware samples. xlsm) and scripts (e. VirusShare [48] is the primary example, providing a private repository of pre-labeled malware samples.Where the paper says it
Where the paper says it
Where the paper says it
[49] L. Yang, A. Ciptadi, I. Laziuk, A. Ahmadzadeh, and G. Wang, “Bodmas: An open dataset for learning based temporal analysis of pe malware,” in 2021 IEEE Security and Privacy Workshops (SPW), pp. p. 4 3 shows the basic decision-making process of developing
ML-based malware detection systems. Signature
creation
ara rule
File hashbased
attern matchin
o
Mbased
nitial
lassification Analysis
Static
Dynamic
Memory forensic
Suspicious program
uery
Signature verification failed
irusotal
erified
Adding of
signature to
db
erification of
the signature
ush update
patch to
endpoint
ndpoint
egin
Set oal
bective of
classification method
Acquisitio
Feature etraction
Analysi
M model hyper
parameter tuning
Deploymen
Usecase options
MaintenanceUtility
after initial
classification Finish
rocesses of developing incremental learning model
c
M
c1
c
c1
c2
M1
c
c2
c1
M2
c3
Start
Define the malware
detection implementation
constraints
1
Data set acquisition, labeling
and preprocessing
2 Malware detection systems
deployment
4 Assess alternative malware
detection methods against
constraints
Malware detection model
selection,development and
tunning
3
Update
Malware detection systems
maintenance
Not
satisfied
Model performance
evaluation
Finish
Satisfied
isualiation rocess
btain static
or dynamic
A calls
onvert the
A calls to
binary
onvert
binary file to
bit vector
onvert it
vector to ray
egin scale mages Finish
btain static or dynamic A
calls
14,4,1,2
2,22,4,2
14,14,14,
24,24,24,
onvert the A calls to
binary
111111
11
11
11111111111
onvert binary file to bit
vector
111111
111
11
111111111111
Deployment and Maintenance phase
rotected ndpoints endors cloud
iv dentifying and
assessing threats i Scanner detection ii Dynamic ehavior detection iii Feature etraction
AA AN
AD
SNAU
N ANASS
MSSNS
MM DUM
A AS
1 f matche
2 quarantine and alert use
3 els
4 analye behavior
1 score detect behavior
2 f score eceeds threshol
3 upload sample to endors clou
4 els
stop
vi ndpoint security update v Database updating
Securityupdate Server
nd point loud
re processing feature etraction
Suspicious program upload inary file
Memory dumb
rayscale image
es
nitial lassification
No
Saved ncremental
learning model
esult
Dataset
Model storage
rocesses of developing transfer learning model
Malware dataset
rainretrain
the new
model
alid
ation
Satisfy
Unsatisfied
Fine tune
hyper
parameters
btain pretrained
model from
repository eg,
Nonmalware
Setup initial hyper
parameters
egin Finish
Finish
planation
Fig.Where the paper says it
[50] H. S. Anderson and P. Roth, “EMBER: An open dataset for training static PE malware machine learning models,” arXiv preprint arXiv:1804. p. 0 Much existing ML-based malware detection research follows a fragmented approach in which researchers select
specific dataset configurations, e. , using public [12], [13]
or private datasets [14], [15] using static [8], [16], [17] or
dynamic [18], [19] analysis methods, or using the pre-analysis
arXiv:2606.Where the paper says it
[51] C. Zhou and R. C. Paffenroth, “Anomaly detection with robust deep autoencoders,” in Proceedings of the 23rd ACM SIGKDD international conference on knowledge discovery and data mining, pp., 665–674, 2017]
[52] T. Vhito, J. Suaboot, W. p. 0 1
FDM: A Framework for Decision-making to build
ML-based Malware detection systems
Tadiwa Vhito, Jakapan Suaboot*, Warodom Werapun, Norrathep Rattanavipanon
College of Computing
Prince of Songkla University
Phuket, Thailand
{s6530621001, jakapan. su, wwarodom, norrathep. 1
FDM: A Framework for Decision-making to build
ML-based Malware detection systems
Tadiwa Vhito, Jakapan Suaboot*, Warodom Werapun, Norrathep Rattanavipanon
College of Computing
Prince of Songkla University
Phuket, Thailand
{s6530621001, jakapan. su, wwarodom, norrathep.Where the paper says it
Where the paper says it
[53] Tadiwa Vhito, Jakapan Suaboot, Warodom Werapun, Norrathep Rattanavipanon.
Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.
Improvements for AI systems
-
Adapt model selection based on task complexity to avoid deep learning overfitting in multi-class settings, as
XGBoost retained the lead at 79.03% test accuracy while BiLSTM fell to 72.27% in multi-class classification.
-
Implement a Weighted Configuration Compatibility Score (WCCS) to systematically map operational goals (Q1–Q5) to ranked technical recommendations, ensuring that
no single ML configuration dominates across all operational contexts.
-
Use autoencoder pre-processing for feature extraction when response latency or resource budget is binding, as the paper shows it yields a
14x training speedup at a cost of only 0.86 pp accuracy
and is recommended when Q3 is high or Q2 is low. -
Select model update strategies based on update frequency (Q4) and resource constraints (Q2), specifically recommending class-incremental learning for frequent updates and transfer learning for periodic updates, as
EfficientNetB0 achieves the lowest catastrophic forgetting (0.65 pp) but requires GPU-class resources.
-
Implement a feature extraction strategy conditioned on the feature type, avoiding transfer learning from ImageNet when using API sequences, as the paper notes that
pre-trained ImageNet weights provided limited advantage on API call–derived feature maps.
Abstract
Selecting appropriate machine learning (ML) configurations for malware detection is a complex, multi-criteria problem. Model choice, feature engineering, and update mechanisms must jointly satisfy operational constraints that vary across deployment contexts. This paper proposes the Framework for Decision-making (FDM) to build ML-based malware detection systems. The FDM formalises this selection process using the Weighted Configuration Compatibility Score (WCCS), a multi-criteria scoring function mapping five operational parameters (platform constraint, resource budget, response latency, update frequency, and detection sensitivity) to ranked recommendations across nine configuration dimensions. To validate the framework, four experiments were conducted on three datasets (a private Windows API dataset, the public Malimg image benchmark, and an Android static API dataset). Key results include: (i) XGBoost achieved the best accuracy-to-resource ratio in binary classification (97.46 % test accuracy, <70 MB RAM), outperforming LSTM/BiLSTM which consumed up to 2.8 GB; (ii) in multi-class classification, classical models (XGBoost 79.03 %) outperformed recurrent deep models (BiLSTM 72.27 %), reversing the binary ranking; (iii) class-incremental learning with EfficientNetB0 maintained 99.13 % accuracy with only 0.65 pp degradation across 11 incremental steps; (iv) transfer learning reduced training time by 2.14 times on average for image-based malware data without significant accuracy cost; and (v) autoencoder pre-processing yielded a 14 times training speedup at a cost of only 0.86 pp accuracy. These findings confirm that the optimal ML configuration is context-dependent, validating the FDM's core premise and demonstrating its practical utility for cybersecurity practitioners.
Sources
Related papers
- RustMizan: A Compilable, Contamination-Aware Benchmarking Framework for Rust Vulnerabilities
- Introducing the Generative Application Firewall (GAF)
- Opal: Private Memory for Personal AI
- Fuel as Identity: Authenticating Inter-Satellite Laser Links after Total Key Compromise
- Merkle Trees Minimize Verifier Complexity in the ROM
- VulCPE: Context-Aware Cybersecurity Vulnerability Retrieval and Management