Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26-12-2024 23:15

General

  • Target

    JaffaCakes118_6adcc2a8d8f0a5f7d49879248ee9a3f6bd1b6528165751eb6806897824ab9af6.exe

  • Size

    207KB

  • MD5

    9ed714920910dff67ae47f7d2ff5dcd3

  • SHA1

    1a0329735aa0436ebd5befb4b12a384ce2f599ea

  • SHA256

    6adcc2a8d8f0a5f7d49879248ee9a3f6bd1b6528165751eb6806897824ab9af6

  • SHA512

    e7bad0e63da94fcbae54c7a91b9a8e6dc42d77bcd3eb6b6af1593c43348659be36cd803bd773f5c414d1bee877e84771bff5962873c45e9cc2de128fc6e1e526

  • SSDEEP

    3072:QhwfshmkAN3skS5A9fms6UuY4Xwoh5D4VLSQEOJH3hONr57v75FEJLB:QT96/4UuY4J4z5JHxG57vFFE

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_6adcc2a8d8f0a5f7d49879248ee9a3f6bd1b6528165751eb6806897824ab9af6.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6adcc2a8d8f0a5f7d49879248ee9a3f6bd1b6528165751eb6806897824ab9af6.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:628
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nzijsfnf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3588
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wzxsmtdn.exe" C:\Windows\SysWOW64\nzijsfnf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3560
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nzijsfnf binPath= "C:\Windows\SysWOW64\nzijsfnf\wzxsmtdn.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6adcc2a8d8f0a5f7d49879248ee9a3f6bd1b6528165751eb6806897824ab9af6.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:660
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nzijsfnf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4024
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nzijsfnf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5024
    • 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:2604
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 628 -s 1216
      2⤵
      • Program crash
      PID:3776
  • C:\Windows\SysWOW64\nzijsfnf\wzxsmtdn.exe
    C:\Windows\SysWOW64\nzijsfnf\wzxsmtdn.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6adcc2a8d8f0a5f7d49879248ee9a3f6bd1b6528165751eb6806897824ab9af6.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4008
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2616
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4008 -s 532
      2⤵
      • Program crash
      PID:4316
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 628 -ip 628
    1⤵
      PID:4620
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 516 -p 4008 -ip 4008
      1⤵
        PID:3920

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.7MB

        MD5

        f610e8bd95db6ffc82f5f2f29605d330

        SHA1

        225d6aeba25dd977bfb1abde9d700bd37c2426e0

        SHA256

        597fbbdf99f5f879e853566fb6e8ab8a12a5433ffed49ed9a71acdbc68e3a167

        SHA512

        b067f226bedfb321e229dbbf80ddad3b939f83f82f11e062606f72b5f4f69d1ca85c65a1aa4caf974b6e078f65d2d80100e9ffe6331646c87e7910ce0b0e2169

      • memory/628-9-0x0000000000860000-0x0000000000873000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/628-2-0x0000000000860000-0x0000000000873000-memory.dmp

        Filesize

        76KB

      • memory/628-8-0x0000000000400000-0x00000000004B9000-memory.dmp

        Filesize

        740KB

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

        Filesize

        84KB

      • memory/628-1-0x0000000000880000-0x0000000000980000-memory.dmp

        Filesize

        1024KB

      • memory/2616-14-0x00000000006E0000-0x00000000006F5000-memory.dmp

        Filesize

        84KB

      • memory/2616-16-0x00000000006E0000-0x00000000006F5000-memory.dmp

        Filesize

        84KB

      • memory/2616-17-0x00000000006E0000-0x00000000006F5000-memory.dmp

        Filesize

        84KB

      • memory/4008-11-0x0000000000400000-0x00000000004B9000-memory.dmp

        Filesize

        740KB

      • memory/4008-12-0x0000000000400000-0x00000000004B9000-memory.dmp

        Filesize

        740KB

      • memory/4008-13-0x0000000000400000-0x00000000004B9000-memory.dmp

        Filesize

        740KB

      • memory/4008-18-0x0000000000400000-0x00000000004B9000-memory.dmp

        Filesize

        740KB