Analysis

  • max time kernel
    147s
  • 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
    29-12-2024 01:13

General

  • Target

    JaffaCakes118_16c69cdf241061a2871f4b2852c93e1e7fcc02c41f01b03a3a861700ef20f324.exe

  • Size

    137KB

  • MD5

    c9141000c7976a8b5ede5e5f70da2646

  • SHA1

    2c4256f6be785036cbea30814ac7f796e34e6135

  • SHA256

    16c69cdf241061a2871f4b2852c93e1e7fcc02c41f01b03a3a861700ef20f324

  • SHA512

    7d78918dc943668378443da179c9e38142ce6278c51ca788855159d3aff8e21d9b3dc15236d09630ecd78d8504e3c9fe8def0999ef65fe0795c6790feafd1da2

  • SSDEEP

    1536:cwKKkmoraPfPYCnL25/mWQujQcxnxK0wvnxYAPSk5icrRvd5I5/NcnUihEkUG0wu:3OAWVoUQcGf7Qi/I5/Ncj5U6kZ

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_16c69cdf241061a2871f4b2852c93e1e7fcc02c41f01b03a3a861700ef20f324.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_16c69cdf241061a2871f4b2852c93e1e7fcc02c41f01b03a3a861700ef20f324.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:400
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tkvdhign\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3736
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qkgmxhzf.exe" C:\Windows\SysWOW64\tkvdhign\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2148
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tkvdhign binPath= "C:\Windows\SysWOW64\tkvdhign\qkgmxhzf.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_16c69cdf241061a2871f4b2852c93e1e7fcc02c41f01b03a3a861700ef20f324.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:624
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tkvdhign "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3764
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tkvdhign
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:824
    • 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:532
  • C:\Windows\SysWOW64\tkvdhign\qkgmxhzf.exe
    C:\Windows\SysWOW64\tkvdhign\qkgmxhzf.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_16c69cdf241061a2871f4b2852c93e1e7fcc02c41f01b03a3a861700ef20f324.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1748
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1620

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.3MB

    MD5

    d3b86af1aeef6b77656b7d353dee3c9c

    SHA1

    03f6c6f2ad8018eda388f8013c3949350acedb6b

    SHA256

    ae87e3b5c56f89c69662b7d04c2e9358948a96ce2864aa5a1b63e58829a3ede5

    SHA512

    c07d6f8ac73ab66679afc4eb414e6b65bbccf163db3507b9bcbcc3a9351b2b4fe27a04356b33c57e5b1b04033c6f0e292b2b48e4371d3363446e1261cfd36801

  • memory/400-8-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB

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

    Filesize

    84KB

  • memory/400-2-0x00000000021F0000-0x0000000002203000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/400-9-0x00000000021F0000-0x0000000002203000-memory.dmp

    Filesize

    76KB

  • memory/400-1-0x00000000005D0000-0x00000000006D0000-memory.dmp

    Filesize

    1024KB

  • memory/1620-14-0x0000000000DB0000-0x0000000000DC5000-memory.dmp

    Filesize

    84KB

  • memory/1620-18-0x0000000000DB0000-0x0000000000DC5000-memory.dmp

    Filesize

    84KB

  • memory/1620-19-0x0000000000DB0000-0x0000000000DC5000-memory.dmp

    Filesize

    84KB

  • memory/1748-11-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB

  • memory/1748-12-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB

  • memory/1748-13-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB

  • memory/1748-17-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB