Analysis

  • max time kernel
    150s
  • max time network
    149s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-12-2024 06:30

General

  • Target

    JaffaCakes118_d5ba04399baeda12b636b25ff28bb2a3fed82e8fa25e9a2683240685405ebfb4.exe

  • Size

    238KB

  • MD5

    a35144bc26a7d80d9f1ccc75717c4feb

  • SHA1

    f88f2374ddddd4036a0c149ee3d4631912ac367a

  • SHA256

    d5ba04399baeda12b636b25ff28bb2a3fed82e8fa25e9a2683240685405ebfb4

  • SHA512

    b99b7d9b6dff84c61f300c18f30e9c1bf97f1cba022717c67b75f7961ed847f6413138ddc3590376f10e2a92f19b0f5793af1e47a89ef897940358ec01fac657

  • SSDEEP

    3072:57QHNeYxb1NOLvV0hroldaFG98PS6XABIWhVggjcGkNIVqI7sxkgaBChMpZa9uDB:sNeWb3wv2pFG8vABNz7ITsq7igavwVf

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
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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.

  • Program crash 2 IoCs
  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d5ba04399baeda12b636b25ff28bb2a3fed82e8fa25e9a2683240685405ebfb4.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d5ba04399baeda12b636b25ff28bb2a3fed82e8fa25e9a2683240685405ebfb4.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2904
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mbtakbqf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2292
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jonlbhqf.exe" C:\Windows\SysWOW64\mbtakbqf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4540
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mbtakbqf binPath= "C:\Windows\SysWOW64\mbtakbqf\jonlbhqf.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d5ba04399baeda12b636b25ff28bb2a3fed82e8fa25e9a2683240685405ebfb4.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4476
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mbtakbqf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2708
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mbtakbqf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:452
    • 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:4248
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2904 -s 1208
      2⤵
      • Program crash
      PID:888
  • C:\Windows\SysWOW64\mbtakbqf\jonlbhqf.exe
    C:\Windows\SysWOW64\mbtakbqf\jonlbhqf.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d5ba04399baeda12b636b25ff28bb2a3fed82e8fa25e9a2683240685405ebfb4.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:528
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3920
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 528 -s 512
      2⤵
      • Program crash
      PID:2508
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 2904 -ip 2904
    1⤵
      PID:4080
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 512 -p 528 -ip 528
      1⤵
        PID:4344

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.2MB

        MD5

        c384f63dc46854ba016571a7bdb127ae

        SHA1

        5b462582eebba47955b9a10a88e4f1a55c017428

        SHA256

        050947bc9b8ab7aaefc55449bdcc881f7f982ad8df84f3c6fb00eee82f5fc7ea

        SHA512

        df020947b45452b66af05eddf731a7fa933c25f1bfb4d2efbe248332d0345a7520b70363797c0b8490cef8ec1bf25c93fb249a1ee833e091e4560e091b5f844a

      • memory/528-11-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/528-10-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/528-17-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/528-12-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/2904-8-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

      • memory/2904-7-0x0000000002190000-0x000000000219D000-memory.dmp

        Filesize

        52KB

      • memory/2904-6-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

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

        Filesize

        84KB

      • memory/2904-0-0x0000000002190000-0x000000000219D000-memory.dmp

        Filesize

        52KB

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

        Filesize

        84KB

      • memory/2904-1-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

      • memory/3920-13-0x00000000001D0000-0x00000000001E5000-memory.dmp

        Filesize

        84KB

      • memory/3920-15-0x00000000001D0000-0x00000000001E5000-memory.dmp

        Filesize

        84KB

      • memory/3920-16-0x00000000001D0000-0x00000000001E5000-memory.dmp

        Filesize

        84KB