Saturday, February 8, 2025
HomeCyber Security NewsSurge in Open Source Malware Stealing Login Credentials & Sensitive Data

Surge in Open Source Malware Stealing Login Credentials & Sensitive Data

Published on

SIEM as a Service

Follow Us on Google News

Over the decade, Python has been dominating the programming languages and consistently growing with open-source love. 

Numerous popular Python projects exist that are used by millions of users. However, besides this, in recent times, it’s been noted that open-source malware is emerging.

The recent repositories share Python code for data theft, and minimal Python knowledge enables anyone to create and deploy malware.

Cybersecurity researchers at K7 Security Labs recently identified a significant surge in open-source malware, which is found to be stealing login credentials and sensitive data.

Surge in Open Source Malware

Over the decade, Python has dominated the programming languages and consistently grown with open-source love. 

Numerous popular Python projects exist that are used by millions of users. However, besides this, in recent times, it’s been noted that open-source malware is emerging.

The recent repositories share Python code for data theft, and minimal Python knowledge enables anyone to create and deploy malware.

File type Scan
File type Scan (Source – K7 Labs)

Security analysts received a sample from a third-party antivirus tester, initially seeming like a Python-based binary but undetected by ‘Detect it easy’ as a pyinstaller packer. 

Revealed as ‘BlankGrabber’ malware with Python-related strings. Despite a fake certificate and harmless appearance, it extracts content using pyinstxtractor. 

Decompiling ‘loader-o.pyc’ with pycdc exposes ‘stub-o.pyc,’ leading to obfuscated code.

In the execution environment, it scans for the following data that are blackilisted:-

  • UUIDs
  • computer names
  • Usernames
  • Tasks in the execution environment

Later, it checks the registry keys for VM traces. Confirming a safe environment triggers multithreaded stealer functions to swiftly collect and send data to the threat actor.

Data Gathered by the Stealer

Here below, we have mentioned all the types of data that the stealer gathers:-

  • Browser Data
  • Discord Data
  • Telegram data
  • Crypto Wallet data
  • Wifi password data
  • Screenshots
  • Webcam capture
  • System Info & File Stealer

In late 2022, this malware emerged, and the developer of this malware claims educational intent but uses it maliciously. 

Python beginners can easily customize the GUI, simplifying it for all, and the builder batch triggers the gui.py input from the threat actor.

Builder GUI
Builder GUI (Source – K7 Labs)

Meanwhile, the malicious code in stub.py replaces the “Settings” variables. The BlankOBF.py does the following things with the code:- 

  • Obfuscates the code
  • Compiles the code
  • Splits the code

The junk codes were added for analysis complexity. Besides this, they were compiled and archived with AES encrypted by the repo’s pyaes module in PyPi with typo-squatting.

IoCs

IoCs
IoCs (Source – K7 Labs)
Gurubaran
Gurubaran
Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Latest articles

UK Pressures Apple to Create Global Backdoor To Spy on Encrypted iCloud Access

United Kingdom has reportedly ordered Apple to create a backdoor allowing access to all...

Autonomous LLMs Reshaping Pen Testing: Real-World AD Breaches and the Future of Cybersecurity

Large Language Models (LLMs) are transforming penetration testing (pen testing), leveraging their advanced reasoning...

Securing GAI-Driven Semantic Communications: A Novel Defense Against Backdoor Attacks

Semantic communication systems, powered by Generative AI (GAI), are transforming the way information is...

Cybercriminals Target IIS Servers to Spread BadIIS Malware

A recent wave of cyberattacks has revealed the exploitation of Microsoft Internet Information Services...

Supply Chain Attack Prevention

Free Webinar - Supply Chain Attack Prevention

Recent attacks like Polyfill[.]io show how compromised third-party components become backdoors for hackers. PCI DSS 4.0’s Requirement 6.4.3 mandates stricter browser script controls, while Requirement 12.8 focuses on securing third-party providers.

Join Vivekanand Gopalan (VP of Products – Indusface) and Phani Deepak Akella (VP of Marketing – Indusface) as they break down these compliance requirements and share strategies to protect your applications from supply chain attacks.

Discussion points

Meeting PCI DSS 4.0 mandates.
Blocking malicious components and unauthorized JavaScript execution.
PIdentifying attack surfaces from third-party dependencies.
Preventing man-in-the-browser attacks with proactive monitoring.

More like this

UK Pressures Apple to Create Global Backdoor To Spy on Encrypted iCloud Access

United Kingdom has reportedly ordered Apple to create a backdoor allowing access to all...

Autonomous LLMs Reshaping Pen Testing: Real-World AD Breaches and the Future of Cybersecurity

Large Language Models (LLMs) are transforming penetration testing (pen testing), leveraging their advanced reasoning...

Securing GAI-Driven Semantic Communications: A Novel Defense Against Backdoor Attacks

Semantic communication systems, powered by Generative AI (GAI), are transforming the way information is...