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
    24-12-2024 09:17

General

  • Target

    JaffaCakes118_b94d0e8435e9f0dadb6f683f7eaf08ef0917aabd80ab0c5ae38296921bc6d566.exe

  • Size

    300KB

  • MD5

    4189f2a27dfdbdc0424f4b04964a1cb1

  • SHA1

    276ccfa3cef69d41b4ae7dfca5ca170a90d5032a

  • SHA256

    b94d0e8435e9f0dadb6f683f7eaf08ef0917aabd80ab0c5ae38296921bc6d566

  • SHA512

    55fd82b856ffcf1c0c1febeda8ce04ae4893a84d8a0bfb617fca3fdd1090f667f43aeb569857913e7a0e1388b769dd77006926a6469c23f9b339f06a7d705355

  • SSDEEP

    6144:+X5T4tWtxqDstWhZxQxHdEXhG904J6KkE:+X5UtWCDstWhfQNdKhV40Kk

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_b94d0e8435e9f0dadb6f683f7eaf08ef0917aabd80ab0c5ae38296921bc6d566.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b94d0e8435e9f0dadb6f683f7eaf08ef0917aabd80ab0c5ae38296921bc6d566.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1820
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\maxggarg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4564
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mbhbwmkz.exe" C:\Windows\SysWOW64\maxggarg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3908
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create maxggarg binPath= "C:\Windows\SysWOW64\maxggarg\mbhbwmkz.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b94d0e8435e9f0dadb6f683f7eaf08ef0917aabd80ab0c5ae38296921bc6d566.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1328
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description maxggarg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2016
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start maxggarg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2228
    • 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:3248
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1820 -s 1036
      2⤵
      • Program crash
      PID:3020
  • C:\Windows\SysWOW64\maxggarg\mbhbwmkz.exe
    C:\Windows\SysWOW64\maxggarg\mbhbwmkz.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b94d0e8435e9f0dadb6f683f7eaf08ef0917aabd80ab0c5ae38296921bc6d566.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3016
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2804
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3016 -s 512
      2⤵
      • Program crash
      PID:832
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1820 -ip 1820
    1⤵
      PID:1824
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 3016 -ip 3016
      1⤵
        PID:228

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.7MB

        MD5

        bfb6a60d5ea30174eb06e2d64298e54d

        SHA1

        a27307bc0399552ba6a0a875c46c76d4d41d54e4

        SHA256

        1038031b5eb0313de2529eae5a29f4ef012363e4eefa388f6e72ea1900a0ab92

        SHA512

        aff749ff44023978c37d261e7592f02fa20d21db51a3a2face6fd2e23c82dbb7135ed75a96ee161327b52a559b1cf085a1d0f33b9bf89194cb3d0f60f5968093

      • memory/1820-7-0x0000000000400000-0x0000000000462000-memory.dmp

        Filesize

        392KB

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

        Filesize

        84KB

      • memory/1820-1-0x0000000000740000-0x0000000000840000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/1820-8-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        76KB

      • memory/2804-13-0x0000000000720000-0x0000000000735000-memory.dmp

        Filesize

        84KB

      • memory/2804-15-0x0000000000720000-0x0000000000735000-memory.dmp

        Filesize

        84KB

      • memory/2804-16-0x0000000000720000-0x0000000000735000-memory.dmp

        Filesize

        84KB

      • memory/3016-12-0x0000000000400000-0x0000000000462000-memory.dmp

        Filesize

        392KB

      • memory/3016-11-0x0000000000400000-0x0000000000462000-memory.dmp

        Filesize

        392KB

      • memory/3016-18-0x0000000000400000-0x0000000000462000-memory.dmp

        Filesize

        392KB