Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-12-2024 22:02

General

  • Target

    JaffaCakes118_39a4223734b3e0de32868512cbb0caea.exe

  • Size

    12.2MB

  • MD5

    39a4223734b3e0de32868512cbb0caea

  • SHA1

    9a37a54a9c3746471928a4256c2de833430e429d

  • SHA256

    8b375f518fff7dbc1a19a8a088f0b29607a4edd6341f5edf32fc17d2aca29c20

  • SHA512

    b9a1aca79b459e58f2a9cdf0757a3c344a4e8145da057601f44e7699ee81a5bb1f801105ead8f15f79eaa49666347ae923882552a065d42a2ae82e97540b5f82

  • SSDEEP

    98304:nUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUE:

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_39a4223734b3e0de32868512cbb0caea.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_39a4223734b3e0de32868512cbb0caea.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:868
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dlmazqbq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4132
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ecmkkajz.exe" C:\Windows\SysWOW64\dlmazqbq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5104
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dlmazqbq binPath= "C:\Windows\SysWOW64\dlmazqbq\ecmkkajz.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_39a4223734b3e0de32868512cbb0caea.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2096
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dlmazqbq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1160
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dlmazqbq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1232
    • 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:4748
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 868 -s 1184
      2⤵
      • Program crash
      PID:2192
  • C:\Windows\SysWOW64\dlmazqbq\ecmkkajz.exe
    C:\Windows\SysWOW64\dlmazqbq\ecmkkajz.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_39a4223734b3e0de32868512cbb0caea.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1416
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2200
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1416 -s 512
      2⤵
      • Program crash
      PID:3280
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 868 -ip 868
    1⤵
      PID:3664
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 1416 -ip 1416
      1⤵
        PID:2428

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.2MB

        MD5

        54cac8aee22e7217ff2bd97e491208b4

        SHA1

        e08da69589156d6bf1c94cfffdde567ea23c036b

        SHA256

        b19275007cc3909814c7e384b50acfd6cf85a929e520ca1c112247f2302c7416

        SHA512

        d318e26afe91cb79f5bdaadd422777b8e8b9d6235f8d497d409ade58369a4c591e109d7872b65e24832d3501a121a5efd17c62c019d46ec95d1223c5d0a34067

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/868-1-0x00000000005C0000-0x00000000006C0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/868-8-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

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

        Filesize

        76KB

      • memory/1416-12-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/1416-11-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/1416-13-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/1416-19-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/2200-14-0x0000000000D10000-0x0000000000D25000-memory.dmp

        Filesize

        84KB

      • memory/2200-16-0x0000000000D10000-0x0000000000D25000-memory.dmp

        Filesize

        84KB

      • memory/2200-17-0x0000000000D10000-0x0000000000D25000-memory.dmp

        Filesize

        84KB