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 14:00

General

  • Target

    JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe

  • Size

    188KB

  • MD5

    b902bbf8979f1a374cf1bac4e0be9767

  • SHA1

    01f9cdfc71e798acdab741c4b702abdbc4561348

  • SHA256

    b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00

  • SHA512

    0edd6331d158f267ae081e075b3256c600655c9b0afd6c669baa1a8b72a5b51fc54567ca4911c6fb60c715588717590fe8d6c0a0e311e15b4bdf1184c3f68784

  • SSDEEP

    3072:x17s49QB1NQWpUsMYvHaa9wLMZHHtpZa9uD6Vdyhkf:x59QB1NQWp1bH2MBtwVf

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_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2696
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mrkhmfi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2196
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\apqwjuon.exe" C:\Windows\SysWOW64\mrkhmfi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2372
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mrkhmfi binPath= "C:\Windows\SysWOW64\mrkhmfi\apqwjuon.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2964
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mrkhmfi "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2728
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mrkhmfi
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2844
    • 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:2848
  • C:\Windows\SysWOW64\mrkhmfi\apqwjuon.exe
    C:\Windows\SysWOW64\mrkhmfi\apqwjuon.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b40f20aabb552499cf84c49b51d331125f2ac81fea0388c928ab47a1ab206a00.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2896
    • 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:2820

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.5MB

    MD5

    292a4602c353a3bbb64796cda3ca8bea

    SHA1

    89b83e1cb6c4e43d0501eb4f9c38fe290ab3d496

    SHA256

    933221f51ece388846049b417194ba36c94bcbf42b5c1ac9550bf653718b48aa

    SHA512

    01f6701c9c125a86cf372f3723f78318d801da7d3d354961720488680448ea2f0bb4e371b09df9602ade019391d2b2c0bb3ef05cb9909bc5f43d5281b8065bdc

  • memory/2696-7-0x00000000001B0000-0x00000000001BD000-memory.dmp

    Filesize

    52KB

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

    Filesize

    84KB

  • memory/2696-1-0x00000000003C0000-0x00000000003D3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2696-0-0x00000000001B0000-0x00000000001BD000-memory.dmp

    Filesize

    52KB

  • memory/2696-6-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2896-16-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB