Analysis

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

General

  • Target

    JaffaCakes118_adbac4ee3fdf12d64164f2092fb355e05f5b0e797588cb52b78bf7fbe4aa55ce.exe

  • Size

    238KB

  • MD5

    f6a243b928d4af62b98f55da1c8c12fa

  • SHA1

    7318559a01f03e257bfd67f424e9f9bd0ea97a96

  • SHA256

    adbac4ee3fdf12d64164f2092fb355e05f5b0e797588cb52b78bf7fbe4aa55ce

  • SHA512

    2c9fdcf1b23805c80c966aa013ff4a084bbb817cb0e17e6fc12b65c0e7ad0d0a1d45ee3fdfa2c9b8da775b7b61ae5a84117e647b4dd17950979f6a62ccab7b7b

  • SSDEEP

    6144:keTvFeYZO1fsLsR82ihb12DsIn/cEJ5RB5Rn+E:kYd/ZO18Gsv45bn+

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_adbac4ee3fdf12d64164f2092fb355e05f5b0e797588cb52b78bf7fbe4aa55ce.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_adbac4ee3fdf12d64164f2092fb355e05f5b0e797588cb52b78bf7fbe4aa55ce.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4052
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jwehgivi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3452
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\krdqzmnh.exe" C:\Windows\SysWOW64\jwehgivi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1180
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jwehgivi binPath= "C:\Windows\SysWOW64\jwehgivi\krdqzmnh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_adbac4ee3fdf12d64164f2092fb355e05f5b0e797588cb52b78bf7fbe4aa55ce.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5052
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jwehgivi "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1432
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jwehgivi
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1888
    • 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:4164
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4052 -s 1148
      2⤵
      • Program crash
      PID:2076
  • C:\Windows\SysWOW64\jwehgivi\krdqzmnh.exe
    C:\Windows\SysWOW64\jwehgivi\krdqzmnh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_adbac4ee3fdf12d64164f2092fb355e05f5b0e797588cb52b78bf7fbe4aa55ce.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2816
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4688
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2816 -s 512
      2⤵
      • Program crash
      PID:1164
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4052 -ip 4052
    1⤵
      PID:596
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 2816 -ip 2816
      1⤵
        PID:3396

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.7MB

        MD5

        bb8def2dd95bc6967e7748b9449a8663

        SHA1

        865e1243a548364abab6dfe30a1a62d93f952677

        SHA256

        bcd66366b209d2e3b84ac66f6d3ffaaedfe14b99f2d01b75c36b10f8bc4ff075

        SHA512

        0f413bdc77be1844aa81f3b7f7878cc89026354dd76a95230d1ef1bd31437467d58ad05081042a7c90d061cfc0c8ea9d23c799a957aae54afd3c98858d35d23d

      • memory/2816-14-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/2816-15-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/4052-1-0x0000000000B40000-0x0000000000C40000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4052-8-0x0000000000400000-0x000000000086B000-memory.dmp

        Filesize

        4.4MB

      • memory/4688-11-0x0000000001070000-0x0000000001085000-memory.dmp

        Filesize

        84KB

      • memory/4688-13-0x0000000001070000-0x0000000001085000-memory.dmp

        Filesize

        84KB

      • memory/4688-17-0x0000000001070000-0x0000000001085000-memory.dmp

        Filesize

        84KB