Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19-08-2024 14:34

General

  • Target

    ab68452865d2cef1785127b8fc4d46d7_JaffaCakes118.exe

  • Size

    10.9MB

  • MD5

    ab68452865d2cef1785127b8fc4d46d7

  • SHA1

    d79e30a28f052a8a7a60c9834ad6557e22bfc0fa

  • SHA256

    2fbab2a754bf5e3cfa4b5e6c0c024d795b94850977f3ae3d2b6b81fa2cf8cac6

  • SHA512

    93e720d1be670885f7429d9e0a4be6f39131f68202429c011a79db244083a057641d73731824593fb42175da368914b7b37df4ccd6749a34597e3f038e3e99ae

  • SSDEEP

    12288:+b22XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXH:K2

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\ab68452865d2cef1785127b8fc4d46d7_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\ab68452865d2cef1785127b8fc4d46d7_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2368
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\eiyaukpu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3084
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xjqkpviq.exe" C:\Windows\SysWOW64\eiyaukpu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:368
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create eiyaukpu binPath= "C:\Windows\SysWOW64\eiyaukpu\xjqkpviq.exe /d\"C:\Users\Admin\AppData\Local\Temp\ab68452865d2cef1785127b8fc4d46d7_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:888
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description eiyaukpu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1324
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start eiyaukpu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4576
    • 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:4060
  • C:\Windows\SysWOW64\eiyaukpu\xjqkpviq.exe
    C:\Windows\SysWOW64\eiyaukpu\xjqkpviq.exe /d"C:\Users\Admin\AppData\Local\Temp\ab68452865d2cef1785127b8fc4d46d7_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2348
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1668

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.6MB

    MD5

    b93dccf4d10e8740e4836c70a9a4edd4

    SHA1

    0e0215357781dcc3dc8842e45a5734d059b3b16c

    SHA256

    9cc9005d0803757d37dfc312d5b98644a5a029313a03713e7b8e74ea40f6433a

    SHA512

    d63f552dfe7c20195eb079690ad14628a08f21a11e005735f24fc8d1b7a7e692183c4b2aa8ab3c0258f5dda5438ba9d985554bf0adf5ab41b78c7464e3bcae09

  • memory/1668-14-0x0000000000810000-0x0000000000825000-memory.dmp

    Filesize

    84KB

  • memory/1668-16-0x0000000000810000-0x0000000000825000-memory.dmp

    Filesize

    84KB

  • memory/1668-19-0x0000000000810000-0x0000000000825000-memory.dmp

    Filesize

    84KB

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

    Filesize

    676KB

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

    Filesize

    676KB

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

    Filesize

    676KB

  • memory/2348-18-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB

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

    Filesize

    84KB

  • memory/2368-2-0x00000000021E0000-0x00000000021F3000-memory.dmp

    Filesize

    76KB

  • memory/2368-9-0x00000000021E0000-0x00000000021F3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    676KB

  • memory/2368-1-0x0000000000830000-0x0000000000930000-memory.dmp

    Filesize

    1024KB