Valyria — Office (OLE) / .XLS malware analysis

Static analysis result for SHA-256 bf57ecd7a6c0166d…

MALICIOUS

Office (OLE) / .XLS

102.5 KB Created: 2022-01-08 17:02:42 Authoring application: Microsoft Excel First seen: 2022-11-27
MD5: a88329a0eca1ff4a5d59dd6270d08267 SHA-1: a812bbcb57431be5b0d436590ae4a53465bb1e25 SHA-256: bf57ecd7a6c0166dd27f311cebda08ed8e9305cfaa66fe68131ba29250ba94f3
242 Risk Score

Malware Insights

Valyria · confidence 95%

MITRE ATT&CK
T1059.005 PowerShell T1059.003 Windows Command Shell T1204.002 Malicious File T1140 Deobfuscate/Decode Files or Information

The Workbook_Open macro is designed to execute a command that downloads a second-stage executable from a Discord CDN URL and saves it as 's2zq4.exe' in the 'C:\Users\Public\' directory. The macro uses obfuscation techniques by replacing parts of strings with 'mindcontrol' and concatenating parts of URLs and commands. The ClamAV detection name 'Xls.Downloader.Valyria-10008445-0' strongly suggests the Valyria family.

Heuristics 7

  • ClamAV: Xls.Downloader.Valyria-10008445-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Downloader.Valyria-10008445-0
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • GetObject call high OLE_VBA_GETOBJ
    GetObject call
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • 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 http://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
8ce5723cf10079d0d87e077c74f963a21c17dc241de2f3e73541b8cb1778ba0d
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1259 bytes