Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04-12-2022 07:58

General

  • Target

    d247a6283c033501431513bffbcdc744de16f348ad27711798bd9581f1d52106.exe

  • Size

    314KB

  • MD5

    8f5403bdb210cd2a8b11a6735d3caf39

  • SHA1

    7f014271c26ff7f4283d5dbc0c9e4e4dfa6296e8

  • SHA256

    d247a6283c033501431513bffbcdc744de16f348ad27711798bd9581f1d52106

  • SHA512

    92f3bef8b00659b10bf4eff493f853851a273e976cba7c514cc79724621cb1572d5463d2e97db2b12396c9b5014fd1ac0c707aff2159607d70abdd4a91031328

  • SSDEEP

    6144:nMEdQ3P1OdmMEusiTlybuDuWJ9XlGdbcfKbVOsPUD3tJT2f45:dUsdm6hpyyDuWJ9XlWf8D9F2f4

Malware Config

Extracted

Family

cybergate

Version

2.6

Botnet

vítima

C2

totty46.no-ip.org:288

Mutex

***MUTEX***

Attributes
  • enable_keylogger

    true

  • enable_message_box

    false

  • ftp_directory

    ./logs/

  • ftp_interval

    30

  • injected_process

    explorer.exe

  • install_dir

    totty

  • 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 2 IoCs
  • UPX packed file 13 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
  • Suspicious use of SetThreadContext 2 IoCs
  • Drops file in Program Files directory 2 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: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of SetWindowsHookEx 2 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\d247a6283c033501431513bffbcdc744de16f348ad27711798bd9581f1d52106.exe
    "C:\Users\Admin\AppData\Local\Temp\d247a6283c033501431513bffbcdc744de16f348ad27711798bd9581f1d52106.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:2352
    • C:\Users\Admin\AppData\Local\Temp\d247a6283c033501431513bffbcdc744de16f348ad27711798bd9581f1d52106.exe
      C:\Users\Admin\AppData\Local\Temp\d247a6283c033501431513bffbcdc744de16f348ad27711798bd9581f1d52106.exe
      2⤵
      • Adds policy Run key to start application
      • Modifies Installed Components in the registry
      • Adds Run key to start application
      • Drops file in Program Files directory
      • Suspicious use of WriteProcessMemory
      PID:3744
      • C:\Program Files\Internet Explorer\iexplore.exe
        "C:\Program Files\Internet Explorer\iexplore.exe"
        3⤵
          PID:4600
        • C:\Users\Admin\AppData\Local\Temp\d247a6283c033501431513bffbcdc744de16f348ad27711798bd9581f1d52106.exe
          "C:\Users\Admin\AppData\Local\Temp\d247a6283c033501431513bffbcdc744de16f348ad27711798bd9581f1d52106.exe"
          3⤵
          • Checks computer location settings
          • Suspicious behavior: GetForegroundWindowSpam
          • Suspicious use of AdjustPrivilegeToken
          PID:4580
          • C:\Program Files (x86)\totty\server.exe
            "C:\Program Files (x86)\totty\server.exe"
            4⤵
            • Executes dropped EXE
            • Suspicious use of SetThreadContext
            • Suspicious use of SetWindowsHookEx
            PID:3116
            • C:\Program Files (x86)\totty\server.exe
              "C:\Program Files (x86)\totty\server.exe"
              5⤵
              • Executes dropped EXE
              PID:3104
              • C:\Windows\SysWOW64\WerFault.exe
                C:\Windows\SysWOW64\WerFault.exe -u -p 3104 -s 532
                6⤵
                • Program crash
                PID:1976
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 3104 -ip 3104
      1⤵
        PID:3212

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Program Files (x86)\totty\server.exe

        Filesize

        314KB

        MD5

        8f5403bdb210cd2a8b11a6735d3caf39

        SHA1

        7f014271c26ff7f4283d5dbc0c9e4e4dfa6296e8

        SHA256

        d247a6283c033501431513bffbcdc744de16f348ad27711798bd9581f1d52106

        SHA512

        92f3bef8b00659b10bf4eff493f853851a273e976cba7c514cc79724621cb1572d5463d2e97db2b12396c9b5014fd1ac0c707aff2159607d70abdd4a91031328

      • C:\Program Files (x86)\totty\server.exe

        Filesize

        314KB

        MD5

        8f5403bdb210cd2a8b11a6735d3caf39

        SHA1

        7f014271c26ff7f4283d5dbc0c9e4e4dfa6296e8

        SHA256

        d247a6283c033501431513bffbcdc744de16f348ad27711798bd9581f1d52106

        SHA512

        92f3bef8b00659b10bf4eff493f853851a273e976cba7c514cc79724621cb1572d5463d2e97db2b12396c9b5014fd1ac0c707aff2159607d70abdd4a91031328

      • C:\Program Files (x86)\totty\server.exe

        Filesize

        314KB

        MD5

        8f5403bdb210cd2a8b11a6735d3caf39

        SHA1

        7f014271c26ff7f4283d5dbc0c9e4e4dfa6296e8

        SHA256

        d247a6283c033501431513bffbcdc744de16f348ad27711798bd9581f1d52106

        SHA512

        92f3bef8b00659b10bf4eff493f853851a273e976cba7c514cc79724621cb1572d5463d2e97db2b12396c9b5014fd1ac0c707aff2159607d70abdd4a91031328

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

        Filesize

        229KB

        MD5

        aa4c48ae26e35d95fa9e9e8824cb85bd

        SHA1

        e604238e867eb289b885e463976e2ad2c61be7a6

        SHA256

        d0a66d3bcae187676decbed091a04d958c88465d02197d78a15ba6e37c59c9a3

        SHA512

        d83d8dede97ca380090526acb77e1d749e9030be1659574af343790e07b448e6585b6075e0c1d4dac01a9904c6446fbdde3220131612104bb716fdf2862a3821

      • memory/2352-133-0x0000000000400000-0x000000000049E000-memory.dmp

        Filesize

        632KB

      • memory/2352-140-0x0000000000400000-0x000000000049E000-memory.dmp

        Filesize

        632KB

      • memory/2352-132-0x0000000000400000-0x000000000049E000-memory.dmp

        Filesize

        632KB

      • memory/3104-167-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/3104-169-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/3104-170-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/3116-168-0x0000000000400000-0x000000000049E000-memory.dmp

        Filesize

        632KB

      • memory/3744-141-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/3744-154-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/3744-150-0x0000000024080000-0x00000000240E2000-memory.dmp

        Filesize

        392KB

      • memory/3744-144-0x0000000024010000-0x0000000024072000-memory.dmp

        Filesize

        392KB

      • memory/3744-142-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/3744-139-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/3744-137-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/4580-155-0x0000000024080000-0x00000000240E2000-memory.dmp

        Filesize

        392KB

      • memory/4580-153-0x0000000024080000-0x00000000240E2000-memory.dmp

        Filesize

        392KB

      • memory/4580-171-0x0000000024080000-0x00000000240E2000-memory.dmp

        Filesize

        392KB