Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    10-01-2025 16:40

General

  • Target

    JaffaCakes118_e90b90af3f600eb0030f10f43fc1e213.exe

  • Size

    10.1MB

  • MD5

    e90b90af3f600eb0030f10f43fc1e213

  • SHA1

    c64fe5d5de7582aa3362bff12bff069ab030f2f2

  • SHA256

    665f67bbebb566cefe67f0ffbf743e93509211b8a490bf132d232d020d55e5f2

  • SHA512

    9d2cae9099cafabf1107240e52c6647c3caae6014493fdae0e6b07ac4a42300d1b79c2f034f8bb3f7a28e5cee5246127ab46bd5a92689cd0bb5d17d91b9d8efe

  • SSDEEP

    49152:Q77777777777777777777777777777777777777777777777777777777777777X:

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_e90b90af3f600eb0030f10f43fc1e213.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e90b90af3f600eb0030f10f43fc1e213.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4876
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xgztymbm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4964
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ghfpslqb.exe" C:\Windows\SysWOW64\xgztymbm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2844
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xgztymbm binPath= "C:\Windows\SysWOW64\xgztymbm\ghfpslqb.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e90b90af3f600eb0030f10f43fc1e213.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1548
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xgztymbm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4940
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xgztymbm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3060
    • 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:3700
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4876 -s 1036
      2⤵
      • Program crash
      PID:1172
  • C:\Windows\SysWOW64\xgztymbm\ghfpslqb.exe
    C:\Windows\SysWOW64\xgztymbm\ghfpslqb.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e90b90af3f600eb0030f10f43fc1e213.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2044
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2216
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2044 -s 512
      2⤵
      • Program crash
      PID:324
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4876 -ip 4876
    1⤵
      PID:4872
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 2044 -ip 2044
      1⤵
        PID:4348

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.5MB

        MD5

        9421023a317471240016cb0ec64b5104

        SHA1

        bcdc35565b7010572e8b86c664a3fbe79b4b417f

        SHA256

        f010af346b4d0fab70e48c912f8408e0a30bb6257f907abd6c204eec5e888550

        SHA512

        f9b2eb42266b1c60e50ce99e66dc8f8d5b04fbbfefa9be2498ac25671f9adc2575bad43af9c62560a8f0510887441f1fcb9eadc14311a8ae6fce9e0b465b2289

      • memory/2044-11-0x0000000000400000-0x00000000016BC000-memory.dmp

        Filesize

        18.7MB

      • memory/2044-17-0x0000000000400000-0x00000000016BC000-memory.dmp

        Filesize

        18.7MB

      • memory/2216-12-0x0000000000D60000-0x0000000000D75000-memory.dmp

        Filesize

        84KB

      • memory/2216-14-0x0000000000D60000-0x0000000000D75000-memory.dmp

        Filesize

        84KB

      • memory/2216-15-0x0000000000D60000-0x0000000000D75000-memory.dmp

        Filesize

        84KB

      • memory/4876-1-0x0000000001890000-0x0000000001990000-memory.dmp

        Filesize

        1024KB

      • memory/4876-2-0x0000000001860000-0x0000000001873000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4876-9-0x0000000001860000-0x0000000001873000-memory.dmp

        Filesize

        76KB

      • memory/4876-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4876-8-0x0000000000400000-0x00000000016BC000-memory.dmp

        Filesize

        18.7MB