<!-- Canonical page: https://reversedwithai.com/p/windows-loader-static-analysis-codex-rea -->
Canonical page: https://reversedwithai.com/p/windows-loader-static-analysis-codex-rea

# Analysed a Windows loader without running it, using Codex, REA and Ghidra

> Static malware analysis with Codex, REA and Ghidra, nothing executed.

Fedele Mantuano had Codex analyse a MalwareBazaar loader statically in a no-network Docker lab. The report covers its structure, destinations and limits.

## Key facts

- Target: Windows loader sample (MalwareBazaar)
- Category: Malware (defensive)
- Platform: Windows x64 (static analysis)
- Models: Codex
- Tools: Codex, REA, Ghidra, Docker
- Outcome: Research
- Checks: Source available: no; Repro steps: no; Real hardware: not reported; Verified by others: not reported
- Author: [Fedele Mantuano](https://x.com/fedelemantuano)
- Added: 2026-10-18
- Updated: 2026-10-18
- Sources reviewed: 2026-10-18 (editor)

## What was done

A MalwareBazaar sample first labelled an infostealer was analysed statically with Codex, REA and Ghidra. The evidence supported calling it a loader, not a stealer, and the write-up marks what is known and what depends on payloads that were never obtained. This is a published write-up, not software. The post by Fedele Mantuano is dated 18 October 2026, with the analysis done on 17 October, and the full report is not public.

Codex was asked to use REA to inspect the executable inside a prepared Docker lab with no network access and the sample mounted read-only. It was told not to run the malware, use Wine or contact any endpoint. The 98 MB Windows x64 executable embeds a Bun runtime and a JavaScript bundle, so the work focused on the extracted 345 KB bundle. Obfuscation (string tables, RC4, Base64, XOR) was decoded with analyst-written decoders, and some values were checked against an independent Python implementation. The author says Codex with REA explored the binary and produced the report, while Mantuano chose the sample, set the constraints, built and checked the lab and wrote the decoders. No Codex model version is named.

The report describes system profiling and environment checks, screen capture, encrypted HTTPS reporting, payload download and decryption, in-memory PE loading and a "miner" branch. It lists hardcoded and fallback server destinations (fixed servers and a Telegram fallback) and found no domain generation algorithm. It also separates what the code says from what was observed. The sample was never run, the miner payload was not obtained, no dynamic confirmation was done, and missing remote components limit the conclusions. The infostealer label is not confirmed.

To repeat it you need the public sample, REA 6.5.0, Ghidra 12.1.4, Codex and a Docker lab with no network and a read-only root; the appendix gives macOS setup steps.

Sources:
- https://codegeeksai.github.io/en/blog/static-malware-analysis-rea-codex/

## Questions about Windows loader sample (MalwareBazaar)

### What is the Windows loader sample (MalwareBazaar) project?

Fedele Mantuano had Codex analyse a MalwareBazaar loader statically in a no-network Docker lab. The report covers its structure, destinations and limits. It is listed under Malware (defensive) for Windows x64 (static analysis).

### Which AI model was used on Windows loader sample (MalwareBazaar)?

The entry names Codex. The tools named alongside are Codex, REA, Ghidra and Docker.

### Did the AI reverse engineering of Windows loader sample (MalwareBazaar) work?

It is a research result, not a finished tool. Checks recorded: source available no, repro steps no.

### Is the source code for Windows loader sample (MalwareBazaar) available?

No. The write-up says the code is not released.

## Sources

- [Write-up](https://codegeeksai.github.io/en/blog/static-malware-analysis-rea-codex/)
- [Discussion](https://x.com/i/status/2111598581421670782)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: Fedele Mantuano (2026). Analysed a Windows loader without running it, using Codex, REA and Ghidra. Reversed with AI. https://reversedwithai.com/p/windows-loader-static-analysis-codex-rea
