<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>MTA-KDD'19: A Dataset for Malware Tra c Detection</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Ivan Letteri</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Giuseppe Della Penna</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Luca Di Vita</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Maria Teresa Grifa</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Dept. of Information Engineering</institution>
          ,
          <addr-line>Computer Science and Mathematics</addr-line>
          ,
          <institution>University of L'Aquila</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>In the present paper we describe a new, updated and re ned dataset speci cally tailored to train and evaluate machine learning based malware tra c analysis algorithms. To generate it, we started from the largest databases of network tra c captures available online, deriving a dataset with a set of widely-applicable features and then cleaning and preprocessing it to remove noise, handle missing data and keep its size as small as possible. The resulting dataset is not biased by any speci c application (although speci cally addressed to machine learning algorithms), and the entire process can run automatically to keep it updated.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>In the recent years, the growing number of cyber attacks motivated an intense research in the
eld of malware detection, and nowadays cyber security professionals can rely on increasingly
e ective and e cient detection techniques which, however, need to be constantly updated.
Indeed, malware detection itself presents a number of inherent challenges, rst of all the ability
of maintaining an up-to-date knowledge base containing distinctive features of all the current
classes of malware.</p>
      <p>Most of the research is currently focusing on the use of machine learning techniques for
malware detection. This approach presents a number of advantages, rst of all its capability to
automatically identify the malware characteristics by observing a set of training samples, and
generalise these results to detect new variants without having actually seen them before.</p>
      <p>Since network-based malware, such as botnets, is currently one of the most common kind
of malware, in this paper we focus on malware tra c analysis, which tries to detect malware
by analysing its behaviour in terms of data sent and received through a network.</p>
      <p>However, the quality of such classi ers is largely determined by the quality of the underlying
training dataset, and having a high-quality dataset requires to collect real malware tra c
data, keep it updated, and make this data actually usable by a machine learning algorithm.
Unfortunately, publicly available malware tra c databases are few, and mostly outdated.</p>
      <p>In the present paper we describe a complete process that creates an updated malware tra c
dataset suitable to train and evaluate machine learning based malware tra c classi ers. To
this aim, we apply a Knowledge Discovery in Databases (KDD) process, starting from the
largest databases of network tra c captures available online, deriving a dataset with a set
of widely-applicable features and then cleaning and preprocessing it to remove noise, handle
missing data and keep its size as small as possible. The resulting dataset is not biased by any
speci c application (although speci cally addressed to machine learning algorithms), and the
entire process can run automatically to keep it updated.</p>
      <p>It is worth noting that this process requires the right use of a number of di erent data
manipulation techniques and algorithms such as pro ling, imputation and scaling, which in
turn require a good knowledge of many di erent machine learning, data analytics and statistics
issues to be e ectively applied. As a part of our contribution, we try to make all these steps
completely transparent to the researchers who just want to develop and e ectively test a new
malware tra c classi er.</p>
      <p>We evaluate the dataset quality by measuring the presence of malware through anomaly
detection and present an experiment where the dataset is used to build a simple deep neural
network classi er which reaches a very high detection rate.</p>
      <p>Of course, both the current dataset and its generation algorithm have been made available
to the research community.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Related work</title>
      <p>Malware features extraction and selection is a largely addressed topic in the literature. As
an example, Cabau et al. [6] extract malware features by dynamically executing malware in
a controlled environment and monitoring three types of actions: lesystem writes, registry
operations and network access operations. arkac et al. [43] address the speci c problem of
feature extraction for metamorphic malware, whereas Zhao et al. [42] focus on feature extraction
and selection from Android applications. Zhang et al. [40] perform feature selection for malware
detection introducing the novel Ensemble Feature Selection technique, which aims at reducing
the number and size of the selected features in order to obtain datasets easier to handle. Finally,
Arora et al. [3] also address the issue of android malware detection, but to this aim they use
features extracted from the network tra c generated by malware apps coming from the Android
Malware Genome Project, which makes this approach slightly more similar to our malware
tra c analysis context.</p>
      <p>However, a common characteristic of all such kind of works is that they present feature
extraction and selection techniques and examples of features extracted using the proposed
methodologies, but never provide the researchers with a full, realistic dataset created through
their approach. Moreover, when a malware detection technique is also proposed, it is often
evaluated on a speci cally-tailored dataset, making any comparison di cult.</p>
      <p>The majority of the publicly-available malware detection datasets, like Android PRAGuard
[23], the Android Malware Dataset [38] or EMBER [2] are devoted to malware detection in
executable les, in particular Android applications. Indeed, the current literature presents
few works concerning the creation of public datasets for malware tra c detection purposes.
Therefore, most papers presenting malware tra c analysis algorithms usually carry on their
experiments using some classical, although outdated, datasets like CTU13 [10], UGR'16 [21],
CCC09 [13] or KDD99 [37]. However, while these datasets can be a suitable benchmark to
compare di erent approaches, they cannot give realistic information about the quality of a
malware detector, since they do not take into consideration current malware and its novel
attack mechanisms.
3</p>
    </sec>
    <sec id="sec-3">
      <title>The MTA-KDD'19 Dataset</title>
      <p>The tra c data used to build our dataset was extracted from two distinct sources:
legitimate tra c comes from pcap les marked as Normal in the Malware Capture
Facility Project (MCFP) belonging to the Stratosphere project. In particular, the tra c
collected so far from the MCFP project is composed of 15 pcap les with a total size
greater than 7 GByte.
malicious tra c comes from the MTA [9] repository, which o ers a collection of over one
thousand four hundred zip les, each containing one or more pcap les. Every binary le
in these pcaps has been recognised as malicious by IDS and Antivirus softwares (Suricata
[26], VirusTotal [8]). It is worth noting that the pcap les provided by MTA are password
protected, so we developed an ad-hoc scraping algorithm that automates their download
and decompression. The currently collected MTA tra c is made up of 2112 pcap les,
with a total size of than 4.8 GB. These observations cover a time span from June 2013 to
August 2019.</p>
      <p>The MTA repository receives almost daily new tra c logs. Our framework performs
periodic downloads of these data, so our dataset is constantly growing and is constantly updated.
However, since the frequency of malware tra c updates is much higher than the legitimate one
(from MCFP), balancing the two parts is not trivial.
3.1</p>
      <sec id="sec-3-1">
        <title>Dataset Features</title>
        <p>The typical approach to build detection models is to run a bot in a controlled environment
and monitor its outgoing network connections. Unfortunately, this process is not as easy as it
seems: for example, bots often open a large number of additional connections to legitimate sites
to create some \noise" so, to identify the real command and control (C&amp;C), it is necessary to
observe all the network tra c produced by a bot in a long period of time. The tra c features
to be observed must take in account this issue, and try to "summarise" the bot behaviour
throughout time with a set of meaningful measures.</p>
        <p>Moreover, since network connections (especially for malicious tra c) are nowadays always
encrypted, it is not possible to analyse the packet payload. Therefore, features must be extracted
from observable characteristics of the tra c like the packet ratio, length or protocol. Such
characteristics are typically aggregated in time windows to extract statistical measures that
actually represent the features. In this approach, the packets present in each pcap le are split
in subsets spanning a xed amount of time (e.g., 15 minutes as used in [19]). However,
timebased aggregation requires an arbitrary choice, i.e., the window size, which may have a great
impact in the dataset quality, since di erent attack types often require di erent windows sizes
to be captured. Moreover, since pcap les are varying in size, time-based aggregation always
leads to discarding a certain amount of information at the end of each pcap. Therefore, in our
approach, we adopted a di erent strategy, by aggregating packets in each pcap having the same
source address (i.e., coming from the same host) in segments, even if they are not sequential in
time. This allows us to have a di erent point of view on the tra c, that takes into account the
hosts involved in the tra c rather than the packet ow itself. Moreover, common attacks such
as DDoS are much more easily identi ed if features like the packet ratio are calculated relative
to the hosts, and not to the overall tra c: indeed, in the latter case, the overall background
tra c, interleaving the attack packets, may make the attack less evident.</p>
        <p>We extracted a total of 50 features, which are reported in Table 2 together with their
formulas. Note that, for sake of simplicity, unless otherwise speci ed from now on with packets
we refer to the packets present in a speci c segment, i.e., packets in a particular pcap le
having all the same source address. Moreover, we summarise in Table 1 some meaningful sets
and functions that will be used to simplify the feature formulas.</p>
        <p>These selected features have been inspired by several best practices in the eld of malware
detection, as well as by the observation of the current malwares. The relevance of each feature
is brie y discussed in the following. In particular, each feature in the table has an associated
relevance note in the "rel" column.
S
S
S
S
S
S
S
S
S
S
S
S
S
S
S
Dp
Da
U
R
dom(p)
len(p)
nchar(s)
ndot(s)
nhyph(s)
ndigit(s)
ndnsque(p)
ndnsans(p)
ndnsadd(p)
ndnsaut(p)
occur(s)
t(p)
ttl(p)
valid(s)
the sent packets
sent packets using the DNS protocol
sent packets using the TCP protocol
sent packets using the UDP protocol
sent packets using the HTTP protocol
sent packets containing an HTTP request
sent packets containing a DNS question record
sent packets containing a DNS resource record
sent TCP packets with the ACK ag set
sent TCP packets with the SYN ag set
sent TCP packets with the FIN ag set
sent TCP packets with the PSH ag set
sent TCP packets with the URG ag set
sent TCP packets with the RST ag set
sent TCP packets ith both the ACK and SYN ags set
sent packets with payload length &lt; 32 (small packets)
distinct packet destination ports
distinct packet destination addresses
distinct user agents in the HTTP sent packets
the received packets
number of domains referred in DNS packet p
payload length of packet p
number of characters in s
number of dots in s
number of hyphens in s
number of digits in s
number of items in question section of DNS packet p
number of items in answer section of DNS packet p
number of items in additional section of DNS packet p
number of items in authority section of DNS packet p
number occurrences of each distinct value in the set s
arrival time of packet p
TTL reported in DNS packet p
true if all the domain names th set s are valid
1. Features fAck,Syn,Fin,Psh,Urg,RstgFlagDist: have been chosen since it has been
empirically shown (see, e.g., [1], [17], [39]) that the presence many packets with of certain TCP
ags set may indicate malware tra c.
2. Features fTCP,UDP,DNSgOverIP: have been chosen since many attacks exploit speci c
characteristics of these protocols. As an example, trojans and other remote access issue
a large number of DNS requests to locate their command and control server, so an high
DNSOverIP ratio may indicate malicious tra c [25].
3. Features MaxLen, MinLen, AvgLen, StdDevLen, MaxIAT, MinIAT, AvgIAT,
AvgDeltaTime, MaxLenRx, MinLenRx, AvgLenRx, StdDevLenRx, MaxIATRx, MinIATRx,
AvgIATRx,StartFlow, EndFlow, DeltaTime, FlowLen, FlowLenRx: have been chosen since
packet number, size and inter-arrival times are useful to detect ooding-style attacks
[16, 17].
4. Feature PktIORatio: has been chosen since in DDoS-style attacks the number of sent
packets is much higher than the received ones [36].
5. Feature FirstPktLen: has been chosen since many times the rst sent packet reveals useful
characteristics of the tra c (see, e.g., [14], [28]).</p>
        <p>formula
jST CP j jSf j</p>
        <p>jSj
jSpj
tj(Spjn) t(p0)
Pu2jUSjnchar(u)
PpDji2stSiDncQtUnAchar(dom(pj ))</p>
        <sec id="sec-3-1-1">
          <title>Ppj 2SDQ jdom(pj )j</title>
        </sec>
        <sec id="sec-3-1-2">
          <title>Ppj 2SDQ ndigit(dom(pj ))</title>
        </sec>
        <sec id="sec-3-1-3">
          <title>Ppj 2SDQ jdom(pj )j</title>
        </sec>
        <sec id="sec-3-1-4">
          <title>Ppj 2SDQ ndot(dom(pj ))</title>
        </sec>
        <sec id="sec-3-1-5">
          <title>Ppj 2SDQ jdom(pj )j</title>
        </sec>
        <sec id="sec-3-1-6">
          <title>Ppj 2SDQ nhyph(dom(pj ))</title>
        </sec>
        <sec id="sec-3-1-7">
          <title>Ppj 2SDQ jdom(pj )j</title>
          <p>Ppj 2SDR ttl(pj )
jSDRj</p>
          <p>t(p0)
t(pn)
jUj
jSDNS j P</p>
          <p>jSj
jSDNS j P</p>
          <p>jSj
jSDNS j P</p>
          <p>jSj
jSDNS j P</p>
          <p>jSj
t(pn)
len(p0)
P
P
pj 2S
pj 2R
H
len(pj )
len(pj )
Rg
min, max, avg,
flen(pj )jpj 2 Sg
min, max, avg,
flen(pj )jpj 2 Rg</p>
          <p>ACKSY N
jS j
jDaj
maxfjDpjg
jRj
jSj
max occur(flen(pj )jpj 2Sg)</p>
          <p>jSj
jSsmallj</p>
          <p>jSj
t(p0)
jSACjSKSSjY N j
jnSTjSCjP j jSURGj
j pj 2SDQjvalid(dom(pj ))oj</p>
          <p>jSDQj
feature
f FlagDist
pOverIP
AvgDeltaTime
AvgDistinctUALen
AvgDomainChar
AvgDomainDigit
AvgDomainDot
AvgDomainHyph
AvgTTL
DeltaTime
DistinctUA
DNSADist
DNSQDist
DNSRDist
DNSSDist
EndFlow
FirstPktLen
FlowLen
FlowLenRx
HTTPpkts
MaxIATRx,
MinIAT, MaxIAT,
AvgIAT
MinIATRx, AvgIATRx
MinLen, MaxLen,
AvgLen, StdDevLen
MinLenRx, MaxLenRx,
AvgLenRx,
StdDevLenRx
NumConnections
NumDstAddr
NumPorts
PktIOratio
RepeatedPktLenRatio
SmallPktRatio
StartFlow
SynAcksynRatio
UrgFlagDist
ValidURLratio
notes
with f
fAck; Syn; F in; P sh; Rstg.
available if not TCP
with p 2 fT CP; U DP; DN Sg</p>
          <p>
            2
unzero if jSj = 1
NaN if jSHRj = 0
NaN if jSDQj = 0
NaN if jSDQj = 0
NaN if jSDQj = 0
NaN if jSDQj = 0
zero if jSj = 1
unavailable if not TCP
unavailable not TCP or UDP
(
            <xref ref-type="bibr" rid="ref10">10</xref>
            )
(
            <xref ref-type="bibr" rid="ref11">11</xref>
            )
(
            <xref ref-type="bibr" rid="ref11">11</xref>
            )
unavailable if not TCP, NaN if
jSACKSY N j = 0
unavailable if not TCP
          </p>
          <p>NaN if jSDQj = 0
pj 2SD ndnsans(pj )
pj 2SD ndnsque(pj )
pj 2SD ndnsadd(pj )
pj 2SD ndnsaut(pj )
jS j
min of f(t(pj ) t(pj 1))jpj 2 Rg
min, max, avg of f(t(pj )
t(pj 1))jpj 2 Sg
min, avg of f(t(pj ) t(pj 1))jpj 2
zero if jRj &lt; 2
zero if jSj &lt; 2
zero if jRj &lt; 2
stddev
stddev
of
of</p>
          <p>StdDevLen is NaN if jSj &lt; 2</p>
          <p>
            StdDevLenRx is NaN if jRj &lt; 2
6. Features DNSQDist,DNSADist,DNSRDist,DNSSDist: have been chosen since, as already
described, malwares often send DNS requests with speci c characteristics [25].
7. Features RepeatedPktLenRatio, SmallPktRatio: has been chosen since in DDoS-style
rel
(
            <xref ref-type="bibr" rid="ref1">1</xref>
            )
(
            <xref ref-type="bibr" rid="ref2">2</xref>
            )
(
            <xref ref-type="bibr" rid="ref3">3</xref>
            )
(
            <xref ref-type="bibr" rid="ref12">12</xref>
            )
(
            <xref ref-type="bibr" rid="ref8">8</xref>
            )
(
            <xref ref-type="bibr" rid="ref8">8</xref>
            )
(
            <xref ref-type="bibr" rid="ref8">8</xref>
            )
(
            <xref ref-type="bibr" rid="ref8">8</xref>
            )
(
            <xref ref-type="bibr" rid="ref9">9</xref>
            )
(
            <xref ref-type="bibr" rid="ref3">3</xref>
            )
(
            <xref ref-type="bibr" rid="ref12">12</xref>
            )
(
            <xref ref-type="bibr" rid="ref6">6</xref>
            )
(
            <xref ref-type="bibr" rid="ref6">6</xref>
            )
(
            <xref ref-type="bibr" rid="ref6">6</xref>
            )
(
            <xref ref-type="bibr" rid="ref6">6</xref>
            )
(
            <xref ref-type="bibr" rid="ref3">3</xref>
            )
(
            <xref ref-type="bibr" rid="ref5">5</xref>
            )
(
            <xref ref-type="bibr" rid="ref3">3</xref>
            )
(
            <xref ref-type="bibr" rid="ref3">3</xref>
            )
(
            <xref ref-type="bibr" rid="ref3">3</xref>
            )
(
            <xref ref-type="bibr" rid="ref3">3</xref>
            )
(
            <xref ref-type="bibr" rid="ref3">3</xref>
            )
(
            <xref ref-type="bibr" rid="ref4">4</xref>
            )
(
            <xref ref-type="bibr" rid="ref7">7</xref>
            )
(
            <xref ref-type="bibr" rid="ref7">7</xref>
            )
(
            <xref ref-type="bibr" rid="ref3">3</xref>
            )
(
            <xref ref-type="bibr" rid="ref10">10</xref>
            )
(
            <xref ref-type="bibr" rid="ref1">1</xref>
            )
(
            <xref ref-type="bibr" rid="ref8">8</xref>
            )
(
            <xref ref-type="bibr" rid="ref12">12</xref>
            )
(
            <xref ref-type="bibr" rid="ref3">3</xref>
            ) (
            <xref ref-type="bibr" rid="ref1">1</xref>
            )
(
            <xref ref-type="bibr" rid="ref3">3</xref>
            )
rem
(
            <xref ref-type="bibr" rid="ref1">1</xref>
            )
(
            <xref ref-type="bibr" rid="ref3">3</xref>
            )
(
            <xref ref-type="bibr" rid="ref3">3</xref>
            )
(
            <xref ref-type="bibr" rid="ref3">3</xref>
            )
(
            <xref ref-type="bibr" rid="ref3">3</xref>
            )
(
            <xref ref-type="bibr" rid="ref3">3</xref>
            )
(
            <xref ref-type="bibr" rid="ref3">3</xref>
            )
(
            <xref ref-type="bibr" rid="ref3">3</xref>
            )
(
            <xref ref-type="bibr" rid="ref1">1</xref>
            )
(
            <xref ref-type="bibr" rid="ref1">1</xref>
            )
(
            <xref ref-type="bibr" rid="ref1">1</xref>
            )
(
            <xref ref-type="bibr" rid="ref1">1</xref>
            )
(
            <xref ref-type="bibr" rid="ref3">3</xref>
            )
(
            <xref ref-type="bibr" rid="ref2">2</xref>
            )
(
            <xref ref-type="bibr" rid="ref3">3</xref>
            )
attacks it is often possible to observe a large number of (automatically generated) small
packets sent in sequence [14].
8. Features AvgDomainChar, AvgDomainDot, AvgDomainHyph, AvgDomainDigit,
ValidUrlRatio: have been chosen since often the domains involved in malicious tra c have names
with speci c characteristics like unusual length or presence of dots and hyphen
characters [24].
9. Feature AvgTTL: has been chosen since it is known that setting TTL values to very low
values can help the malware to change the C&amp;C server rapidly or, on the other hand,
there are some advanced malware domains setting very high TTL values [41].
10. Features NumConnections, SynAcksynRatio: have been chosen since, in DDoS attacks,
the target is unable to satisfy all the connection requests, which become much higher
than the actually established connections (identi ed by the SynAcksynRatio: see, e.g.,
the DDoS attack principle as described in [7]).
11. Features NumDstAddr, NumPorts: has been chosen since, especially in DDoS-style
attacks, all the attackers are connected to the same victim, whereas the victim has open
connections with a large number of di erent hosts (the attackers) [22].
12. Features DistinctUA, AvgDistinctUALen, HTTPPkts: have been chosen since the user
agent eld can be exploited to inject malicious code in the request, and of course HTTP
requests are the most common for malwares. Actually, almost one malware out of eight
uses a suspicious UA header in at least one HTTP request [11].
4
          </p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>MTA-KDD'19 Generation Process</title>
      <p>In this section we describe the automatic process that generates the MTA-KDD'19 dataset,
with the features listed in Section 3.1. The overall process is depicted in Figure 1.</p>
      <p>In particular, we try to apply a minimal preprocessing on the data, limited to the
manipulations needed to make the dataset suitable to be used in machine learning applications and
optimise its performances, e.g. by removing unnecessary data. Therefore, we are con dent that
the resulting dataset is not biased by any particular application.
4.1</p>
      <sec id="sec-4-1">
        <title>Feature extraction</title>
        <p>As introduced in the previous section, to build the initial dataset, i.e., to extract the tra c
features, for each distinct pcap le, we group the contained packets based on the source address
(segmentation), and then compute the features in Table 2 on these groups. The set of features
related to a speci c segment become a row of our dataset, that we shall call dataset sample.
Stating from the pcap les described in Section 3, we obtain a dataset with the characteristics
shown in Table 3. It is worth noting that the dataset is balanced, i.e., the distribution of malware
and legitimate samples is very similar.</p>
        <p>Sample Type
Malware
Legitimate
Total
In the pro ling phase we analyse the dataset features in order to detect and remove certain
low-complexity issues that may a ect the data and in uence the next phases. In particular, we
perform the following steps.</p>
        <p>
          Duplicates Duplicate samples may in uence the classi ers and cause over tting. Even if the
source dataset showed a very low number of duplicates, we remove them all.
Highly-correlated features During the pro ling phase we also extract useful information
about the feature correlation, which is measured using the Pearson method [29]. Features with
a high correlation, 0:95 in our case, are removed from the dataset since they do not convey
additional information and, if preserved, would only increase the amount of resources needed
to process the dataset in the following phases. Therefore, we randomly select a feature in each
high-correlation pair and remove it. In particular, the removed features are AvgDeltaTime
(correlated to AvgIATRx with = 0.96199), MaxIATRx (correlated to MaxIAT with =
0.99853), DNSADist (correlated to DNSQDist with = 0.99564), DNSRDist (correlated to
DNSADist with = 0.97725), DNSSDist (correlated to DNSRDist with = 0.9981), EndFlow
(correlated to StartFlow with = 1). In table 2 the features removed for high correlation are
marked with the number (
          <xref ref-type="bibr" rid="ref1">1</xref>
          ) in the "rem" column.
        </p>
        <p>Zeros, Unavailable Values, and Missing Values Some features may have zero values for
di erent reasons. "Real" zeroes are those that are useful to classify the tra c, but sometimes
a zero may be used to represent an unavailable value, which has a very di erent meaning, i.e.,
in some sense, it must be ignored by classi ers, since it does not convey any information (e.g.,
TCP-speci c features are unavailable in UDP tra c). Finally, since tra c data tend to be
algorithm
standardized scaler
minmax scaler
maxabsolute scaler
robust scaler
quantile transformer
power transformer
incomplete and noisy, as we already noticed in the formulas, some features may have missing
values indicated by a Not a Number (NaN) value.</p>
        <p>
          Based in this, we rst remove the URGFlagDist feature that is set to zero in all the samples,
so it seems to not convey any information about the tra c. In table 2 this feature is marked
with the number (
          <xref ref-type="bibr" rid="ref2">2</xref>
          ) in the "rem" column.
        </p>
        <p>Then, we remove any sample that contains an unavailable feature value. With this lter,
we drop 6828 samples, whereas the remaining dataset has still 64554 samples, 53.21% of which
represent malware and 46,79% legitimate tra c, so the dataset is now even more balanced.</p>
        <p>
          Finally, features with many NaN ( 50%, so with a small number of real values), are removed
from the dataset since they do not convey enough information. In particular, the removed
features are AvgDomainChar (97.6% missing values), AvgDomainDot (97.6%), AvgDomainHyph
(97.6%), AvgDomainDigit (97.6%), AvgTTL (99.7%), SynAcksynRatio (96.5%),
ValidURLratio (97.6%), DistinctUA (96.6%), AvgDistinctUALen (96.6%). In table 2 the features removed
for high correlation are marked with the number (
          <xref ref-type="bibr" rid="ref3">3</xref>
          ) in the "rem" column.
4.3
        </p>
      </sec>
      <sec id="sec-4-2">
        <title>Imputation</title>
        <p>In the previous phase we removed the features containing too much missing values. However,
all the remaining NaN (still present in the two features StdDevLen and StdDevLenRx) must be
replaced with real(istic) values in order to fed the dataset to a classi er. The imputation phase
compensates these missing values based on the other, concrete values of the same feature.</p>
        <p>To this aim, we selected the Multivariate Imputation by Chained Equation (MICE)
algorithm, which has high performance and e ciency. This type of imputation works by lling the
missing data multiple times. Multiple imputations are better than a single imputation as they
measure the uncertainty of the missing values more precisely. The chained equations approach
is also very exible and can handle di erent variables of di erent data types (i,e., continuous
or binary) as well as bounds or skip patterns [4].
4.4</p>
      </sec>
      <sec id="sec-4-3">
        <title>Scaling</title>
        <p>The dataset contains features highly varying in magnitudes, units and range. Since most
machine learning algorithms use the Eucledian distance between two data points in their
computations, it is necessary to scale the data with appropriate methodologies.</p>
        <p>However, feature scaling may heavily in uence the results of some algorithms. Therefore,
we rst select three a ne transformers and two nonlinear transformers i.e., MinMaxScaler
[31], MaxAbsScaler [30], StandardScaler [35], RobustScaler [34], QuantileTransformer [33] and
PowerTransformer [32], and try to scale the features with each of them. Then, to have a raw
idea of the impact of such scaling on a machine learning algorithm, we use 70% of the scaled
dataset to train three classi ers, namely Gaussian Naive Bayes (GNB), Random Forest (RF),
and Logistic Regression (LogReg), and then evaluate the reached classi er quality by computing
its weighted average precision (i.e., the ratio between correctly predicted positive observations
and total predicted positive observations) on the remaining 30%. The results in Table 4 show
that the PowerTransformer makes two of the three classi ers reach the highest precision, so our
dataset generation process will adopt this scaling methodology.
5</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Dataset Evaluation</title>
      <p>Once the dataset is correctly setup, we can apply some further techniques to evaluate its quality
and suitability for machine learning algorithms. In particular, we rst want to understand if
it actually contains an adequate amount of outliers, which can be seen as not-normal tra c
samples and can be detected by a ML classi er as anomalies, i.e., possible malware. Then, we
will also verify the detection accuracy that a more powerful (w.r.t. the GNB used for scaler
evaluation) classi er can reach using this dataset.
5.1</p>
      <sec id="sec-5-1">
        <title>Outlier Detection</title>
        <p>The basic assumptions for anomaly detection in network tra c are that \The majority of the
network connections are normal tra c, only a small percentage of tra c are malicious " [27]
and that \The attack tra c is statistically di erent from normal tra c" [15].</p>
        <p>Given the size of our dataset, we cannot apply such an outlier detection to all the features
in all the samples. Therefore, we estimated the feature importance based on the Gini index
of each feature on the entire dataset through a random forest (RF) classi er [5], and selected
the six features with the highest score (the most informative ones), i.e., DNSQDist, StartFlow,
MinIATRx, MaxLen, DeltaTime and AvgIAT. Then, we selected the largest malware pcap from</p>
        <p>MTA (258.5 MB) and extracted the dataset samples corresponding to its packets. Finally, we
identi ed the outliers following the commonly-used rule that marks a data point as an outlier if
it is more than 1:5 IQR above the third quartile or below the rst quartile, where IQR is the
Inter Quartile Range. To this aim, we used the WEKA framework [12] on the selected features
of this reduced dataset.</p>
        <p>The results clearly indicate a large number of outliers, which are also graphically shown in
Figure 2 as red dots. To further check if such outliers can be actually associated to malware
tra c, we identi ed the IP addresses corresponding to the packets generating an outlier and
discovered that all these packets were marked as part of a malware attack in the source les.
5.2</p>
      </sec>
      <sec id="sec-5-2">
        <title>Classi cation Experiment</title>
        <p>The last quality measure for our nal dataset is derived from a classi cation experiment realised
using a multilayer perceptron. In previous papers [20] we showed that this kind of classi er, if
correctly set-up and fed with a "good" dataset, can reach a very high accuracy. However, the
dataset used in [20] was smaller and not updated with respect to the one we present here.</p>
        <p>We used a multilayer perceptron with a quite trivial rectangle-shaped fully connected
network, trained for 10 epochs, with two hidden layers of 2f neurons each without dropout among
them, where f = 34 is the number of features in our nal dataset. We performed a 5-cross
fold validation, by splitting the dataset in ve segments and then performing ve experiments,
each of which uses a di erent segment (thus 20% of the dataset) as test set and the rest (80%)
as the training set. In all the experiments the network performed in a very similar way: as
an example, Figure 3 shows the confusion matrix taken from one of the experiments, with an
accuracy of 99.74%. Actually, the average accuracy of all the experiments was 99.69% with a
standard deviation of 0.24%. Also the other metrics, i.e., speci city, precision and recall, have
very good values. This clearly shows that the dataset o ers a good source of information to
detect current malware using a neural network classi er.
In this paper we presented new dataset, namely MTA-KDD'19, built to ease testing and
comparison of machine learning-based malware tra c analysis algorithms. The data sources used
are up-to-date, i.e. they contain the most recent malware tra c, and are continuously updated,
making the dataset quite realistic. Moreover, we performed an accurate feature selection and
data preprocessing in order to make the dataset as small as possible and e ectively usable in
a ML classi er, without introducing any experiment or algorithm-speci c bias. Indeed, some
preliminary quality measures on the nal dataset show that it constitutes a good source of
information to train any kind of ML classi er. The complete dataset is publicly available [18],
and we will soon publish as open source on the same site the algorithm that can be used to
build and update it.</p>
        <p>As a future work, we plan to apply more complex feature selection strategies in order to
further reduce the number of features to the most informative ones. Moreover, we are studying
how to better handle unavailable feature values, in order to reduce the dataset samples excluded
due to this issues, and evaluating the impact of the imputation phase on the dataset quality. Of
course, we will further validate our dataset by evaluating its performances on di erent neural
network architectures and other machine learning models.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Raihana</given-names>
            <surname>Abdullah</surname>
          </string-name>
          , Zaki Masud, Mohd Abdollah, Shahrin Sahib, and
          <string-name>
            <given-names>Y.</given-names>
            <surname>Robiah</surname>
          </string-name>
          .
          <article-title>Recognizing p2p botnets characteristic through tcp distinctive behaviour</article-title>
          .
          <source>International Journal of Computer Science and Information Security</source>
          ,
          <volume>9</volume>
          ,
          <string-name>
            <surname>12</surname>
          </string-name>
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Hyrum</surname>
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Anderson</surname>
            and
            <given-names>Phil</given-names>
          </string-name>
          <string-name>
            <surname>Roth</surname>
          </string-name>
          .
          <article-title>EMBER: an open dataset for training static PE malware machine learning models</article-title>
          .
          <source>CoRR</source>
          , abs/
          <year>1804</year>
          .04637,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>A.</given-names>
            <surname>Arora</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Garg</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S. K.</given-names>
            <surname>Peddoju</surname>
          </string-name>
          .
          <article-title>Malware detection using network tra c analysis in android based mobile devices</article-title>
          . In 2014 Eighth International Conference on Next Generation Mobile Apps,
          <source>Services and Technologies</source>
          , pages
          <volume>66</volume>
          {
          <fpage>71</fpage>
          ,
          <string-name>
            <surname>Sep</surname>
          </string-name>
          .
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Melissa</surname>
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Azur</surname>
            , Elizabeth Stuart, Constantine Frangakis, and
            <given-names>Philip</given-names>
          </string-name>
          <string-name>
            <surname>Leaf</surname>
          </string-name>
          .
          <article-title>Multiple imputation by chained equations: What is it</article-title>
          and how does it work?
          <source>International Journal of Methods in Psychiatric Research</source>
          ,
          <volume>20</volume>
          (
          <issue>1</issue>
          ):
          <volume>40</volume>
          {
          <issue>49</issue>
          , 3
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Leo</given-names>
            <surname>Breiman</surname>
          </string-name>
          .
          <article-title>Random forests</article-title>
          . Mach. Learn.,
          <volume>45</volume>
          (
          <issue>1</issue>
          ):5{
          <fpage>32</fpage>
          ,
          <year>October 2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>G.</given-names>
            <surname>Cabau</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Buhu</surname>
          </string-name>
          , and
          <string-name>
            <given-names>C. P.</given-names>
            <surname>Oprisa</surname>
          </string-name>
          .
          <article-title>Malware classi cation based on dynamic behavior</article-title>
          .
          <source>In 2016 18th International Symposium on Symbolic and Numeric Algorithms for Scienti c Computing (SYNASC)</source>
          , pages
          <fpage>315</fpage>
          {
          <fpage>318</fpage>
          ,
          <string-name>
            <surname>Sep</surname>
          </string-name>
          .
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Z.</surname>
          </string-name>
          <article-title>Chao-yang. Dos attack analysis and study of new measures to prevent</article-title>
          .
          <source>In 2011 International Conference on Intelligence Science and Information Engineering</source>
          , pages
          <volume>426</volume>
          {
          <fpage>429</fpage>
          . IEEE,
          <year>Aug 2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Chronicle</given-names>
            <surname>Security</surname>
          </string-name>
          . Virustotal. https://www.virustotal.com.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Brad</given-names>
            <surname>Duncan</surname>
          </string-name>
          .
          <source>Malware tra c analysis</source>
          ,
          <year>2019</year>
          . https://www.malware
          <article-title>-traffic-analysis</article-title>
          .
          <source>net.</source>
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>S.</given-names>
            <surname>Garca</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Grill</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Stiborek</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Zunino</surname>
          </string-name>
          .
          <article-title>An empirical comparison of botnet detection methods</article-title>
          .
          <source>Computers &amp; Security</source>
          ,
          <volume>45</volume>
          :
          <fpage>100</fpage>
          {
          <fpage>123</fpage>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>Martin</given-names>
            <surname>Grill</surname>
          </string-name>
          and
          <string-name>
            <given-names>Martin</given-names>
            <surname>Rehak</surname>
          </string-name>
          .
          <article-title>Malware detection using http user-agent discrepancy identi - cation</article-title>
          .
          <source>2014 IEEE International Workshop on Information Forensics and Security</source>
          ,
          <string-name>
            <surname>WIFS</surname>
          </string-name>
          <year>2014</year>
          , pages
          <fpage>221</fpage>
          {
          <fpage>226</fpage>
          , 04
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>Mark</given-names>
            <surname>Hall</surname>
          </string-name>
          , Eibe Frank, Geo rey Holmes, Bernhard Pfahringer,
          <string-name>
            <given-names>Peter</given-names>
            <surname>Reutemann</surname>
          </string-name>
          , and
          <string-name>
            <surname>Ian</surname>
            <given-names>H.</given-names>
          </string-name>
          <string-name>
            <surname>Witten</surname>
          </string-name>
          .
          <article-title>The WEKA data mining software: an update</article-title>
          .
          <source>SIGKDD Explorations</source>
          ,
          <volume>11</volume>
          (
          <issue>1</issue>
          ):
          <volume>10</volume>
          {
          <fpage>18</fpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <surname>Mitsuhiro</surname>
            <given-names>Hatada</given-names>
          </string-name>
          , You Nakatsuru, Masato Terada, and
          <string-name>
            <given-names>Yoichi</given-names>
            <surname>Shinoda</surname>
          </string-name>
          .
          <article-title>Dataset for anti-malware research</article-title>
          and research achievements shared at the workshop,
          <year>2009</year>
          . http://www.iwsec.org/mws/ 2009/paper/A1-1.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <surname>Chien-Hau Hung</surname>
          </string-name>
          and
          <string-name>
            <surname>Hung-Min Sun</surname>
          </string-name>
          .
          <article-title>A botnet detection system based on machine-learning using ow-based features</article-title>
          .
          <source>SECURWARE 2018 : The Twelfth International Conference on Emerging Security Information, Systems and Technologies</source>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>H.</given-names>
            <surname>Javits</surname>
          </string-name>
          and
          <string-name>
            <given-names>Alfonso</given-names>
            <surname>Valdes</surname>
          </string-name>
          .
          <article-title>The nides statistical component description of justi cation</article-title>
          .
          <source>Technical report</source>
          , Department of the Navy,
          <source>Space and Naval Warfare Systems Command</source>
          ,
          <volume>3</volume>
          <fpage>1994</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>Madhav</given-names>
            <surname>Kale</surname>
          </string-name>
          and
          <string-name>
            <given-names>D.M.</given-names>
            <surname>Choudhari</surname>
          </string-name>
          .
          <article-title>Ddos attack detection based on an ensemble of neural classi er</article-title>
          .
          <source>International Journal of Computer Science and Network Security</source>
          ,
          <volume>14</volume>
          (
          <issue>7</issue>
          ):
          <volume>122</volume>
          {
          <fpage>129</fpage>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>G. Kirubavathi</given-names>
            <surname>Venkatesh</surname>
          </string-name>
          and
          <string-name>
            <given-names>R. Anitha</given-names>
            <surname>Nadarajan</surname>
          </string-name>
          .
          <article-title>Http botnet detection using adaptive learning rate multilayer feed-forward neural network</article-title>
          . In Ioannis Askoxylakis, Henrich C. Pohls, and Joachim Posegga, editors,
          <source>Information Security Theory and Practice. Security, Privacy and Trust in Computing Systems and Ambient Intelligent Ecosystems</source>
          , pages
          <volume>38</volume>
          {
          <fpage>48</fpage>
          , Berlin, Heidelberg,
          <year>2012</year>
          . Springer Berlin Heidelberg.
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>Ivan</given-names>
            <surname>Letteri</surname>
          </string-name>
          .
          <source>MTA-KDD'19 dataset</source>
          ,
          <year>2019</year>
          . https://github.com/IvanLetteri/MTA-KDD-
          <volume>19</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <surname>Ivan</surname>
            <given-names>Letteri</given-names>
          </string-name>
          , Giuseppe Della Penna, and
          <string-name>
            <given-names>Pasquale</given-names>
            <surname>Caianiello</surname>
          </string-name>
          .
          <article-title>Feature selection strategies for HTTP botnet tra c detection</article-title>
          .
          <source>In 2019 IEEE European Symposium on Security and Privacy Workshops</source>
          ,
          <source>EuroS&amp;P Workshops</source>
          <year>2019</year>
          , Stockholm, Sweden, June 17-19,
          <year>2019</year>
          , pages
          <fpage>202</fpage>
          {
          <fpage>210</fpage>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <surname>Ivan</surname>
            <given-names>Letteri</given-names>
          </string-name>
          , Giuseppe Della Penna, and Giovanni De Gasperis.
          <article-title>Botnet detection in software de ned networks by deep learning techniques</article-title>
          . In Springer International Publishing, editor,
          <source>Proceedings of 10th International Symposium on Cyberspace Safety and Security</source>
          , volume
          <volume>11161</volume>
          <source>of LNCS</source>
          , pages
          <volume>49</volume>
          {
          <fpage>62</fpage>
          , 10
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>Gabriel</given-names>
            <surname>Maci-Fernndez</surname>
          </string-name>
          , Jos Camacho, Roberto Magn-Carrin,
          <article-title>Pedro Garca-Teodoro, and Roberto Thern. Ugr16: A new dataset for the evaluation of cyclostationarity-based network idss</article-title>
          .
          <source>Computers &amp; Security</source>
          ,
          <volume>73</volume>
          :
          <fpage>411</fpage>
          {
          <fpage>424</fpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <surname>Tasnuva</surname>
            <given-names>Mahjabin</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yang</surname>
            <given-names>Xiao</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Guang Sun</surname>
            , and
            <given-names>Wangdong</given-names>
          </string-name>
          <string-name>
            <surname>Jiang</surname>
          </string-name>
          .
          <article-title>A survey of distributed denialof-service attack, prevention, and mitigation techniques</article-title>
          .
          <source>International Journal of Distributed Sensor Networks</source>
          ,
          <volume>13</volume>
          (
          <issue>12</issue>
          ):
          <volume>1</volume>
          {
          <fpage>33</fpage>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <surname>Davide</surname>
            <given-names>Maiorca</given-names>
          </string-name>
          , Davide Ariu, Igino Corona, Marco Aresu, and
          <string-name>
            <given-names>Giorgio</given-names>
            <surname>Giacinto</surname>
          </string-name>
          .
          <article-title>Stealth attacks: An extended insight into the obfuscation e ects on android malware</article-title>
          .
          <source>Computers And Security (Elsevier)</source>
          ,
          <volume>51</volume>
          (June):
          <volume>16</volume>
          {
          <fpage>31</fpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>Khulood</given-names>
            <surname>Al</surname>
          </string-name>
          <string-name>
            <surname>Messabi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Monther</given-names>
            <surname>Aldwairi</surname>
          </string-name>
          , Ayesha Al Yousif,
          <string-name>
            <given-names>Anoud</given-names>
            <surname>Thoban</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Fatna</given-names>
            <surname>Belqasmi</surname>
          </string-name>
          .
          <article-title>Malware detection using dns records and domain name features</article-title>
          .
          <source>In Proceedings of the 2Nd International Conference on Future Networks and Distributed Systems</source>
          , ICFNDS '
          <volume>18</volume>
          , pages
          <issue>29:1</issue>
          {
          <issue>29</issue>
          :
          <fpage>7</fpage>
          , New York, NY, USA,
          <year>2018</year>
          . ACM.
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [25]
          <string-name>
            <surname>Asaf</surname>
            <given-names>Nadler</given-names>
          </string-name>
          , Avi Aminov, and
          <string-name>
            <given-names>Asaf</given-names>
            <surname>Shabtai</surname>
          </string-name>
          .
          <article-title>Detection of malicious and low throughput data ex ltration over the dns protocol</article-title>
          .
          <source>Computers &amp; Security</source>
          ,
          <volume>80</volume>
          :
          <fpage>36</fpage>
          {
          <fpage>53</fpage>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [26]
          <string-name>
            <given-names>Open</given-names>
            <surname>Information Security Foundation</surname>
          </string-name>
          . Suricata. https://suricata-ids.org/.
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          [27]
          <string-name>
            <surname>Leonid</surname>
            <given-names>Portnoy</given-names>
          </string-name>
          , Eleazar Eskin, and
          <string-name>
            <given-names>Sal</given-names>
            <surname>Stolfo</surname>
          </string-name>
          .
          <article-title>Intrusion detection with unlabeled data using clustering</article-title>
          .
          <source>In In Proceedings of ACM CSS Workshop on Data Mining Applied to Security (DMSA2001</source>
          , pages
          <fpage>5</fpage>
          <issue>{8</issue>
          ,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          [28]
          <article-title>Paulo Angelo Alves Resende and Andr Costa Drummond. Http and contact-based features for botnet detection</article-title>
          . Wiley,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          [29]
          <string-name>
            <surname>Ronald</surname>
            <given-names>Rousseau</given-names>
          </string-name>
          , Leo Egghe, and
          <string-name>
            <given-names>Raf</given-names>
            <surname>Guns</surname>
          </string-name>
          . Chapter 4
          <article-title>- statistics</article-title>
          . In Ronald Rousseau, Leo Egghe, and Raf Guns, editors,
          <source>Becoming Metric-Wise, Chandos Information Professional Series</source>
          , pages
          <volume>67</volume>
          {
          <fpage>97</fpage>
          .
          <string-name>
            <surname>Chandos</surname>
            <given-names>Publishing</given-names>
          </string-name>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          [30]
          <string-name>
            <surname>Scikit-Learn</surname>
          </string-name>
          . MaxAbsScaler. https://scikit-learn.org/stable/modules/generated/sklearn. preprocessing.MaxAbsScaler.html.
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          [31]
          <string-name>
            <surname>Scikit-Learn</surname>
          </string-name>
          . MinMaxScaler. https://scikit-learn.org/stable/modules/generated/sklearn. preprocessing.MinMaxScaler.html.
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          [32]
          <string-name>
            <surname>Scikit-Learn</surname>
          </string-name>
          . PowerTransformer. https://scikit-learn.org/stable/modules/generated/ sklearn.preprocessing.PowerTransformer.html.
        </mixed-citation>
      </ref>
      <ref id="ref33">
        <mixed-citation>
          [33]
          <string-name>
            <surname>Scikit-Learn</surname>
          </string-name>
          . QuantileTransformer. https://scikit-learn.org/stable/modules/generated/ sklearn.preprocessing.QuantileTransformer.html.
        </mixed-citation>
      </ref>
      <ref id="ref34">
        <mixed-citation>
          [34]
          <string-name>
            <surname>Scikit-Learn</surname>
          </string-name>
          . RobustScaler. https://scikit-learn.org/stable/modules/generated/sklearn. preprocessing.RobustScaler.html.
        </mixed-citation>
      </ref>
      <ref id="ref35">
        <mixed-citation>
          [35]
          <string-name>
            <surname>Scikit-Learn</surname>
          </string-name>
          . StandardScaler. https://scikit-learn.org/stable/modules/generated/ sklearn.preprocessing.StandardScaler.html.
        </mixed-citation>
      </ref>
      <ref id="ref36">
        <mixed-citation>
          [36]
          <string-name>
            <surname>Manoj</surname>
            <given-names>Thakur</given-names>
          </string-name>
          , Divye Khilnani, Kushagra Gupta, Sandeep Jain, Vineet Agarwal, Suneeta Sane, Sugata Sanyal, and
          <string-name>
            <given-names>Prabhakar</given-names>
            <surname>Dhekne</surname>
          </string-name>
          .
          <article-title>Detection and prevention of botnets and malware in an enterprise network</article-title>
          .
          <source>International Journal of Wireless and Mobile Computing</source>
          ,
          <volume>5</volume>
          (
          <issue>2</issue>
          ):
          <volume>144</volume>
          {
          <fpage>153</fpage>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref37">
        <mixed-citation>
          [37]
          <article-title>The UCI KDD Archive</article-title>
          .
          <source>Kdd cup 1999 data</source>
          ,
          <year>1999</year>
          . http://kdd.ics.uci.edu/databases/ kddcup99/kddcup99.html.
        </mixed-citation>
      </ref>
      <ref id="ref38">
        <mixed-citation>
          [38]
          <string-name>
            <surname>Fengguo</surname>
            <given-names>Wei</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>Yuping</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Sankardas</given-names>
            <surname>Roy</surname>
          </string-name>
          , Xinming Ou, and
          <string-name>
            <given-names>Wu</given-names>
            <surname>Zhou</surname>
          </string-name>
          .
          <article-title>Deep ground truth analysis of current android malware</article-title>
          .
          <source>In International Conference on Detection of Intrusions and Malware, and Vulnerability Assessment (DIMVA'17)</source>
          , pages
          <fpage>252</fpage>
          {
          <fpage>276</fpage>
          ,
          <string-name>
            <surname>Bonn</surname>
          </string-name>
          , Germany,
          <year>2017</year>
          . Springer.
        </mixed-citation>
      </ref>
      <ref id="ref39">
        <mixed-citation>
          [39]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Xiang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Zhou</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Guo</surname>
          </string-name>
          .
          <article-title>Flexible deterministic packet marking: An ip traceback system to nd the real source of attacks</article-title>
          .
          <source>IEEE Transactions on Parallel and Distributed Systems</source>
          ,
          <volume>20</volume>
          (
          <issue>4</issue>
          ):
          <volume>567</volume>
          {
          <fpage>580</fpage>
          ,
          <string-name>
            <surname>April</surname>
          </string-name>
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref40">
        <mixed-citation>
          [40]
          <string-name>
            <given-names>X.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , Chunjie Zhang, and
          <string-name>
            <given-names>Changsheng</given-names>
            <surname>Li</surname>
          </string-name>
          .
          <article-title>Ensemble feature selection with discriminative and representative properties for malware detection</article-title>
          .
          <source>In 2016 IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS)</source>
          , pages
          <fpage>674</fpage>
          {
          <fpage>675</fpage>
          ,
          <string-name>
            <surname>April</surname>
          </string-name>
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref41">
        <mixed-citation>
          [41]
          <string-name>
            <given-names>G.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Xu</surname>
          </string-name>
          , and
          <string-name>
            <given-names>B.</given-names>
            <surname>Wu</surname>
          </string-name>
          .
          <article-title>Detecting apt malware infections based on malicious dns and tra c analysis</article-title>
          .
          <source>IEEE Access</source>
          ,
          <volume>3</volume>
          :
          <fpage>1132</fpage>
          {
          <fpage>1142</fpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref42">
        <mixed-citation>
          [42]
          <string-name>
            <given-names>K.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Su</surname>
          </string-name>
          , and
          <string-name>
            <given-names>W.</given-names>
            <surname>Li</surname>
          </string-name>
          .
          <article-title>Fest: A feature extraction and selection tool for android malware detection</article-title>
          .
          <source>In 2015 IEEE Symposium on Computers and Communication (ISCC)</source>
          , pages
          <fpage>714</fpage>
          {
          <fpage>720</fpage>
          ,
          <year>July 2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref43">
        <mixed-citation>
          [43]
          <string-name>
            <given-names>N. arkac and .</given-names>
            <surname>Soukpnar</surname>
          </string-name>
          .
          <article-title>Frequency based metamorphic malware detection</article-title>
          .
          <source>In 2016 24th Signal Processing and Communication Application Conference (SIU)</source>
          , pages
          <fpage>421</fpage>
          {
          <fpage>424</fpage>
          , May
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>