Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-12-2024 20:06

General

  • Target

    JaffaCakes118_062fce8b9f73b1fc87b28d03695f8000d7e20cb6c0ad388f346815ac561d4517.exe

  • Size

    154KB

  • MD5

    971185496b23d211fc7474e9374ab374

  • SHA1

    ffa43b2c453d4bb11a0be1051a2053ae81229a9e

  • SHA256

    062fce8b9f73b1fc87b28d03695f8000d7e20cb6c0ad388f346815ac561d4517

  • SHA512

    13257bb542d99b9f33672be36d34d27ddeca9d872b7ee4d3e0999f6d130c35a5b42664508b7b2bf3aacd5dd25e67d405ae640e8ed2f715c55de92e5748675e0a

  • SSDEEP

    3072:LzamdBklO3M250scMTJ2449nC5Mc8SaxMEQk0O:LzldqlO3/0scwJu95SayEcO

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.

  • 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.

  • 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_062fce8b9f73b1fc87b28d03695f8000d7e20cb6c0ad388f346815ac561d4517.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_062fce8b9f73b1fc87b28d03695f8000d7e20cb6c0ad388f346815ac561d4517.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1732
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\eljzmexv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4088
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\smiozjbh.exe" C:\Windows\SysWOW64\eljzmexv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4580
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create eljzmexv binPath= "C:\Windows\SysWOW64\eljzmexv\smiozjbh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_062fce8b9f73b1fc87b28d03695f8000d7e20cb6c0ad388f346815ac561d4517.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4612
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description eljzmexv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1940
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start eljzmexv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4144
    • 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:1172
  • C:\Windows\SysWOW64\eljzmexv\smiozjbh.exe
    C:\Windows\SysWOW64\eljzmexv\smiozjbh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_062fce8b9f73b1fc87b28d03695f8000d7e20cb6c0ad388f346815ac561d4517.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1372
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1676

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.5MB

    MD5

    aa36ec95c5045b833c75a5ff798cb2a3

    SHA1

    2250aeb6029e07c0a374c337637e674523231857

    SHA256

    3234263d789902d6ed7b32b08b478db5b3e7e3af2177b8fa13d9a10b7d022eda

    SHA512

    145dfc19925b02b895edc29ba231ba58de232a2c8b8f69f32cef9300d77ce7a0fc9c6d99f434b3f71cc64c1703ec6aac78dea0dac1f43b1173468a053775630d

  • memory/1372-13-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

  • memory/1372-12-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

  • memory/1372-11-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

  • memory/1372-16-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

  • memory/1676-14-0x00000000012B0000-0x00000000012C5000-memory.dmp

    Filesize

    84KB

  • memory/1676-18-0x00000000012B0000-0x00000000012C5000-memory.dmp

    Filesize

    84KB

  • memory/1676-19-0x00000000012B0000-0x00000000012C5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/1732-2-0x0000000002200000-0x0000000002213000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/1732-9-0x0000000002200000-0x0000000002213000-memory.dmp

    Filesize

    76KB

  • memory/1732-8-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

  • memory/1732-1-0x00000000005E0000-0x00000000006E0000-memory.dmp

    Filesize

    1024KB