Analysis

  • max time kernel
    145s
  • max time network
    145s
  • 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 04:15

General

  • Target

    JaffaCakes118_5464df8918e5977f6e16e1f39898b92b5b69a4f0ab6d2f3374bf0b4aca246eee.exe

  • Size

    299KB

  • MD5

    fc7e642644626b8857777f4b253f115d

  • SHA1

    17b38fb3dd5826a4f6d5208dbd2292011b13ee28

  • SHA256

    5464df8918e5977f6e16e1f39898b92b5b69a4f0ab6d2f3374bf0b4aca246eee

  • SHA512

    6799435871d1dd58f240cff67b5c3718609c5b679d84bae4552901561e37f2ac8dd3fb68ba20538e7dcdc02a6a5cac6e25f48906da0722280ac17144295f4b14

  • SSDEEP

    6144:f/blk14f8PO3ZCxKjlndRHaTQPr4EZdtgIP:fZbrCxKXRHaTQ0KQ

Malware Config

Extracted

Family

tofsee

C2

patmushta.info

parubey.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_5464df8918e5977f6e16e1f39898b92b5b69a4f0ab6d2f3374bf0b4aca246eee.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5464df8918e5977f6e16e1f39898b92b5b69a4f0ab6d2f3374bf0b4aca246eee.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2796
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xhsfkyrn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1180
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\iznkxdg.exe" C:\Windows\SysWOW64\xhsfkyrn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1120
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xhsfkyrn binPath= "C:\Windows\SysWOW64\xhsfkyrn\iznkxdg.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5464df8918e5977f6e16e1f39898b92b5b69a4f0ab6d2f3374bf0b4aca246eee.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:512
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xhsfkyrn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3456
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xhsfkyrn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4448
    • 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:5032
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2796 -s 1180
      2⤵
      • Program crash
      PID:392
  • C:\Windows\SysWOW64\xhsfkyrn\iznkxdg.exe
    C:\Windows\SysWOW64\xhsfkyrn\iznkxdg.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5464df8918e5977f6e16e1f39898b92b5b69a4f0ab6d2f3374bf0b4aca246eee.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1924
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4788
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1924 -s 516
      2⤵
      • Program crash
      PID:1720
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2796 -ip 2796
    1⤵
      PID:1644
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 1924 -ip 1924
      1⤵
        PID:1500

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.1MB

        MD5

        7261add825559ce71c28273fc72e4a39

        SHA1

        23677b45414b81c86e56d645ee5d4aaa5e6a231f

        SHA256

        dd917866f7623a30f24b8a4d4919477f7f55182e6ee84608bdbb33f713db1c83

        SHA512

        9c5e72974bba70b5083f419aac1533cf74f9989f98f81aa963dd9e5a4dc91fa4819127d78b6935c5795d045fb79959076a9828f67b71db70d9f2072cc9d4105d

      • memory/1924-10-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/1924-20-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/1924-8-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/1924-9-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/2796-14-0x0000000000640000-0x0000000000740000-memory.dmp

        Filesize

        1024KB

      • memory/2796-1-0x0000000000640000-0x0000000000740000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/2796-16-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/2796-18-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2796-17-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        76KB

      • memory/4788-11-0x0000000001090000-0x00000000010A5000-memory.dmp

        Filesize

        84KB

      • memory/4788-15-0x0000000001090000-0x00000000010A5000-memory.dmp

        Filesize

        84KB

      • memory/4788-21-0x0000000001090000-0x00000000010A5000-memory.dmp

        Filesize

        84KB

      • memory/4788-22-0x0000000001090000-0x00000000010A5000-memory.dmp

        Filesize

        84KB

      • memory/4788-23-0x0000000001090000-0x00000000010A5000-memory.dmp

        Filesize

        84KB