Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28-10-2024 11:51

General

  • Target

    797d18fdc2257084b4ef1d72567da313_JaffaCakes118.exe

  • Size

    15.0MB

  • MD5

    797d18fdc2257084b4ef1d72567da313

  • SHA1

    d54a0fb342bb5ab844b86b922a8c7a5a8724168a

  • SHA256

    8c63222a0b3b7fc5f95f5e2210af53321011e5907a1b2400cf7a8eb35a935d59

  • SHA512

    c91cb7cf345e15897669aa0903974beaad66ee3e3b70ee50c523ea026fd6687720530ca5834b896e9fe1694171faec6c58b2709e2ac31a947d170e187eca90e7

  • SSDEEP

    393216:lLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLP:

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\797d18fdc2257084b4ef1d72567da313_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\797d18fdc2257084b4ef1d72567da313_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3292
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\uctaxlwl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3892
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pfamgswo.exe" C:\Windows\SysWOW64\uctaxlwl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4908
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create uctaxlwl binPath= "C:\Windows\SysWOW64\uctaxlwl\pfamgswo.exe /d\"C:\Users\Admin\AppData\Local\Temp\797d18fdc2257084b4ef1d72567da313_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4984
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description uctaxlwl "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2672
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start uctaxlwl
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4668
    • 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:1896
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3292 -s 1040
      2⤵
      • Program crash
      PID:1308
  • C:\Windows\SysWOW64\uctaxlwl\pfamgswo.exe
    C:\Windows\SysWOW64\uctaxlwl\pfamgswo.exe /d"C:\Users\Admin\AppData\Local\Temp\797d18fdc2257084b4ef1d72567da313_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1696
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4588
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1696 -s 508
      2⤵
      • Program crash
      PID:2828
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 3292 -ip 3292
    1⤵
      PID:2024
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 1696 -ip 1696
      1⤵
        PID:1612

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.2MB

        MD5

        b7ad12dcd80eca501d555190379f1bea

        SHA1

        f577d458222fd5928a28ef17314238867776fd50

        SHA256

        6a18320af93273412b20c8c590a9733073654f479446cc606e30c1fb1a7853c9

        SHA512

        43e024b15fff83c91f29694a8c15bf0103521aed7570e998d044c17140d33fa2a16cc952f00b1e83b460ecafa460e9c21abfbf918a0b67f59bd39a4c3ac89269

      • memory/1696-13-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/1696-11-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/1696-12-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/1696-18-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3292-8-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/3292-1-0x00000000005C0000-0x00000000006C0000-memory.dmp

        Filesize

        1024KB

      • memory/4588-14-0x0000000000450000-0x0000000000465000-memory.dmp

        Filesize

        84KB

      • memory/4588-16-0x0000000000450000-0x0000000000465000-memory.dmp

        Filesize

        84KB

      • memory/4588-17-0x0000000000450000-0x0000000000465000-memory.dmp

        Filesize

        84KB