Malicious Office (OLE) / .DOC — malware analysis report

Static analysis result for SHA-256 5f88ca1aaf3be23a…

MALICIOUS

Office (OLE) / .DOC

1.26 MB Created: 2024-07-24 08:52:00 Authoring application: Microsoft Office Word
MD5: 3522ab23f2ac891db3002ea5846b155f SHA-1: a2a57208c98edcdb96a90b72e3bed06e6a1c35f3 SHA-256: 5f88ca1aaf3be23a9494d2490813fd17797025557042722e2a49d8508ec15bb1
370 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1140 Deobfuscate/Decode Files or Information T1547.001 Registry Run Keys / Startup Folder

The VBA macro code within the document utilizes WScript.Shell and PowerShell to execute commands. It constructs a Base64 encoded string, saves it to a file named 'UiNexual.zip', decodes it into 'UiNexual.exe', and then extracts its contents to the user's Startup folder. This sequence of actions indicates a downloader and persistence mechanism.

Heuristics 10

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
  • Reference to PowerShell high SC_STR_POWERSHELL
    Reference to PowerShell
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • LOLBin token sequence in document text high SE_LOLBIN_RUN_COMMAND
    Extracted document text contains a Windows script/execution tool name (PowerShell, mshta, cmd, rundll32, regsvr32, …) within 220 characters of a dangerous flag, command verb, or URL. This is a visible 'run this' instruction in HTML/PDF/RTF lure bodies, or — in macro-laden Office files — the macro's own string-pool entries appearing adjacent in extracted text.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
5603a89d64fc8af30f51d11726a4855a93fef2ebdf962a950b72534dbf788b57
vba-macro oletools.olevba.extract_macros (decoded VBA source) 323733 bytes