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

Static analysis result for SHA-256 fb98c43c7a7e5af1…

MALICIOUS

Office (OLE) / .XLS

797.5 KB Created: 2020-06-22 10:41:03 Authoring application: Microsoft Excel
MD5: a739b777711e6c4fed6c9cec2cb01b80 SHA-1: b4d71caa88311769098892be0eaef1c765f430da SHA-256: fb98c43c7a7e5af1c12ea590254511c15b4ad5070448284c938d06ffaa0cf478
520 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File T1105 Ingress Tool Transfer T1027 Obfuscated Files or Information

The sample is a malicious XLS file containing VBA macros. The Workbook_Open macro triggers a Shell() call, which is highly suspicious and indicative of payload execution. Furthermore, an embedded PE executable was detected and flagged by ClamAV as Win.Dropper.Hideproc-6663113-0. The presence of VirtualAlloc, LoadLibrary, and GetProcAddress APIs suggests the embedded executable is designed to load and execute further malicious code.

Heuristics 13

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Embedded PE executable critical OLE_EMBEDDED_EXE
    MZ/PE header found inside document — possible embedded executable
  • ClamAV: Win.Dropper.Hideproc-6663113-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Dropper.Hideproc-6663113-0
  • ClamAV detection on extracted artifact critical EXTRACTED_FILE_CLAMAV
    ClamAV flagged at least one file extracted from inside this sample. Even when the wrapping document carries no AV detection of its own, a hit on the carved artifact is a strong indicator the sample is a delivery vehicle.
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Reference to LoadLibrary API high SC_STR_LOADLIBRARY
    Reference to LoadLibrary API
  • Reference to GetProcAddress API high SC_STR_GETPROCADDRESS
    Reference to GetProcAddress API
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • 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.
  • Suspicious extracted artifact high EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • Reference to VirtualAlloc API medium SC_STR_VIRTUALALLOC
    Reference to VirtualAlloc API
  • 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 http://www.w3.org/2000/svg
    • http://www.w3.org/1999/xlink

Extracted artifacts 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
e4484270eddd470d92b0a0c42cc523e64a7056ea68b59aa12626ba67c5a2192c
vba-macro oletools.olevba.extract_macros (decoded VBA source) 10605 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.
embedded_office_00006265.exe
af677ff5bf15f6d04db7a33e3728d24331ea1f538975ee87ca21b48c965528e0
embedded-pe Office MZ+PE at offset 0x6265 791451 bytes
Detection
ClamAV: Win.Dropper.Hideproc-6663113-0
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.
ole10native_00.bin
ba380a9ac8cf9a519b12e971637580f741b28f08dd1f181175cc5c3d1545153c
ole-package OLE Ole10Native stream: MBD005A12B8/Ole10Native 610471 bytes