Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-09-2024 19:18

General

  • Target

    02e5c341d567695ae3743ddda4916025_JaffaCakes118.exe

  • Size

    12.0MB

  • MD5

    02e5c341d567695ae3743ddda4916025

  • SHA1

    49acfe7ceba9e5407cf355f7fde0a657b680cdf6

  • SHA256

    7e7ca783c5533c85910c1ec4341d64ea045889c959ac9d516d58816ef8f42da6

  • SHA512

    5d8f9508f57dbf2981a1626908ca0fb21a2ffc37f5f8fe9ee514d472238081c9a58e2ee2111b3682498da1aafec5b6269c7311512c6d5d03266375dde414ae6a

  • SSDEEP

    6144:IuZQ8YhtrDfG08esd3CE9ccB3+molfLyKJ:1Z6DfG080E93u59LzJ

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.

  • 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\02e5c341d567695ae3743ddda4916025_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\02e5c341d567695ae3743ddda4916025_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1416
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mlimprdb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5024
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hfpnndmc.exe" C:\Windows\SysWOW64\mlimprdb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2856
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mlimprdb binPath= "C:\Windows\SysWOW64\mlimprdb\hfpnndmc.exe /d\"C:\Users\Admin\AppData\Local\Temp\02e5c341d567695ae3743ddda4916025_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:8
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mlimprdb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1404
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mlimprdb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3484
    • 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:3812
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1416 -s 800
      2⤵
      • Program crash
      PID:4728
  • C:\Windows\SysWOW64\mlimprdb\hfpnndmc.exe
    C:\Windows\SysWOW64\mlimprdb\hfpnndmc.exe /d"C:\Users\Admin\AppData\Local\Temp\02e5c341d567695ae3743ddda4916025_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:224
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3256
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 224 -s 512
      2⤵
      • Program crash
      PID:4872
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 1416 -ip 1416
    1⤵
      PID:1944
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 224 -ip 224
      1⤵
        PID:3304

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.5MB

        MD5

        fbe0bff8f34073aa451fa99bde915ade

        SHA1

        cea4ec5fe7b41e30d1c070295a2f0946be82afd9

        SHA256

        39316b9e31fc9c6277fe2d2a830e0b92b2c69ad991d9faa056ae2455f10ab985

        SHA512

        8182f3d8ae80e9865463d7be576fd3eb87abe221bcb0f1191b72a5c5ee36fdabb5baaa5dc3e0502b440aeeee65d266f73692e764964cc6fdf2f2d2050be8a738

      • memory/224-13-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/224-12-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/224-11-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/224-18-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/1416-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1416-8-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/1416-1-0x0000000000630000-0x0000000000730000-memory.dmp

        Filesize

        1024KB

      • memory/3256-14-0x0000000000C70000-0x0000000000C85000-memory.dmp

        Filesize

        84KB

      • memory/3256-16-0x0000000000C70000-0x0000000000C85000-memory.dmp

        Filesize

        84KB

      • memory/3256-17-0x0000000000C70000-0x0000000000C85000-memory.dmp

        Filesize

        84KB