# Similarity between Qealler/Pyrogenic variants -Part 0x3 **[securityinbits.com/malware-analysis/similarity-between-qealler-pyrogenic-variants-part-0x3/](https://www.securityinbits.com/malware-analysis/similarity-between-qealler-pyrogenic-variants-part-0x3/)** February 4, 2020 In this last part, we will compare Old Qealler with the new Qealler/Pyrogenic variant. The [previous posts Pyrogenic Infostealer static analysis – Part 0x1 &](https://www.securityinbits.com/malware-analysis/pyrogenic-infostealer-static-analysis-part-0x1/) Unpacking Pyrogenic/Qealler using Java agent -Part 0x2 went through the latest Pyrogenic/Qealler statically and dumping the unpacked code using Java agent. CONTENTS **Brief Timeline** First Old Qealler sample [4] (MD5: 65ab1ef8e9cef5c489d4b01cbb8a2a22) found on ANY.RUN [6] The tweet[1] by @James_inthe_box first mentioned the Old Qealler. @jeFF0Falltrades posted Qealler Unloaded deep dive analysis [2] . Multiple cyber security company posted articles[3] about Qealler variant using the Qazagne Python credential harvester. Based on ANY.RUN submissions, Old Qealler variant using the Qazagne stopped around April 2019 Based on ANY.RUN submissions, Qealler tagged samples started around Aug 2019 and continue till now Aug 2020. **June 2018** First Old Qealler sample [4] (MD5: 65ab1ef8e9cef5c489d4b01cbb8a2a22) found on ANY.RUN **Aug - Sep 2018** The tweet[1] by @James_inthe_box first mentioned the Old Qealler. @jeFF0Falltrades posted Qealler Unloaded deep dive analysis [2] . **Jan-Feb 2019** Multiple cyber security company posted articles[3] about Qealler variant using the Qazagne Python credential harvester. **Apr 2019** Based on ANY.RUN submissions, Old Qealler variant using the Qazagne stopped around April 2019 ----- **Aug 2019 - Now** Based on ANY.RUN submissions, Qealler tagged samples started around Aug 2019 and continue till now Aug 2020. _grade_ Note: When this post mention Old Qealler it means that the variant which was using the Qazagne Python credential harvester. **Similarity between Qealler variants** For easy/fast comparison, I have imported unpacked code of both Qealler variant in Eclipse IDE. I will compare this Old Qealler (MD5: 8D564A18B902461C19936CCB1F4E2F12) [5] and new Pyrogenic/Qealler sample (MD5: F0E21C7789CD57EEBF8ECDB9FADAB26B) [6] used in the previous posts. Highly recommended to read through the existing analysis of Old Qealler Unloaded[2] by @jeFF0Falltrades & article [3] by Zscaler. Both Qealler variants use the same Qrypter packer variant. 1. AES Key bbb6fec5ebef0d93 You will find multiple references to bbb6fec5ebef0d93 as shown below. This is the AES key used in both variant. ----- Same AES Key bbb6fec5ebef0d93 2. UUID Key 2a898bc98aaf6c96f2054bb1eadc9848eb77633039e9e9ffd833184ce553fe9b Config is stored in a key value pair and key for UUID present in both variants. This key is also present in the Old Qealler Unloaded[2] article and the same string “Loaded:” is used in both variants. Same UUID key 3. Systeminfo in JSON format It collects the system info in JSON format before encrypting and sending it to CC. Both Qealler variants use the same key e.g osName, osVersion, osArch, totalMemory and code structure as shown below. localIpAddress & globalIpAddress keys are added to the new Qealler version. ----- Systeminfo in JSON format Qealler Pyrogenic 4. ShutdownHook It is used when we want to run some code when JVM is shutting down and both variants use the addShutdownHook() to delete the files. ----- ShutdownHook 5. QeallerV4 string Found this string “obfuscated/META-INF/QeallerV4.kotlin_module” in memory in the new Qealler/Pyrogenic sample. Maybe this is version 4 ? **Conclusion** In this Java malware analysis series we started with static analysis, then moved to Unpacking code using Java agent and in this last part we compared the Qealler variant. These above similarities are the most significant which I can find based on code analysis. I can conclude that the Malware author moved the Credential stealing from Python to Java based code. Malware authors are experienced coder as they divided the source code in multiple sensible packages and gave proper name to functions, variables and classes. [Hope you enjoyed this post, please Follow @Securityinbits me on Twitter to get the latest](https://twitter.com/Securityinbits?ref_src=twsrc%5Etfw) update about my malware analysis & DFIR journey. Happy Reversing 😊 **References** [1. Tweet by @James_inthe_box – (MD5: 65ab1ef8e9cef5c489d4b01cbb8a2a22) First](https://twitter.com/James_inthe_box/status/1035190253697396737) Old Qealler tweet Aug 2018 [2. Qealler Unloaded by @jeFF0Falltrades – Sep 2018](https://github.com/jeFF0Falltrades/Malware-Writeups/blob/master/Qealler/Qealler-Unloaded.pdf) ----- [3. Qealler – a new JAR-based information stealer – Feb 2019](https://www.zscaler.com/blogs/research/qealler-new-jar-based-information-stealer) [4. ANY.RUN – (MD5: 65ab1ef8e9cef5c489d4b01cbb8a2a22) Old Qealler June 2018](https://app.any.run/tasks/e00a9231-8b1e-41da-a9d9-4a14b70637a7/) [5. ANY.RUN – (MD5: 8D564A18B902461C19936CCB1F4E2F12) Old Qealler Sep 2018](https://app.any.run/tasks/fac4ef49-9f8b-4000-a838-e3421c0578db/) [6. ANY.RUN – (MD5: F0E21C7789CD57EEBF8ECDB9FADAB26B) New](https://app.any.run/tasks/b59d58a1-4512-48a4-949e-6c80af823a5d/) Qealler/Pyrogenic Nov 2019 -----