Analysis

  • max time kernel
    146s
  • max time network
    146s
  • 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 17:50

General

  • Target

    JaffaCakes118_ff5130d64fbb3dbe15cf06ca1bd28d5ab5983a5fe1af3b6354205b03021b0baa.exe

  • Size

    164KB

  • MD5

    683f74e088d0049fb003a0e21ffc9159

  • SHA1

    b2e967a6b07fcacd50b26665e9c7cbb051e2503e

  • SHA256

    ff5130d64fbb3dbe15cf06ca1bd28d5ab5983a5fe1af3b6354205b03021b0baa

  • SHA512

    4eee32dd38697b6e28f17235aa0a020d0996cc22b35bb9bd9f46cec8c64f1f2b79394c183c21a2f30d6c9a7c3b5074ac29ded88693e6fc59d4c457a8e6ec3ff9

  • SSDEEP

    3072:vvsXt4/tRBX7iK3yV26O6a9vh5LTEnsBfQS9H6S:vkXS533OE9j0Ea

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_ff5130d64fbb3dbe15cf06ca1bd28d5ab5983a5fe1af3b6354205b03021b0baa.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ff5130d64fbb3dbe15cf06ca1bd28d5ab5983a5fe1af3b6354205b03021b0baa.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1764
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fhlexcez\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4412
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kwdxcivd.exe" C:\Windows\SysWOW64\fhlexcez\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:380
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fhlexcez binPath= "C:\Windows\SysWOW64\fhlexcez\kwdxcivd.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ff5130d64fbb3dbe15cf06ca1bd28d5ab5983a5fe1af3b6354205b03021b0baa.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4824
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fhlexcez "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1672
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fhlexcez
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3868
    • 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:2268
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1764 -s 1036
      2⤵
      • Program crash
      PID:1848
  • C:\Windows\SysWOW64\fhlexcez\kwdxcivd.exe
    C:\Windows\SysWOW64\fhlexcez\kwdxcivd.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ff5130d64fbb3dbe15cf06ca1bd28d5ab5983a5fe1af3b6354205b03021b0baa.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1916
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2936
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1916 -s 508
      2⤵
      • Program crash
      PID:3436
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1764 -ip 1764
    1⤵
      PID:5116
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 1916 -ip 1916
      1⤵
        PID:1028

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.9MB

        MD5

        84edb3532c72e2e897d72626e8f24b62

        SHA1

        e522a6e4b6b26d0dc2483954c9319c4689f91605

        SHA256

        cd0e0e3482cbe3eefef59363f071077b7b5077ff953ac880f204f65190ae536e

        SHA512

        330f8d1c4fb5d85d4761abfa463e8472f0a33798d16ee56cd02f3cc8a0df2ea92ea4c3a7537f3e827353fcf53cf853aaab413c7c40ef9986ccbec0ca3f7aa5f0

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

        Filesize

        700KB

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

        Filesize

        84KB

      • memory/1764-2-0x0000000000710000-0x0000000000723000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1764-9-0x0000000000710000-0x0000000000723000-memory.dmp

        Filesize

        76KB

      • memory/1764-1-0x0000000000730000-0x0000000000830000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        700KB

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

        Filesize

        700KB

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

        Filesize

        700KB

      • memory/1916-18-0x0000000000400000-0x00000000004AF000-memory.dmp

        Filesize

        700KB

      • memory/2936-14-0x0000000000420000-0x0000000000435000-memory.dmp

        Filesize

        84KB

      • memory/2936-16-0x0000000000420000-0x0000000000435000-memory.dmp

        Filesize

        84KB

      • memory/2936-19-0x0000000000420000-0x0000000000435000-memory.dmp

        Filesize

        84KB