Analysis

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

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

General

  • Target

    JaffaCakes118_620949d6514c4f73ee8767cbc20ad26b6ca25cc78dc41f4a30a3e987b5c19412.exe

  • Size

    339KB

  • MD5

    5f299cb2641189797532b4399ab2db88

  • SHA1

    37f78ffb3e351479344153db438b28a752a2a0bc

  • SHA256

    620949d6514c4f73ee8767cbc20ad26b6ca25cc78dc41f4a30a3e987b5c19412

  • SHA512

    8985d918b23ae4508926c3db9ea28b7c7935ce466914154296c8cd3b7429a213af2ba90acf3a4ab0e4c130c355d7036fcaac5b3e092dcb639e04e06465f18df5

  • SSDEEP

    6144:59Zdc9hBN4DUd7gE0RWiWRl9yMPIzPTt3kk7z:59Zdc9Hug7g7R1WRl9yMPIFn

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_620949d6514c4f73ee8767cbc20ad26b6ca25cc78dc41f4a30a3e987b5c19412.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_620949d6514c4f73ee8767cbc20ad26b6ca25cc78dc41f4a30a3e987b5c19412.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2392
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\paaqrpee\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:876
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kxgdejvi.exe" C:\Windows\SysWOW64\paaqrpee\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2492
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create paaqrpee binPath= "C:\Windows\SysWOW64\paaqrpee\kxgdejvi.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_620949d6514c4f73ee8767cbc20ad26b6ca25cc78dc41f4a30a3e987b5c19412.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1972
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description paaqrpee "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2720
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start paaqrpee
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2828
    • 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:2768
  • C:\Windows\SysWOW64\paaqrpee\kxgdejvi.exe
    C:\Windows\SysWOW64\paaqrpee\kxgdejvi.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_620949d6514c4f73ee8767cbc20ad26b6ca25cc78dc41f4a30a3e987b5c19412.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2972
    • 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:2632

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.8MB

    MD5

    37e7bf83621f509300292c2a757f8da7

    SHA1

    54145d83f729481e5795df428ad92274e9669857

    SHA256

    98d69dbd3b23ebe65cf88fe3114b318da38e94af0416dc67d8d1d1002f6e45a2

    SHA512

    a26f043b79c6b97f9ac80277b0f67defc291c276b278def61ef90b1b5cac6b39002fe2795804ea5ea9b04a4932d907872dc78d2995f3fa1c15d5ee64c69d4db1

  • memory/2392-8-0x00000000003C0000-0x00000000003D3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2392-2-0x00000000003C0000-0x00000000003D3000-memory.dmp

    Filesize

    76KB

  • memory/2392-7-0x0000000000400000-0x00000000008F8000-memory.dmp

    Filesize

    5.0MB

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

    Filesize

    84KB

  • memory/2392-1-0x0000000000250000-0x0000000000350000-memory.dmp

    Filesize

    1024KB

  • memory/2632-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2632-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2632-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2972-15-0x0000000000400000-0x00000000008F8000-memory.dmp

    Filesize

    5.0MB