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
    01-10-2024 10:26

General

  • Target

    05757f18c3d66412b7f9e21670f4f7d9_JaffaCakes118.exe

  • Size

    10.5MB

  • MD5

    05757f18c3d66412b7f9e21670f4f7d9

  • SHA1

    14cb0395fb911e24a8342d6d42d9d21cda3c9993

  • SHA256

    c3c799982a87e0c2f562c5961561e0de269d7ae908c94d7b1483bcd901a8850b

  • SHA512

    598b20f77fe089983617e567109b6706ab5e0cf77bbc7279faae30d9dcc0fb48cd93d4ea617d0943fb00d864298bfcf546c19305f71e88719187232e3392d489

  • SSDEEP

    3072:mNoWIXVg044YmyJc/rY/2Woct6Mz+7L00vyLf9nQLWLIMcesvKeHTQzIaH/q99Q8:mNoWwy0jYBkE/vocLz+2QSLIBee8q9N

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\05757f18c3d66412b7f9e21670f4f7d9_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\05757f18c3d66412b7f9e21670f4f7d9_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4848
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qunjeghe\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4184
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kzmiutmy.exe" C:\Windows\SysWOW64\qunjeghe\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1388
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qunjeghe binPath= "C:\Windows\SysWOW64\qunjeghe\kzmiutmy.exe /d\"C:\Users\Admin\AppData\Local\Temp\05757f18c3d66412b7f9e21670f4f7d9_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4600
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qunjeghe "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2776
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qunjeghe
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3728
    • 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:1164
  • C:\Windows\SysWOW64\qunjeghe\kzmiutmy.exe
    C:\Windows\SysWOW64\qunjeghe\kzmiutmy.exe /d"C:\Users\Admin\AppData\Local\Temp\05757f18c3d66412b7f9e21670f4f7d9_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2764
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1356

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.3MB

    MD5

    445cc6813cc288e14f67e342d4ef1450

    SHA1

    1f401952fb41f7484c8451bc981b5e5b6fe8d410

    SHA256

    baa599fe464790d16ddbd24ddeb26ebadde67125eb29892e62702f735cc40d1a

    SHA512

    e8a28563a2b70f0402e8200ba1688653f13281675d9d907eaf9c61da2c4938e9f8af81375f7d296bc799652d7ae8c1aeb87a4aca4ce40a86b966e740c4f0e86a

  • memory/1356-14-0x0000000000B30000-0x0000000000B45000-memory.dmp

    Filesize

    84KB

  • memory/1356-11-0x0000000000B30000-0x0000000000B45000-memory.dmp

    Filesize

    84KB

  • memory/1356-17-0x0000000000B30000-0x0000000000B45000-memory.dmp

    Filesize

    84KB

  • memory/2764-15-0x0000000000400000-0x000000000086B000-memory.dmp

    Filesize

    4.4MB

  • memory/2764-12-0x0000000000400000-0x000000000086B000-memory.dmp

    Filesize

    4.4MB

  • memory/4848-1-0x00000000008E0000-0x00000000009E0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    4.4MB

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

    Filesize

    84KB

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

    Filesize

    76KB