Analysis

  • max time kernel
    149s
  • 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 09:06

General

  • Target

    JaffaCakes118_e795596b2e5113cab4a35820e92b959f34d80073f37cad1ed3562f211e78eea8.exe

  • Size

    169KB

  • MD5

    45be4376d6c6903addb6ad864275bcb7

  • SHA1

    e732be614af25f4fa951daf78c4ac329c824caec

  • SHA256

    e795596b2e5113cab4a35820e92b959f34d80073f37cad1ed3562f211e78eea8

  • SHA512

    71ceb49d51d971a0d21c5257cee5f16b604bb5f95bbda983f4f4dbc1ed297e3710428ec25d3512d7eb340462a13430736b400b8210e33aeed4d5d7646cff63bd

  • SSDEEP

    3072:sPnHfTpEBgSJMflwsC7kAobUaKbEOdqSd89MRrGZbZFAR2:unHLpEBgzwpdsUdE2xqMRrGZb

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_e795596b2e5113cab4a35820e92b959f34d80073f37cad1ed3562f211e78eea8.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e795596b2e5113cab4a35820e92b959f34d80073f37cad1ed3562f211e78eea8.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1808
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rsfmbtuk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5112
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nfxedufm.exe" C:\Windows\SysWOW64\rsfmbtuk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3260
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rsfmbtuk binPath= "C:\Windows\SysWOW64\rsfmbtuk\nfxedufm.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e795596b2e5113cab4a35820e92b959f34d80073f37cad1ed3562f211e78eea8.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3728
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rsfmbtuk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1608
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rsfmbtuk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4500
    • 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:2364
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1808 -s 1348
      2⤵
      • Program crash
      PID:2120
  • C:\Windows\SysWOW64\rsfmbtuk\nfxedufm.exe
    C:\Windows\SysWOW64\rsfmbtuk\nfxedufm.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e795596b2e5113cab4a35820e92b959f34d80073f37cad1ed3562f211e78eea8.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2472
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1492
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2472 -s 524
      2⤵
      • Program crash
      PID:3688
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 2472 -ip 2472
    1⤵
      PID:3880
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 1808 -ip 1808
      1⤵
        PID:2684

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.7MB

        MD5

        fcc396a7480f85f0023cea15eab0914a

        SHA1

        e3543f87e8fdbf2db1f4b42392c0a9da212a07af

        SHA256

        adc746824d4895315e0d263561569e94bc9cb6638f225e08aee4e9167d582170

        SHA512

        e6b765bc99f3149f252059ee25874b5f35e21811706c10584c0a9443d9a8f17919cae36fecd5020d0bc27dc939a0d79bc5d9b289b32263ac8e77fdee883cfdd8

      • memory/1492-8-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

      • memory/1492-20-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

      • memory/1492-18-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

      • memory/1492-11-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

      • memory/1492-19-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1808-1-0x0000000000700000-0x0000000000713000-memory.dmp

        Filesize

        76KB

      • memory/1808-0-0x00000000005D0000-0x00000000005DD000-memory.dmp

        Filesize

        52KB

      • memory/1808-16-0x0000000000700000-0x0000000000713000-memory.dmp

        Filesize

        76KB

      • memory/1808-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1808-14-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/1808-15-0x00000000005D0000-0x00000000005DD000-memory.dmp

        Filesize

        52KB

      • memory/2472-6-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/2472-13-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/2472-7-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB