Analysis

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

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

General

  • Target

    JaffaCakes118_e062e099f7f60e5d9691feeba382b35462333681617fcd28b01d979af3cac0da.exe

  • Size

    179KB

  • MD5

    a87dea05702e243412ac9b970fb39a1c

  • SHA1

    941366aa542c77c5b5ef4d4efe863ba3fec2d72f

  • SHA256

    e062e099f7f60e5d9691feeba382b35462333681617fcd28b01d979af3cac0da

  • SHA512

    184d13163c8cdfcc2008cd518e350016d6976530412c0bd4d346426c08b19d1c48630ed26f718208047cc90462055c07919f1be3d725412b97673e093a9ee52c

  • SSDEEP

    3072:Y7w4SLqj70RIT1KorqzMWrj7KxClkp7lHDs9Z2D21jl1:9qj7O60oG7KkypG9Z2D21

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_e062e099f7f60e5d9691feeba382b35462333681617fcd28b01d979af3cac0da.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e062e099f7f60e5d9691feeba382b35462333681617fcd28b01d979af3cac0da.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2320
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kndwqgrb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2296
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xywgjchs.exe" C:\Windows\SysWOW64\kndwqgrb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1624
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kndwqgrb binPath= "C:\Windows\SysWOW64\kndwqgrb\xywgjchs.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e062e099f7f60e5d9691feeba382b35462333681617fcd28b01d979af3cac0da.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3020
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kndwqgrb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3068
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kndwqgrb
      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:2644
  • C:\Windows\SysWOW64\kndwqgrb\xywgjchs.exe
    C:\Windows\SysWOW64\kndwqgrb\xywgjchs.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e062e099f7f60e5d9691feeba382b35462333681617fcd28b01d979af3cac0da.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2748
    • 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:2648

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.6MB

    MD5

    a85fdee7cdede30b48e52a27d81e239d

    SHA1

    17948d2bb60f2a9952f7abc17f66311e0e320a74

    SHA256

    b97e4808379ae376366196a4033e3edb3afd3e05c4eb8706c94463ebf5cb71b1

    SHA512

    a9b35de41885bd631c11364da4131c473fd53e057dc0a27008087906c9d7dac35faad19dc817e492a262cdf5d028718428c389a7d261a4d5dc690ff508cd22da

  • memory/2320-6-0x0000000000400000-0x0000000000435000-memory.dmp

    Filesize

    212KB

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

    Filesize

    84KB

  • memory/2320-1-0x0000000000240000-0x0000000000253000-memory.dmp

    Filesize

    76KB

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

    Filesize

    52KB

  • memory/2320-8-0x0000000000240000-0x0000000000253000-memory.dmp

    Filesize

    76KB

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

    Filesize

    52KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/2648-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2748-14-0x0000000000400000-0x0000000000435000-memory.dmp

    Filesize

    212KB