**🕵️♂️ Malware Analysis — OCSP Abuse & Registry Tampering in a .NET Sample**
A .NET malware sample was analysed that hides command-and-control traffic inside OCSP certificate-check requests and makes massive changes to the Windows Registry, including autorun and file-association hijacks. An attacker could use this to persist on a machine, bypass UAC and sabotage the system.
During a deep dive analysis, I investigated a .NET malware sample that showed signs of encrypted OCSP-based communication and massive Windows Registry manipulation. The sample was executed and analyzed on a Windows 10 system with FLARE VM.
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 malware abuses legitimate OCSP traffic to blend in and uses registry writes for persistence and privilege escalation.
Impact
The malware could persist, hijack file execution, bypass UAC and cause widespread registry damage, though the text only hypothesises its purpose.
What the attacker needed
Malware execution on Windows 10; analysis environment (FLARE VM)
How it was found
- Execute the sample on a Windows 10 system with FLARE VM.
- Capture network traffic and observe a suspicious OCSP GET request.
- Decode the request string to reveal binary ASN.1-like content.
- Use Regshot to record registry modifications.
- Identify autorun, service, file-association and UAC bypass registry keys.
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 about analysing a malicious program (malware) rather than a website bug. The program pretends to make normal certificate-check requests (OCSP) to hide its communication with its controller, and it changes many Windows Registry settings so it starts automatically and can tamper with the system.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.