Analysis

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

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

General

  • Target

    JaffaCakes118_19bcbeb0b9f81c775fa96cddac76e5d3a55f65ed580ea93d452e656f3d1231e2.exe

  • Size

    277KB

  • MD5

    a8301ded770dca5b37d8d125f8bbbb8b

  • SHA1

    a6a90c8a0132c172cb384e803ea735de365b3859

  • SHA256

    19bcbeb0b9f81c775fa96cddac76e5d3a55f65ed580ea93d452e656f3d1231e2

  • SHA512

    c5a9d5a8957155d8bb006a6e75695bc8ed4d775bf7797869067d8c81192fe87003c122fde8f6d9031f2eeae852c996914ed0d0e26efbcc83ffad96e0c1ab054e

  • SSDEEP

    3072:A/0FXt7yv4zdOPOPtGTRZEYWigNQsKZRVy8U/qed+pHMGrYv5QkA9UyYkDUa+1pB:AH+YP6otZai9Xy8qLiHMGr609UyYfXt

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_19bcbeb0b9f81c775fa96cddac76e5d3a55f65ed580ea93d452e656f3d1231e2.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_19bcbeb0b9f81c775fa96cddac76e5d3a55f65ed580ea93d452e656f3d1231e2.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1144
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ykmmpexx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3664
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gsztyerz.exe" C:\Windows\SysWOW64\ykmmpexx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4464
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ykmmpexx binPath= "C:\Windows\SysWOW64\ykmmpexx\gsztyerz.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_19bcbeb0b9f81c775fa96cddac76e5d3a55f65ed580ea93d452e656f3d1231e2.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1744
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ykmmpexx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1708
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ykmmpexx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3580
    • 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:1972
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1144 -s 784
      2⤵
      • Program crash
      PID:4868
  • C:\Windows\SysWOW64\ykmmpexx\gsztyerz.exe
    C:\Windows\SysWOW64\ykmmpexx\gsztyerz.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_19bcbeb0b9f81c775fa96cddac76e5d3a55f65ed580ea93d452e656f3d1231e2.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4432
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4052
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4432 -s 512
      2⤵
      • Program crash
      PID:2616
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1144 -ip 1144
    1⤵
      PID:3536
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 4432 -ip 4432
      1⤵
        PID:2232

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.5MB

        MD5

        4450f40d1f4445a581de3c8e375a22c4

        SHA1

        4547f15b81c201691b2905a4982f03fbe4867c6a

        SHA256

        9b04b3006d49414b8573a6a9672eaf5cee889a7410068f4417b111783a99b24e

        SHA512

        2ab65e693b25973bd7396cb34d4c172e546865b99f25b6c00e95aa714d5c482e59eff5b591d2fc8c4e359da7afb37e06b65f875b699c2ff253b68fe7a42acb70

      • memory/1144-1-0x0000000002E60000-0x0000000002F60000-memory.dmp

        Filesize

        1024KB

      • memory/1144-2-0x0000000004AE0000-0x0000000004AF3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1144-9-0x0000000004AE0000-0x0000000004AF3000-memory.dmp

        Filesize

        76KB

      • memory/1144-8-0x0000000000400000-0x0000000002D9C000-memory.dmp

        Filesize

        41.6MB

      • memory/4052-11-0x0000000000A90000-0x0000000000AA5000-memory.dmp

        Filesize

        84KB

      • memory/4052-13-0x0000000000A90000-0x0000000000AA5000-memory.dmp

        Filesize

        84KB

      • memory/4052-14-0x0000000000A90000-0x0000000000AA5000-memory.dmp

        Filesize

        84KB

      • memory/4432-15-0x0000000000400000-0x0000000002D9C000-memory.dmp

        Filesize

        41.6MB