Cyber Crime

Ongoing supply chain attack targets Python developers with WASP Stealer

A threat actor tracked as WASP is behind an ongoing supply chain attack targeting Python developers with the WASP Stealer.

Checkmarx researchers uncovered an ongoing supply chain attack conducted by a threat actor they tracked as WASP that is targeting Python developers.

The attackers are using Python packages to distribute a polymorphic malware called W4SP Stealer.

The malicious code is able to steal the victim’s Discord accounts, passwords, crypto wallets, credit cards, and other sensitive data on the victim’s PC. Stolen data have been sent them back to the attacker through a hard-coded Discord webhook address.

The threat actor is offering the WASP stealer for $20 claiming it is undetectable and is heavily “protected by some awesome obfuscation.” The supply chain attacks seem to be financially motivated.

Checkmarx investigation started from recent reports from Phylum and Check Point, which spotted tens of PyPI packages delivering the W4SP stealer to developers’ systems.

The researchers pointed out that the attacks stand out for the use of steganography to hide the polymorphic malware hidden within an image file hosted on Imgur.

Once a malicious package is installed, the setup.py script is executed, and additional Python packages are deployed on the victim’s system, including judyb, which provides steganography utilities.

The setup.py script downloads a .png image from Imgur and saves it in the operating system’s temp directory. Then the scripts uses the “lsb.reveal” function of the judyb package to extract the hidden code from the image.

After the installed code is executed, it fetches another piece of code from the URL “hxxp://misogyny[.]wtf/inject/UsRjS959Rqm4sPG4”.

The overall process ends with the W4SP Stealer (aka WASP Stealer) infection.

The analysis of the malicious code allowed the expert to find an open invitation to join the attacker’s Discord server managed by a single user that goes with the name of “Alpha.#0001”.

The attacker is creating many fake users to appear legitimate while stealing the profile description from popular user accounts.

The researchers analyzed the Discord server “WASP” and discovered that hundreds of victims have been infected by this campaign.

The same actor, recently started using a new username on PyPI (“halt”) to upload typosquatting libraries that leveraged the StarJacking technique (stealing the stars from another project).

“The level of manipulation used by software supply chain attackers is increasing as attackers get increasingly more clever.” concludes the report. “This is the first time seen polymorphic malware used in software supply chain attacks, and It seems we will experience even more attacks like this.”

Follow me on Twitter: @securityaffairs and Facebook and Mastodon

[adrotate banner=”9″][adrotate banner=”12″]

Pierluigi Paganini

(SecurityAffairs – hacking, WASP Stealer)

[adrotate banner=”5″]

[adrotate banner=”13″]

Pierluigi Paganini

Pierluigi Paganini is member of the ENISA (European Union Agency for Network and Information Security) Threat Landscape Stakeholder Group and Cyber G7 Group, he is also a Security Evangelist, Security Analyst and Freelance Writer. Editor-in-Chief at "Cyber Defense Magazine", Pierluigi is a cyber security expert with over 20 years experience in the field, he is Certified Ethical Hacker at EC Council in London. The passion for writing and a strong belief that security is founded on sharing and awareness led Pierluigi to find the security blog "Security Affairs" recently named a Top National Security Resource for US. Pierluigi is a member of the "The Hacker News" team and he is a writer for some major publications in the field such as Cyber War Zone, ICTTF, Infosec Island, Infosec Institute, The Hacker News Magazine and for many other Security magazines. Author of the Books "The Deep Dark Web" and “Digital Virtual Currency and Bitcoin”.

Recent Posts

FBI chief says China is preparing to attack US critical infrastructure

China-linked threat actors are preparing cyber attacks against U.S. critical infrastructure warned FBI Director Christopher…

12 hours ago

United Nations Development Programme (UNDP) investigates data breach

The United Nations Development Programme (UNDP) has initiated an investigation into an alleged ransomware attack…

14 hours ago

FIN7 targeted a large U.S. carmaker with phishing attacks

BlackBerry reported that the financially motivated group FIN7 targeted the IT department of a large…

1 day ago

Law enforcement operation dismantled phishing-as-a-service platform LabHost

An international law enforcement operation led to the disruption of the prominent phishing-as-a-service platform LabHost.…

1 day ago

Previously unknown Kapeka backdoor linked to Russian Sandworm APT

Russia-linked APT Sandworm employed a previously undocumented backdoor called Kapeka in attacks against Eastern Europe since…

1 day ago

Cisco warns of a command injection escalation flaw in its IMC. PoC publicly available

Cisco has addressed a high-severity vulnerability in its Integrated Management Controller (IMC) for which publicly…

2 days ago

This website uses cookies.