Analysis

  • max time kernel
    149s
  • max time network
    150s
  • 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 07:39

General

  • Target

    JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe

  • Size

    212KB

  • MD5

    1312ee3ef6696123f14c35e1bcaf57e9

  • SHA1

    701d67afbdbd1dc90321b4e4f6be95566aa83d52

  • SHA256

    b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a

  • SHA512

    94e4493e4776c76b2748d7a93064020dd001ab533b1f48aa738d884f9ff8967bdd01d778f803edce5ececbcd47f18acdbb1f4360f68aff575a742731dcb30967

  • SSDEEP

    6144:ZN0TNRkdq8G+ZYdX/2+VxjKFW7ITsquwVf:D0T7kdq8EdXres7

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_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1288
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wtptwqgs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3068
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\phzgfwho.exe" C:\Windows\SysWOW64\wtptwqgs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4528
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wtptwqgs binPath= "C:\Windows\SysWOW64\wtptwqgs\phzgfwho.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3476
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wtptwqgs "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1884
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wtptwqgs
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2652
    • 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:1108
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1288 -s 1036
      2⤵
      • Program crash
      PID:4028
  • C:\Windows\SysWOW64\wtptwqgs\phzgfwho.exe
    C:\Windows\SysWOW64\wtptwqgs\phzgfwho.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b52d830b3fc856cc40c8c061fc594dbf22cacf7bb440e159f0a61737abc7592a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1220
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2272
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1220 -s 516
      2⤵
      • Program crash
      PID:4420
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1288 -ip 1288
    1⤵
      PID:1760
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 1220 -ip 1220
      1⤵
        PID:3840

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.8MB

        MD5

        222c1ae4ebc5f1a5e920708f9a10201a

        SHA1

        ef4bdcfce0108029fb0c533abe8d88f78bc81a9d

        SHA256

        77e603707a90aa54211431ff97259e53e70397caf62277fc3cba2918e21dcde1

        SHA512

        95bce36d914cde18a978423fc762fc4d0f80598d94eced55787709387cb1c087ea0fa21c8dda0549ef487f3c2d554f2a0075f060d9219f9aa8a2562b1b9688bd

      • memory/1220-10-0x0000000000400000-0x000000000043E000-memory.dmp

        Filesize

        248KB

      • memory/1220-11-0x0000000000400000-0x000000000043E000-memory.dmp

        Filesize

        248KB

      • memory/1220-17-0x0000000000400000-0x000000000043E000-memory.dmp

        Filesize

        248KB

      • memory/1220-12-0x0000000000400000-0x000000000043E000-memory.dmp

        Filesize

        248KB

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

        Filesize

        84KB

      • memory/1288-8-0x0000000002190000-0x00000000021A3000-memory.dmp

        Filesize

        76KB

      • memory/1288-7-0x00000000007A0000-0x00000000007AD000-memory.dmp

        Filesize

        52KB

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

        Filesize

        84KB

      • memory/1288-0-0x00000000007A0000-0x00000000007AD000-memory.dmp

        Filesize

        52KB

      • memory/1288-6-0x0000000000400000-0x000000000043E000-memory.dmp

        Filesize

        248KB

      • memory/1288-1-0x0000000002190000-0x00000000021A3000-memory.dmp

        Filesize

        76KB

      • memory/2272-13-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/2272-15-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/2272-16-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB