Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    29-12-2024 11:41

General

  • Target

    JaffaCakes118_cbe2de6f93b8a38d091c13ace24a93655bc4198d3ec65a5f9de58c01c8d52f37.exe

  • Size

    296KB

  • MD5

    142a7605680f58824eeb973ced7547b6

  • SHA1

    2512decd1bdf871d20970b46d73ccd2b894ac6fa

  • SHA256

    cbe2de6f93b8a38d091c13ace24a93655bc4198d3ec65a5f9de58c01c8d52f37

  • SHA512

    80447b00d84881c4cf5240e1f7682a77c1e464dffd7f45f629935e2d0fd297f8c9634669785a5350f60d8ec8ad46c29b9ca5a1a7675eb5cdf6ba9376bb2aebed

  • SSDEEP

    6144:1EQM+a/agwAS8XfaSXuZet0yy8TUoG9FPxfdTV:1lMh/agdS8vaSXuZet0yy8wzPxfT

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_cbe2de6f93b8a38d091c13ace24a93655bc4198d3ec65a5f9de58c01c8d52f37.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_cbe2de6f93b8a38d091c13ace24a93655bc4198d3ec65a5f9de58c01c8d52f37.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3016
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tonmzlxh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3060
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bgfdtzix.exe" C:\Windows\SysWOW64\tonmzlxh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2020
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tonmzlxh binPath= "C:\Windows\SysWOW64\tonmzlxh\bgfdtzix.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_cbe2de6f93b8a38d091c13ace24a93655bc4198d3ec65a5f9de58c01c8d52f37.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2768
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tonmzlxh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2568
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tonmzlxh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2720
    • 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:2868
  • C:\Windows\SysWOW64\tonmzlxh\bgfdtzix.exe
    C:\Windows\SysWOW64\tonmzlxh\bgfdtzix.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_cbe2de6f93b8a38d091c13ace24a93655bc4198d3ec65a5f9de58c01c8d52f37.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2792
    • 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:2636

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.4MB

    MD5

    1ec9b16f3df20eae194e2e1bfcafaaa6

    SHA1

    ccbb191918e07142a68db60e12677c3b055924d7

    SHA256

    6ccb802fccf8f2accdb4275b3736208e0715bd54bb8be68064a4d51afe7cdbff

    SHA512

    a860f5f824a35f628d7f71167db055ecfadbc88f6bdde4cdae52b4e212fae410e9d294cabf0c5a069a539b563ccec5ace13e220d503eee151dc7824b4777d791

  • memory/2636-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2636-16-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2636-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2636-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2636-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2792-17-0x0000000000400000-0x0000000001C00000-memory.dmp

    Filesize

    24.0MB

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

    Filesize

    84KB

  • memory/3016-2-0x00000000001D0000-0x00000000001E3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/3016-8-0x00000000001D0000-0x00000000001E3000-memory.dmp

    Filesize

    76KB

  • memory/3016-7-0x0000000000400000-0x0000000001C00000-memory.dmp

    Filesize

    24.0MB

  • memory/3016-1-0x00000000002D0000-0x00000000003D0000-memory.dmp

    Filesize

    1024KB