Analysis

  • max time kernel
    149s
  • max time network
    140s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    02/03/2025, 07:02

General

  • Target

    5a94b33f4ef24a398089499cab5a9fa2f32610f97bde49bbc178c7f2dad2598f.exe

  • Size

    207KB

  • MD5

    c9d720436e83a30bc1e16ff2737d8a22

  • SHA1

    ba192740c249bf6c0d64c89a0b52810ac6766881

  • SHA256

    5a94b33f4ef24a398089499cab5a9fa2f32610f97bde49bbc178c7f2dad2598f

  • SHA512

    cba92b6bed50063d4334b084af153775320fd630704ea5a7389058bd908823f0368407fd7b34e0d4bcdd33e3ffa411fd0046924211bb103317e9fab3d401a909

  • SSDEEP

    3072:fP5gvNVLIfHQja1RfmLQADwSKkhU+tLgT5lODbiC8r1PkTF:X2vnSwjaOcADw9cUeCOf

Malware Config

Extracted

Family

gh0strat

C2

107.163.241.193:6520

http://107.163.241.181:16300/

http://107.163.241.182:12354/login.php

Attributes
  • user_agent

    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C))

    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)

Signatures

  • Gh0strat

    Gh0st RAT is a remote access tool (RAT) with its source code public and it has been used by multiple Chinese groups.

  • Gh0strat family
  • Deletes itself 1 IoCs
  • Executes dropped EXE 2 IoCs
  • Loads dropped DLL 7 IoCs
  • Reads user/profile data of web browsers 3 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Adds Run key to start application 2 TTPs 1 IoCs
  • Enumerates connected drives 3 TTPs 23 IoCs

    Attempts to read the root path of hard drives other than the default C: drive.

  • Writes to the Master Boot Record (MBR) 1 TTPs 1 IoCs

    Bootkits write to the MBR to gain persistence at a level below the operating system.

  • Drops file in Program Files directory 4 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 5 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • System Network Configuration Discovery: Internet Connection Discovery 1 TTPs 2 IoCs

    Adversaries may check for Internet connectivity on compromised systems.

  • Checks processor information in registry 2 TTPs 2 IoCs

    Processor information is often read in order to detect sandboxing environments.

  • Runs ping.exe 1 TTPs 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of SetWindowsHookEx 2 IoCs
  • Suspicious use of WriteProcessMemory 16 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\5a94b33f4ef24a398089499cab5a9fa2f32610f97bde49bbc178c7f2dad2598f.exe
    "C:\Users\Admin\AppData\Local\Temp\5a94b33f4ef24a398089499cab5a9fa2f32610f97bde49bbc178c7f2dad2598f.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:768
    • C:\Windows\SysWOW64\cmd.exe
      cmd.exe /c ping 127.0.0.1 -n 2&C:\Users\Admin\AppData\Local\Temp\\hgccb.exe "C:\Users\Admin\AppData\Local\Temp\5a94b33f4ef24a398089499cab5a9fa2f32610f97bde49bbc178c7f2dad2598f.exe"
      2⤵
      • Loads dropped DLL
      • System Location Discovery: System Language Discovery
      • System Network Configuration Discovery: Internet Connection Discovery
      • Suspicious use of WriteProcessMemory
      PID:2008
      • C:\Windows\SysWOW64\PING.EXE
        ping 127.0.0.1 -n 2
        3⤵
        • System Location Discovery: System Language Discovery
        • System Network Configuration Discovery: Internet Connection Discovery
        • Runs ping.exe
        PID:2392
      • C:\Users\Admin\AppData\Local\Temp\hgccb.exe
        C:\Users\Admin\AppData\Local\Temp\\hgccb.exe "C:\Users\Admin\AppData\Local\Temp\5a94b33f4ef24a398089499cab5a9fa2f32610f97bde49bbc178c7f2dad2598f.exe"
        3⤵
        • Deletes itself
        • Executes dropped EXE
        • Loads dropped DLL
        • Drops file in Program Files directory
        • System Location Discovery: System Language Discovery
        • Suspicious use of SetWindowsHookEx
        • Suspicious use of WriteProcessMemory
        PID:2692
        • \??\c:\Program Files\ocaos\reyh.exe
          "c:\Program Files\ocaos\reyh.exe" "c:\Program Files\ocaos\reyhe.dll",Compliance C:\Users\Admin\AppData\Local\Temp\hgccb.exe
          4⤵
          • Executes dropped EXE
          • Loads dropped DLL
          • Adds Run key to start application
          • Enumerates connected drives
          • Writes to the Master Boot Record (MBR)
          • System Location Discovery: System Language Discovery
          • Checks processor information in registry
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1736

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\hgccb.exe

    Filesize

    208KB

    MD5

    2f0f02b7ae4f9c25636c6853df48249c

    SHA1

    87721b93a8c5737d21e54d294e0b109d0782464b

    SHA256

    ccdda100a6d2e015bf7f40ed461b9047e6b00e15dfea274e5f3c23fb1cb9b8c4

    SHA512

    e0cceed6462b1e64cb1a0a46da597e42fcf008f9b3080f45db4cfc37059ef05b0611b192ba8d6579c9c9c33c83d6ea3ea66e147d827a1a91f97ca0419df1762f

  • \??\c:\Program Files\ocaos\reyhe.dll

    Filesize

    141KB

    MD5

    ba9c289de8c0ba9699178b8c96d4b01a

    SHA1

    a80316f73d92de969e4adc1fbe7322fe0ae407e4

    SHA256

    be9300c1b88317f7f3fcc47dcb780f39527ea1d3e937fea9ce44c4273484e545

    SHA512

    ea287b9d83b1f40ac1cdc11bd8af514af4b2e8f5d51634852afba4131c0c6eb2d465f67ec0836e0a957b7b0418cf3a49368babbedde1af32fff457d635a775aa

  • \Program Files\ocaos\reyh.exe

    Filesize

    43KB

    MD5

    51138beea3e2c21ec44d0932c71762a8

    SHA1

    8939cf35447b22dd2c6e6f443446acc1bf986d58

    SHA256

    5ad3c37e6f2b9db3ee8b5aeedc474645de90c66e3d95f8620c48102f1eba4124

    SHA512

    794f30fe452117ff2a26dc9d7086aaf82b639c2632ac2e381a81f5239caaec7c96922ba5d2d90bfd8d74f0a6cd4f79fbda63e14c6b779e5cf6834c13e4e45e7d

  • memory/768-2-0x0000000000400000-0x000000000044901D-memory.dmp

    Filesize

    292KB

  • memory/768-4-0x0000000000400000-0x000000000044901D-memory.dmp

    Filesize

    292KB

  • memory/768-1-0x0000000000400000-0x000000000044901D-memory.dmp

    Filesize

    292KB

  • memory/768-0-0x0000000000400000-0x000000000044901D-memory.dmp

    Filesize

    292KB

  • memory/1736-32-0x0000000010000000-0x000000001004E000-memory.dmp

    Filesize

    312KB

  • memory/1736-28-0x0000000010000000-0x000000001004E000-memory.dmp

    Filesize

    312KB

  • memory/1736-31-0x0000000010000000-0x000000001004E000-memory.dmp

    Filesize

    312KB

  • memory/1736-34-0x0000000010000000-0x000000001004E000-memory.dmp

    Filesize

    312KB

  • memory/1736-30-0x0000000010000000-0x000000001004E000-memory.dmp

    Filesize

    312KB

  • memory/1736-29-0x0000000010000000-0x000000001004E000-memory.dmp

    Filesize

    312KB

  • memory/2008-9-0x0000000000370000-0x00000000003BA000-memory.dmp

    Filesize

    296KB

  • memory/2008-7-0x0000000000370000-0x00000000003BA000-memory.dmp

    Filesize

    296KB

  • memory/2692-11-0x0000000000400000-0x000000000044901D-memory.dmp

    Filesize

    292KB

  • memory/2692-21-0x0000000000400000-0x000000000044901D-memory.dmp

    Filesize

    292KB

  • memory/2692-13-0x0000000000400000-0x000000000044901D-memory.dmp

    Filesize

    292KB

  • memory/2692-12-0x0000000000400000-0x000000000044901D-memory.dmp

    Filesize

    292KB