Analysis

  • max time kernel
    149s
  • max time network
    148s
  • 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 17:29

General

  • Target

    JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe

  • Size

    241KB

  • MD5

    26f82c93b67c17fdc57eb442a9f75cc4

  • SHA1

    a3532ef0fc60cefd6923341449c927812190334a

  • SHA256

    542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c

  • SHA512

    2afc90bce64ca13059ae3861daca7319d216956aeecf935be596c09211c53f1f0b81b0bb5159282d6ac7f7805e762c7d584d8d01565cbd6cd2e76d6672710167

  • SSDEEP

    6144:Dvv4iHVncWHsZO694FdXKde7cIncP3Nw:Dvv4iHVrsZO6mdXF7cInE

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_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:404
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mhwktyre\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2056
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tfmglrem.exe" C:\Windows\SysWOW64\mhwktyre\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4280
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mhwktyre binPath= "C:\Windows\SysWOW64\mhwktyre\tfmglrem.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3948
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mhwktyre "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:756
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mhwktyre
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2716
    • 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:2724
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 404 -s 1188
      2⤵
      • Program crash
      PID:184
  • C:\Windows\SysWOW64\mhwktyre\tfmglrem.exe
    C:\Windows\SysWOW64\mhwktyre\tfmglrem.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_542c1a097f2a8a8b3dd27713ce3fc0873d64bb255f43265a577d0537adb0e95c.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4672
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4952
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4672 -s 516
      2⤵
      • Program crash
      PID:1496
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 404 -ip 404
    1⤵
      PID:4180
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 4672 -ip 4672
      1⤵
        PID:5004

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.4MB

        MD5

        d0df90d96713e3472031e62f4ceaf773

        SHA1

        2b62358bfcf1e0f0825781dd613fbe646140c2c1

        SHA256

        3860762da07ec9ac14a712845b39e279b0ff62ad838997937755b55e9cef6d6e

        SHA512

        58fd2c58962f7b798d7c23a58eb5dcef7f454bca5ac2f0085a327cc151831ea7ee51f1739e3e089c83a89b5c84a2fa2dec073c992d8a639c2c55564b64d037e5

      • memory/404-8-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

      • memory/404-2-0x0000000000CE0000-0x0000000000CF3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/404-9-0x0000000000CE0000-0x0000000000CF3000-memory.dmp

        Filesize

        76KB

      • memory/404-1-0x00000000009E0000-0x0000000000AE0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        4.4MB

      • memory/4672-12-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        4.4MB

      • memory/4672-18-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB

      • memory/4952-14-0x0000000000120000-0x0000000000135000-memory.dmp

        Filesize

        84KB

      • memory/4952-16-0x0000000000120000-0x0000000000135000-memory.dmp

        Filesize

        84KB

      • memory/4952-17-0x0000000000120000-0x0000000000135000-memory.dmp

        Filesize

        84KB