Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02-11-2024 13:48

General

  • Target

    85c28ed504a9641d91449cc374bfdf3f_JaffaCakes118.exe

  • Size

    12.7MB

  • MD5

    85c28ed504a9641d91449cc374bfdf3f

  • SHA1

    32bf88471d0c2f15bb525fd71eb75c9fc484a998

  • SHA256

    2f1e0eb9ed8589890be9756528e46acfc275a2bb5b797c370c6b95a9f6e8eb61

  • SHA512

    3c23870ce8685421a8f82a4eed8e9309aa649a364750ecdc0bb2607584b00de0e9cefff1db9f67a8d19f7e09c2e9d32b47d0d5c7cabe758a29c3f35d8dd968ec

  • SSDEEP

    6144:evk9RADRUv1CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCn:HRAD

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

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\85c28ed504a9641d91449cc374bfdf3f_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\85c28ed504a9641d91449cc374bfdf3f_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:316
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bhymyah\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:996
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bbagrfmp.exe" C:\Windows\SysWOW64\bhymyah\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:764
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bhymyah binPath= "C:\Windows\SysWOW64\bhymyah\bbagrfmp.exe /d\"C:\Users\Admin\AppData\Local\Temp\85c28ed504a9641d91449cc374bfdf3f_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2952
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bhymyah "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4012
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bhymyah
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3636
    • 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:968
  • C:\Windows\SysWOW64\bhymyah\bbagrfmp.exe
    C:\Windows\SysWOW64\bhymyah\bbagrfmp.exe /d"C:\Users\Admin\AppData\Local\Temp\85c28ed504a9641d91449cc374bfdf3f_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5056
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1952

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.5MB

    MD5

    672479619c024e6827d3a319e4a6f772

    SHA1

    ed0029f2bf204f6e45068a1cdd0bfa9d15298de4

    SHA256

    90757699890fdfe16ecb663f0ae794425ea584b5307177ce16e1fbf2384e9244

    SHA512

    dd68397d3e9018bf34f9b08e2f0f15df90de3e3e317b24b27a8bcb34e3799882c20eb20e51f1a687edb0e2ab4a3e49a871ecb9a7932d8d4d56090a9064250fec

  • memory/316-0-0x00000000009B0000-0x00000000009B1000-memory.dmp

    Filesize

    4KB

  • memory/316-1-0x0000000000400000-0x000000000041F000-memory.dmp

    Filesize

    124KB

  • memory/316-2-0x00000000009C0000-0x00000000009C1000-memory.dmp

    Filesize

    4KB

  • memory/316-11-0x0000000000400000-0x000000000041F000-memory.dmp

    Filesize

    124KB

  • memory/1952-8-0x0000000000370000-0x0000000000385000-memory.dmp

    Filesize

    84KB

  • memory/1952-12-0x0000000000370000-0x0000000000385000-memory.dmp

    Filesize

    84KB

  • memory/1952-14-0x0000000000370000-0x0000000000385000-memory.dmp

    Filesize

    84KB

  • memory/1952-15-0x0000000000370000-0x0000000000385000-memory.dmp

    Filesize

    84KB

  • memory/1952-16-0x0000000000370000-0x0000000000385000-memory.dmp

    Filesize

    84KB

  • memory/5056-6-0x0000000000940000-0x0000000000941000-memory.dmp

    Filesize

    4KB

  • memory/5056-13-0x0000000000400000-0x000000000041F000-memory.dmp

    Filesize

    124KB