Analysis

  • max time kernel
    145s
  • 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
    30-12-2024 01:30

General

  • Target

    JaffaCakes118_9f542dda8238a115cff9cf890c0f330f82d9f7431a4e1efc3836923cba8c9d39.exe

  • Size

    282KB

  • MD5

    b702acbfb022d6d3eb92dc6ffa938123

  • SHA1

    15e926de4225ea7d6996867807d9f2fc4e61428c

  • SHA256

    9f542dda8238a115cff9cf890c0f330f82d9f7431a4e1efc3836923cba8c9d39

  • SHA512

    2067c8fb81095d2edeb357f70ccabc94f666c2c76b1ac9723e34ae0ffc857b9d91ee88af0a853f7054104eb21e1e0a6681e6192e2b8cff1419b4d5c9eb926cd4

  • SSDEEP

    6144:WMnhpeoqjbg3lNpcdjewKBh0+DjQPjG6Bhrc:WMnhpeoUbANpg4rga6Bh

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_9f542dda8238a115cff9cf890c0f330f82d9f7431a4e1efc3836923cba8c9d39.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9f542dda8238a115cff9cf890c0f330f82d9f7431a4e1efc3836923cba8c9d39.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4576
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fggqhqvz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3672
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\iytfzlph.exe" C:\Windows\SysWOW64\fggqhqvz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4660
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fggqhqvz binPath= "C:\Windows\SysWOW64\fggqhqvz\iytfzlph.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9f542dda8238a115cff9cf890c0f330f82d9f7431a4e1efc3836923cba8c9d39.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2928
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fggqhqvz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1532
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fggqhqvz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3052
    • 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:1528
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4576 -s 1196
      2⤵
      • Program crash
      PID:3780
  • C:\Windows\SysWOW64\fggqhqvz\iytfzlph.exe
    C:\Windows\SysWOW64\fggqhqvz\iytfzlph.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9f542dda8238a115cff9cf890c0f330f82d9f7431a4e1efc3836923cba8c9d39.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1580
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1120
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1580 -s 532
      2⤵
      • Program crash
      PID:4408
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 4576 -ip 4576
    1⤵
      PID:1912
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 1580 -ip 1580
      1⤵
        PID:2036

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.9MB

        MD5

        230bbf5ea081cffa9326efc9bafac0aa

        SHA1

        b1b55d2446073294256a62246f2599b58b64ae82

        SHA256

        6c030a2d3f84f4d5c4cc133e4f3ca869850126692e21859c3b6edb5f4dbe0d56

        SHA512

        0b87911e58e8547f777680134689374c6b406cb728620654a8d777581515c47f8995bb1d85de418c2cb08c377ed96f709407078bb04d60218d085cedf98ae790

      • memory/1120-11-0x0000000000450000-0x0000000000465000-memory.dmp

        Filesize

        84KB

      • memory/1120-13-0x0000000000450000-0x0000000000465000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1580-15-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB

      • memory/4576-1-0x0000000002E50000-0x0000000002F50000-memory.dmp

        Filesize

        1024KB

      • memory/4576-2-0x0000000002C00000-0x0000000002C13000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4576-9-0x0000000002C00000-0x0000000002C13000-memory.dmp

        Filesize

        76KB

      • memory/4576-8-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB