Analysis

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

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22/11/2022, 23:59

General

  • Target
    20f26f0431a93a8d670f689d846062e815b5eeb73aa0d295a285f459e6aad4d0.exe
  • Size 293KB
  • Sample221122-316emahb3z
  • SHA256 20f26f0431a93a8d670f689d846062e815b5eeb73aa0d295a285f459e6aad4d0
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • cybergate

Version
  • v1.02.0

Botnet
  • remote

C2
  • adrian15.ddns.net:81

  • adrian15.ddns.net:82

Mutex
  • 5O334LO225PP80

Attributes
  • enable_keylogger

    true

  • enable_message_box

    false

  • ftp_directory

    ./logs/

  • ftp_interval

    30

  • injected_process

    explorer.exe

  • install_dir

    win

  • install_file

    winr.exe

  • install_flag

    true

  • keylogger_enable_ftp

    false

  • message_box_caption

    Remote Administration anywhere in the world.

  • message_box_title

    CyberGate

  • password

    pinomontano200000

  • 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 2 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
  • Suspicious use of SetThreadContext 2 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Program crash 1 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 2 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Windows\Explorer.EXE
    C:\Windows\Explorer.EXE
    1⤵
      PID:2584
      • C:\Users\Admin\AppData\Local\Temp\20f26f0431a93a8d670f689d846062e815b5eeb73aa0d295a285f459e6aad4d0.exe
        "C:\Users\Admin\AppData\Local\Temp\20f26f0431a93a8d670f689d846062e815b5eeb73aa0d295a285f459e6aad4d0.exe"
        2⤵
        • Suspicious use of SetThreadContext
        • Suspicious use of SetWindowsHookEx
        • Suspicious use of WriteProcessMemory
        PID:1340
        • C:\Users\Admin\AppData\Local\Temp\20f26f0431a93a8d670f689d846062e815b5eeb73aa0d295a285f459e6aad4d0.exe
          "C:\Users\Admin\AppData\Local\Temp\20f26f0431a93a8d670f689d846062e815b5eeb73aa0d295a285f459e6aad4d0.exe"
          3⤵
          • Adds policy Run key to start application
          • Modifies Installed Components in the registry
          • Adds Run key to start application
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of FindShellTrayWindow
          • Suspicious use of WriteProcessMemory
          PID:3568
          • C:\Windows\SysWOW64\explorer.exe
            explorer.exe
            4⤵
            • Modifies Installed Components in the registry
            PID:2748
          • C:\Program Files\Internet Explorer\iexplore.exe
            "C:\Program Files\Internet Explorer\iexplore.exe"
            4⤵
              PID:1428
            • C:\Users\Admin\AppData\Local\Temp\20f26f0431a93a8d670f689d846062e815b5eeb73aa0d295a285f459e6aad4d0.exe
              "C:\Users\Admin\AppData\Local\Temp\20f26f0431a93a8d670f689d846062e815b5eeb73aa0d295a285f459e6aad4d0.exe"
              4⤵
              • Checks computer location settings
              • Suspicious behavior: GetForegroundWindowSpam
              • Suspicious use of AdjustPrivilegeToken
              PID:4328
              • C:\window\wine\win\winr.exe
                "C:\window\wine\win\winr.exe"
                5⤵
                • Executes dropped EXE
                • Suspicious use of SetThreadContext
                • Suspicious use of SetWindowsHookEx
                PID:3716
                • C:\window\wine\win\winr.exe
                  "C:\window\wine\win\winr.exe"
                  6⤵
                  • Executes dropped EXE
                  PID:2852
                  • C:\Windows\SysWOW64\WerFault.exe
                    C:\Windows\SysWOW64\WerFault.exe -u -p 2852 -s 532
                    7⤵
                    • Program crash
                    PID:2552
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2852 -ip 2852
        1⤵
          PID:1616

        Network

              MITRE ATT&CK Enterprise v6

              Replay Monitor

              Loading Replay Monitor...

              Downloads

              XX--XX--XX.txt

              • Path C:\Users\Admin\AppData\Local\Temp\XX--XX--XX.txt
              • Size 219KB
              • SHA256 907098a4532098b4e86636ac258de496c3d68692a4c2e51212c21aa5184e0504
              • MD5 SHA1 SHA512 SSDEEP

              winr.exe

              • Path C:\window\wine\win\winr.exe
              • Size 293KB
              • SHA256 20f26f0431a93a8d670f689d846062e815b5eeb73aa0d295a285f459e6aad4d0
              • MD5 SHA1 SHA512 SSDEEP

              winr.exe

              • Path C:\window\wine\win\winr.exe
              • Size 293KB
              • SHA256 20f26f0431a93a8d670f689d846062e815b5eeb73aa0d295a285f459e6aad4d0
              • MD5 SHA1 SHA512 SSDEEP

              winr.exe

              • Path \??\c:\window\wine\win\winr.exe
              • Size 293KB
              • SHA256 20f26f0431a93a8d670f689d846062e815b5eeb73aa0d295a285f459e6aad4d0
              • MD5 SHA1 SHA512 SSDEEP

              memory/2748-151-0x0000000024070000-0x00000000240CF000-memory.dmp

              memory/2748-148-0x0000000024070000-0x00000000240CF000-memory.dmp

              memory/2852-173-0x0000000000400000-0x000000000044B000-memory.dmp

              memory/2852-172-0x0000000000400000-0x000000000044B000-memory.dmp

              memory/3568-153-0x00000000240D0000-0x000000002412F000-memory.dmp

              memory/3568-138-0x0000000000400000-0x000000000044B000-memory.dmp

              memory/3568-135-0x0000000000400000-0x000000000044B000-memory.dmp

              memory/3568-158-0x0000000024130000-0x000000002418F000-memory.dmp

              memory/3568-136-0x0000000000400000-0x000000000044B000-memory.dmp

              memory/3568-162-0x0000000000400000-0x000000000044B000-memory.dmp

              memory/3568-137-0x0000000000400000-0x000000000044B000-memory.dmp

              memory/3568-145-0x0000000024070000-0x00000000240CF000-memory.dmp

              memory/3568-140-0x0000000024010000-0x000000002406F000-memory.dmp

              memory/4328-163-0x0000000024130000-0x000000002418F000-memory.dmp

              memory/4328-161-0x0000000024130000-0x000000002418F000-memory.dmp

              memory/4328-174-0x0000000024130000-0x000000002418F000-memory.dmp