Malicious Batch analysis
Obfuscated .bat and .cmd files decoded: variable substrings, carets and set/call tricks removed.
Static analysis: the file is parsed and decoded, never executed. Figures below cover public submissions of the last 30 days. Updated 2026-11-18.
- Analysed
- 517
- Malicious
- 517
- Rendered readable
- 515100%
- 3 layers or more
- 508
« Rendered readable »: malicious files whose scripts or macros were deobfuscated or decompiled. « 3 layers or more »: malicious files whose infection chain unpacked into at least three stages. Updated hourly.
How Malva.RE handles it
Batch obfuscation relies on environment variable substrings, caret escapes, delayed expansion and chained set and call statements.
Malva.RE normalises the script statically and resolves these constructs until the real commands are readable.
PowerShell and other command invocations found inside are extracted and decoded as their own stage.
Typical chain: Batch file, decoded PowerShell command, next-stage payload.
Latest public Batch samples rendered readable
Frequently asked questions
- What does Malva.RE extract from a malicious Batch file?
- Batch obfuscation relies on environment variable substrings, caret escapes, delayed expansion and chained set and call statements. Malva.RE normalises the script statically and resolves these constructs until the real commands are readable. In the last 30 days, 515 of 517 malicious batch files analysed publicly were rendered readable.
- Is the Batch file executed during the analysis?
- No. The analysis is static: the file is parsed and its scripts or macros are decoded by evaluating their expressions, never run on a host. The report is ready in seconds and can be shared by link.
- What does a typical Batch infection chain look like?
- Typically: Batch file, decoded PowerShell command, next-stage payload. Malva.RE follows every stage statically and shows the chain as a graph. 508 malicious batch files analysed in the last 30 days unpacked into three layers or more.
- Can I analyse my own Batch files for free?
- Yes. The free plan analyses up to 6 files a week and its reports are public. Private analyses, exports and the API come with the paid plans.
Analyze your Batch file, free
Drop a suspicious file: Malva.RE unpacks it layer by layer and shows the readable code, the malware family and its C2, without executing it. Free-plan reports are public.
Analyze your Batch file, free