Analysis

  • max time kernel
    203s
  • max time network
    98s
  • platform
    windows7_x64
  • resource
    win7-20221111-en
  • resource tags

    arch:x64arch:x86image:win7-20221111-enlocale:en-usos:windows7-x64system
  • submitted
    23-11-2022 17:03

General

  • Target

    afaf0535ba5bb34319018af6966309650cd1d061cb7b00716b70354a4050f735.exe

  • Size

    444KB

  • MD5

    2a8be768ad768c49aa03ab767f5cc2cf

  • SHA1

    6b8ca24e5512c9bdcca6413724cc78c0bf1c5655

  • SHA256

    afaf0535ba5bb34319018af6966309650cd1d061cb7b00716b70354a4050f735

  • SHA512

    5dd586999a9938c3eee0c0d0909f15dc27f201955e1bc61c9ef1cdf542bc4584af388f8e5545ad96fb4fd50fd0ac9b9285aeae79b3e917e9ac872f1fb4b4693f

  • SSDEEP

    12288:y9SNDGZ2bAWukq0S/G/Js6jbX+sIolxAcS:gSlLbqk2cb/+sIoz7S

Malware Config

Extracted

Family

cybergate

Version

2.6

Botnet

maroc

C2

bifrosttest.no-ip.org:82

Mutex

***MUTEX***

Attributes
  • enable_keylogger

    true

  • enable_message_box

    false

  • ftp_directory

    ./logs/

  • ftp_interval

    30

  • injected_process

    explorer.exe

  • install_dir

    spynet

  • install_file

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

  • 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 24 IoCs

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

  • Loads dropped DLL 3 IoCs
  • Adds Run key to start application 2 TTPs 4 IoCs
  • Drops file in Windows directory 4 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • 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 WriteProcessMemory 64 IoCs

Processes

  • C:\Windows\Explorer.EXE
    C:\Windows\Explorer.EXE
    1⤵
      PID:1252
      • C:\Users\Admin\AppData\Local\Temp\afaf0535ba5bb34319018af6966309650cd1d061cb7b00716b70354a4050f735.exe
        "C:\Users\Admin\AppData\Local\Temp\afaf0535ba5bb34319018af6966309650cd1d061cb7b00716b70354a4050f735.exe"
        2⤵
        • Adds policy Run key to start application
        • Modifies Installed Components in the registry
        • Adds Run key to start application
        • Drops file in Windows directory
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of FindShellTrayWindow
        • Suspicious use of WriteProcessMemory
        PID:888
        • C:\Windows\SysWOW64\explorer.exe
          explorer.exe
          3⤵
          • Modifies Installed Components in the registry
          • Loads dropped DLL
          PID:912
          • C:\Windows\spynet\server.exe
            "C:\Windows\spynet\server.exe"
            4⤵
            • Executes dropped EXE
            • Suspicious behavior: EnumeratesProcesses
            PID:1716
        • C:\Program Files\Internet Explorer\iexplore.exe
          "C:\Program Files\Internet Explorer\iexplore.exe"
          3⤵
            PID:1512
          • C:\Users\Admin\AppData\Local\Temp\afaf0535ba5bb34319018af6966309650cd1d061cb7b00716b70354a4050f735.exe
            "C:\Users\Admin\AppData\Local\Temp\afaf0535ba5bb34319018af6966309650cd1d061cb7b00716b70354a4050f735.exe"
            3⤵
            • Loads dropped DLL
            • Drops file in Windows directory
            • Suspicious behavior: GetForegroundWindowSpam
            • Suspicious use of AdjustPrivilegeToken
            PID:1404
            • C:\Windows\spynet\server.exe
              "C:\Windows\spynet\server.exe"
              4⤵
              • Executes dropped EXE
              PID:320

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        229KB

        MD5

        1cea8c1079294dd480c1c0e3f46f44c0

        SHA1

        4e024130f6def7656991c7d452e3a80df201a6c6

        SHA256

        5a1807d6503c5c631ec1b8c950622867b3e6c41c3b26bc1c78a2b7414a96046a

        SHA512

        a737c1184e49db289d6577324fad44b11b744b0a6c7645ca1f9bd50bb2eec25584940cfc1af206f37d44931418784adedede6fa1fc78c447c4efc30097665a74

      • C:\Windows\spynet\server.exe

        Filesize

        444KB

        MD5

        2a8be768ad768c49aa03ab767f5cc2cf

        SHA1

        6b8ca24e5512c9bdcca6413724cc78c0bf1c5655

        SHA256

        afaf0535ba5bb34319018af6966309650cd1d061cb7b00716b70354a4050f735

        SHA512

        5dd586999a9938c3eee0c0d0909f15dc27f201955e1bc61c9ef1cdf542bc4584af388f8e5545ad96fb4fd50fd0ac9b9285aeae79b3e917e9ac872f1fb4b4693f

      • C:\Windows\spynet\server.exe

        Filesize

        444KB

        MD5

        2a8be768ad768c49aa03ab767f5cc2cf

        SHA1

        6b8ca24e5512c9bdcca6413724cc78c0bf1c5655

        SHA256

        afaf0535ba5bb34319018af6966309650cd1d061cb7b00716b70354a4050f735

        SHA512

        5dd586999a9938c3eee0c0d0909f15dc27f201955e1bc61c9ef1cdf542bc4584af388f8e5545ad96fb4fd50fd0ac9b9285aeae79b3e917e9ac872f1fb4b4693f

      • C:\Windows\spynet\server.exe

        Filesize

        444KB

        MD5

        2a8be768ad768c49aa03ab767f5cc2cf

        SHA1

        6b8ca24e5512c9bdcca6413724cc78c0bf1c5655

        SHA256

        afaf0535ba5bb34319018af6966309650cd1d061cb7b00716b70354a4050f735

        SHA512

        5dd586999a9938c3eee0c0d0909f15dc27f201955e1bc61c9ef1cdf542bc4584af388f8e5545ad96fb4fd50fd0ac9b9285aeae79b3e917e9ac872f1fb4b4693f

      • \Windows\spynet\server.exe

        Filesize

        444KB

        MD5

        2a8be768ad768c49aa03ab767f5cc2cf

        SHA1

        6b8ca24e5512c9bdcca6413724cc78c0bf1c5655

        SHA256

        afaf0535ba5bb34319018af6966309650cd1d061cb7b00716b70354a4050f735

        SHA512

        5dd586999a9938c3eee0c0d0909f15dc27f201955e1bc61c9ef1cdf542bc4584af388f8e5545ad96fb4fd50fd0ac9b9285aeae79b3e917e9ac872f1fb4b4693f

      • \Windows\spynet\server.exe

        Filesize

        444KB

        MD5

        2a8be768ad768c49aa03ab767f5cc2cf

        SHA1

        6b8ca24e5512c9bdcca6413724cc78c0bf1c5655

        SHA256

        afaf0535ba5bb34319018af6966309650cd1d061cb7b00716b70354a4050f735

        SHA512

        5dd586999a9938c3eee0c0d0909f15dc27f201955e1bc61c9ef1cdf542bc4584af388f8e5545ad96fb4fd50fd0ac9b9285aeae79b3e917e9ac872f1fb4b4693f

      • \Windows\spynet\server.exe

        Filesize

        444KB

        MD5

        2a8be768ad768c49aa03ab767f5cc2cf

        SHA1

        6b8ca24e5512c9bdcca6413724cc78c0bf1c5655

        SHA256

        afaf0535ba5bb34319018af6966309650cd1d061cb7b00716b70354a4050f735

        SHA512

        5dd586999a9938c3eee0c0d0909f15dc27f201955e1bc61c9ef1cdf542bc4584af388f8e5545ad96fb4fd50fd0ac9b9285aeae79b3e917e9ac872f1fb4b4693f

      • memory/320-110-0x0000000000400000-0x0000000000456E00-memory.dmp

        Filesize

        347KB

      • memory/320-105-0x0000000000000000-mapping.dmp

      • memory/320-109-0x0000000000400000-0x0000000000456E00-memory.dmp

        Filesize

        347KB

      • memory/888-66-0x0000000024080000-0x00000000240E2000-memory.dmp

        Filesize

        392KB

      • memory/888-54-0x0000000000400000-0x0000000000456E00-memory.dmp

        Filesize

        347KB

      • memory/888-55-0x0000000075EC1000-0x0000000075EC3000-memory.dmp

        Filesize

        8KB

      • memory/888-82-0x0000000000220000-0x0000000000277000-memory.dmp

        Filesize

        348KB

      • memory/888-57-0x0000000024010000-0x0000000024072000-memory.dmp

        Filesize

        392KB

      • memory/888-84-0x0000000024160000-0x00000000241C2000-memory.dmp

        Filesize

        392KB

      • memory/888-90-0x0000000000400000-0x0000000000456E00-memory.dmp

        Filesize

        347KB

      • memory/888-76-0x00000000240F0000-0x0000000024152000-memory.dmp

        Filesize

        392KB

      • memory/912-65-0x00000000752C1000-0x00000000752C3000-memory.dmp

        Filesize

        8KB

      • memory/912-102-0x00000000039C0000-0x0000000003A17000-memory.dmp

        Filesize

        348KB

      • memory/912-63-0x0000000000000000-mapping.dmp

      • memory/912-71-0x0000000024080000-0x00000000240E2000-memory.dmp

        Filesize

        392KB

      • memory/912-98-0x00000000039C0000-0x0000000003A17000-memory.dmp

        Filesize

        348KB

      • memory/912-74-0x0000000024080000-0x00000000240E2000-memory.dmp

        Filesize

        392KB

      • memory/912-97-0x00000000039C0000-0x0000000003A17000-memory.dmp

        Filesize

        348KB

      • memory/912-103-0x00000000039C0000-0x0000000003A17000-memory.dmp

        Filesize

        348KB

      • memory/1252-60-0x0000000024010000-0x0000000024072000-memory.dmp

        Filesize

        392KB

      • memory/1404-91-0x0000000024160000-0x00000000241C2000-memory.dmp

        Filesize

        392KB

      • memory/1404-101-0x0000000024160000-0x00000000241C2000-memory.dmp

        Filesize

        392KB

      • memory/1404-89-0x0000000024160000-0x00000000241C2000-memory.dmp

        Filesize

        392KB

      • memory/1404-108-0x0000000005360000-0x00000000053B7000-memory.dmp

        Filesize

        348KB

      • memory/1404-83-0x0000000000400000-0x0000000000456E00-memory.dmp

        Filesize

        347KB

      • memory/1404-80-0x0000000000000000-mapping.dmp

      • memory/1716-100-0x0000000000400000-0x0000000000456E00-memory.dmp

        Filesize

        347KB

      • memory/1716-99-0x0000000000400000-0x0000000000456E00-memory.dmp

        Filesize

        347KB

      • memory/1716-94-0x0000000000000000-mapping.dmp