LummaC2        , also known as Lumma Stealer, is an advanced malware that has recently released its latest version, LummaC2 v4.0     . This new version introduces an innovative anti-sandbox technique that utilizes trigonometry to analyze the position of the cursor . By capturing cursor positions and performing trigonometric calculations , LummaC2 v4.0 can distinguish human users from automated analysis tools, allowing it to evade detection in sandbox environments commonly used for malware analysis. This novel anti-sandbox technique poses a significant challenge for security analysis tools , highlighting the need for robust sandboxing solutions and advanced analysis techniques .
In addition to its anti-sandbox capabilities, LummaC2 v4.0 is designed for information theft, with a particular focus on sensitive data such as login credentials and credit card details. It requires customers to use a crypter to conceal its raw form and prevent leaks , further enhancing its ability to evade detection. The ongoing presence of LummaC2 v4.0 in underground forums since December 2022 and its continuous updates indicate an ongoing threat that could result in significant financial losses .
LummaC2 v4.0 has undergone significant updates , including obfuscation , encryption , and the use of dynamic configuration files . The threat actor selling LummaC2 v4.0 discourages distributing unaltered samples to maintain control and avoid detection . This dynamic malware strain is actively being developed, constantly enhancing its code base and incorporating more advanced features and security measures in the future . Its introduction of trigonometry as an anti-sandbox measure demonstrates a high level of sophistication , demanding sustained scrutiny and proactive defense strategies .
The new anti-sandbox technique used by LummaC2 involves delaying the detonation of the malware until human mouse activity is detected. It relies on trigonometry to analyze the positions of the cursor and determine if they indicate human behavior. The malware captures multiple cursor positions and checks if each position is different from the previous one . If all the calculated angles formed between consecutive vectors are lower than 45º, the malware considers it has detected human mouse behavior and continues with its execution . If any of the angles is bigger than 45º , the process starts again by ensuring mouse movement and capturing new cursor positions . This technique allows LummaC2 to evade detection and extract valuable information from infected hosts   .
Overall, LummaC2 v4.0 is a highly sophisticated and constantly evolving malware that poses a significant threat to security analysis tools. Its use of trigonometry as an anti-sandbox measure demonstrates the need for robust sandboxing solutions and advanced analysis techniques to effectively detect and mitigate its impact. It is predicted that future malware may incorporate AI to learn about user behavior before launching , requiring sandboxes to also use AI to simulate human behavior .