Analysis

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

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

General

  • Target

    JaffaCakes118_f51c2f5462cfec5c2f84094510cc5dbfb5e650de474c0e1f2571ccb61f2b3f3e.exe

  • Size

    306KB

  • MD5

    0661057150ee41d5430b7cdfa59b9151

  • SHA1

    9a2954d4b64ed1a2347fd601f18f87d36a7306d3

  • SHA256

    f51c2f5462cfec5c2f84094510cc5dbfb5e650de474c0e1f2571ccb61f2b3f3e

  • SHA512

    f88700b8b61a27c34ff8dabd227dceef34909c403d76abbe70d9d11112d08c1b672e4acae8555cc50e3542166ccf34a90ad3dccf2d79cc90cb89fbe1bb46acfb

  • SSDEEP

    6144:CPrWeZIupcl/Yi3FshG74zgmlL6tZeXuZU8:iWeZIupcl1FKG7ogILTXuC

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_f51c2f5462cfec5c2f84094510cc5dbfb5e650de474c0e1f2571ccb61f2b3f3e.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f51c2f5462cfec5c2f84094510cc5dbfb5e650de474c0e1f2571ccb61f2b3f3e.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2708
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hxizxfra\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2512
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ncplxwpb.exe" C:\Windows\SysWOW64\hxizxfra\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1540
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hxizxfra binPath= "C:\Windows\SysWOW64\hxizxfra\ncplxwpb.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f51c2f5462cfec5c2f84094510cc5dbfb5e650de474c0e1f2571ccb61f2b3f3e.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2936
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hxizxfra "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:820
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hxizxfra
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4556
    • 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:1924
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2708 -s 1240
      2⤵
      • Program crash
      PID:2100
  • C:\Windows\SysWOW64\hxizxfra\ncplxwpb.exe
    C:\Windows\SysWOW64\hxizxfra\ncplxwpb.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f51c2f5462cfec5c2f84094510cc5dbfb5e650de474c0e1f2571ccb61f2b3f3e.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5024
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:876
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5024 -s 560
      2⤵
      • Program crash
      PID:3944
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2708 -ip 2708
    1⤵
      PID:3676
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 5024 -ip 5024
      1⤵
        PID:5012

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.0MB

        MD5

        52bf8136b8e22ce834dc3c0de1a68965

        SHA1

        ac1fd6ca00abd8b0a85b0ba55dbac1a173b8c849

        SHA256

        ac5ed062b809ab8e2a57c8b5a668f2c0ac877a94e860f61449ea0d9b1fbd42d0

        SHA512

        4b2a9ea98ccf6099c5e1edf49737a9711f84c1b0e1a3f21448dd31d19ae5f33a16ab02c26ab5ca170a20b7cdd8b80154482bcb75254efde5a86d674f6e696767

      • memory/876-13-0x0000000000E80000-0x0000000000E95000-memory.dmp

        Filesize

        84KB

      • memory/876-11-0x0000000000E80000-0x0000000000E95000-memory.dmp

        Filesize

        84KB

      • memory/876-14-0x0000000000E80000-0x0000000000E95000-memory.dmp

        Filesize

        84KB

      • memory/2708-1-0x0000000002D60000-0x0000000002E60000-memory.dmp

        Filesize

        1024KB

      • memory/2708-2-0x0000000002C70000-0x0000000002C83000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2708-9-0x0000000002C70000-0x0000000002C83000-memory.dmp

        Filesize

        76KB

      • memory/2708-8-0x0000000000400000-0x0000000002B94000-memory.dmp

        Filesize

        39.6MB

      • memory/5024-15-0x0000000000400000-0x0000000002B94000-memory.dmp

        Filesize

        39.6MB