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

Static analysis result for SHA-256 0ca956c3c9032101…

MALICIOUS

Office (OLE) / .XLS

51.5 KB Created: 2023-02-15 08:27:04 Authoring application: Microsoft Excel First seen: 2023-02-16
MD5: 8e100f8349c6871a00c15461763a9014 SHA-1: 7f7f57d1e2c9482025e1141d902d4427c26d4463 SHA-256: 0ca956c3c90321013ec3c0e236871db83626976cd0fc7a683c845d3519f7ff05
248 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1105 Ingress Tool Transfer T1059.003 Windows Command Shell

The VBA macro contains calls to URLDownloadToFileA and Shell(), indicating an intent to download and execute a second-stage payload. The script constructs a path in the user's Documents folder, such as USERPROFILE\Documents\<random_name>.raw, to save the downloaded file. The use of Environ$("USERPROFILE") and Application.PathSeparator suggests a downloader functionality.

Heuristics 6

  • Reference to URLDownloadToFile API critical SC_STR_URLDOWNLOAD
    Reference to URLDownloadToFile API
  • 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 macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
b4cffb19183fb2ee63fdaa632ef82fb0bcb7637cacabed7fb44f138cc4dccd14
vba-macro oletools.olevba.extract_macros (decoded VBA source) 2216 bytes