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
    01-01-2025 07:20

General

  • Target

    JaffaCakes118_4c07ca13d4b55e7b3d847d37d0fbc387.exe

  • Size

    12.4MB

  • MD5

    4c07ca13d4b55e7b3d847d37d0fbc387

  • SHA1

    77c5851c82d2dbba05c72317cb4ed9917aa45654

  • SHA256

    2916efe4ba63200798dea1fe33a121c3e4c368bde3508df6bac75df00e6e164f

  • SHA512

    ef0f0c744b1629e6d0aed9ec94d24d68083b52ea3784d2243723254ad51c02ed77a4c016a31e6c641d28f16773dfca3e17a465d5e6789bd94beec321252ed212

  • SSDEEP

    98304:fY3333333333333333333333333333333333333333333333333333333333333n:f

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_4c07ca13d4b55e7b3d847d37d0fbc387.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4c07ca13d4b55e7b3d847d37d0fbc387.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1672
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bxuzeojv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4528
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jvqnutth.exe" C:\Windows\SysWOW64\bxuzeojv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2148
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bxuzeojv binPath= "C:\Windows\SysWOW64\bxuzeojv\jvqnutth.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4c07ca13d4b55e7b3d847d37d0fbc387.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3600
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bxuzeojv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4264
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bxuzeojv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5060
    • 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:2256
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1672 -s 1036
      2⤵
      • Program crash
      PID:3812
  • C:\Windows\SysWOW64\bxuzeojv\jvqnutth.exe
    C:\Windows\SysWOW64\bxuzeojv\jvqnutth.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4c07ca13d4b55e7b3d847d37d0fbc387.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2608
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:772
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2608 -s 512
      2⤵
      • Program crash
      PID:2224
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1672 -ip 1672
    1⤵
      PID:2088
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 2608 -ip 2608
      1⤵
        PID:4076

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.2MB

        MD5

        e1ebb5fd76a53739c10ccd31b3fefdc4

        SHA1

        2e8dc13175eb4e824599343ed783ff0d5d660686

        SHA256

        6056d6b0f0f3d600373b3621d9b4cf9fdaf544a2061da62d156ec64f4056641c

        SHA512

        2e843b0bf3076bc13e1c4df4ebf3db26675d9aa5422640a856f5251c9e135bea6373c0f5a4fe67753c8febfa68089977bb7daa8a29c61122d0ae5664a072472c

      • memory/772-14-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

      • memory/772-17-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

      • memory/772-16-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

      • memory/1672-8-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

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

        Filesize

        76KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1672-1-0x0000000000790000-0x0000000000890000-memory.dmp

        Filesize

        1024KB

      • memory/2608-11-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/2608-12-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/2608-13-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/2608-19-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB