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

Static analysis result for SHA-256 70fa2300d7932ab9…

MALICIOUS

Office (OLE) / .DOCX

52.0 KB Created: 2020-11-26 22:28:00 Authoring application: Microsoft Office Word
MD5: 90a59c16d670fd77d710516299533834 SHA-1: 25c0a651d7bdfdfca2f37160837829bea669c5f7 SHA-256: 70fa2300d7932ab901c19878bf109bdd9e078e96380879ca2ce2c3f9fc5c7665
362 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1105 Ingress Tool Transfer

The sample contains a VBA macro that utilizes `WScript.Shell` to download and save a file to the user's templates directory. The `Document_Open` subroutine is triggered upon opening the document, initiating the malicious script's execution. The script attempts to construct a URL from concatenated strings, likely for downloading a second-stage payload, and uses `CreateObject` and `Shell()` calls, indicating a downloader or dropper functionality.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • VBA downloads and writes a file to disk critical OLE_VBA_HTTP_DROP_EXEC
    VBA reads an HTTP response body and writes it to disk (ADODB.Stream SaveToFile). Combined with the auto-exec/Shell paths this is a download-drop dropper even when the COM ProgIDs are built dynamically to evade keyword scanning.
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • 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 https://www.un.org/en/coronavirus/covid-19-faqs
    • https://www.nknews.org/2020/10/north-korea-urges-people-indoors-fearing-dust-from-china-will-spread-covid-19/?t=1604306607548
    • https://www.nknews.org/2020/08/unicef-says-north-korea-decided-to-temporarily-close-nampho-port-late-july/?t=1604306607548
    • https://www.nknews.org/2020/08/kaesong-lockdown-lifted-at-north-kor
    • http://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
256ab75a9db516dbded5b3100da36dbb596d550766fe11a8f5d71593c158e11e
vba-macro oletools.olevba.extract_macros (decoded VBA source) 3419 bytes