Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-12-2024 12:37

General

  • Target

    JaffaCakes118_49dd8a16d3047c8a1d0b12f5179775e61bdf45b585e672a5b66bfab4dace0f89.exe

  • Size

    299KB

  • MD5

    2d2caed4cbe8b934b47006ea0afdae52

  • SHA1

    bfa6821af66ab22dcdcff90de4c0a1f20a0b6077

  • SHA256

    49dd8a16d3047c8a1d0b12f5179775e61bdf45b585e672a5b66bfab4dace0f89

  • SHA512

    fc27d1c30d7953d66c4f5dcc2a702e6780eb999fe7a9b2035696daf894c5549a9f52f89892c9b4f6708f36ffd87e0a1b05bf26790b5fa3213253b86233bc5de7

  • SSDEEP

    3072:IdvQC1KyeOzo/ujVI5Oc6sQO5V7UFHeosqUOZWssdglsnhOuShs9nthQIP5Ylryt:G3EupTDO5VIFLLZWsegl+hOFYnUtT

Malware Config

Extracted

Family

tofsee

C2

patmushta.info

parubey.info

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Tofsee family
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

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

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

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

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_49dd8a16d3047c8a1d0b12f5179775e61bdf45b585e672a5b66bfab4dace0f89.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_49dd8a16d3047c8a1d0b12f5179775e61bdf45b585e672a5b66bfab4dace0f89.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1908
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rrhpzupi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3448
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zqeboux.exe" C:\Windows\SysWOW64\rrhpzupi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4092
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rrhpzupi binPath= "C:\Windows\SysWOW64\rrhpzupi\zqeboux.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_49dd8a16d3047c8a1d0b12f5179775e61bdf45b585e672a5b66bfab4dace0f89.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2124
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rrhpzupi "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1968
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rrhpzupi
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1700
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:4772
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1908 -s 1252
      2⤵
      • Program crash
      PID:4320
  • C:\Windows\SysWOW64\rrhpzupi\zqeboux.exe
    C:\Windows\SysWOW64\rrhpzupi\zqeboux.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_49dd8a16d3047c8a1d0b12f5179775e61bdf45b585e672a5b66bfab4dace0f89.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:636
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3124
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 636 -s 516
      2⤵
      • Program crash
      PID:2512
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 1908 -ip 1908
    1⤵
      PID:2944
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 636 -ip 636
      1⤵
        PID:4816

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.8MB

        MD5

        45faf39786fc526f110c0fed6851d527

        SHA1

        9b093d547ad73fb47fce4f8ce34b220a6dbb3293

        SHA256

        f8edc408d83ea85078dd6aaae947e610b4c511e42bcca4f2e0e0a82f3dcd5873

        SHA512

        927079e0108aaf0d6f27637afdd4b38677fc8b33fcb1d68bd5a807f232cd841abd3cf7e1dfce46758d2b9bd7ed553cf5fd63838b5b5244e9269799155fab146e

      • memory/636-11-0x0000000000400000-0x0000000000462000-memory.dmp

        Filesize

        392KB

      • memory/636-18-0x0000000000400000-0x0000000000462000-memory.dmp

        Filesize

        392KB

      • memory/636-12-0x0000000000400000-0x0000000000462000-memory.dmp

        Filesize

        392KB

      • memory/1908-7-0x0000000000400000-0x0000000000462000-memory.dmp

        Filesize

        392KB

      • memory/1908-8-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/1908-1-0x00000000007D0000-0x00000000008D0000-memory.dmp

        Filesize

        1024KB

      • memory/1908-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1908-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1908-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/3124-13-0x00000000008E0000-0x00000000008F5000-memory.dmp

        Filesize

        84KB

      • memory/3124-15-0x00000000008E0000-0x00000000008F5000-memory.dmp

        Filesize

        84KB

      • memory/3124-16-0x00000000008E0000-0x00000000008F5000-memory.dmp

        Filesize

        84KB