98
Key types of extracted behaviors include
● System Calls (s): These Strace-logged entries unveil low-
level kernel operations such as memory operations, file
accesses, and inter-process communications.
● Network Activity (n): IP address, port number, protocols
(TCP/UDP/HTTP), DNS query, and packet size are all
recorded by Wireshark.
● IPC Events (c): tracks how different app components—such
as services, activities, and broadcast receivers—communicate
with each other.
To generate a multivariate time-series input, each of these event types
is represented as binary or numerical values and combined into one vector
for each time interval (e.g., every 600 milliseconds).
Table 3.7 Example of Encoded Time-Step Features
Timestep
System Call
Vector
Network
Features
IPC
Features
Composite Feature
Vector
t1 [1, 0, 1, 0] [0, 1, 0] [1, 0] [1, 0, 1, 0, 0, 1, 0, 1, 0]
t2 [0, 1, 1, 1] [1, 0, 1] [0, 1] [0, 1, 1, 1, 1, 0, 1, 0, 1]
... ... ... ... ...
The final input to the GRU network is a 3D tensor of shape
(samples, timesteps, features), where