Analysis

  • max time kernel
    149s
  • max time network
    149s
  • 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, 08:19

General

  • Target

    JaffaCakes118_5315c094dff5dc94036b83598b252b83d4ba1d72f856cae3fc1dc95cf72ffd23.exe

  • Size

    167KB

  • MD5

    7a418d23ee221c55a141484703811b86

  • SHA1

    e66e5b34f33f49961ed1b469fb88dd4020a3357b

  • SHA256

    5315c094dff5dc94036b83598b252b83d4ba1d72f856cae3fc1dc95cf72ffd23

  • SHA512

    ad35649dca8bb5720981c8941e2733c9d9dec3e6b57f70083948cb9c89b3e0d12ffee0b151dd301b0e80d3e1e3782acf7502d3302e423a5223b0a6a349264700

  • SSDEEP

    3072:icIJ8Ty2eHnl+YF7MZrXrYLWvY25glvzs6PS9H6dYs:XIWe2eHRF7mrXsLvvzBEad

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_5315c094dff5dc94036b83598b252b83d4ba1d72f856cae3fc1dc95cf72ffd23.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5315c094dff5dc94036b83598b252b83d4ba1d72f856cae3fc1dc95cf72ffd23.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1688
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gnraekru\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3448
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bveobejv.exe" C:\Windows\SysWOW64\gnraekru\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2908
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gnraekru binPath= "C:\Windows\SysWOW64\gnraekru\bveobejv.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5315c094dff5dc94036b83598b252b83d4ba1d72f856cae3fc1dc95cf72ffd23.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4396
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gnraekru "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4792
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gnraekru
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3552
    • 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:2736
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1688 -s 1200
      2⤵
      • Program crash
      PID:1744
  • C:\Windows\SysWOW64\gnraekru\bveobejv.exe
    C:\Windows\SysWOW64\gnraekru\bveobejv.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5315c094dff5dc94036b83598b252b83d4ba1d72f856cae3fc1dc95cf72ffd23.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3156
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1956
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3156 -s 512
      2⤵
      • Program crash
      PID:3852
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 1688 -ip 1688
    1⤵
      PID:2984
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 3156 -ip 3156
      1⤵
        PID:1364

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

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

              Filesize

              11.9MB

              MD5

              251582589a479e834600c4db8ee2067b

              SHA1

              50d977e354b8f8218001e8d06d23f00a3afb9422

              SHA256

              7d07627703d84107fce12d99cfdc95dbd5a597356346ddca1a6664e58f53dcb8

              SHA512

              ea4b550d59e579a660f459ad84bcde195bfc3f8dcd16a51d63ef003ca0e1e12cdc20e97d9a13840337f3ace2f92c6df69aac56a834a68ee62fcb7a7e9be44ae7

            • memory/1688-8-0x0000000000400000-0x00000000004B0000-memory.dmp

              Filesize

              704KB

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

              Filesize

              84KB

            • memory/1688-1-0x00000000006B0000-0x00000000007B0000-memory.dmp

              Filesize

              1024KB

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

              Filesize

              84KB

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

              Filesize

              76KB

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

              Filesize

              76KB

            • memory/1956-14-0x0000000000440000-0x0000000000455000-memory.dmp

              Filesize

              84KB

            • memory/1956-16-0x0000000000440000-0x0000000000455000-memory.dmp

              Filesize

              84KB

            • memory/1956-17-0x0000000000440000-0x0000000000455000-memory.dmp

              Filesize

              84KB

            • memory/3156-12-0x0000000000400000-0x00000000004B0000-memory.dmp

              Filesize

              704KB

            • memory/3156-11-0x0000000000400000-0x00000000004B0000-memory.dmp

              Filesize

              704KB

            • memory/3156-13-0x0000000000400000-0x00000000004B0000-memory.dmp

              Filesize

              704KB

            • memory/3156-19-0x0000000000400000-0x00000000004B0000-memory.dmp

              Filesize

              704KB