Analysis

  • max time kernel
    151s
  • max time network
    152s
  • platform
    windows7_x64
  • resource
    win7-20220901-en
  • resource tags

    arch:x64arch:x86image:win7-20220901-enlocale:en-usos:windows7-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 3 IoCs
  • UPX packed file 3 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Loads dropped DLL 1 IoCs
  • Adds Run key to start application 2 TTPs 2 IoCs
  • Drops file in System32 directory 4 IoCs
  • Suspicious use of SetThreadContext 4 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious behavior: EnumeratesProcesses 1 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 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:1400
      • 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:1324
        • 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:1064
          • 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:1876
            • C:\Windows\SysWOW64\explorer.exe
              explorer.exe
              5⤵
                PID:1012
              • C:\Program Files\Internet Explorer\iexplore.exe
                "C:\Program Files\Internet Explorer\iexplore.exe"
                5⤵
                  PID:892
                • C:\Users\Admin\AppData\Local\Temp\eb5503bbdba91c6fa7eff5b817c008dce05941e005c8578e36e5cdbdb6bf5b8e.exe
                  "C:\Users\Admin\AppData\Local\Temp\eb5503bbdba91c6fa7eff5b817c008dce05941e005c8578e36e5cdbdb6bf5b8e.exe"
                  5⤵
                  • Loads dropped DLL
                  • Drops file in System32 directory
                  • Suspicious behavior: GetForegroundWindowSpam
                  • Suspicious use of AdjustPrivilegeToken
                  PID:1476
                  • 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:1532
                    • 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:780
                      • C:\Windows\SysWOW64\zipfile\Hexor.exe
                        8⤵
                        • Executes dropped EXE
                        PID:1108

        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 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 \Windows\SysWOW64\zipfile\Hexor.exe
              • Size 791KB
              • SHA256 eb5503bbdba91c6fa7eff5b817c008dce05941e005c8578e36e5cdbdb6bf5b8e
              • MD5 SHA1 SHA512 SSDEEP

              memory/780-549-0x0000000000400000-0x000000000055B000-memory.dmp

              memory/780-556-0x0000000000400000-0x000000000055B000-memory.dmp

              memory/1012-305-0x0000000024080000-0x00000000240E2000-memory.dmp

              memory/1064-283-0x0000000000400000-0x000000000055B000-memory.dmp

              memory/1064-279-0x0000000000400000-0x000000000055B000-memory.dmp

              memory/1108-558-0x0000000000400000-0x000000000044E000-memory.dmp

              memory/1108-559-0x0000000000400000-0x000000000044E000-memory.dmp

              memory/1324-112-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-84-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-86-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-92-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-96-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-94-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-100-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-98-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-104-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-102-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-108-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-106-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-110-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-54-0x0000000075AC1000-0x0000000075AC3000-memory.dmp

              memory/1324-116-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-114-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-267-0x00000000748F0000-0x0000000074E9B000-memory.dmp

              memory/1324-88-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-276-0x00000000748F0000-0x0000000074E9B000-memory.dmp

              memory/1324-82-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-55-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-90-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-56-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-78-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-80-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-74-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-76-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-58-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-62-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-72-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-60-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-70-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-66-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-64-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1324-68-0x00000000003D0000-0x00000000003F2000-memory.dmp

              memory/1476-498-0x0000000024160000-0x00000000241C2000-memory.dmp

              memory/1476-560-0x0000000024160000-0x00000000241C2000-memory.dmp

              memory/1532-547-0x00000000737C0000-0x0000000073D6B000-memory.dmp

              memory/1532-496-0x00000000737C0000-0x0000000073D6B000-memory.dmp

              memory/1876-319-0x0000000000400000-0x000000000044E000-memory.dmp

              memory/1876-286-0x0000000000400000-0x000000000044E000-memory.dmp