Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24/11/2022, 04:12

General

  • Target
    eb5503bbdba91c6fa7eff5b817c008dce05941e005c8578e36e5cdbdb6bf5b8e.exe
  • Size 791KB
  • Sample221124-esttvsgd65
  • SHA256 eb5503bbdba91c6fa7eff5b817c008dce05941e005c8578e36e5cdbdb6bf5b8e
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • cybergate

Version
  • 2.6

Botnet
  • Hexor

C2
  • a411.no-ip.info:288

Mutex
  • ***MUTEX***

Attributes
  • enable_keylogger

    true

  • enable_message_box

    false

  • ftp_directory

    ./logs/

  • ftp_interval

    30

  • injected_process

    notpad.exe

  • install_dir

    zipfile

  • install_file

    Hexor.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

    HKCU

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 6 IoCs
  • UPX packed file 3 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 2 IoCs
  • Drops file in System32 directory 4 IoCs
  • Suspicious use of SetThreadContext 6 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 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 5 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:2492
      • C:\Users\Admin\AppData\Local\Temp\eb5503bbdba91c6fa7eff5b817c008dce05941e005c8578e36e5cdbdb6bf5b8e.exe
        "C:\Users\Admin\AppData\Local\Temp\eb5503bbdba91c6fa7eff5b817c008dce05941e005c8578e36e5cdbdb6bf5b8e.exe"
        2⤵
        • Suspicious use of SetThreadContext
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:4140
        • C:\Users\Admin\AppData\Local\Temp\eb5503bbdba91c6fa7eff5b817c008dce05941e005c8578e36e5cdbdb6bf5b8e.exe
          C:\Users\Admin\AppData\Local\Temp\eb5503bbdba91c6fa7eff5b817c008dce05941e005c8578e36e5cdbdb6bf5b8e.exe
          3⤵
          • Suspicious use of SetThreadContext
          • Suspicious use of SetWindowsHookEx
          • Suspicious use of WriteProcessMemory
          PID:3844
          • C:\Users\Admin\AppData\Local\Temp\eb5503bbdba91c6fa7eff5b817c008dce05941e005c8578e36e5cdbdb6bf5b8e.exe
            4⤵
            • Adds policy Run key to start application
            • Adds Run key to start application
            • Drops file in System32 directory
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of FindShellTrayWindow
            • Suspicious use of WriteProcessMemory
            PID:3892
            • C:\Windows\SysWOW64\explorer.exe
              explorer.exe
              5⤵
                PID:4596
                • C:\Windows\SysWOW64\zipfile\Hexor.exe
                  "C:\Windows\system32\zipfile\Hexor.exe"
                  6⤵
                  • Executes dropped EXE
                  • Suspicious use of SetThreadContext
                  • Suspicious use of AdjustPrivilegeToken
                  PID:2672
                  • C:\Windows\SysWOW64\zipfile\Hexor.exe
                    C:\Windows\SysWOW64\zipfile\Hexor.exe
                    7⤵
                    • Executes dropped EXE
                    • Suspicious use of SetThreadContext
                    • Suspicious use of SetWindowsHookEx
                    PID:1128
                    • C:\Windows\SysWOW64\zipfile\Hexor.exe
                      8⤵
                      • Executes dropped EXE
                      PID:1676
                      • C:\Windows\SysWOW64\WerFault.exe
                        C:\Windows\SysWOW64\WerFault.exe -u -p 1676 -s 532
                        9⤵
                        • Program crash
                        PID:4940
              • C:\Program Files\Internet Explorer\iexplore.exe
                "C:\Program Files\Internet Explorer\iexplore.exe"
                5⤵
                  PID:4976
                • C:\Users\Admin\AppData\Local\Temp\eb5503bbdba91c6fa7eff5b817c008dce05941e005c8578e36e5cdbdb6bf5b8e.exe
                  "C:\Users\Admin\AppData\Local\Temp\eb5503bbdba91c6fa7eff5b817c008dce05941e005c8578e36e5cdbdb6bf5b8e.exe"
                  5⤵
                  • Checks computer location settings
                  • Drops file in System32 directory
                  • Modifies registry class
                  • Suspicious behavior: GetForegroundWindowSpam
                  • Suspicious use of AdjustPrivilegeToken
                  PID:2912
                  • C:\Windows\SysWOW64\zipfile\Hexor.exe
                    "C:\Windows\system32\zipfile\Hexor.exe"
                    6⤵
                    • Executes dropped EXE
                    • Suspicious use of SetThreadContext
                    • Suspicious use of AdjustPrivilegeToken
                    PID:4136
                    • C:\Windows\SysWOW64\zipfile\Hexor.exe
                      C:\Windows\SysWOW64\zipfile\Hexor.exe
                      7⤵
                      • Executes dropped EXE
                      • Suspicious use of SetThreadContext
                      • Suspicious use of SetWindowsHookEx
                      PID:3952
                      • C:\Windows\SysWOW64\zipfile\Hexor.exe
                        8⤵
                        • Executes dropped EXE
                        PID:5104
                        • C:\Windows\SysWOW64\WerFault.exe
                          C:\Windows\SysWOW64\WerFault.exe -u -p 5104 -s 532
                          9⤵
                          • Program crash
                          PID:4884
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 1676 -ip 1676
          1⤵
            PID:2676
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 5104 -ip 5104
            1⤵
              PID:3396

            Network

                  MITRE ATT&CK Enterprise v6

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  Hexor.exe.log

                  • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v2.0_32\UsageLogs\Hexor.exe.log
                  • Size 319B
                  • SHA256 eb035294fbea39baa6e6c65cb7e06451987c51c5536586f23de5dc7f91096943
                  • MD5 SHA1 SHA512

                  XX--XX--XX.txt

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

                  Hexor.exe

                  • Path C:\Windows\SysWOW64\zipfile\Hexor.exe
                  • Size 791KB
                  • SHA256 eb5503bbdba91c6fa7eff5b817c008dce05941e005c8578e36e5cdbdb6bf5b8e
                  • MD5 SHA1 SHA512 SSDEEP

                  Hexor.exe

                  • Path C:\Windows\SysWOW64\zipfile\Hexor.exe
                  • Size 791KB
                  • SHA256 eb5503bbdba91c6fa7eff5b817c008dce05941e005c8578e36e5cdbdb6bf5b8e
                  • MD5 SHA1 SHA512 SSDEEP

                  Hexor.exe

                  • Path C:\Windows\SysWOW64\zipfile\Hexor.exe
                  • Size 791KB
                  • SHA256 eb5503bbdba91c6fa7eff5b817c008dce05941e005c8578e36e5cdbdb6bf5b8e
                  • MD5 SHA1 SHA512 SSDEEP

                  Hexor.exe

                  • Path C:\Windows\SysWOW64\zipfile\Hexor.exe
                  • Size 791KB
                  • SHA256 eb5503bbdba91c6fa7eff5b817c008dce05941e005c8578e36e5cdbdb6bf5b8e
                  • MD5 SHA1 SHA512 SSDEEP

                  Hexor.exe

                  • Path C:\Windows\SysWOW64\zipfile\Hexor.exe
                  • Size 791KB
                  • SHA256 eb5503bbdba91c6fa7eff5b817c008dce05941e005c8578e36e5cdbdb6bf5b8e
                  • MD5 SHA1 SHA512 SSDEEP

                  Hexor.exe

                  • Path C:\Windows\SysWOW64\zipfile\Hexor.exe
                  • Size 791KB
                  • SHA256 eb5503bbdba91c6fa7eff5b817c008dce05941e005c8578e36e5cdbdb6bf5b8e
                  • MD5 SHA1 SHA512 SSDEEP

                  Hexor.exe

                  • Path C:\Windows\SysWOW64\zipfile\Hexor.exe
                  • Size 791KB
                  • SHA256 eb5503bbdba91c6fa7eff5b817c008dce05941e005c8578e36e5cdbdb6bf5b8e
                  • MD5 SHA1 SHA512 SSDEEP

                  memory/1128-651-0x0000000000400000-0x000000000055B000-memory.dmp

                  memory/1128-628-0x0000000000400000-0x000000000055B000-memory.dmp

                  memory/1676-655-0x0000000000400000-0x000000000044E000-memory.dmp

                  memory/1676-845-0x0000000000400000-0x000000000044E000-memory.dmp

                  memory/2672-614-0x0000000072540000-0x0000000072AF1000-memory.dmp

                  memory/2672-598-0x0000000072540000-0x0000000072AF1000-memory.dmp

                  memory/2912-383-0x0000000024160000-0x00000000241C2000-memory.dmp

                  memory/2912-846-0x0000000024160000-0x00000000241C2000-memory.dmp

                  memory/3844-355-0x0000000000400000-0x000000000055B000-memory.dmp

                  memory/3844-350-0x0000000000400000-0x000000000055B000-memory.dmp

                  memory/3892-357-0x0000000000400000-0x000000000044E000-memory.dmp

                  memory/3892-382-0x0000000000400000-0x000000000044E000-memory.dmp

                  memory/3892-371-0x0000000000400000-0x000000000044E000-memory.dmp

                  memory/3952-843-0x0000000000400000-0x000000000055B000-memory.dmp

                  memory/3952-835-0x0000000000400000-0x000000000055B000-memory.dmp

                  memory/4136-834-0x0000000072540000-0x0000000072AF1000-memory.dmp

                  memory/4136-626-0x0000000072540000-0x0000000072AF1000-memory.dmp

                  memory/4140-163-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-157-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-177-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-132-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-175-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-179-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-133-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-173-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-171-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-135-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-344-0x0000000074880000-0x0000000074E31000-memory.dmp

                  memory/4140-169-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-195-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-167-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-165-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-181-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-161-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-193-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-159-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-349-0x0000000074880000-0x0000000074E31000-memory.dmp

                  memory/4140-155-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-153-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-191-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-151-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-149-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-147-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-145-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-143-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-189-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-141-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-139-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-187-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-185-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-183-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4140-137-0x00000000001D0000-0x00000000001F2000-memory.dmp

                  memory/4596-370-0x0000000024080000-0x00000000240E2000-memory.dmp

                  memory/5104-844-0x0000000000400000-0x000000000044E000-memory.dmp