Algorithm 1 Algorithm to compare a set of samples in terms of bitstring complexity.

{M is our dated malware corpus}

for all do

If P = Q then

next; {We do not compare a sample to itself}

end if

if then

if then

else

end if

end if

end for