Analysis

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

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

General

  • Target

    JaffaCakes118_9bc9e8366b832675f4dfbbd0282309b9a5574ff3077f09a0c7c7833323c3da56.exe

  • Size

    327KB

  • MD5

    b35f2909e897463c416785bdcde42493

  • SHA1

    bac8e6f9c56d963e7409640b91761090079f2fa3

  • SHA256

    9bc9e8366b832675f4dfbbd0282309b9a5574ff3077f09a0c7c7833323c3da56

  • SHA512

    6a0e7b2948e5f97228806392fc7a2456ae7df14494823e2570b4fd4fe90cae137610031a31b51acfac6de8d889c5a114548f447c0aa88b17c1e019e29acbc033

  • SSDEEP

    6144:q5CPb057QUO6Tnp5+5aMIerb1us61S8T8Cvo:D0RQUOqnp5Uaferbs1tTl

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_9bc9e8366b832675f4dfbbd0282309b9a5574ff3077f09a0c7c7833323c3da56.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9bc9e8366b832675f4dfbbd0282309b9a5574ff3077f09a0c7c7833323c3da56.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4792
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\inlifuzd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:536
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\uqffkrxo.exe" C:\Windows\SysWOW64\inlifuzd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4444
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create inlifuzd binPath= "C:\Windows\SysWOW64\inlifuzd\uqffkrxo.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9bc9e8366b832675f4dfbbd0282309b9a5574ff3077f09a0c7c7833323c3da56.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4272
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description inlifuzd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1916
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start inlifuzd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3600
    • 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:2284
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4792 -s 792
      2⤵
      • Program crash
      PID:5092
  • C:\Windows\SysWOW64\inlifuzd\uqffkrxo.exe
    C:\Windows\SysWOW64\inlifuzd\uqffkrxo.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9bc9e8366b832675f4dfbbd0282309b9a5574ff3077f09a0c7c7833323c3da56.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3336
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3620
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3336 -s 516
      2⤵
      • Program crash
      PID:3188
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4792 -ip 4792
    1⤵
      PID:1188
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 3336 -ip 3336
      1⤵
        PID:3588

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.4MB

        MD5

        3914de6ad39b41097ffed0723bcd22f7

        SHA1

        8d49ad04269b81f1716ef80fd5d1da84ea51103d

        SHA256

        1a687e1addc4172d33f3cbd87d723473c4a9b23d7d788acd523c32c1388f9233

        SHA512

        c5b7888294b88045089ae30da66abf56b38302c33193dcaf5ef56fb8b9b8c269896ae070ae3e8621636a3e309e58eac72ee5339745bc2ca73dadce68c740e8fd

      • memory/3336-15-0x0000000000400000-0x00000000023A9000-memory.dmp

        Filesize

        31.7MB

      • memory/3620-11-0x00000000006A0000-0x00000000006B5000-memory.dmp

        Filesize

        84KB

      • memory/3620-13-0x00000000006A0000-0x00000000006B5000-memory.dmp

        Filesize

        84KB

      • memory/3620-14-0x00000000006A0000-0x00000000006B5000-memory.dmp

        Filesize

        84KB

      • memory/4792-1-0x00000000025D0000-0x00000000026D0000-memory.dmp

        Filesize

        1024KB

      • memory/4792-2-0x0000000002510000-0x0000000002523000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4792-8-0x0000000002510000-0x0000000002523000-memory.dmp

        Filesize

        76KB

      • memory/4792-7-0x0000000000400000-0x00000000023A9000-memory.dmp

        Filesize

        31.7MB