Analysis

  • max time kernel
    143s
  • max time network
    147s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-12-2024 01:03

General

  • Target

    JaffaCakes118_cdbd5d999d6dcf08e27236b15b8944f88b1facc92e08f8c1413ce3b444d7a248.exe

  • Size

    211KB

  • MD5

    9a2f4cdd68133418516dbf4012bdc9bc

  • SHA1

    a9d0a10e228907054c0825171188634092f29680

  • SHA256

    cdbd5d999d6dcf08e27236b15b8944f88b1facc92e08f8c1413ce3b444d7a248

  • SHA512

    9dc9db2729e93df7ae17cc4b366211f4990285ff022ebe8fbc07528e34eaa9d40ae2cf7ba7e86af8b92fc087f12cba69bf032f7956b03213158c1a4d50918206

  • SSDEEP

    6144:BZh9IJwIv6LIUvHtnHWH4IZsztVHeOli:ZeJwxLIUvHR2HopZeOM

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 1 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_cdbd5d999d6dcf08e27236b15b8944f88b1facc92e08f8c1413ce3b444d7a248.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_cdbd5d999d6dcf08e27236b15b8944f88b1facc92e08f8c1413ce3b444d7a248.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:212
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\scyxrvur\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4060
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tfmglrem.exe" C:\Windows\SysWOW64\scyxrvur\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2896
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create scyxrvur binPath= "C:\Windows\SysWOW64\scyxrvur\tfmglrem.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_cdbd5d999d6dcf08e27236b15b8944f88b1facc92e08f8c1413ce3b444d7a248.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1220
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description scyxrvur "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:436
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start scyxrvur
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3432
    • 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:4072
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 212 -s 1224
      2⤵
      • Program crash
      PID:4760
  • C:\Windows\SysWOW64\scyxrvur\tfmglrem.exe
    C:\Windows\SysWOW64\scyxrvur\tfmglrem.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_cdbd5d999d6dcf08e27236b15b8944f88b1facc92e08f8c1413ce3b444d7a248.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1688
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1964
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 212 -ip 212
    1⤵
      PID:3960

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

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

      Filesize

      11.9MB

      MD5

      466c320fccc4fefdb7059681ab479b35

      SHA1

      b6599a277fd40b50a39718ffd48f0cd22a292b4b

      SHA256

      1947ef8801ff8ff847dd16218d99bc2ebdc2e95862a2c2a4ecd42e5d5bcad033

      SHA512

      c8776112db660d9690d3b98dea1e7f446fd3a1759a306a2b6faa283840fe1d102bd1f0514ff4531989ade9e088986968fb5374230a3dbb67595e771fada978aa

    • memory/212-1-0x0000000002D50000-0x0000000002E50000-memory.dmp

      Filesize

      1024KB

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

      Filesize

      76KB

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

      Filesize

      84KB

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

      Filesize

      84KB

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

      Filesize

      76KB

    • memory/212-8-0x0000000000400000-0x0000000002B74000-memory.dmp

      Filesize

      39.5MB

    • memory/1688-12-0x0000000000400000-0x0000000002B74000-memory.dmp

      Filesize

      39.5MB

    • memory/1964-11-0x0000000000E70000-0x0000000000E85000-memory.dmp

      Filesize

      84KB

    • memory/1964-14-0x0000000000E70000-0x0000000000E85000-memory.dmp

      Filesize

      84KB

    • memory/1964-15-0x0000000000E70000-0x0000000000E85000-memory.dmp

      Filesize

      84KB