Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18-12-2024 10:34

General

  • Target

    fb3047f88312a2511364821ffbf29fe3_JaffaCakes118.exe

  • Size

    12.3MB

  • MD5

    fb3047f88312a2511364821ffbf29fe3

  • SHA1

    d4032a89a9e3d06df1c1c50b02ea07f4a2d4ff2c

  • SHA256

    e28c9ae1fd731c719960f6c4246f8931963c18c04dbcfb967749c0e17c2a4584

  • SHA512

    2022d1547e3d3aba1ec8be145547c08ed1a9f7cc0f4c9176e335b3b0769da88f4e7379acd08ce90ac01eb840c85aca167f5c22f9f130e427b03b7f964cc844d3

  • SSDEEP

    49152:5HM3pipipipipipipipipipipipipipipipipipipipipipipipipipipipipipH:RM

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\fb3047f88312a2511364821ffbf29fe3_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\fb3047f88312a2511364821ffbf29fe3_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4204
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wieefwyu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3036
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kzmiutmy.exe" C:\Windows\SysWOW64\wieefwyu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:880
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wieefwyu binPath= "C:\Windows\SysWOW64\wieefwyu\kzmiutmy.exe /d\"C:\Users\Admin\AppData\Local\Temp\fb3047f88312a2511364821ffbf29fe3_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1764
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wieefwyu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2008
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wieefwyu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1900
    • 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:1700
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4204 -s 788
      2⤵
      • Program crash
      PID:3760
  • C:\Windows\SysWOW64\wieefwyu\kzmiutmy.exe
    C:\Windows\SysWOW64\wieefwyu\kzmiutmy.exe /d"C:\Users\Admin\AppData\Local\Temp\fb3047f88312a2511364821ffbf29fe3_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3772
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4792
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3772 -s 532
      2⤵
      • Program crash
      PID:4004
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4204 -ip 4204
    1⤵
      PID:3232
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3772 -ip 3772
      1⤵
        PID:4856

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.7MB

        MD5

        4b9935aedd1a840129b0458d977bbcbe

        SHA1

        969c9d2028c8d28fad8fb0cf44cd95db3ab4685b

        SHA256

        ad95462cc52e27b5c1f0145496b73089b18259321d2d24ad356976e11344b37a

        SHA512

        3bbc419b765940ecc6e2abe133e6dae78451e4abca88ff723a1efd740d74ee49eebbd38366ca0967f26ba4917fd549505bb438743157e3e2fa31baba200c2bc0

      • memory/3772-11-0x0000000000400000-0x00000000004BD000-memory.dmp

        Filesize

        756KB

      • memory/3772-12-0x0000000000400000-0x00000000004BD000-memory.dmp

        Filesize

        756KB

      • memory/3772-13-0x0000000000400000-0x00000000004BD000-memory.dmp

        Filesize

        756KB

      • memory/3772-19-0x0000000000400000-0x00000000004BD000-memory.dmp

        Filesize

        756KB

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

        Filesize

        84KB

      • memory/4204-1-0x0000000000620000-0x0000000000720000-memory.dmp

        Filesize

        1024KB

      • memory/4204-8-0x0000000000400000-0x00000000004BD000-memory.dmp

        Filesize

        756KB

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

        Filesize

        84KB

      • memory/4204-9-0x0000000002200000-0x0000000002213000-memory.dmp

        Filesize

        76KB

      • memory/4204-2-0x0000000002200000-0x0000000002213000-memory.dmp

        Filesize

        76KB

      • memory/4792-14-0x0000000000840000-0x0000000000855000-memory.dmp

        Filesize

        84KB

      • memory/4792-16-0x0000000000840000-0x0000000000855000-memory.dmp

        Filesize

        84KB

      • memory/4792-17-0x0000000000840000-0x0000000000855000-memory.dmp

        Filesize

        84KB