Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-12-2024 23:08

General

  • Target

    b598c70600e96cd21f5ee80cac5041b1_JaffaCakes118.exe

  • Size

    14.3MB

  • MD5

    b598c70600e96cd21f5ee80cac5041b1

  • SHA1

    b5054afd240d38b4a452fbc3da6c11c99cb47aac

  • SHA256

    a5c89dbcfcc30b80354c001e087b061544c1e1f64a40e2b02935a4a1e9138252

  • SHA512

    4bf972d79628153e5b4f37d2979caa60cbb4d6093ce9979ccadfc468b466c797dcaa9cff3e2839e48419fe224de14f2c18b88602f3f89d47e5cd68f00edd8db2

  • SSDEEP

    196608:jXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXH:

Malware Config

Extracted

Family

tofsee

C2

43.231.4.6

lazystax.ru

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\b598c70600e96cd21f5ee80cac5041b1_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\b598c70600e96cd21f5ee80cac5041b1_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1492
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jawhlbfz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:664
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mzydnyei.exe" C:\Windows\SysWOW64\jawhlbfz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3616
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jawhlbfz binPath= "C:\Windows\SysWOW64\jawhlbfz\mzydnyei.exe /d\"C:\Users\Admin\AppData\Local\Temp\b598c70600e96cd21f5ee80cac5041b1_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3896
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jawhlbfz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2784
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jawhlbfz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4940
    • 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:1268
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1492 -s 1036
      2⤵
      • Program crash
      PID:4288
  • C:\Windows\SysWOW64\jawhlbfz\mzydnyei.exe
    C:\Windows\SysWOW64\jawhlbfz\mzydnyei.exe /d"C:\Users\Admin\AppData\Local\Temp\b598c70600e96cd21f5ee80cac5041b1_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4200
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4952
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4200 -s 508
      2⤵
      • Program crash
      PID:2088
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 1492 -ip 1492
    1⤵
      PID:4872
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 4200 -ip 4200
      1⤵
        PID:4656

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.1MB

        MD5

        8d3082ef2690c538e26d27d446608657

        SHA1

        43c1886bb3ccc0a020d0bba3ef7cfc531ee2d1f9

        SHA256

        2c2bb83306cf771e56f80d323dbf2d2fbe95efb8fd366dc0e941cafb29153520

        SHA512

        4437abb962574e2e715a3188af44ef95abdea0b9706925427cac09c6a5dec27a462552036d8b352a6df9065633980ebd11932c6c475d72c8edc8fb726b4341ea

      • memory/1492-2-0x0000000000B90000-0x0000000000BA3000-memory.dmp

        Filesize

        76KB

      • memory/1492-1-0x0000000000BF0000-0x0000000000CF0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/1492-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1492-7-0x0000000000400000-0x00000000008EA000-memory.dmp

        Filesize

        4.9MB

      • memory/1492-8-0x0000000000B90000-0x0000000000BA3000-memory.dmp

        Filesize

        76KB

      • memory/4200-15-0x0000000000400000-0x00000000008EA000-memory.dmp

        Filesize

        4.9MB

      • memory/4952-11-0x0000000000910000-0x0000000000925000-memory.dmp

        Filesize

        84KB

      • memory/4952-13-0x0000000000910000-0x0000000000925000-memory.dmp

        Filesize

        84KB

      • memory/4952-14-0x0000000000910000-0x0000000000925000-memory.dmp

        Filesize

        84KB