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
    29-12-2024 11:54

General

  • Target

    JaffaCakes118_81adb918945e7db12db84a7cbbc85c08f8d43fcc933bfbfe8f7715a6de900618.exe

  • Size

    254KB

  • MD5

    74629d3db7f637e0f797ffe848292c52

  • SHA1

    661a8a084530e9bffb3c864d0a303a525af2ba23

  • SHA256

    81adb918945e7db12db84a7cbbc85c08f8d43fcc933bfbfe8f7715a6de900618

  • SHA512

    c25e786fc5902f38ade2d60d06517f9d0e32004065b19d8be9ded5577019d9e48449e8832f3d7a37547096b4c7c18ae9a4e6d37701f1bece314dfdb8b3515fee

  • SSDEEP

    6144:Fu5D3sXRTvOeg0Fdi/DOSchxOtGPoGial4zQ:c9Indi/DOHiGPqP

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_81adb918945e7db12db84a7cbbc85c08f8d43fcc933bfbfe8f7715a6de900618.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_81adb918945e7db12db84a7cbbc85c08f8d43fcc933bfbfe8f7715a6de900618.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4316
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xtyfetst\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4812
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bgfdtzix.exe" C:\Windows\SysWOW64\xtyfetst\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3192
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xtyfetst binPath= "C:\Windows\SysWOW64\xtyfetst\bgfdtzix.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_81adb918945e7db12db84a7cbbc85c08f8d43fcc933bfbfe8f7715a6de900618.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1196
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xtyfetst "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4680
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xtyfetst
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3124
    • 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:1740
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4316 -s 1044
      2⤵
      • Program crash
      PID:4648
  • C:\Windows\SysWOW64\xtyfetst\bgfdtzix.exe
    C:\Windows\SysWOW64\xtyfetst\bgfdtzix.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_81adb918945e7db12db84a7cbbc85c08f8d43fcc933bfbfe8f7715a6de900618.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4432
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4168
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4432 -s 532
      2⤵
      • Program crash
      PID:4628
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 4316 -ip 4316
    1⤵
      PID:4436
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 4432 -ip 4432
      1⤵
        PID:4184

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.1MB

        MD5

        107695adb59ca4e411b00cd47143532f

        SHA1

        4f2a7507c9f3cec926a73bc59909f24b13cd5980

        SHA256

        1a962eb337887704a57a4e4c2231830ad5013fba0fe5163c83c91d8f44b781ed

        SHA512

        659fe0cd14c50fc40bd9166ce4e3891a7cbc0bc297c90e4769f4bfcde6d72090554bfa560ab227de97d15f46c379be98d9a5b2ba81fe2323a66535ad75deddd9

      • memory/4168-11-0x00000000003A0000-0x00000000003B5000-memory.dmp

        Filesize

        84KB

      • memory/4168-13-0x00000000003A0000-0x00000000003B5000-memory.dmp

        Filesize

        84KB

      • memory/4168-14-0x00000000003A0000-0x00000000003B5000-memory.dmp

        Filesize

        84KB

      • memory/4316-1-0x00000000011E0000-0x00000000012E0000-memory.dmp

        Filesize

        1024KB

      • memory/4316-2-0x0000000002C90000-0x0000000002CA3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4316-7-0x0000000000400000-0x0000000001085000-memory.dmp

        Filesize

        12.5MB

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

        Filesize

        84KB

      • memory/4316-8-0x0000000002C90000-0x0000000002CA3000-memory.dmp

        Filesize

        76KB

      • memory/4432-15-0x0000000000400000-0x0000000001085000-memory.dmp

        Filesize

        12.5MB