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
    05-01-2025 03:46

General

  • Target

    JaffaCakes118_8976781b9e1d6f794b30de6a350d5d4c.exe

  • Size

    12.2MB

  • MD5

    8976781b9e1d6f794b30de6a350d5d4c

  • SHA1

    3a1c95ac27d57dbc147ffda590c9e6645a402619

  • SHA256

    e3dd0a078e3b5f532c6b5b3254eea71e4afac1eda00d349d6fc5582d2c3487e8

  • SHA512

    f98d91c0b7c1f2fe4bf777a7e850453710c5dd0129daa8b5bd2e94c689cf597424b2d87201068d73534dc794ffd145540888dfa84b9ac67b9a8c354b1c0be5b8

  • SSDEEP

    12288:MQ50bBoofipGZdIjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjH:MQTooy

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_8976781b9e1d6f794b30de6a350d5d4c.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8976781b9e1d6f794b30de6a350d5d4c.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3820
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qdsxlqvd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:444
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\amtnsylt.exe" C:\Windows\SysWOW64\qdsxlqvd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4248
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qdsxlqvd binPath= "C:\Windows\SysWOW64\qdsxlqvd\amtnsylt.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8976781b9e1d6f794b30de6a350d5d4c.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5024
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qdsxlqvd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5084
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qdsxlqvd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1028
    • 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:2512
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3820 -s 1268
      2⤵
      • Program crash
      PID:4856
  • C:\Windows\SysWOW64\qdsxlqvd\amtnsylt.exe
    C:\Windows\SysWOW64\qdsxlqvd\amtnsylt.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8976781b9e1d6f794b30de6a350d5d4c.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2284
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4548
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2284 -s 532
      2⤵
      • Program crash
      PID:2780
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3820 -ip 3820
    1⤵
      PID:3068
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 2284 -ip 2284
      1⤵
        PID:4292

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.7MB

        MD5

        3a309b517d4e9308efac501863fcaad5

        SHA1

        4b37fb5115e05efdc99bf0cdc1356396c5f8bfa9

        SHA256

        2388324056d718573d9221045079489f81fd6f81fbc6394219584a24a4c49709

        SHA512

        4741884c191445cde64052d91a15df14d6ea0227adc4522ff3cd2aa984ae029f4e2aeeef0e6ad5b28601fb7faf300e15a8632816ff2ffb7f1caf0a5f259dc479

      • memory/2284-12-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

      • memory/2284-15-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

      • memory/3820-1-0x0000000000B10000-0x0000000000C10000-memory.dmp

        Filesize

        1024KB

      • memory/3820-2-0x0000000000AC0000-0x0000000000AD3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3820-8-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

      • memory/3820-9-0x0000000000AC0000-0x0000000000AD3000-memory.dmp

        Filesize

        76KB

      • memory/4548-11-0x0000000000C90000-0x0000000000CA5000-memory.dmp

        Filesize

        84KB

      • memory/4548-14-0x0000000000C90000-0x0000000000CA5000-memory.dmp

        Filesize

        84KB

      • memory/4548-16-0x0000000000C90000-0x0000000000CA5000-memory.dmp

        Filesize

        84KB