Skip to content
Write-up Advanced

Persistence, AMSI Bypass & Final Payload Execution (Part 3)

A multi-stage malware campaign delivered through a fake recruitment workflow used scheduled tasks and WMI event subscriptions for persistence, plus AMSI and ETW tampering to evade detection. The final payload was stored encrypted in a file disguised as an icon, decrypted with XOR, unpacked through several layers and run in memory.

medium.com

Published on medium.com

In Part 1, we analyzed the recruitment-themed delivery chain that leveraged LinkedIn, Google Forms, and Dropbox to distribute a suspicious software package.

Sivasankar Das, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the victim was socially engineered into running a signed binary from an archive that dropped a portable Python runtime and a script disguised as a DLL, which then installed persistence and decrypted its payload.

Impact

The malware could survive reboots, recreate its own persistence if removed, and run its final payload in memory while reducing telemetry, though the text gives no evidence of what the payload actually did.

What the attacker needed

Victim runs the delivered archive; Windows host; portable Python runtime present

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This is a write-up of malicious software found during an investigation, not a flaw in a website. The malware hid its real code inside files that looked harmless, such as an icon, and set up automatic restart points so it would keep running after a reboot. It also tried to switch off some of Windows' built-in security monitoring so it would be harder to spot.

Similar reports

Same bug class and techniques, clearest first.