Analysis

  • max time kernel
    144s
  • 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
    15-12-2024 09:35

General

  • Target

    f3615a826a17f76a936beb423b94465b_JaffaCakes118.exe

  • Size

    13.6MB

  • MD5

    f3615a826a17f76a936beb423b94465b

  • SHA1

    2068b6d190eafc00f96a5a853cd2b457066942ae

  • SHA256

    242b45857eeb58a9c9b74475a921f96eb152699e0b8f67d98c5e6553affbc789

  • SHA512

    5d0e69efa747eaaabb629510006acadc5ac4ce3909e796bafffbf1d48ce08bae9ead3b1a7e5894e581ff9f3457b6b913ba11afd22dd74dfc1b6f0a324680c220

  • SSDEEP

    196608:4ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3:

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\f3615a826a17f76a936beb423b94465b_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f3615a826a17f76a936beb423b94465b_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1364
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hyvytbqz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:684
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vawompb.exe" C:\Windows\SysWOW64\hyvytbqz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5068
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hyvytbqz binPath= "C:\Windows\SysWOW64\hyvytbqz\vawompb.exe /d\"C:\Users\Admin\AppData\Local\Temp\f3615a826a17f76a936beb423b94465b_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2788
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hyvytbqz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4900
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hyvytbqz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4048
    • 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:5096
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1364 -s 1240
      2⤵
      • Program crash
      PID:100
  • C:\Windows\SysWOW64\hyvytbqz\vawompb.exe
    C:\Windows\SysWOW64\hyvytbqz\vawompb.exe /d"C:\Users\Admin\AppData\Local\Temp\f3615a826a17f76a936beb423b94465b_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4444
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1156
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4444 -s 560
      2⤵
      • Program crash
      PID:4812
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1364 -ip 1364
    1⤵
      PID:2444
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4444 -ip 4444
      1⤵
        PID:3172

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.7MB

        MD5

        7af3021135b1d264e1370829493f4b2f

        SHA1

        679030b9d33154e251acc233efc6e2ca33e3706b

        SHA256

        0603161b366721cc184c2743de05f622d3a774595fa66f4333113b390d192283

        SHA512

        fb09d98d6cdaaef543af476db917e27a73ddbd030cef1d8bb50519b2640443b1ac7c2b06568e919bde58c728d711e0005724aa543ed6c4b32b0dc1bb83660ee6

      • memory/1156-14-0x00000000006B0000-0x00000000006C5000-memory.dmp

        Filesize

        84KB

      • memory/1156-17-0x00000000006B0000-0x00000000006C5000-memory.dmp

        Filesize

        84KB

      • memory/1156-16-0x00000000006B0000-0x00000000006C5000-memory.dmp

        Filesize

        84KB

      • memory/1364-9-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

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

        Filesize

        704KB

      • memory/1364-1-0x0000000000600000-0x0000000000700000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1364-2-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

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

        Filesize

        704KB

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

        Filesize

        704KB

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

        Filesize

        704KB

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

        Filesize

        704KB