Analysis

  • max time kernel
    200s
  • max time network
    208s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220812-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30/10/2022, 06:23

General

  • Target
    f5d3d3ba311953c28c95f4ba028057e0821a24b30941bb4e9e2cfb4e138cfa71.exe
  • Size 277KB
  • Sample221030-g5ftwagedj
  • SHA256 f5d3d3ba311953c28c95f4ba028057e0821a24b30941bb4e9e2cfb4e138cfa71
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • cybergate

Version
  • v3.4.2.2

Botnet
  • PoTae

C2
  • potae.no-ip.info:81

Mutex
  • 337N034UB05S83

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

    Remote Administration anywhere in the world.

  • message_box_title

    CyberGate

  • password

    cybergate

  • 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 1 IoCs
  • Modifies Installed Components in the registry 2 TTPs 4 IoCs
  • UPX packed file 9 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 5 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Modifies registry class 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of FindShellTrayWindow 1 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Windows\Explorer.EXE
    C:\Windows\Explorer.EXE
    1⤵
      PID:1040
      • C:\Users\Admin\AppData\Local\Temp\f5d3d3ba311953c28c95f4ba028057e0821a24b30941bb4e9e2cfb4e138cfa71.exe
        "C:\Users\Admin\AppData\Local\Temp\f5d3d3ba311953c28c95f4ba028057e0821a24b30941bb4e9e2cfb4e138cfa71.exe"
        2⤵
        • Adds policy Run key to start application
        • Modifies Installed Components in the registry
        • Checks computer location settings
        • Adds Run key to start application
        • Drops file in System32 directory
        • Modifies registry class
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of FindShellTrayWindow
        • Suspicious use of WriteProcessMemory
        PID:3596
        • C:\Windows\SysWOW64\explorer.exe
          explorer.exe
          3⤵
          • Modifies Installed Components in the registry
          PID:1964
        • C:\Windows\SysWOW64\explorer.exe
          explorer.exe
          3⤵
          • Drops file in System32 directory
          • Suspicious use of AdjustPrivilegeToken
          PID:4364
        • C:\Windows\SysWOW64\install\server.exe
          "C:\Windows\system32\install\server.exe"
          3⤵
          • Executes dropped EXE
          • Suspicious behavior: EnumeratesProcesses
          PID:3832

    Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          Admin2.txt

          • Path C:\Users\Admin\AppData\Local\Temp\Admin2.txt
          • Size 234KB
          • SHA256 c04636977c98bf60eed90d457cef424319e1330b65fe14250d591f4ce7ee29a5
          • MD5 SHA1 SHA512 SSDEEP

          server.exe

          • Path C:\Windows\SysWOW64\install\server.exe
          • Size 277KB
          • SHA256 f5d3d3ba311953c28c95f4ba028057e0821a24b30941bb4e9e2cfb4e138cfa71
          • MD5 SHA1 SHA512 SSDEEP

          server.exe

          • Path C:\Windows\SysWOW64\install\server.exe
          • Size 277KB
          • SHA256 f5d3d3ba311953c28c95f4ba028057e0821a24b30941bb4e9e2cfb4e138cfa71
          • MD5 SHA1 SHA512 SSDEEP

          memory/1964-141-0x0000000010480000-0x00000000104F0000-memory.dmp

          memory/1964-142-0x0000000010480000-0x00000000104F0000-memory.dmp

          memory/1964-154-0x0000000010480000-0x00000000104F0000-memory.dmp

          memory/3596-133-0x0000000010410000-0x0000000010480000-memory.dmp

          memory/3596-138-0x0000000010480000-0x00000000104F0000-memory.dmp

          memory/3596-147-0x00000000104F0000-0x0000000010560000-memory.dmp

          memory/4364-150-0x00000000104F0000-0x0000000010560000-memory.dmp

          memory/4364-151-0x00000000104F0000-0x0000000010560000-memory.dmp

          memory/4364-155-0x00000000104F0000-0x0000000010560000-memory.dmp