Analysis

  • max time kernel
    181s
  • max time network
    183s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220414-en
  • submitted
    04-06-2022 10:24

General

  • Target

    110416ea23ee4703887b07825a237116e030d4b3c7b77bb432d5dff7ed839109.exe

  • Size

    360KB

  • MD5

    3c91f4d9391110fd2f7046b3af9bfaef

  • SHA1

    2ff21254adbe43aeb31121cbe8f23e752dee2aee

  • SHA256

    110416ea23ee4703887b07825a237116e030d4b3c7b77bb432d5dff7ed839109

  • SHA512

    3e3c58a631ad1ad483fe5854a543baf43ff3913ffdb56c12d176e6c2b9dc74c2e699db9031f097b56e29cd5f09cffc4bec6efdf7bf7e769827facb199caaa163

Malware Config

Extracted

Family

cybergate

Version

2.6

Botnet

1877

C2

fir3wall.zapto.org:84

127.0.0.1:84

Mutex

***MUTEX***

Attributes
  • enable_keylogger

    true

  • enable_message_box

    false

  • ftp_directory

    ./logs/

  • ftp_interval

    30

  • injected_process

    explorer.exe

  • install_dir

    rundll

  • install_file

    rundll32.exe

  • install_flag

    true

  • keylogger_enable_ftp

    false

  • message_box_caption

    texto da mensagem

  • message_box_title

    título da mensagem

  • password

    abcd1234

  • regkey_hkcu

    rundll32

  • regkey_hklm

    rundll

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 20 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
  • 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 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 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:744
      • C:\Users\Admin\AppData\Local\Temp\110416ea23ee4703887b07825a237116e030d4b3c7b77bb432d5dff7ed839109.exe
        "C:\Users\Admin\AppData\Local\Temp\110416ea23ee4703887b07825a237116e030d4b3c7b77bb432d5dff7ed839109.exe"
        2⤵
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4248
        • C:\Users\Admin\AppData\Local\Temp\110416ea23ee4703887b07825a237116e030d4b3c7b77bb432d5dff7ed839109.exe
          "C:\Users\Admin\AppData\Local\Temp\110416ea23ee4703887b07825a237116e030d4b3c7b77bb432d5dff7ed839109.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:4980
          • C:\Windows\SysWOW64\explorer.exe
            explorer.exe
            4⤵
            • Modifies Installed Components in the registry
            PID:3932
            • C:\Windows\SysWOW64\rundll\rundll32.exe
              "C:\Windows\system32\rundll\rundll32.exe"
              5⤵
              • Executes dropped EXE
              • Suspicious use of SetThreadContext
              PID:2108
              • C:\Windows\SysWOW64\rundll\rundll32.exe
                "C:\Windows\SysWOW64\rundll\rundll32.exe"
                6⤵
                • Executes dropped EXE
                PID:4600
                • C:\Windows\SysWOW64\WerFault.exe
                  C:\Windows\SysWOW64\WerFault.exe -u -p 4600 -s 708
                  7⤵
                  • Program crash
                  PID:312
          • C:\Program Files\Internet Explorer\iexplore.exe
            "C:\Program Files\Internet Explorer\iexplore.exe"
            4⤵
              PID:5072
            • C:\Users\Admin\AppData\Local\Temp\110416ea23ee4703887b07825a237116e030d4b3c7b77bb432d5dff7ed839109.exe
              "C:\Users\Admin\AppData\Local\Temp\110416ea23ee4703887b07825a237116e030d4b3c7b77bb432d5dff7ed839109.exe"
              4⤵
              • Checks computer location settings
              • Drops file in System32 directory
              • Suspicious behavior: GetForegroundWindowSpam
              • Suspicious use of AdjustPrivilegeToken
              PID:4032
              • C:\Windows\SysWOW64\rundll\rundll32.exe
                "C:\Windows\system32\rundll\rundll32.exe"
                5⤵
                • Executes dropped EXE
                • Suspicious use of SetThreadContext
                PID:3604
                • C:\Windows\SysWOW64\rundll\rundll32.exe
                  "C:\Windows\SysWOW64\rundll\rundll32.exe"
                  6⤵
                  • Executes dropped EXE
                  • Suspicious behavior: EnumeratesProcesses
                  PID:400
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4600 -ip 4600
        1⤵
          PID:1460

        Network

        MITRE ATT&CK Matrix ATT&CK v6

        Persistence

        Registry Run Keys / Startup Folder

        3
        T1060

        Defense Evasion

        Modify Registry

        3
        T1112

        Discovery

        Query Registry

        1
        T1012

        System Information Discovery

        2
        T1082

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          229KB

          MD5

          b0f19c7135601dea1d1630b56ba24833

          SHA1

          f82935cf94e6455295aebc2b0836e1d2d4102802

          SHA256

          5cc5c2f6fdd0ba18d138b7c2b3cc90c6c5f0269522bd71afaa747eaa84f80f88

          SHA512

          1916d9b09e7e331047960f75c3b8cd3b9ae91259b33545d66aca910e11d47110d3d4c670523e476f91d96f51ad1d6c1252d429969532256f472767470ddad64f

        • C:\Windows\SysWOW64\rundll\rundll32.exe
          Filesize

          360KB

          MD5

          3c91f4d9391110fd2f7046b3af9bfaef

          SHA1

          2ff21254adbe43aeb31121cbe8f23e752dee2aee

          SHA256

          110416ea23ee4703887b07825a237116e030d4b3c7b77bb432d5dff7ed839109

          SHA512

          3e3c58a631ad1ad483fe5854a543baf43ff3913ffdb56c12d176e6c2b9dc74c2e699db9031f097b56e29cd5f09cffc4bec6efdf7bf7e769827facb199caaa163

        • C:\Windows\SysWOW64\rundll\rundll32.exe
          Filesize

          360KB

          MD5

          3c91f4d9391110fd2f7046b3af9bfaef

          SHA1

          2ff21254adbe43aeb31121cbe8f23e752dee2aee

          SHA256

          110416ea23ee4703887b07825a237116e030d4b3c7b77bb432d5dff7ed839109

          SHA512

          3e3c58a631ad1ad483fe5854a543baf43ff3913ffdb56c12d176e6c2b9dc74c2e699db9031f097b56e29cd5f09cffc4bec6efdf7bf7e769827facb199caaa163

        • C:\Windows\SysWOW64\rundll\rundll32.exe
          Filesize

          360KB

          MD5

          3c91f4d9391110fd2f7046b3af9bfaef

          SHA1

          2ff21254adbe43aeb31121cbe8f23e752dee2aee

          SHA256

          110416ea23ee4703887b07825a237116e030d4b3c7b77bb432d5dff7ed839109

          SHA512

          3e3c58a631ad1ad483fe5854a543baf43ff3913ffdb56c12d176e6c2b9dc74c2e699db9031f097b56e29cd5f09cffc4bec6efdf7bf7e769827facb199caaa163

        • C:\Windows\SysWOW64\rundll\rundll32.exe
          Filesize

          360KB

          MD5

          3c91f4d9391110fd2f7046b3af9bfaef

          SHA1

          2ff21254adbe43aeb31121cbe8f23e752dee2aee

          SHA256

          110416ea23ee4703887b07825a237116e030d4b3c7b77bb432d5dff7ed839109

          SHA512

          3e3c58a631ad1ad483fe5854a543baf43ff3913ffdb56c12d176e6c2b9dc74c2e699db9031f097b56e29cd5f09cffc4bec6efdf7bf7e769827facb199caaa163

        • C:\Windows\SysWOW64\rundll\rundll32.exe
          Filesize

          360KB

          MD5

          3c91f4d9391110fd2f7046b3af9bfaef

          SHA1

          2ff21254adbe43aeb31121cbe8f23e752dee2aee

          SHA256

          110416ea23ee4703887b07825a237116e030d4b3c7b77bb432d5dff7ed839109

          SHA512

          3e3c58a631ad1ad483fe5854a543baf43ff3913ffdb56c12d176e6c2b9dc74c2e699db9031f097b56e29cd5f09cffc4bec6efdf7bf7e769827facb199caaa163

        • memory/400-181-0x0000000000400000-0x0000000000455000-memory.dmp
          Filesize

          340KB

        • memory/400-180-0x0000000000400000-0x0000000000455000-memory.dmp
          Filesize

          340KB

        • memory/400-174-0x0000000000000000-mapping.dmp
        • memory/2108-162-0x0000000000000000-mapping.dmp
        • memory/3604-170-0x0000000000000000-mapping.dmp
        • memory/3932-148-0x0000000024080000-0x00000000240E2000-memory.dmp
          Filesize

          392KB

        • memory/3932-145-0x0000000024080000-0x00000000240E2000-memory.dmp
          Filesize

          392KB

        • memory/3932-141-0x0000000000000000-mapping.dmp
        • memory/4032-161-0x0000000024160000-0x00000000241C2000-memory.dmp
          Filesize

          392KB

        • memory/4032-155-0x0000000000000000-mapping.dmp
        • memory/4032-173-0x0000000024160000-0x00000000241C2000-memory.dmp
          Filesize

          392KB

        • memory/4032-159-0x0000000024160000-0x00000000241C2000-memory.dmp
          Filesize

          392KB

        • memory/4600-169-0x0000000000400000-0x0000000000455000-memory.dmp
          Filesize

          340KB

        • memory/4600-168-0x0000000000400000-0x0000000000455000-memory.dmp
          Filesize

          340KB

        • memory/4600-172-0x0000000000400000-0x0000000000455000-memory.dmp
          Filesize

          340KB

        • memory/4600-164-0x0000000000000000-mapping.dmp
        • memory/4980-149-0x0000000000400000-0x0000000000455000-memory.dmp
          Filesize

          340KB

        • memory/4980-151-0x00000000240F0000-0x0000000024152000-memory.dmp
          Filesize

          392KB

        • memory/4980-131-0x0000000000400000-0x0000000000455000-memory.dmp
          Filesize

          340KB

        • memory/4980-160-0x0000000000400000-0x0000000000455000-memory.dmp
          Filesize

          340KB

        • memory/4980-142-0x0000000024080000-0x00000000240E2000-memory.dmp
          Filesize

          392KB

        • memory/4980-156-0x0000000024160000-0x00000000241C2000-memory.dmp
          Filesize

          392KB

        • memory/4980-137-0x0000000024010000-0x0000000024072000-memory.dmp
          Filesize

          392KB

        • memory/4980-135-0x0000000000400000-0x0000000000455000-memory.dmp
          Filesize

          340KB

        • memory/4980-134-0x0000000000400000-0x0000000000455000-memory.dmp
          Filesize

          340KB

        • memory/4980-133-0x0000000000400000-0x0000000000455000-memory.dmp
          Filesize

          340KB

        • memory/4980-130-0x0000000000000000-mapping.dmp