Analysis

  • max time kernel
    150s
  • max time network
    150s
  • 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 14:46

General

  • Target

    JaffaCakes118_287407b527d658532ecf954f94cfe295e99a5f991eeeb0818da246fe0bc1df7e.exe

  • Size

    286KB

  • MD5

    ffa4877224a16ea2832517f4e66a9d4b

  • SHA1

    7e394ecb9588f37c9768ae5ec78ddcdd44ed347f

  • SHA256

    287407b527d658532ecf954f94cfe295e99a5f991eeeb0818da246fe0bc1df7e

  • SHA512

    d5eafdd485c674f7cdd602e588a01d684aa02e496a9acfb6901621cfb657118275275001732344586b82928d0b1a007fdc3c8fad9398a11c2c926b321f5d6e19

  • SSDEEP

    3072:OJnOYAZJIWjRvGQRFiF2B9bWU1v+xb20Ay6lw3ba7EnWJrJ7BfSgYu+i41Pc8aS8:OJORZJdWF2PKAv+oEWoA7fSTxi41iSZ

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_287407b527d658532ecf954f94cfe295e99a5f991eeeb0818da246fe0bc1df7e.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_287407b527d658532ecf954f94cfe295e99a5f991eeeb0818da246fe0bc1df7e.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4880
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cxhzdkgs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2104
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\omwuuktj.exe" C:\Windows\SysWOW64\cxhzdkgs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4288
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cxhzdkgs binPath= "C:\Windows\SysWOW64\cxhzdkgs\omwuuktj.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_287407b527d658532ecf954f94cfe295e99a5f991eeeb0818da246fe0bc1df7e.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4540
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cxhzdkgs "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1660
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cxhzdkgs
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:440
    • 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:4984
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4880 -s 1040
      2⤵
      • Program crash
      PID:1352
  • C:\Windows\SysWOW64\cxhzdkgs\omwuuktj.exe
    C:\Windows\SysWOW64\cxhzdkgs\omwuuktj.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_287407b527d658532ecf954f94cfe295e99a5f991eeeb0818da246fe0bc1df7e.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4052
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1144
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4052 -s 536
      2⤵
      • Program crash
      PID:1492
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4880 -ip 4880
    1⤵
      PID:4068
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 4052 -ip 4052
      1⤵
        PID:812

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.3MB

        MD5

        dd25e3d99518214c6c677130311de7c4

        SHA1

        5666ff7f4a492b31f949f1065e961e9616a783d1

        SHA256

        de31b6707feb678b22ce8f2d523d26945725e1772507ac49554bdb1a046afe57

        SHA512

        80dad0879fa70155d2dd3e96423f07b0f59bf2341e2be4f7cba3d9a71a92424d65d6adc92741a9372f2c71bfb1d1c754fb5742ed844e462068060786118c7d3f

      • memory/1144-11-0x00000000007B0000-0x00000000007C5000-memory.dmp

        Filesize

        84KB

      • memory/1144-13-0x00000000007B0000-0x00000000007C5000-memory.dmp

        Filesize

        84KB

      • memory/1144-14-0x00000000007B0000-0x00000000007C5000-memory.dmp

        Filesize

        84KB

      • memory/4052-15-0x0000000000400000-0x0000000002B90000-memory.dmp

        Filesize

        39.6MB

      • memory/4880-1-0x0000000002E70000-0x0000000002F70000-memory.dmp

        Filesize

        1024KB

      • memory/4880-2-0x0000000002CD0000-0x0000000002CE3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4880-9-0x0000000002CD0000-0x0000000002CE3000-memory.dmp

        Filesize

        76KB

      • memory/4880-8-0x0000000000400000-0x0000000002B90000-memory.dmp

        Filesize

        39.6MB