7 distinct techniques documented for this family, organized by ATT&CK tactic.
Tools: Ghidra → Deep binary reverse engineering JADX → Android APK → Java-like code
...вызов нативных функций анализа через Native API (T1106, Execution) ... При модификации и переподписи приложения добавляется Dylib Hijacking...
The next thing we really want to track down is the checksum bytes, as we’ll need to be able to generate valid ones based on new payloads in order to start spoofing more interesting payloads... I re-wrote the checksum instructions in Python... The current version of wc2shell can generate the two checksum bytes shown above and inject traffic.
Статический анализ class-dump, otool, strings T1027 (Obfuscated Files) ... Классы, методы, строки, URL, ключи.
The next thing we really want to track down is the checksum bytes, as we’ll need to be able to generate valid ones based on new payloads in order to start spoofing more interesting payloads... I re-wrote the checksum instructions in Python... The current version of wc2shell can generate the two checksum bytes shown above and inject traffic.
First, I decided to break on the sendto function. I know from past experience that that is the native windows networking call for sending UDP packets, likewise recvfrom is for reading them... Alternatively, since you know the address of the function, you can use Frida with onEnter to read the arguments.
The next thing we really want to track down is the checksum bytes, as we’ll need to be able to generate valid ones based on new payloads in order to start spoofing more interesting payloads... I re-wrote the checksum instructions in Python... The current version of wc2shell can generate the two checksum bytes shown above and inject traffic.
Following this same idea over and over for each type of packets, we can slowly learn what packets look like for each gamestate update... I was able to make a partial table of command bytes by reading the 11th byte of any command.
To start reverse engineering, open up ghidra and load the original gameassembly.dll in to it. Then, import the il2cpp_ghidra.h ... Next, we need to run a script given to us by il2cppdumper called ghidra_with_struct.py ... you should now have detailed data types and functions in your ghidra.
First, I decided to break on the sendto function. I know from past experience that that is the native windows networking call for sending UDP packets, likewise recvfrom is for reading them... Alternatively, since you know the address of the function, you can use Frida with onEnter to read the arguments.
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.