Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26-12-2024 21:13

General

  • Target

    JaffaCakes118_15a870eac6cb77d63baeff768f82161e6e78fd82043c4b78baf7f7ff5b8513dd.exe

  • Size

    284KB

  • MD5

    b41df6042d7fcfdc9bbfe3922271433f

  • SHA1

    986f1a17abc590ae702349ea8685d11c2ec27dd7

  • SHA256

    15a870eac6cb77d63baeff768f82161e6e78fd82043c4b78baf7f7ff5b8513dd

  • SHA512

    7076d94049a6b90e9e91ef486b0ed8d94108e26d520af6a8ac9de8e1b82706b0d01f1cab9e256c911e03e70e71bd370bffa3652cdc78af4756b28a7f47b77e1b

  • SSDEEP

    3072:H5yVL6SVHvyADnC4b1/w3Rf9qcRT9S20kesJ/MpKaVPmpujX1BWRQdmRfzt:ZyVGSBDnp1/wBfw42fVPwujWQd6f

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.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_15a870eac6cb77d63baeff768f82161e6e78fd82043c4b78baf7f7ff5b8513dd.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_15a870eac6cb77d63baeff768f82161e6e78fd82043c4b78baf7f7ff5b8513dd.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:552
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rhqpcpzi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4204
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qcjdiobj.exe" C:\Windows\SysWOW64\rhqpcpzi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1604
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rhqpcpzi binPath= "C:\Windows\SysWOW64\rhqpcpzi\qcjdiobj.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_15a870eac6cb77d63baeff768f82161e6e78fd82043c4b78baf7f7ff5b8513dd.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2072
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rhqpcpzi "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2960
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rhqpcpzi
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4448
    • 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:2856
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 552 -s 788
      2⤵
      • Program crash
      PID:2844
  • C:\Windows\SysWOW64\rhqpcpzi\qcjdiobj.exe
    C:\Windows\SysWOW64\rhqpcpzi\qcjdiobj.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_15a870eac6cb77d63baeff768f82161e6e78fd82043c4b78baf7f7ff5b8513dd.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1924
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2032
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1924 -s 536
      2⤵
      • Program crash
      PID:772
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 552 -ip 552
    1⤵
      PID:5036
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 1924 -ip 1924
      1⤵
        PID:764

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.8MB

        MD5

        8db8c7168808bb6b20e2951eff386d06

        SHA1

        481b9528b93dd2ae6cfc01999e87cacb31925378

        SHA256

        f8ced91b12323a305c7a8c67125ea42eb1d618ab990f28c00fc6c7e0abef3d91

        SHA512

        921574b559610849f94c6a065411d577455126ed180cb3c2ad908c3122bea43b729ac211f2b4d695b0b443e9a11feb0d5d86a35c8b05b65dea7fa9b7022e02a7

      • memory/552-1-0x0000000002C40000-0x0000000002D40000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/552-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/552-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/552-8-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB

      • memory/1924-15-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB

      • memory/2032-11-0x0000000001280000-0x0000000001295000-memory.dmp

        Filesize

        84KB

      • memory/2032-13-0x0000000001280000-0x0000000001295000-memory.dmp

        Filesize

        84KB

      • memory/2032-14-0x0000000001280000-0x0000000001295000-memory.dmp

        Filesize

        84KB