Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-10-2024 11:36

General

  • Target

    7f0e78e68cad738676174e178952d043_JaffaCakes118.exe

  • Size

    12.1MB

  • MD5

    7f0e78e68cad738676174e178952d043

  • SHA1

    f556a4c8ac98946b375f444f564f795474326632

  • SHA256

    2128c7ae82349263682d6a3206cc97b040c42e0e5d4424d2306ee30bb1b83de8

  • SHA512

    a2842f581e993dd6170a402ae6425ead4ad22eacecfec09fdae8575194b8f09fcc420970809dbf936945a0e13b3c935caab9867bc24d8ee5adc64680bf26c018

  • SSDEEP

    393216:9IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIv:

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\7f0e78e68cad738676174e178952d043_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\7f0e78e68cad738676174e178952d043_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4296
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kxnntiky\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3060
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ayiggwfv.exe" C:\Windows\SysWOW64\kxnntiky\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:404
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kxnntiky binPath= "C:\Windows\SysWOW64\kxnntiky\ayiggwfv.exe /d\"C:\Users\Admin\AppData\Local\Temp\7f0e78e68cad738676174e178952d043_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3448
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kxnntiky "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:528
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kxnntiky
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2552
    • 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:4752
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4296 -s 1176
      2⤵
      • Program crash
      PID:3912
  • C:\Windows\SysWOW64\kxnntiky\ayiggwfv.exe
    C:\Windows\SysWOW64\kxnntiky\ayiggwfv.exe /d"C:\Users\Admin\AppData\Local\Temp\7f0e78e68cad738676174e178952d043_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:904
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3228
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 904 -s 520
      2⤵
      • Program crash
      PID:4788
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4296 -ip 4296
    1⤵
      PID:4996
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 904 -ip 904
      1⤵
        PID:1896

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.8MB

        MD5

        d62900501429d8bed7775b742f6dc0ce

        SHA1

        4143007395cb0365cc0486a8e860d48dde8409f9

        SHA256

        d17a5370a118106d0ab1dd1c2fceafe1968dae6edd12c9a953ccb6483dc5433e

        SHA512

        484ca94dd46b8cf3c5e1688cf420a2f046e58f8e44aaa1b2ce7c9993afc3407cdf4c70334d350e60119bfcb41ec736ff3e16d24474e3a601b39f94c86df2329d

      • memory/904-13-0x0000000000400000-0x000000000045C000-memory.dmp

        Filesize

        368KB

      • memory/904-12-0x0000000000400000-0x000000000045C000-memory.dmp

        Filesize

        368KB

      • memory/904-11-0x0000000000400000-0x000000000045C000-memory.dmp

        Filesize

        368KB

      • memory/904-18-0x0000000000400000-0x000000000045C000-memory.dmp

        Filesize

        368KB

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

        Filesize

        84KB

      • memory/3228-16-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3228-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/4296-8-0x0000000000400000-0x000000000045C000-memory.dmp

        Filesize

        368KB

      • memory/4296-1-0x00000000005E0000-0x00000000006E0000-memory.dmp

        Filesize

        1024KB