Analysis

  • max time kernel
    157s
  • max time network
    166s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • submitted
    19/03/2024, 02:01

General

  • Target
    d4efd4c8c02bf1c7130efdcf474f1b69.exe
  • Size 899KB
  • Sample240319-cfjf9aec76
  • SHA256 c7e1a1b08de4b6e01a17e4c4d5795964dae98aadba3fdd3ff5da33fc5adae7f6
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • babylonrat

C2
  • andronmatskiv20.sytes.net

Signatures

  • Babylon RAT

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

  • Babylonrat family
  • Modifies WinLogon for persistence 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 2 IoCs

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

  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

  • Suspicious use of SetThreadContext 1 IoCs
  • UPX packed file 2 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Enumerates physical storage devices 1 TTPs

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

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

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

  • Modifies registry class 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 5 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 16 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\d4efd4c8c02bf1c7130efdcf474f1b69.exe
    "C:\Users\Admin\AppData\Local\Temp\d4efd4c8c02bf1c7130efdcf474f1b69.exe"
    1⤵
    • Modifies WinLogon for persistence
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Modifies registry class
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4184
    • C:\Windows\SysWOW64\WScript.exe
      "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\_Lhzbhsndksibtmsrzld.vbs"
      2⤵
      • Checks computer location settings
      • System Location Discovery: System Language Discovery
      • Suspicious use of WriteProcessMemory
      PID:3204
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Set-MpPreference -ExclusionPath C:\,'C:\Users\Admin\AppData\Roaming\chromes.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2140
    • C:\Users\Admin\AppData\Local\Temp\d4efd4c8c02bf1c7130efdcf474f1b69.exe
      C:\Users\Admin\AppData\Local\Temp\d4efd4c8c02bf1c7130efdcf474f1b69.exe
      2⤵
        PID:3732
      • C:\Users\Admin\AppData\Local\Temp\d4efd4c8c02bf1c7130efdcf474f1b69.exe
        C:\Users\Admin\AppData\Local\Temp\d4efd4c8c02bf1c7130efdcf474f1b69.exe
        2⤵
        • System Location Discovery: System Language Discovery
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        PID:4016
    • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
      "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=4396 --field-trial-handle=2280,i,4114443225282860369,4764091921472631035,262144 --variations-seed-version /prefetch:8
      1⤵
        PID:4124

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            _Lhzbhsndksibtmsrzld.vbs

            • Path C:\Users\Admin\AppData\Local\Temp\_Lhzbhsndksibtmsrzld.vbs
            • Size 137B
            • SHA256 92dd75ce4d861fc5096b5e77fa6ce4e1954b2369a4e29cebd541a8700d5becdf
            • MD5 SHA1 SHA512

            __PSScriptPolicyTest_ookesr0k.tmo.ps1

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

            memory/2140-2320-0x00000000061B0000-0x00000000061E2000-memory.dmp

            memory/2140-2348-0x0000000074AB0000-0x0000000075260000-memory.dmp

            memory/2140-2343-0x0000000007240000-0x0000000007248000-memory.dmp

            memory/2140-2342-0x0000000007260000-0x000000000727A000-memory.dmp

            memory/2140-2341-0x0000000007160000-0x0000000007174000-memory.dmp

            memory/2140-2340-0x0000000007150000-0x000000000715E000-memory.dmp

            memory/2140-2337-0x0000000007120000-0x0000000007131000-memory.dmp

            memory/2140-2336-0x0000000007180000-0x0000000007216000-memory.dmp

            memory/2140-2335-0x0000000006F70000-0x0000000006F7A000-memory.dmp

            memory/2140-2334-0x0000000006F00000-0x0000000006F1A000-memory.dmp

            memory/2140-2333-0x0000000007540000-0x0000000007BBA000-memory.dmp

            memory/2140-2332-0x0000000006200000-0x00000000062A3000-memory.dmp

            memory/2140-2331-0x0000000006190000-0x00000000061AE000-memory.dmp

            memory/2140-2321-0x0000000070A50000-0x0000000070A9C000-memory.dmp

            memory/2140-2294-0x00000000022F0000-0x0000000002326000-memory.dmp

            memory/2140-2345-0x0000000074AB0000-0x0000000075260000-memory.dmp

            memory/2140-2302-0x0000000005520000-0x0000000005586000-memory.dmp

            memory/2140-2315-0x0000000005C60000-0x0000000005CAC000-memory.dmp

            memory/2140-2314-0x0000000004970000-0x000000000498E000-memory.dmp

            memory/2140-2313-0x0000000005700000-0x0000000005A54000-memory.dmp

            memory/2140-2319-0x000000007F090000-0x000000007F0A0000-memory.dmp

            memory/2140-2303-0x0000000005590000-0x00000000055F6000-memory.dmp

            memory/2140-2318-0x00000000022E0000-0x00000000022F0000-memory.dmp

            memory/2140-2301-0x0000000004D10000-0x0000000004D32000-memory.dmp

            memory/2140-2297-0x0000000004D80000-0x00000000053A8000-memory.dmp

            memory/2140-2296-0x00000000022E0000-0x00000000022F0000-memory.dmp

            memory/2140-2295-0x00000000022E0000-0x00000000022F0000-memory.dmp

            memory/2140-2293-0x0000000074AB0000-0x0000000075260000-memory.dmp

            memory/4016-2344-0x0000000000400000-0x00000000004C9000-memory.dmp

            memory/4016-2290-0x0000000000400000-0x00000000004C9000-memory.dmp

            memory/4184-23-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-33-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-53-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-51-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-55-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-57-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-59-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-61-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-63-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-65-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-67-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-69-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-71-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-73-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-75-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-77-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-79-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-47-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-45-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-2292-0x0000000074AB0000-0x0000000075260000-memory.dmp

            memory/4184-43-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-41-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-39-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-37-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-35-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-49-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-31-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-29-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-27-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-25-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-0-0x0000000074AB0000-0x0000000075260000-memory.dmp

            memory/4184-21-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-19-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-17-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-16-0x00000000068F0000-0x0000000006965000-memory.dmp

            memory/4184-15-0x00000000068F0000-0x000000000696A000-memory.dmp

            memory/4184-14-0x0000000001290000-0x000000000132E000-memory.dmp

            memory/4184-13-0x0000000005770000-0x0000000005780000-memory.dmp

            memory/4184-12-0x0000000005770000-0x0000000005780000-memory.dmp

            memory/4184-11-0x0000000005770000-0x0000000005780000-memory.dmp

            memory/4184-10-0x0000000005770000-0x0000000005780000-memory.dmp

            memory/4184-9-0x0000000074AB0000-0x0000000075260000-memory.dmp

            memory/4184-8-0x0000000005770000-0x0000000005780000-memory.dmp

            memory/4184-7-0x0000000005770000-0x0000000005780000-memory.dmp

            memory/4184-6-0x0000000005770000-0x0000000005780000-memory.dmp

            memory/4184-5-0x0000000005500000-0x000000000550A000-memory.dmp

            memory/4184-4-0x0000000005770000-0x0000000005780000-memory.dmp

            memory/4184-3-0x0000000005550000-0x00000000055E2000-memory.dmp

            memory/4184-2-0x0000000005A60000-0x0000000006004000-memory.dmp

            memory/4184-1-0x0000000000A00000-0x0000000000AE6000-memory.dmp