Analysis

  • max time kernel
    145s
  • 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
    25-12-2024 13:10

General

  • Target

    JaffaCakes118_65bc8314166799e28092cbbee1a4e3f6b0e5de9e9790107189f26f5e90a835f0.exe

  • Size

    284KB

  • MD5

    ebc386c5e58be126d9e8317f518bde8a

  • SHA1

    d1e5459b19c9b4d8cec638a9730b38d33a57ec29

  • SHA256

    65bc8314166799e28092cbbee1a4e3f6b0e5de9e9790107189f26f5e90a835f0

  • SHA512

    9a824af4e2c3e1b5040162360a191488b311475bdf742ad9ae23cfdff158b59dad1768ccb73a2a86f77c402d6719793b7fa88d3c74a9500afca641e6cf634239

  • SSDEEP

    3072:2QWV+ioVH8ycDJdRc1/Q3RNyqUy39S20keU8/W8JMu2YaqK6nq1P93Y:VWVZ8yDJk1/QBNfP9Pu2YaqKua

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_65bc8314166799e28092cbbee1a4e3f6b0e5de9e9790107189f26f5e90a835f0.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_65bc8314166799e28092cbbee1a4e3f6b0e5de9e9790107189f26f5e90a835f0.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4996
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\uuhdrgv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4956
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jvhppapx.exe" C:\Windows\SysWOW64\uuhdrgv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4132
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create uuhdrgv binPath= "C:\Windows\SysWOW64\uuhdrgv\jvhppapx.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_65bc8314166799e28092cbbee1a4e3f6b0e5de9e9790107189f26f5e90a835f0.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2780
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description uuhdrgv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4700
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start uuhdrgv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2316
    • 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:3008
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4996 -s 1208
      2⤵
      • Program crash
      PID:2652
  • C:\Windows\SysWOW64\uuhdrgv\jvhppapx.exe
    C:\Windows\SysWOW64\uuhdrgv\jvhppapx.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_65bc8314166799e28092cbbee1a4e3f6b0e5de9e9790107189f26f5e90a835f0.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3636
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1028
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3636 -s 556
      2⤵
      • Program crash
      PID:3468
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4996 -ip 4996
    1⤵
      PID:3396
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 540 -p 3636 -ip 3636
      1⤵
        PID:116

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.3MB

        MD5

        3089fd06a7987338ecb6177a09189666

        SHA1

        d6aa5e0a15170579890866cb46abb46ac218efbd

        SHA256

        d742fdc1ffa0752d16e71223b6962c345cbf5da30baa74d4ee4aed5eb88c9a84

        SHA512

        39027910582f43e74cee996744d6fed0bbf60da062e8f7fef97693e09020c83822ff3121ce02d87cbb1ba5b534f8d2edb2dd5111a76dde3120428a15efdf17f0

      • memory/1028-11-0x00000000006E0000-0x00000000006F5000-memory.dmp

        Filesize

        84KB

      • memory/1028-13-0x00000000006E0000-0x00000000006F5000-memory.dmp

        Filesize

        84KB

      • memory/1028-15-0x00000000006E0000-0x00000000006F5000-memory.dmp

        Filesize

        84KB

      • memory/3636-14-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB

      • memory/4996-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/4996-1-0x0000000002F00000-0x0000000003000000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4996-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        39.6MB