Analysis

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

    arch:x64arch:x86image:win7-20220812-enlocale:en-usos:windows7-x64system
  • submitted
    21/10/2022, 05:35

General

  • Target
    16464a07228ab405f6cbd5615f3332659fed01a120260b13beda47aac9f950e8.exe
  • Size 576KB
  • Sample221021-gaf66aeba2
  • SHA256 16464a07228ab405f6cbd5615f3332659fed01a120260b13beda47aac9f950e8
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • cybergate

Version
  • 2.6

Botnet
  • oi

C2
  • samantabreder.no-ip.org:81

  • samantabreder.no-ip.org:2000

  • deltafaisca.no-ip.biz:82

  • deltafaisca.no-ip.biz:3000

Mutex
  • jajaja...

Attributes
  • enable_keylogger

    true

  • enable_message_box

    false

  • ftp_directory

    ./logs/

  • ftp_interval

    30

  • injected_process

    explorer.exe

  • install_dir

    install

  • install_file

    notepad.exe

  • install_flag

    true

  • keylogger_enable_ftp

    false

  • message_box_caption

    texto da mensagem

  • message_box_title

    título da mensagem

  • password

    5493

  • 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 35 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
  • AutoIT Executable 3 IoCs

    AutoIT scripts compiled to PE executables.

  • Drops file in System32 directory 4 IoCs
  • Suspicious use of SetThreadContext 2 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:476
    • C:\Windows\system32\services.exe
      C:\Windows\system32\services.exe
      1⤵
        PID:468
        • C:\Windows\System32\svchost.exe
          C:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted
          2⤵
            PID:740
          • C:\Windows\System32\svchost.exe
            C:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted
            2⤵
              PID:804
              • C:\Windows\system32\Dwm.exe
                "C:\Windows\system32\Dwm.exe"
                3⤵
                  PID:1320
              • C:\Windows\system32\svchost.exe
                C:\Windows\system32\svchost.exe -k LocalService
                2⤵
                  PID:844
                • C:\Windows\system32\svchost.exe
                  C:\Windows\system32\svchost.exe -k netsvcs
                  2⤵
                    PID:868
                  • C:\Windows\system32\svchost.exe
                    C:\Windows\system32\svchost.exe -k NetworkService
                    2⤵
                      PID:292
                    • C:\Windows\system32\svchost.exe
                      C:\Windows\system32\svchost.exe -k LocalServiceAndNoImpersonation
                      2⤵
                        PID:1792
                      • C:\Windows\system32\sppsvc.exe
                        C:\Windows\system32\sppsvc.exe
                        2⤵
                          PID:752
                        • C:\Windows\system32\taskhost.exe
                          "taskhost.exe"
                          2⤵
                            PID:1240
                          • C:\Windows\system32\svchost.exe
                            C:\Windows\system32\svchost.exe -k LocalServiceNoNetwork
                            2⤵
                              PID:1036
                            • C:\Windows\System32\spoolsv.exe
                              C:\Windows\System32\spoolsv.exe
                              2⤵
                                PID:284
                              • C:\Windows\system32\svchost.exe
                                C:\Windows\system32\svchost.exe -k RPCSS
                                2⤵
                                  PID:660
                                • C:\Windows\system32\svchost.exe
                                  C:\Windows\system32\svchost.exe -k DcomLaunch
                                  2⤵
                                    PID:584
                                • 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:380
                                    • C:\Windows\system32\wininit.exe
                                      wininit.exe
                                      1⤵
                                        PID:368
                                        • C:\Windows\system32\lsm.exe
                                          C:\Windows\system32\lsm.exe
                                          2⤵
                                            PID:484
                                        • 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\Explorer.EXE
                                              C:\Windows\Explorer.EXE
                                              1⤵
                                                PID:1356
                                                • C:\Users\Admin\AppData\Local\Temp\16464a07228ab405f6cbd5615f3332659fed01a120260b13beda47aac9f950e8.exe
                                                  "C:\Users\Admin\AppData\Local\Temp\16464a07228ab405f6cbd5615f3332659fed01a120260b13beda47aac9f950e8.exe"
                                                  2⤵
                                                  • Suspicious use of SetThreadContext
                                                  • Suspicious use of WriteProcessMemory
                                                  PID:1752
                                                  • C:\Users\Admin\AppData\Local\Temp\16464a07228ab405f6cbd5615f3332659fed01a120260b13beda47aac9f950e8.exe
                                                    "C:\Users\Admin\AppData\Local\Temp\16464a07228ab405f6cbd5615f3332659fed01a120260b13beda47aac9f950e8.exe"
                                                    3⤵
                                                    • Adds policy Run key to start application
                                                    • Modifies Installed Components in the registry
                                                    • Adds Run key to start application
                                                    • Drops file in System32 directory
                                                    • Suspicious behavior: EnumeratesProcesses
                                                    • Suspicious use of FindShellTrayWindow
                                                    • Suspicious use of WriteProcessMemory
                                                    PID:2020
                                                    • C:\Windows\SysWOW64\explorer.exe
                                                      explorer.exe
                                                      4⤵
                                                      • Modifies Installed Components in the registry
                                                      PID:1416
                                                    • C:\Program Files\Internet Explorer\iexplore.exe
                                                      "C:\Program Files\Internet Explorer\iexplore.exe"
                                                      4⤵
                                                        PID:1572
                                                      • C:\Users\Admin\AppData\Local\Temp\16464a07228ab405f6cbd5615f3332659fed01a120260b13beda47aac9f950e8.exe
                                                        "C:\Users\Admin\AppData\Local\Temp\16464a07228ab405f6cbd5615f3332659fed01a120260b13beda47aac9f950e8.exe"
                                                        4⤵
                                                        • Loads dropped DLL
                                                        • Drops file in System32 directory
                                                        • Suspicious behavior: EnumeratesProcesses
                                                        • Suspicious behavior: GetForegroundWindowSpam
                                                        • Suspicious use of AdjustPrivilegeToken
                                                        PID:928
                                                        • C:\Windows\SysWOW64\install\notepad.exe
                                                          "C:\Windows\system32\install\notepad.exe"
                                                          5⤵
                                                          • Executes dropped EXE
                                                          • Suspicious use of SetThreadContext
                                                          PID:1208
                                                          • C:\Windows\SysWOW64\install\notepad.exe
                                                            "C:\Windows\SysWOW64\install\notepad.exe"
                                                            6⤵
                                                            • Executes dropped EXE
                                                            PID:1984

                                                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 252KB
                                                      • SHA256 2ed382dbb0e7a43abd5e6d10032f402beec060f40962873c365afa0ca7d8bafb
                                                      • MD5 SHA1 SHA512 SSDEEP

                                                      notepad.exe

                                                      • Path C:\Windows\SysWOW64\install\notepad.exe
                                                      • Size 576KB
                                                      • SHA256 16464a07228ab405f6cbd5615f3332659fed01a120260b13beda47aac9f950e8
                                                      • MD5 SHA1 SHA512 SSDEEP

                                                      notepad.exe

                                                      • Path C:\Windows\SysWOW64\install\notepad.exe
                                                      • Size 576KB
                                                      • SHA256 16464a07228ab405f6cbd5615f3332659fed01a120260b13beda47aac9f950e8
                                                      • MD5 SHA1 SHA512 SSDEEP

                                                      notepad.exe

                                                      • Path C:\Windows\SysWOW64\install\notepad.exe
                                                      • Size 576KB
                                                      • SHA256 16464a07228ab405f6cbd5615f3332659fed01a120260b13beda47aac9f950e8
                                                      • MD5 SHA1 SHA512 SSDEEP

                                                      notepad.exe

                                                      • Path \Windows\SysWOW64\install\notepad.exe
                                                      • Size 576KB
                                                      • SHA256 16464a07228ab405f6cbd5615f3332659fed01a120260b13beda47aac9f950e8
                                                      • MD5 SHA1 SHA512 SSDEEP

                                                      notepad.exe

                                                      • Path \Windows\SysWOW64\install\notepad.exe
                                                      • Size 576KB
                                                      • SHA256 16464a07228ab405f6cbd5615f3332659fed01a120260b13beda47aac9f950e8
                                                      • MD5 SHA1 SHA512 SSDEEP

                                                      memory/260-103-0x0000000031770000-0x000000003177D000-memory.dmp

                                                      memory/928-172-0x0000000009BA0000-0x0000000009C54000-memory.dmp

                                                      memory/928-170-0x0000000009BA0000-0x0000000009C54000-memory.dmp

                                                      memory/928-149-0x0000000024160000-0x00000000241C2000-memory.dmp

                                                      memory/928-182-0x0000000024160000-0x00000000241C2000-memory.dmp

                                                      memory/928-101-0x0000000024160000-0x00000000241C2000-memory.dmp

                                                      memory/928-95-0x0000000000400000-0x00000000004B4000-memory.dmp

                                                      memory/928-183-0x0000000009BA0000-0x0000000009C54000-memory.dmp

                                                      memory/1208-168-0x00000000318F0000-0x00000000318FD000-memory.dmp

                                                      memory/1208-167-0x0000000000400000-0x00000000004B4000-memory.dmp

                                                      memory/1356-72-0x0000000024010000-0x0000000024072000-memory.dmp

                                                      memory/1416-148-0x00000000318D0000-0x00000000318DD000-memory.dmp

                                                      memory/1416-83-0x0000000024080000-0x00000000240E2000-memory.dmp

                                                      memory/1416-181-0x00000000318D0000-0x00000000318DD000-memory.dmp

                                                      memory/1416-86-0x0000000024080000-0x00000000240E2000-memory.dmp

                                                      memory/1416-77-0x0000000074CD1000-0x0000000074CD3000-memory.dmp

                                                      memory/1752-55-0x0000000000400000-0x00000000004B4000-memory.dmp

                                                      memory/1752-63-0x0000000000400000-0x00000000004B4000-memory.dmp

                                                      memory/1752-54-0x0000000076681000-0x0000000076683000-memory.dmp

                                                      memory/1984-173-0x0000000000400000-0x000000000045C000-memory.dmp

                                                      memory/1984-180-0x0000000031900000-0x000000003190D000-memory.dmp

                                                      memory/1984-179-0x0000000000400000-0x000000000045C000-memory.dmp

                                                      memory/1984-178-0x0000000031900000-0x000000003190D000-memory.dmp

                                                      memory/1984-177-0x0000000000400000-0x000000000045C000-memory.dmp

                                                      memory/2020-65-0x0000000000400000-0x000000000045C000-memory.dmp

                                                      memory/2020-102-0x0000000000400000-0x000000000045C000-memory.dmp

                                                      memory/2020-60-0x0000000000400000-0x000000000045C000-memory.dmp

                                                      memory/2020-59-0x0000000000400000-0x000000000045C000-memory.dmp

                                                      memory/2020-57-0x0000000000400000-0x000000000045C000-memory.dmp

                                                      memory/2020-96-0x0000000024160000-0x00000000241C2000-memory.dmp

                                                      memory/2020-78-0x0000000024080000-0x00000000240E2000-memory.dmp

                                                      memory/2020-66-0x0000000000400000-0x000000000045C000-memory.dmp

                                                      memory/2020-67-0x0000000000400000-0x000000000045C000-memory.dmp

                                                      memory/2020-69-0x0000000024010000-0x0000000024072000-memory.dmp

                                                      memory/2020-94-0x0000000000330000-0x00000000003E4000-memory.dmp

                                                      memory/2020-56-0x0000000000400000-0x000000000045C000-memory.dmp

                                                      memory/2020-88-0x00000000240F0000-0x0000000024152000-memory.dmp