Analysis

  • max time kernel
    149s
  • 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
    24/12/2024, 19:21

General

  • Target

    JaffaCakes118_42c7ced62147af5b8cc31c12cf3ef7d75dddaa518bf3f2beb2c7ab5d9c5dd64f.exe

  • Size

    240KB

  • MD5

    ee14752b4ccb32769404996930ce3230

  • SHA1

    09190329105e182ba82701fa0f7a731e49d4a832

  • SHA256

    42c7ced62147af5b8cc31c12cf3ef7d75dddaa518bf3f2beb2c7ab5d9c5dd64f

  • SHA512

    15e5335cf214351f5ffb058fd8642018af62ed9e71f84ac42dc90d79f78755ac2d12abfc3716777ceaeb80cbc90a679cf32117741aa5e6d83e88a3a17763b264

  • SSDEEP

    3072:NXMJhiithleXQDIQMoCrjXm0a477yPY5tT7/iuiRNOuzUlDCtut:NIsCeADtmrjX+0n/iTRUxj

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_42c7ced62147af5b8cc31c12cf3ef7d75dddaa518bf3f2beb2c7ab5d9c5dd64f.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_42c7ced62147af5b8cc31c12cf3ef7d75dddaa518bf3f2beb2c7ab5d9c5dd64f.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1620
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\okfjrwwk\
      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\wueccsbr.exe" C:\Windows\SysWOW64\okfjrwwk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4032
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create okfjrwwk binPath= "C:\Windows\SysWOW64\okfjrwwk\wueccsbr.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_42c7ced62147af5b8cc31c12cf3ef7d75dddaa518bf3f2beb2c7ab5d9c5dd64f.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3864
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description okfjrwwk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1500
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start okfjrwwk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:516
    • 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:3216
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1620 -s 1312
      2⤵
      • Program crash
      PID:2616
  • C:\Windows\SysWOW64\okfjrwwk\wueccsbr.exe
    C:\Windows\SysWOW64\okfjrwwk\wueccsbr.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_42c7ced62147af5b8cc31c12cf3ef7d75dddaa518bf3f2beb2c7ab5d9c5dd64f.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4040
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1148
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4040 -s 520
      2⤵
      • Program crash
      PID:4880
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 1620 -ip 1620
    1⤵
      PID:2088
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 540 -p 4040 -ip 4040
      1⤵
        PID:3264

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.5MB

        MD5

        3f3907d0bcf04fb6836c6a17bc87b5c8

        SHA1

        fa3bb5614bbb9c040546d373f0da25f7c8329479

        SHA256

        72d31cb012cd779152ce67da5680da40fbcc630abeee613b15e743160e51a44f

        SHA512

        033a8c467756a81a2900a3b46871e410b7e23fc5755e27002441f6e6cd5446f25844969843541647bea5901af7fad86f43b1ac8763de3caf7ffb82c9dd05f1d6

      • memory/1148-8-0x0000000000DD0000-0x0000000000DE5000-memory.dmp

        Filesize

        84KB

      • memory/1148-16-0x0000000000DD0000-0x0000000000DE5000-memory.dmp

        Filesize

        84KB

      • memory/1148-17-0x0000000000DD0000-0x0000000000DE5000-memory.dmp

        Filesize

        84KB

      • memory/1620-1-0x0000000000A20000-0x0000000000B20000-memory.dmp

        Filesize

        1024KB

      • memory/1620-2-0x00000000008E0000-0x00000000008F3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1620-15-0x00000000008E0000-0x00000000008F3000-memory.dmp

        Filesize

        76KB

      • memory/1620-13-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB

      • memory/1620-14-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4040-9-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB

      • memory/4040-11-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB