>>16I'm confused as well. loops like that exist in Python and Javashit but it's clearly neither of those languages. I'd guess it's a Javashit dialect or something that compiles down to Javashit but then you have
uint8_t
which wouldn't make sense in such a high-level language. maybe it's just pseudocode
>>17antivirus does not care about the whole RAM, it cares about IPC (especially starting a thread in another process, which still can be done on windows using undocumented functions), disk I/O (especially modification of executables but with the proliferation of ransomware/cryptoviruses there's also mass modification of documents in the background), keystroke logging etc.
because most of the stuff done by viruses boils down to syscalls, AV heuristics are mostly about setting up a sandbox and emulating those syscalls. the algorithm in this thread wouldn't even understand syscalls - it wants 8-bit sequences in RAM to represent higher values, it does I/O with controller interrupts and it learns to play games this way. this of course falls apart with more complex games where there are multiple variables and progressing in the game does not correspond to them going up (even a simple 2D map confuses it). you can't detect malware this way becuase malware doesn't require variables to go up or down in predictable patterns (with a small exception: malware that abuses kernel exploits will usually seek to modify its creds to higher-privileged ones).
IHBT