AgentTesla — Office (OLE) / .XLS malware analysis

Static analysis result for SHA-256 e2bdf8f9ef5ed095…

MALICIOUS

Office (OLE) / .XLS

30.5 KB Created: 2023-08-08 04:00:14 Authoring application: Microsoft Excel First seen: 2023-08-08
MD5: 2bcdfe1319b37b0959881dd7f7d3305c SHA-1: b4d9c7cac579303713c85106d6034ec19c16c2d2 SHA-256: e2bdf8f9ef5ed0958028c2ea491285fc140421f72266410c5cb98c5a19ed196b
222 Risk Score

Malware Insights

AgentTesla · confidence 95%

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

The sample is an Excel file containing a VBA macro that executes upon opening. The macro decodes a PowerShell command which downloads a file named 'RFQ-EUF5089.exe' from 'http://purchase.lottoprize.us/RFQ-EUF5089.exe' and then executes it. This behavior is consistent with a downloader or droppper malware, and the ClamAV signature specifically identifies it as AgentTesla.

Heuristics 6

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • ClamAV: Win.Dropper.AgentTesla-9969002-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Dropper.AgentTesla-9969002-0
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_Open macro
  • 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
  • Suspicious extracted artifact info 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 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
93a9aab7303db655f057b9c11a8ca7ccc7f2ffdf5cd3e78095cfd8ecedaeb54c
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1451 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).