Malicious Office (OOXML) / .XLSM — malware analysis report

Static analysis result for SHA-256 406b2b65751ecb3c…

MALICIOUS

Office (OOXML) / .XLSM

46.1 KB Created: 2022-05-17 08:06:58 UTC Authoring application: 16.0300 First seen: 2022-05-17
MD5: 6bbcc8a832ec6f17c283cee3e1095270 SHA-1: a7906a38de96863057638317a4a82bf55767f5d5 SHA-256: 406b2b65751ecb3c25cc8a66d6fff3cde74ee35df84612981f6dd056fad16cd5
200 Risk Score

Malware Insights

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

The sample is an XLSM file containing VBA macros. The critical heuristic 'OLE_VBA_DOWNLOAD' and the presence of the 'URLDownloadToFileA' function in the 'macros.bas' script indicate that the macro attempts to download a file from a remote location. The script also uses 'Shell()' to execute a downloaded payload, as indicated by the 'OLE_VBA_SHELL' heuristic. The reconstructed command 'regsvr32 /s ' is used to execute the downloaded payload.

Heuristics 5

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • URLDownloadToFile in VBA critical OLE_VBA_DOWNLOAD
    URLDownloadToFile in VBA
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • VBA project inside OOXML medium OOXML_VBA
    Document contains vbaProject.bin — VBA macros present
  • Suspicious extracted artifact medium 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.

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
29bc5c24ddb276281c5ae2039af4b8a9814a2e7db6bca0f5844d67e3a16b3824
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1922 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 shell/COM execution token(s).
vbaProject_00.bin
2dd93a82528cb12438295990f73c43802f7cf4066ed1aad75ab5dd9b8fb82812
vba-project OOXML VBA project: xl/vbaProject.bin 25600 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 shell/COM execution token(s).