Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-12-2024 10:48

General

  • Target

    JaffaCakes118_30f34e11d0cc3ea3aaa86bf43fcc1f93d3bd0b7bfb101b6c4b4180217261874c.exe

  • Size

    164KB

  • MD5

    2bb1fbbbed9cc4fadfa75a080379f3fb

  • SHA1

    32c784d175b2c892686d79ef500b3d6a7e286dc9

  • SHA256

    30f34e11d0cc3ea3aaa86bf43fcc1f93d3bd0b7bfb101b6c4b4180217261874c

  • SHA512

    35a409fe79641ad6deeab7176785fb0db9393250fb20f971de0e8ece15dbf20bb36e5593a4b9da0ca1c6c893193aa1a0f160f40c27205dbbbe4dc8bd77d3f409

  • SSDEEP

    3072:nhqXElKGK4Pm2B32eXAH57V3OUQuhS9H6S:ns0l9NXXK7hEa

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_30f34e11d0cc3ea3aaa86bf43fcc1f93d3bd0b7bfb101b6c4b4180217261874c.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_30f34e11d0cc3ea3aaa86bf43fcc1f93d3bd0b7bfb101b6c4b4180217261874c.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3896
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cvmxibox\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4116
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\szcabbrf.exe" C:\Windows\SysWOW64\cvmxibox\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3968
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cvmxibox binPath= "C:\Windows\SysWOW64\cvmxibox\szcabbrf.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_30f34e11d0cc3ea3aaa86bf43fcc1f93d3bd0b7bfb101b6c4b4180217261874c.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3256
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cvmxibox "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4516
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cvmxibox
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2664
    • 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:3996
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3896 -s 1036
      2⤵
      • Program crash
      PID:4564
  • C:\Windows\SysWOW64\cvmxibox\szcabbrf.exe
    C:\Windows\SysWOW64\cvmxibox\szcabbrf.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_30f34e11d0cc3ea3aaa86bf43fcc1f93d3bd0b7bfb101b6c4b4180217261874c.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4340
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:452
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4340 -s 512
      2⤵
      • Program crash
      PID:2848
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 3896 -ip 3896
    1⤵
      PID:2704
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4340 -ip 4340
      1⤵
        PID:1892

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.7MB

        MD5

        f61fa5de381d7646280e5e0145390e7b

        SHA1

        cdea751f9d576076e256eac06ef3f05917938c6e

        SHA256

        c9b4855b20e900b561c9fb4d967048040792d3f5bfaeedfcc6c3e33690a09583

        SHA512

        634322060dacb2c5bd47c8414f61b45567c8d9c1f0c2834ef00492424d800952f301298fde97f1e40c689c078b18a8012ef77467f06100f8b0e92dd5e8b3f12f

      • memory/452-14-0x00000000009D0000-0x00000000009E5000-memory.dmp

        Filesize

        84KB

      • memory/452-17-0x00000000009D0000-0x00000000009E5000-memory.dmp

        Filesize

        84KB

      • memory/452-16-0x00000000009D0000-0x00000000009E5000-memory.dmp

        Filesize

        84KB

      • memory/3896-9-0x00000000021F0000-0x0000000002203000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3896-2-0x00000000021F0000-0x0000000002203000-memory.dmp

        Filesize

        76KB

      • memory/3896-8-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

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

        Filesize

        84KB

      • memory/3896-1-0x0000000000650000-0x0000000000750000-memory.dmp

        Filesize

        1024KB

      • memory/4340-11-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/4340-12-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/4340-13-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/4340-19-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB