Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 548ef3d0e1e78d74…

MALICIOUS

Office (OOXML)

26.5 KB Created: 2021-08-18 02:04:39 UTC Authoring application: Microsoft Excel 16.0300
MD5: 2510a881fe2a1a84d20a9334ff15a7b0 SHA-1: 61545751b967174383de5a3687166a576f339879 SHA-256: 548ef3d0e1e78d74379d0d9b0ad1274792a9a665c6b93523f9e8cd2e76f9c7e4
610 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1105 Ingress Tool Transfer T1204.002 Malicious File T1071.001 Web Protocols

The sample is an Excel document containing VBA macros that execute upon opening. The Auto_Open macro uses WScript.Shell and CreateObject to download a file from the embedded URL 'http://ec2-18-184-17-12.eu-central-1.compute.amazonaws.com/standardchartered/passleak/180821/' and save it as 'Details.dat' in the user's temporary directory. This behavior strongly suggests the document is a downloader for a second-stage payload. The document body lists account information and mentions 'Password Leaked', reinforcing the phishing or credential harvesting lure.

Heuristics 14

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • Obfuscated VBA Shell command with URL critical OLE_VBA_OBFUSCATED_SHELL_URL
    VBA macro invokes Shell with command text assembled through decoder or string-manipulation functions and includes a URL. This is a high-confidence downloader/dropper pattern, stronger than Shell or URL evidence on their own.
  • VBA WMI Win32_Process launcher critical OLE_VBA_WMI_PROCESS_CREATE
    VBA macro builds or references a WMI moniker for Win32_Process and invokes .Create to start a command. This is a high-confidence macro execution chain that often hides the WMI class name through string concatenation or helper functions.
  • 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.
  • ClamAV: Doc.Downloader.Valyria-10026858-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Valyria-10026858-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.
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • GetObject call high OLE_VBA_GETOBJ
    GetObject 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 project inside OOXML medium OOXML_VBA
    Document contains a VBA project — VBA macros present
  • 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://ec2-18-184-17-12.eu-central-1.compute.amazonaws.com/standardchartered/passleak/180821/

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
82c021abd060ae15312d526c2e1bd38b1653eb304918ddcde14e09146e25a60f
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 4717 bytes
vbaProject_00.bin
4dc995f3c9b147ddfea2f90a8dfacf504401c2a0d0b57002700a3c9f375bda6d
vba-project OOXML VBA project: xl/vbaProject.bin 18432 bytes
Detection
ClamAV: Doc.Downloader.Valyria-10026858-0
Obfuscation or payload: unlikely