Win.Trojan.Razy-7331387-0 — Office (OLE) malware analysis

Static analysis result for SHA-256 e175a9dfe669b9b5…

MALICIOUS

Office (OLE)

866.0 KB Created: 2020-06-22 10:41:03 Authoring application: Microsoft Excel
MD5: b73fe5e7b4e01bcfcb76f9aef8dd58a3 SHA-1: 40da701b2acb3950248d6831ebe53342bdd8b3f1 SHA-256: e175a9dfe669b9b567851bf17ba7aed9f35ba9cdfa5df63d215cce5570daf631
560 Risk Score

Malware Insights

Win.Trojan.Razy-7331387-0 · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1105 Ingress Tool Transfer T1204.002 Malicious File

This Excel document contains a Workbook_Open macro that utilizes Shell() to execute an embedded PE executable. The embedded executable was identified by ClamAV as Win.Trojan.Razy-7331387-0. The macro's use of VirtualAlloc, LoadLibrary, and GetProcAddress suggests dynamic loading of code, typical for malware downloaders or droppers.

Heuristics 14

  • 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.Trojan.Razy-7331387-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Trojan.Razy-7331387-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
  • CallByName call high OLE_VBA_CALLBYNAME
    CallByName 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.
  • 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://ocsp.sectigo.com0
    • http://ocsp.comodoca.com0
    • http://ocsp.usertrust.com0
    • https://sectigo.com/CPS0
    • http://crl.sectigo.com/SectigoRSACodeSigningCA.crl0s
    • http://crt.sectigo.com/SectigoRSACodeSigningCA.crt0#
    • http://crl.comodoca.com/AAACertificateServices.crl04
    • http://crl.usertrust.com/USERTrustRSACertificationAuthority.crl0v
    • http://crt.usertrust.com/USERTrustRSAAddTrustCA.crt0%
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#
    • http://ns.adobe.com/xap/1.0/mm/
    • http://ns.adobe.com/xap/1.0/sType/ResourceRef#
    • http://ns.adobe.com/xap/1.0/

Extracted artifacts 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
ceee8ed1385c5f468731066434441499b88bf5c166f6a51aa82a683141c4c14a
vba-macro oletools.olevba.extract_macros (decoded VBA source) 19039 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_00001954.exe
650575d7ebec2fc3853195e04ab34039c86dec39c9c02f2bf30acc630b5074b3
embedded-pe Office MZ+PE at offset 0x1954 880300 bytes
Detection
ClamAV: Win.Trojan.Razy-7331387-0
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.
ole10native_00.bin
b07125f8503471f7bb8060536e34019a9da875da6786de10bc49f78ab947b335
ole-package OLE Ole10Native stream: MBD00077828/Ole10Native 560882 bytes