Analysis

  • max time kernel
    151s
  • max time network
    152s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220901-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19/10/2022, 13:59

General

  • Target
    7cee20404dcd952f8c36eba29f9efe59b5a0436535738490cd99d06f29100034.exe
  • Size 283KB
  • Sample221019-rak58abccr
  • SHA256 7cee20404dcd952f8c36eba29f9efe59b5a0436535738490cd99d06f29100034
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • cybergate

Version
  • v1.05.12

Botnet
  • Toledano

C2
  • microsafe.redirectme.net:1025

  • spamfighter.serveblog.net:1025

Mutex
  • AYRFB63B4RCE3Q

Attributes
  • enable_keylogger

    true

  • enable_message_box

    false

  • ftp_directory

    ./logs/

  • ftp_interval

    30

  • injected_process

    explorer.exe

  • install_dir

    Derive

  • install_file

    Derive 5.exe

  • install_flag

    true

  • keylogger_enable_ftp

    false

  • message_box_caption

    Remote Administration anywhere in the world.

  • message_box_title

    CyberGate

  • password

    AVFuck3

  • regkey_hkcu

    Derive5

  • regkey_hklm

    Derive5

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 2 IoCs
  • UPX packed file 5 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 4 IoCs
  • Enumerates physical storage devices 1 TTPs

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

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\7cee20404dcd952f8c36eba29f9efe59b5a0436535738490cd99d06f29100034.exe
    "C:\Users\Admin\AppData\Local\Temp\7cee20404dcd952f8c36eba29f9efe59b5a0436535738490cd99d06f29100034.exe"
    1⤵
    • 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 use of WriteProcessMemory
    PID:1724
    • C:\Program Files\Internet Explorer\iexplore.exe
      "C:\Program Files\Internet Explorer\iexplore.exe"
      2⤵
        PID:3880
      • C:\Users\Admin\AppData\Local\Temp\7cee20404dcd952f8c36eba29f9efe59b5a0436535738490cd99d06f29100034.exe
        "C:\Users\Admin\AppData\Local\Temp\7cee20404dcd952f8c36eba29f9efe59b5a0436535738490cd99d06f29100034.exe"
        2⤵
        • Checks computer location settings
        • Drops file in System32 directory
        • Modifies registry class
        • Suspicious behavior: GetForegroundWindowSpam
        • Suspicious use of AdjustPrivilegeToken
        PID:3832
        • C:\Windows\SysWOW64\Derive\Derive 5.exe
          "C:\Windows\system32\Derive\Derive 5.exe"
          3⤵
          • Executes dropped EXE
          PID:3220
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -u -p 3220 -s 576
            4⤵
            • Program crash
            PID:2240
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3220 -ip 3220
      1⤵
        PID:4580

      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 222KB
            • SHA256 602b3eab58a7921cdcdd331e0f9a2f3fa7f6fc6315cda3d1f4ca06a0506cb6ef
            • MD5 SHA1 SHA512 SSDEEP

            Derive 5.exe

            • Path C:\Windows\SysWOW64\Derive\Derive 5.exe
            • Size 283KB
            • SHA256 7cee20404dcd952f8c36eba29f9efe59b5a0436535738490cd99d06f29100034
            • MD5 SHA1 SHA512 SSDEEP

            Derive 5.exe

            • Path C:\Windows\SysWOW64\Derive\Derive 5.exe
            • Size 283KB
            • SHA256 7cee20404dcd952f8c36eba29f9efe59b5a0436535738490cd99d06f29100034
            • MD5 SHA1 SHA512 SSDEEP

            memory/1724-133-0x0000000010410000-0x0000000010471000-memory.dmp

            memory/1724-138-0x0000000010480000-0x00000000104E1000-memory.dmp

            memory/3832-141-0x0000000010480000-0x00000000104E1000-memory.dmp

            memory/3832-144-0x0000000010480000-0x00000000104E1000-memory.dmp

            memory/3832-147-0x0000000010480000-0x00000000104E1000-memory.dmp