Analysis

  • max time kernel
    222s
  • max time network
    233s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20221111-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-11-2022 05:30

General

  • Target

    7356504c4be1963a08cd55273b7e0f2f356389c962fb9e44fab7f897c105cee3.exe

  • Size

    416KB

  • MD5

    f816ce69fabd9f32071ee479c62a79fd

  • SHA1

    a5b7ed4e94d4d992b5290e87ecd2475fa131c2db

  • SHA256

    7356504c4be1963a08cd55273b7e0f2f356389c962fb9e44fab7f897c105cee3

  • SHA512

    7dabdb3d61aacc5f97618a7c8d6f89fa521df83dec208865e92ac98f2bdb4e6a5c246155afeb8d9e2842ee3cad4a8cacfb0812ccf143ae62f1d288d521ef59f8

  • SSDEEP

    6144:bM+7Wz9K4LDKx5NVPWe1hYuyG2SZQXLvtfpoEbqd37B1Cu9tJEjpp2Z6f:bM+7C9vLDKPDPZSvtfpoNLvJfab

Malware Config

Extracted

Family

cybergate

Version

2.6

Botnet

vítima

C2

127.0.0.1:1604

85.61.238.13:1604

192.168.1.135:1604

Mutex

***MUTEX***

Attributes
  • enable_keylogger

    true

  • enable_message_box

    false

  • ftp_directory

    ./logs/

  • ftp_interval

    30

  • injected_process

    explorer.exe

  • install_dir

    install

  • install_file

    server.exe

  • install_flag

    true

  • keylogger_enable_ftp

    false

  • message_box_caption

    texto da mensagem

  • message_box_title

    título da mensagem

  • password

    123456

  • regkey_hkcu

    HKCU

  • regkey_hklm

    HKLM

Signatures

  • CyberGate, Rebhip

    CyberGate is a lightweight remote administration tool with a wide array of functionalities.

  • Adds policy Run key to start application 2 TTPs 4 IoCs
  • Executes dropped EXE 4 IoCs
  • Modifies Installed Components in the registry 2 TTPs 4 IoCs
  • UPX packed file 18 IoCs

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

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Adds Run key to start application 2 TTPs 4 IoCs
  • Drops file in System32 directory 6 IoCs
  • Suspicious use of SetThreadContext 3 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Program crash 2 IoCs
  • Modifies registry class 2 IoCs
  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of FindShellTrayWindow 1 IoCs
  • Suspicious use of SetWindowsHookEx 3 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Windows\Explorer.EXE
    C:\Windows\Explorer.EXE
    1⤵
      PID:2032
      • C:\Users\Admin\AppData\Local\Temp\7356504c4be1963a08cd55273b7e0f2f356389c962fb9e44fab7f897c105cee3.exe
        "C:\Users\Admin\AppData\Local\Temp\7356504c4be1963a08cd55273b7e0f2f356389c962fb9e44fab7f897c105cee3.exe"
        2⤵
        • Suspicious use of SetThreadContext
        • Suspicious use of SetWindowsHookEx
        • Suspicious use of WriteProcessMemory
        PID:2096
        • C:\Users\Admin\AppData\Local\Temp\7356504c4be1963a08cd55273b7e0f2f356389c962fb9e44fab7f897c105cee3.exe
          "C:\Users\Admin\AppData\Local\Temp\7356504c4be1963a08cd55273b7e0f2f356389c962fb9e44fab7f897c105cee3.exe"
          3⤵
          • Adds policy Run key to start application
          • Modifies Installed Components in the registry
          • Adds Run key to start application
          • Drops file in System32 directory
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of FindShellTrayWindow
          • Suspicious use of WriteProcessMemory
          PID:596
          • C:\Windows\SysWOW64\explorer.exe
            explorer.exe
            4⤵
            • Modifies Installed Components in the registry
            • Modifies registry class
            PID:3428
            • C:\Windows\SysWOW64\install\server.exe
              "C:\Windows\system32\install\server.exe"
              5⤵
              • Executes dropped EXE
              • Drops file in System32 directory
              • Suspicious use of SetThreadContext
              • Suspicious use of SetWindowsHookEx
              PID:4228
              • C:\Windows\SysWOW64\install\server.exe
                "C:\Windows\SysWOW64\install\server.exe"
                6⤵
                • Executes dropped EXE
                PID:5040
                • C:\Windows\SysWOW64\WerFault.exe
                  C:\Windows\SysWOW64\WerFault.exe -u -p 5040 -s 564
                  7⤵
                  • Program crash
                  PID:1584
          • C:\Program Files\Internet Explorer\iexplore.exe
            "C:\Program Files\Internet Explorer\iexplore.exe"
            4⤵
              PID:4128
            • C:\Users\Admin\AppData\Local\Temp\7356504c4be1963a08cd55273b7e0f2f356389c962fb9e44fab7f897c105cee3.exe
              "C:\Users\Admin\AppData\Local\Temp\7356504c4be1963a08cd55273b7e0f2f356389c962fb9e44fab7f897c105cee3.exe"
              4⤵
              • Checks computer location settings
              • Drops file in System32 directory
              • Modifies registry class
              • Suspicious behavior: GetForegroundWindowSpam
              • Suspicious use of AdjustPrivilegeToken
              PID:332
              • C:\Windows\SysWOW64\install\server.exe
                "C:\Windows\system32\install\server.exe"
                5⤵
                • Executes dropped EXE
                • Drops file in System32 directory
                • Suspicious use of SetThreadContext
                • Suspicious use of SetWindowsHookEx
                PID:4376
                • C:\Windows\SysWOW64\install\server.exe
                  "C:\Windows\SysWOW64\install\server.exe"
                  6⤵
                  • Executes dropped EXE
                  PID:3964
                  • C:\Windows\SysWOW64\WerFault.exe
                    C:\Windows\SysWOW64\WerFault.exe -u -p 3964 -s 564
                    7⤵
                    • Program crash
                    PID:1392
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 3964 -ip 3964
        1⤵
          PID:636
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 5040 -ip 5040
          1⤵
            PID:4888

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • C:\Users\Admin\AppData\Local\Temp\XX--XX--XX.txt

            Filesize

            229KB

            MD5

            ece2a2bd07c96eadfb220a40b74a1e63

            SHA1

            2b058cacc00135bb18294e281be851d3af07527f

            SHA256

            f66437cb5baebfd78f9b6f57c444b93b8fb70629bc8e0d3492a7544cef4fb788

            SHA512

            a5fed460b266125f68cd9b4d06a44c4c3adaa9799f0123e6aebc042202973d96eae6fe0dedd67cd679fe140e71f580a761d5cc2e13daf1633eb12e52bf893323

          • C:\Windows\SysWOW64\install\server.exe

            Filesize

            416KB

            MD5

            f816ce69fabd9f32071ee479c62a79fd

            SHA1

            a5b7ed4e94d4d992b5290e87ecd2475fa131c2db

            SHA256

            7356504c4be1963a08cd55273b7e0f2f356389c962fb9e44fab7f897c105cee3

            SHA512

            7dabdb3d61aacc5f97618a7c8d6f89fa521df83dec208865e92ac98f2bdb4e6a5c246155afeb8d9e2842ee3cad4a8cacfb0812ccf143ae62f1d288d521ef59f8

          • C:\Windows\SysWOW64\install\server.exe

            Filesize

            416KB

            MD5

            f816ce69fabd9f32071ee479c62a79fd

            SHA1

            a5b7ed4e94d4d992b5290e87ecd2475fa131c2db

            SHA256

            7356504c4be1963a08cd55273b7e0f2f356389c962fb9e44fab7f897c105cee3

            SHA512

            7dabdb3d61aacc5f97618a7c8d6f89fa521df83dec208865e92ac98f2bdb4e6a5c246155afeb8d9e2842ee3cad4a8cacfb0812ccf143ae62f1d288d521ef59f8

          • C:\Windows\SysWOW64\install\server.exe

            Filesize

            416KB

            MD5

            f816ce69fabd9f32071ee479c62a79fd

            SHA1

            a5b7ed4e94d4d992b5290e87ecd2475fa131c2db

            SHA256

            7356504c4be1963a08cd55273b7e0f2f356389c962fb9e44fab7f897c105cee3

            SHA512

            7dabdb3d61aacc5f97618a7c8d6f89fa521df83dec208865e92ac98f2bdb4e6a5c246155afeb8d9e2842ee3cad4a8cacfb0812ccf143ae62f1d288d521ef59f8

          • C:\Windows\SysWOW64\install\server.exe

            Filesize

            416KB

            MD5

            f816ce69fabd9f32071ee479c62a79fd

            SHA1

            a5b7ed4e94d4d992b5290e87ecd2475fa131c2db

            SHA256

            7356504c4be1963a08cd55273b7e0f2f356389c962fb9e44fab7f897c105cee3

            SHA512

            7dabdb3d61aacc5f97618a7c8d6f89fa521df83dec208865e92ac98f2bdb4e6a5c246155afeb8d9e2842ee3cad4a8cacfb0812ccf143ae62f1d288d521ef59f8

          • C:\Windows\SysWOW64\install\server.exe

            Filesize

            416KB

            MD5

            f816ce69fabd9f32071ee479c62a79fd

            SHA1

            a5b7ed4e94d4d992b5290e87ecd2475fa131c2db

            SHA256

            7356504c4be1963a08cd55273b7e0f2f356389c962fb9e44fab7f897c105cee3

            SHA512

            7dabdb3d61aacc5f97618a7c8d6f89fa521df83dec208865e92ac98f2bdb4e6a5c246155afeb8d9e2842ee3cad4a8cacfb0812ccf143ae62f1d288d521ef59f8

          • memory/332-165-0x0000000024160000-0x00000000241C2000-memory.dmp

            Filesize

            392KB

          • memory/332-164-0x0000000024160000-0x00000000241C2000-memory.dmp

            Filesize

            392KB

          • memory/332-162-0x0000000024160000-0x00000000241C2000-memory.dmp

            Filesize

            392KB

          • memory/332-158-0x0000000000000000-mapping.dmp

          • memory/596-159-0x0000000024160000-0x00000000241C2000-memory.dmp

            Filesize

            392KB

          • memory/596-135-0x0000000000400000-0x0000000000457000-memory.dmp

            Filesize

            348KB

          • memory/596-137-0x0000000000400000-0x0000000000457000-memory.dmp

            Filesize

            348KB

          • memory/596-154-0x00000000240F0000-0x0000000024152000-memory.dmp

            Filesize

            392KB

          • memory/596-134-0x0000000000000000-mapping.dmp

          • memory/596-146-0x0000000024080000-0x00000000240E2000-memory.dmp

            Filesize

            392KB

          • memory/596-163-0x0000000000400000-0x0000000000457000-memory.dmp

            Filesize

            348KB

          • memory/596-138-0x0000000000400000-0x0000000000457000-memory.dmp

            Filesize

            348KB

          • memory/596-141-0x0000000024010000-0x0000000024072000-memory.dmp

            Filesize

            392KB

          • memory/596-139-0x0000000000400000-0x0000000000457000-memory.dmp

            Filesize

            348KB

          • memory/3428-145-0x0000000000000000-mapping.dmp

          • memory/3428-149-0x0000000024080000-0x00000000240E2000-memory.dmp

            Filesize

            392KB

          • memory/3428-153-0x0000000024080000-0x00000000240E2000-memory.dmp

            Filesize

            392KB

          • memory/3964-174-0x0000000000000000-mapping.dmp

          • memory/3964-186-0x0000000000400000-0x0000000000457000-memory.dmp

            Filesize

            348KB

          • memory/4228-166-0x0000000000000000-mapping.dmp

          • memory/4376-168-0x0000000000000000-mapping.dmp

          • memory/5040-175-0x0000000000000000-mapping.dmp

          • memory/5040-182-0x0000000000400000-0x0000000000457000-memory.dmp

            Filesize

            348KB

          • memory/5040-184-0x0000000000400000-0x0000000000457000-memory.dmp

            Filesize

            348KB

          • memory/5040-187-0x0000000000400000-0x0000000000457000-memory.dmp

            Filesize

            348KB