Analysis

  • max time kernel
    147s
  • max time network
    105s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240426-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16-05-2024 20:19

General

  • Target

    4cdd8a1e35b69ac641523db139e401af_JaffaCakes118.exe

  • Size

    34KB

  • MD5

    4cdd8a1e35b69ac641523db139e401af

  • SHA1

    5907953486632332fc8524eaa18040fa4034e666

  • SHA256

    a997a35f57b80da86eeb8fbf74fe82b3dc44adac2f4e85364c250a59a677540c

  • SHA512

    e4b68cd5459cb33c703f40a09d4a0f6cb9962478ccc6720b46a8656bb427f0f4c44b827719ffc626a1857157fc4da24e8fa30e55437f833d3f6aef02bd96f4a2

  • SSDEEP

    768:iw/iOWTK3JWhOM/qZh7UJGcZ/RzdUKRFvnbcuyD7UHLAj:RQK52fqZSIAZS2nouy88j

Malware Config

Extracted

Family

gh0strat

C2

post.f2pool.info

Signatures

  • Gh0st RAT payload 2 IoCs
  • Gh0strat

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

  • RunningRat

    RunningRat is a remote access trojan first seen in 2018.

  • Sets DLL path for service in the registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Executes dropped EXE 1 IoCs
  • Loads dropped DLL 3 IoCs
  • UPX packed file 2 IoCs

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

  • Creates a Windows Service
  • Drops file in System32 directory 2 IoCs
  • Enumerates physical storage devices 1 TTPs

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

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\4cdd8a1e35b69ac641523db139e401af_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\4cdd8a1e35b69ac641523db139e401af_JaffaCakes118.exe"
    1⤵
    • Sets DLL path for service in the registry
    • Checks computer location settings
    • Loads dropped DLL
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:4792
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /c ping 127.0.0.1 -n 1 && del /f/q "C:\Users\Admin\AppData\Local\Temp\4cdd8a1e35b69ac641523db139e401af_JaffaCakes118.exe"
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:3980
      • C:\Windows\SysWOW64\PING.EXE
        ping 127.0.0.1 -n 1
        3⤵
        • Runs ping.exe
        PID:3384
  • C:\Windows\SysWOW64\svchost.exe
    C:\Windows\SysWOW64\svchost.exe -k "lsass"
    1⤵
      PID:736
    • C:\Windows\SysWOW64\svchost.exe
      C:\Windows\SysWOW64\svchost.exe -k "lsass"
      1⤵
      • Loads dropped DLL
      • Drops file in System32 directory
      • Suspicious use of WriteProcessMemory
      PID:2896
      • C:\Windows\SysWOW64\lsass.exe
        C:\Windows\system32\lsass.exe "c:\users\admin\appdata\local\temp\240595828.dll",MainThread
        2⤵
        • Executes dropped EXE
        • Loads dropped DLL
        PID:4100

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Temp\240595828.dll

      Filesize

      37KB

      MD5

      114bc5e2d019f14943d69fff3c75d2c5

      SHA1

      c8b8688eb2e5aec7e8536f8aab33b502fca772a8

      SHA256

      5252db9274fb6e5625460fd1d7c3f44d1f2754f47ca4165d0b712dba6e6f00cc

      SHA512

      010be88111d3e8733627107926593176b573e1e048d71ed587c1dfc62289e4dd5d51c08cc63042156d52dc67d97dfdcf3d391f012b98f56ca9a160db687aaa56

    • C:\Windows\SysWOW64\lsass.exe

      Filesize

      60KB

      MD5

      889b99c52a60dd49227c5e485a016679

      SHA1

      8fa889e456aa646a4d0a4349977430ce5fa5e2d7

      SHA256

      6cbe0e1f046b13b29bfa26f8b368281d2dda7eb9b718651d5856f22cc3e02910

      SHA512

      08933106eaf338dd119c45cbf1f83e723aff77cc0f8d3fc84e36253b1eb31557a54211d1d5d1cb58958188e32064d451f6c66a24b3963cccd3de07299ab90641

    • memory/4792-0-0x0000000000400000-0x0000000000421000-memory.dmp

      Filesize

      132KB

    • memory/4792-9-0x0000000000400000-0x0000000000421000-memory.dmp

      Filesize

      132KB