Analysis

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

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

General

  • Target

    39503374e60c2654abb01f802ad48002_JaffaCakes118.exe

  • Size

    11.5MB

  • MD5

    39503374e60c2654abb01f802ad48002

  • SHA1

    27c79b468c04e3d97f352344455c62ff9d8cc531

  • SHA256

    451567a8338f0ac84adaf764b66486df72cc7af2c976a421c6d5e89db0d51d86

  • SHA512

    ca5442700a4b4446b2392debc2ab8d852d84a66098a7abd77266e0757ecdb09bc4f82000f2a159bdc9acafb6afc5ffc000d445f009168f41965f43829329818f

  • SSDEEP

    6144:5Nytwy0vP4gE/r4JSzyEc9T3M+0snM6rSuB:5I+XvP4Z4JSzyEg7r0snNB

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.

  • 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\39503374e60c2654abb01f802ad48002_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\39503374e60c2654abb01f802ad48002_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2216
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hiosggjf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2884
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xrakxafr.exe" C:\Windows\SysWOW64\hiosggjf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3212
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hiosggjf binPath= "C:\Windows\SysWOW64\hiosggjf\xrakxafr.exe /d\"C:\Users\Admin\AppData\Local\Temp\39503374e60c2654abb01f802ad48002_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4392
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hiosggjf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2044
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hiosggjf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2564
    • 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:944
  • C:\Windows\SysWOW64\hiosggjf\xrakxafr.exe
    C:\Windows\SysWOW64\hiosggjf\xrakxafr.exe /d"C:\Users\Admin\AppData\Local\Temp\39503374e60c2654abb01f802ad48002_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1984
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3732

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.2MB

    MD5

    e8a89dbc459af40e4da25631abb8715b

    SHA1

    5aa7a525ce1e5217b85c64a05b2c68564130fa94

    SHA256

    64ba6264a038115a11d6ee7ab261fd14254759b459cf2a3ae37bff474ec4208b

    SHA512

    90c8a1cc45c2baffaa3f08d6f5bd627d4ffd507156d3dc12c930840bb57bc5d343e108a3cf84f11d32f816cbc797476008a06f92ac0bc488c19ce8560f3bb105

  • memory/1984-13-0x0000000000400000-0x000000000086B000-memory.dmp

    Filesize

    4.4MB

  • memory/1984-16-0x0000000000400000-0x000000000086B000-memory.dmp

    Filesize

    4.4MB

  • memory/2216-1-0x0000000000B20000-0x0000000000C20000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2216-8-0x0000000000400000-0x000000000086B000-memory.dmp

    Filesize

    4.4MB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/3732-14-0x0000000000420000-0x0000000000435000-memory.dmp

    Filesize

    84KB

  • memory/3732-11-0x0000000000420000-0x0000000000435000-memory.dmp

    Filesize

    84KB

  • memory/3732-17-0x0000000000420000-0x0000000000435000-memory.dmp

    Filesize

    84KB