Malware Analysis [Video] Malicious MS Office Files Without Macros

It is a good video with no controversial content, so it does not require many replies. :)
I agree that for most MT readers, the prevention against such attack vectors can also be interesting (even if slightly off topic).
 
Last edited:
Just finished watching the video, great explanation, thank you!

Question:
If you're looking at a .docx with a remote VSTO manifest, how much does the MOTW on the actual document mess with the .NET assembly execution? Like, if the manifest is sitting in a Trusted Sites zone but the doc itself is flagged for the Internet zone, which security policy actually takes the lead during the add-in loading phase?
 
Just finished watching the video, great explanation, thank you!

Question:
If you're looking at a .docx with a remote VSTO manifest, how much does the MOTW on the actual document mess with the .NET assembly execution? Like, if the manifest is sitting in a Trusted Sites zone but the doc itself is flagged for the Internet zone, which security policy actually takes the lead during the add-in loading phase?

Thank you. But regarding your question: Not entirely sure here because I did not test this, but the doc should be in protected view if it has Internet Zone mark of the web. And only if you leave protected view, the manifest trusted sites should become relevant.


Which is not the case in MT forum; most members are not cybersecurity pros.

This is the Malware Analysis subforum. The pinned topic says "This forum's main purpose is the discussion of malware analysis and reverse engineering techniques."
 
Great checklist. Here is a recent sample that fits the "no macros" case exactly, and shows one trap for the strings/hex step: the interesting part is encrypted.

SHA-256 478d992c999a0e93ada1c9aa10644e3abdc207d407492c5bc2710986de4d42be (Excel 97 workbook, 719,360 bytes)

What's inside:
- Encrypted with Excel's default password "VelvetSweatshop" (FILEPASS, RC4). Excel opens it without a prompt, but a strings listing or a hex view of the raw file shows only ciphertext: no URL, nothing for the "extract IOCs" step until you decrypt it (msoffcrypto-tool -p VelvetSweatshop works).
- A VBA project that does nothing: only the default ThisWorkbook/Sheet modules (attributes only), no entry point. A "macros present" flag is noise here.
- The real payload is an OLE2Link object (storage MBD00ABFD30, CLSID {00000300-0000-0000-C000-000000000046}) with a URL moniker: Excel fetches the remote document when the object loads, the CVE-2017-0199 pattern. No macro, no template.
- Camouflage in the URL: a Cloudflare Workers docs URL with Google Analytics parameters is appended after "?&", so a quick look at a proxy log reads like a docs link. The host that is actually contacted is the first one.
- A clean embedded workbook (MBD00ABFD2F, 683 KB) is the decoy content. The two MBD storage IDs are consecutive, a builder pattern I also saw in a recent RemcosRAT wave using the same template.

So for the checklist I'd add: decrypt default-password documents first, and look for linked OLE objects (OLE2Link / URL monikers) next to external templates.

Full output from MaldocTrace (my open-source analyzer). The only change is that the URL is defanged:

Code:
$ maldocTrace analyze 478d992c999a0e93ada1c9aa10644e3abdc207d407492c5bc2710986de4d42be
Verdict: MALICIOUS (risk 100/100)
  +15 medium static finding: embedded_ole
  +60 high static finding: external_ole
  +40 high static finding: embedded_ole
  +10 macros present (0 auto-run entry point(s))
  +15 3 network indicator(s)
  +10 encrypted with Excel's default password (opens without a prompt, hides content from scanners)
MaldocTrace 0.6.0 (schema 1.7.0)
File: 478d992c999a0e93ada1c9aa10644e3abdc207d407492c5bc2710986de4d42be (719360 bytes)
SHA-256: 478d992c999a0e93ada1c9aa10644e3abdc207d407492c5bc2710986de4d42be
Format: cfb
Status: complete | Macros: present
Operational: completed | Semantic coverage: supported_subset

-- Static findings --
  [finding-1] embedded_ole (medium)
      Target: Microsoft Office Excel Worksheet
      Location: MBD00ABFD2F
      Detail: embedded OLE object of class Microsoft Office Excel Worksheet; embedded Excel workbook (may carry macros)
  [finding-2] external_ole (high)
      Target: hxxps://s.klinikpintar(dot)id/mamZ2f?&hxxps://developers.cloudflare(dot)com/workers/tutorials/?_gl=1*1gvugqd*_gcl_au*NTg0NjYzOTU5LjE3NzY2NzI0MjA.*_ga*YjEzZDVjZDItMTBlMy00ODJhLTliNTMtN2QyY2VmYmU5Njcx
      Location: MBD00ABFD30
      Detail: linked OLE object of class OLE2Link loaded from hxxps://s.klinikpintar(dot)id/mamZ2f?&hxxps://developers.cloudflare(dot)com/workers/tutorials/?_gl=1*1gvugqd*_gcl_au*NTg0NjYzOTU5LjE3NzY2NzI0MjA.*_ga*YjEzZDVjZDItMTBlMy00ODJhLTliNTMtN2QyY2VmYmU5Njcx; Office fetches the URL moniker when the object is loaded (CVE-2017-0199 pattern)
  [finding-3] embedded_ole (high)
      Target: OLE2Link
      Location: MBD00ABFD30
      Detail: embedded OLE object of class OLE2Link (identified by its storage CLSID {00000300-0000-0000-C000-000000000046}); OLE2Link moniker: fetches a remote document (CVE-2017-0199 pattern)

-- Storage timestamps (UTC) --
  Root Entry                           created -                    modified 2026-04-22T06:26:11Z
  _VBA_PROJECT_CUR                     created 2026-04-22T06:26:10Z modified 2026-04-22T06:26:11Z
  MBD00ABFD2F                          created 2026-04-22T06:26:10Z modified 2026-04-22T06:26:10Z
  MBD00ABFD30                          created 2026-04-22T06:26:10Z modified 2026-04-22T06:26:10Z
  _VBA_PROJECT_CUR/VBA                 created 2026-04-22T06:26:11Z modified 2026-04-22T06:26:11Z

Encrypted: yes, decrypted (BIFF8 RC4, password "VelvetSweatshop" (Excel's default password))

-- Entry points --

-- Modules --
  ThisWorkbook  (document/class/designer, 305 chars)
  Sheet1  (document/class/designer, 299 chars)
  Sheet2  (document/class/designer, 299 chars)
  Sheet3  (document/class/designer, 299 chars)

-- Reconstructed and embedded files --
  MBD00ABFD2F/Package sha256=4484e1242812ff9bddffbf697f867dd564c991bbd3c484e30b94277850abc734 (683179 bytes)
      File type: OOXML package (ZIP)
        class Microsoft Office Excel Worksheet
        entries=49

-- Files found inside (analysed separately; full reports in JSON children) --
  [embedded object] MBD00ABFD2F/Package: CLEAN (risk 0) | format ooxml | status complete | sha256=4484e1242812ff9bddffbf697f867dd564c991bbd3c484e30b94277850abc734

IOCs (defanged): host s.klinikpintar(dot)id, path /mamZ2f
 

MalwareTips community

Join the discussion. It's free.

Create an account to reply to this thread, ask your own questions and get help from people who know security.

  • Reply and ask your own questions
  • Get an alert when someone answers
  • Free malware removal help from volunteers

Free account

Halp2001 Gandalf_The_Grey nicolaasjan Jonny Quest 75,723 members since 2010
or
Have malware? Get free help

Recently browsing

Members and guests who viewed this thread in the last 5 minutes

Back
Top