Analysis

  • max time kernel
    149s
  • max time network
    149s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    23-12-2024 16:15

General

  • Target

    JaffaCakes118_4ff0ce248a8fd30a195cc7cf0709b02c42364d30ec800f7abdff92a74417d011.exe

  • Size

    213KB

  • MD5

    5c50519f8123fd804b2e8d74337022e6

  • SHA1

    b862cfa9f1b20d1acceb43fc2ef3a788464265c2

  • SHA256

    4ff0ce248a8fd30a195cc7cf0709b02c42364d30ec800f7abdff92a74417d011

  • SHA512

    6e362bb25221c74c955a228a30549bd22212932b81aa4ce26c26edf771227cbee0ffea2c3d9095ed4b801843a36744d7aa0f19c16786d7624d4688f12094f2ac

  • SSDEEP

    3072:H7Zt0dLUdxVjd6XsHD1brlFgYodllBgB839E/ZVStsxkgaBChopZa9uD6Vdyhkb:Vt0edxVd6XUDVxu1r39WfigaTwVf

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Tofsee family
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4ff0ce248a8fd30a195cc7cf0709b02c42364d30ec800f7abdff92a74417d011.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4ff0ce248a8fd30a195cc7cf0709b02c42364d30ec800f7abdff92a74417d011.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1736
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nbqdadyj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2484
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gyqxwnyf.exe" C:\Windows\SysWOW64\nbqdadyj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2328
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nbqdadyj binPath= "C:\Windows\SysWOW64\nbqdadyj\gyqxwnyf.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4ff0ce248a8fd30a195cc7cf0709b02c42364d30ec800f7abdff92a74417d011.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2164
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nbqdadyj "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2872
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nbqdadyj
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2704
    • 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:2880
  • C:\Windows\SysWOW64\nbqdadyj\gyqxwnyf.exe
    C:\Windows\SysWOW64\nbqdadyj\gyqxwnyf.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4ff0ce248a8fd30a195cc7cf0709b02c42364d30ec800f7abdff92a74417d011.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2824
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2772

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.5MB

    MD5

    cdfbecf2ec23331131d3427a2adcaf80

    SHA1

    aa40a3c93f3273406b611a22815415d4ad682d0f

    SHA256

    7a21e51b89c4038eaa5435c0a60bad29ba4211e6e5c4da8b3000aa51c384d022

    SHA512

    b06c0aded187ea71f0fec44a6fb327267f184f5963411101da0a1683f57e616fbcdbfa2ca78acea6817c65e2770afe5d9f8d1cca121a81a060775b7a8d1c3349

  • memory/1736-7-0x00000000003C0000-0x00000000003CD000-memory.dmp

    Filesize

    52KB

  • memory/1736-2-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/1736-1-0x00000000003D0000-0x00000000003E3000-memory.dmp

    Filesize

    76KB

  • memory/1736-9-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/1736-8-0x00000000003D0000-0x00000000003E3000-memory.dmp

    Filesize

    76KB

  • memory/1736-0-0x00000000003C0000-0x00000000003CD000-memory.dmp

    Filesize

    52KB

  • memory/1736-6-0x0000000000400000-0x000000000043F000-memory.dmp

    Filesize

    252KB

  • memory/2772-15-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2772-13-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2772-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2772-10-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2772-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2824-16-0x0000000000400000-0x000000000043F000-memory.dmp

    Filesize

    252KB