Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    25-12-2024 04:02

General

  • Target

    JaffaCakes118_3004638c8e9c7e9590c0c1b1286abfbd13f773a195e8a850343e6628be166afa.exe

  • Size

    177KB

  • MD5

    a3aabdff3b4a3399c1829aee537c0beb

  • SHA1

    10eecc1051a96d49e0de197cd18d50f96e3ea8cb

  • SHA256

    3004638c8e9c7e9590c0c1b1286abfbd13f773a195e8a850343e6628be166afa

  • SHA512

    fcf179521467be64b64a8a6e5cf709c4e27edcc0e7cc6400e94d6e0feaef0a85c3913767462bfce12ecf4ab52539de41550e6d7558974a021011c658a6547cbb

  • SSDEEP

    3072:o7Gc4zi7lBoiYCKegOfPS1ece1WHY2IDoN44oa+EAF:1zi7lBoFXVcPS1ecn42TN4ra+EAF

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_3004638c8e9c7e9590c0c1b1286abfbd13f773a195e8a850343e6628be166afa.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3004638c8e9c7e9590c0c1b1286abfbd13f773a195e8a850343e6628be166afa.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:864
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\haefbdqy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2384
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mbghbjmf.exe" C:\Windows\SysWOW64\haefbdqy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2476
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create haefbdqy binPath= "C:\Windows\SysWOW64\haefbdqy\mbghbjmf.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3004638c8e9c7e9590c0c1b1286abfbd13f773a195e8a850343e6628be166afa.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2924
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description haefbdqy "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2740
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start haefbdqy
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2852
    • 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:2736
  • C:\Windows\SysWOW64\haefbdqy\mbghbjmf.exe
    C:\Windows\SysWOW64\haefbdqy\mbghbjmf.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3004638c8e9c7e9590c0c1b1286abfbd13f773a195e8a850343e6628be166afa.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2812
    • 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:2240

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.5MB

    MD5

    97243fadded1def29765c20e1c5a8377

    SHA1

    52f27c1404af4f6800055d3c98d425ba3bbfea2b

    SHA256

    2d4d8d72e532355195c33f13c22fe334287f936826d53f3a3b48eb9cfb41131f

    SHA512

    254b542287cd97c666693e790d6cb62c9895331af052a92cf64323a74afdde29340dcb142a6eb32b0d9af2812e43f57067e6c67c74485c70cd40b7bdb55dbed7

  • memory/864-7-0x0000000000220000-0x000000000022D000-memory.dmp

    Filesize

    52KB

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

    Filesize

    84KB

  • memory/864-1-0x0000000000230000-0x0000000000243000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/864-8-0x0000000000230000-0x0000000000243000-memory.dmp

    Filesize

    76KB

  • memory/864-0-0x0000000000220000-0x000000000022D000-memory.dmp

    Filesize

    52KB

  • memory/864-6-0x0000000000400000-0x0000000000434000-memory.dmp

    Filesize

    208KB

  • memory/2240-10-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2240-15-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2240-13-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2240-17-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2812-16-0x0000000000400000-0x0000000000434000-memory.dmp

    Filesize

    208KB