Analysis

  • max time kernel
    151s
  • max time network
    154s
  • platform
    windows7_x64
  • resource
    win7-20220812-en
  • resource tags

    arch:x64arch:x86image:win7-20220812-enlocale:en-usos:windows7-x64system
  • submitted
    20-10-2022 21:59

General

  • Target

    4c13f6f529db1ad620ffcf90975871198e189732eadd94b2159ce2e235ed803f.exe

  • Size

    301KB

  • MD5

    d2bfc8e4b086e92486a79583c8d59502

  • SHA1

    cb733f668d98d799daead8641d4428ebe6ee7bae

  • SHA256

    4c13f6f529db1ad620ffcf90975871198e189732eadd94b2159ce2e235ed803f

  • SHA512

    9f915242ee17f0739feadced14fc1f01a4c013812b14cf5f06f749666b360fb612a8bcd3fee66674f9d7ac401cb847a455971dd8fb9a83610af097011b364c6d

  • SSDEEP

    6144:MmcD66RRj25JGmrpQsK3RD2u270jupCJsCxCf:9cD663PZ2zkPaCxK

Malware Config

Extracted

Family

cybergate

Version

2.6

Botnet

infected

C2

127.0.0.1:81

127.0.0.1:80

Mutex

***MUTEX***

Attributes
  • enable_keylogger

    true

  • enable_message_box

    true

  • ftp_directory

    ./logs/

  • ftp_interval

    30

  • injected_process

    explorer.exe

  • install_dir

    install

  • install_file

    Java°.exe

  • install_flag

    true

  • keylogger_enable_ftp

    false

  • message_box_caption

    Hola Mundo! ;:D

  • message_box_title

    Error

  • password

    12345

  • regkey_hkcu

    RealtekSound

  • regkey_hklm

    Realtek

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 1 IoCs
  • Modifies Installed Components in the registry 2 TTPs 4 IoCs
  • UPX packed file 12 IoCs

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

  • Loads dropped DLL 2 IoCs
  • Adds Run key to start application 2 TTPs 4 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious behavior: EnumeratesProcesses 64 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\system32\lsass.exe
    C:\Windows\system32\lsass.exe
    1⤵
      PID:480
    • C:\Windows\system32\services.exe
      C:\Windows\system32\services.exe
      1⤵
        PID:464
        • C:\Windows\System32\svchost.exe
          C:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted
          2⤵
            PID:768
          • C:\Windows\System32\svchost.exe
            C:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted
            2⤵
              PID:812
              • C:\Windows\system32\Dwm.exe
                "C:\Windows\system32\Dwm.exe"
                3⤵
                  PID:1176
              • C:\Windows\system32\svchost.exe
                C:\Windows\system32\svchost.exe -k NetworkService
                2⤵
                  PID:388
                • C:\Windows\system32\svchost.exe
                  C:\Windows\system32\svchost.exe -k LocalServiceAndNoImpersonation
                  2⤵
                    PID:1864
                  • C:\Windows\system32\sppsvc.exe
                    C:\Windows\system32\sppsvc.exe
                    2⤵
                      PID:1820
                    • C:\Windows\system32\taskhost.exe
                      "taskhost.exe"
                      2⤵
                        PID:1116
                      • C:\Windows\system32\svchost.exe
                        C:\Windows\system32\svchost.exe -k LocalServiceNoNetwork
                        2⤵
                          PID:1092
                        • C:\Windows\System32\spoolsv.exe
                          C:\Windows\System32\spoolsv.exe
                          2⤵
                            PID:1032
                          • C:\Windows\system32\svchost.exe
                            C:\Windows\system32\svchost.exe -k netsvcs
                            2⤵
                              PID:876
                            • C:\Windows\system32\svchost.exe
                              C:\Windows\system32\svchost.exe -k LocalService
                              2⤵
                                PID:840
                              • C:\Windows\system32\svchost.exe
                                C:\Windows\system32\svchost.exe -k RPCSS
                                2⤵
                                  PID:680
                                • C:\Windows\system32\svchost.exe
                                  C:\Windows\system32\svchost.exe -k DcomLaunch
                                  2⤵
                                    PID:604
                                    • C:\Windows\system32\DllHost.exe
                                      C:\Windows\system32\DllHost.exe /Processid:{3EB3C877-1F16-487C-9050-104DBCD66683}
                                      3⤵
                                        PID:600
                                      • C:\Windows\system32\DllHost.exe
                                        C:\Windows\system32\DllHost.exe /Processid:{F9717507-6651-4EDB-BFF7-AE615179BCCF}
                                        3⤵
                                          PID:1072
                                        • C:\Windows\system32\DllHost.exe
                                          C:\Windows\system32\DllHost.exe /Processid:{F9717507-6651-4EDB-BFF7-AE615179BCCF}
                                          3⤵
                                            PID:944
                                      • C:\Windows\system32\winlogon.exe
                                        winlogon.exe
                                        1⤵
                                          PID:420
                                        • C:\Windows\system32\csrss.exe
                                          %SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,20480,768 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ServerDll=sxssrv,4 ProfileControl=Off MaxRequestThreads=16
                                          1⤵
                                            PID:384
                                          • C:\Windows\system32\wininit.exe
                                            wininit.exe
                                            1⤵
                                              PID:368
                                              • C:\Windows\system32\lsm.exe
                                                C:\Windows\system32\lsm.exe
                                                2⤵
                                                  PID:488
                                              • C:\Windows\system32\csrss.exe
                                                %SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,20480,768 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ServerDll=sxssrv,4 ProfileControl=Off MaxRequestThreads=16
                                                1⤵
                                                  PID:332
                                                • C:\Windows\System32\smss.exe
                                                  \SystemRoot\System32\smss.exe
                                                  1⤵
                                                    PID:260
                                                  • C:\Windows\system32\wbem\wmiprvse.exe
                                                    C:\Windows\system32\wbem\wmiprvse.exe
                                                    1⤵
                                                      PID:2008
                                                    • \\?\C:\Windows\system32\wbem\WMIADAP.EXE
                                                      wmiadap.exe /F /T /R
                                                      1⤵
                                                        PID:1284
                                                      • C:\Windows\Explorer.EXE
                                                        C:\Windows\Explorer.EXE
                                                        1⤵
                                                          PID:1216
                                                          • C:\Users\Admin\AppData\Local\Temp\4c13f6f529db1ad620ffcf90975871198e189732eadd94b2159ce2e235ed803f.exe
                                                            "C:\Users\Admin\AppData\Local\Temp\4c13f6f529db1ad620ffcf90975871198e189732eadd94b2159ce2e235ed803f.exe"
                                                            2⤵
                                                            • Adds policy Run key to start application
                                                            • Modifies Installed Components in the registry
                                                            • Adds Run key to start application
                                                            • Suspicious behavior: EnumeratesProcesses
                                                            • Suspicious use of FindShellTrayWindow
                                                            • Suspicious use of WriteProcessMemory
                                                            PID:1052
                                                            • C:\Windows\SysWOW64\explorer.exe
                                                              explorer.exe
                                                              3⤵
                                                              • Modifies Installed Components in the registry
                                                              PID:804
                                                            • C:\Users\Admin\AppData\Local\Temp\4c13f6f529db1ad620ffcf90975871198e189732eadd94b2159ce2e235ed803f.exe
                                                              "C:\Users\Admin\AppData\Local\Temp\4c13f6f529db1ad620ffcf90975871198e189732eadd94b2159ce2e235ed803f.exe"
                                                              3⤵
                                                              • Loads dropped DLL
                                                              • Suspicious behavior: EnumeratesProcesses
                                                              • Suspicious behavior: GetForegroundWindowSpam
                                                              • Suspicious use of AdjustPrivilegeToken
                                                              PID:764
                                                              • C:\Java°\install\Java°.exe
                                                                "C:\Java°\install\Java°.exe"
                                                                4⤵
                                                                • Executes dropped EXE
                                                                PID:1208

                                                        Network

                                                        MITRE ATT&CK Matrix ATT&CK v6

                                                        Persistence

                                                        Registry Run Keys / Startup Folder

                                                        3
                                                        T1060

                                                        Defense Evasion

                                                        Modify Registry

                                                        3
                                                        T1112

                                                        Discovery

                                                        System Information Discovery

                                                        1
                                                        T1082

                                                        Replay Monitor

                                                        Loading Replay Monitor...

                                                        Downloads

                                                        • C:\Java°\install\Java°.exe
                                                          Filesize

                                                          301KB

                                                          MD5

                                                          d2bfc8e4b086e92486a79583c8d59502

                                                          SHA1

                                                          cb733f668d98d799daead8641d4428ebe6ee7bae

                                                          SHA256

                                                          4c13f6f529db1ad620ffcf90975871198e189732eadd94b2159ce2e235ed803f

                                                          SHA512

                                                          9f915242ee17f0739feadced14fc1f01a4c013812b14cf5f06f749666b360fb612a8bcd3fee66674f9d7ac401cb847a455971dd8fb9a83610af097011b364c6d

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

                                                          240KB

                                                          MD5

                                                          7e647667bf9e04eb08cea7f8e68de73d

                                                          SHA1

                                                          b7d3d70de7cad7cf2687980b54cb648008bee415

                                                          SHA256

                                                          53b28fa667a497806710e7f6774527ee2d8dae0adb63b19a4753780dde3ad7ec

                                                          SHA512

                                                          10ce8953c30ef0cee2560df7872b9391cd11da3334fde34659ed4fa5582041ab32d4acc7e371263db4c43a95c7dc5f103554546855d95e037709501ddf70a64b

                                                        • \??\c:\Java°\install\Java°.exe
                                                          Filesize

                                                          301KB

                                                          MD5

                                                          d2bfc8e4b086e92486a79583c8d59502

                                                          SHA1

                                                          cb733f668d98d799daead8641d4428ebe6ee7bae

                                                          SHA256

                                                          4c13f6f529db1ad620ffcf90975871198e189732eadd94b2159ce2e235ed803f

                                                          SHA512

                                                          9f915242ee17f0739feadced14fc1f01a4c013812b14cf5f06f749666b360fb612a8bcd3fee66674f9d7ac401cb847a455971dd8fb9a83610af097011b364c6d

                                                        • \Java°\install\Java°.exe
                                                          Filesize

                                                          301KB

                                                          MD5

                                                          d2bfc8e4b086e92486a79583c8d59502

                                                          SHA1

                                                          cb733f668d98d799daead8641d4428ebe6ee7bae

                                                          SHA256

                                                          4c13f6f529db1ad620ffcf90975871198e189732eadd94b2159ce2e235ed803f

                                                          SHA512

                                                          9f915242ee17f0739feadced14fc1f01a4c013812b14cf5f06f749666b360fb612a8bcd3fee66674f9d7ac401cb847a455971dd8fb9a83610af097011b364c6d

                                                        • \Java°\install\Java°.exe
                                                          Filesize

                                                          301KB

                                                          MD5

                                                          d2bfc8e4b086e92486a79583c8d59502

                                                          SHA1

                                                          cb733f668d98d799daead8641d4428ebe6ee7bae

                                                          SHA256

                                                          4c13f6f529db1ad620ffcf90975871198e189732eadd94b2159ce2e235ed803f

                                                          SHA512

                                                          9f915242ee17f0739feadced14fc1f01a4c013812b14cf5f06f749666b360fb612a8bcd3fee66674f9d7ac401cb847a455971dd8fb9a83610af097011b364c6d

                                                        • memory/260-83-0x0000000031770000-0x000000003177D000-memory.dmp
                                                          Filesize

                                                          52KB

                                                        • memory/764-134-0x00000000240F0000-0x0000000024152000-memory.dmp
                                                          Filesize

                                                          392KB

                                                        • memory/764-75-0x0000000000000000-mapping.dmp
                                                        • memory/764-82-0x00000000240F0000-0x0000000024152000-memory.dmp
                                                          Filesize

                                                          392KB

                                                        • memory/764-145-0x00000000240F0000-0x0000000024152000-memory.dmp
                                                          Filesize

                                                          392KB

                                                        • memory/804-135-0x00000000318F0000-0x00000000318FD000-memory.dmp
                                                          Filesize

                                                          52KB

                                                        • memory/804-146-0x00000000318F0000-0x00000000318FD000-memory.dmp
                                                          Filesize

                                                          52KB

                                                        • memory/804-73-0x0000000024080000-0x00000000240E2000-memory.dmp
                                                          Filesize

                                                          392KB

                                                        • memory/804-70-0x0000000024080000-0x00000000240E2000-memory.dmp
                                                          Filesize

                                                          392KB

                                                        • memory/804-64-0x0000000074B91000-0x0000000074B93000-memory.dmp
                                                          Filesize

                                                          8KB

                                                        • memory/804-62-0x0000000000000000-mapping.dmp
                                                        • memory/1052-77-0x00000000240F0000-0x0000000024152000-memory.dmp
                                                          Filesize

                                                          392KB

                                                        • memory/1052-56-0x0000000024010000-0x0000000024072000-memory.dmp
                                                          Filesize

                                                          392KB

                                                        • memory/1052-54-0x0000000075931000-0x0000000075933000-memory.dmp
                                                          Filesize

                                                          8KB

                                                        • memory/1052-65-0x0000000024080000-0x00000000240E2000-memory.dmp
                                                          Filesize

                                                          392KB

                                                        • memory/1208-141-0x0000000031900000-0x000000003190D000-memory.dmp
                                                          Filesize

                                                          52KB

                                                        • memory/1208-142-0x0000000031900000-0x000000003190D000-memory.dmp
                                                          Filesize

                                                          52KB

                                                        • memory/1208-98-0x0000000000000000-mapping.dmp
                                                        • memory/1216-59-0x0000000024010000-0x0000000024072000-memory.dmp
                                                          Filesize

                                                          392KB