Post · 1 min read· p. 42

(untitled) For those that are into malware classification, here's…

For those that are into malware classification, here's some code that one can include in a piece of malware to skew the Levenshtein distance described in the recently published MS paper.

text
int j, i = random_integer_in_range(0, 50000);
FILE *f;
for( j = 0; j < i; j++ ){
   f = fopen("c:\\test.txt", "rt");
   flose(f);
}