Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-12-2024 20:23

General

  • Target

    JaffaCakes118_4d462207c5e280d0f7fa051e76ffc2098dcc4c5bf5a57eb3b34ed11a34cb6226.exe

  • Size

    284KB

  • MD5

    7f73ad66202a5d4689c977e9351b7cfa

  • SHA1

    e679d98251eedcc308068c1488908168aa82ce14

  • SHA256

    4d462207c5e280d0f7fa051e76ffc2098dcc4c5bf5a57eb3b34ed11a34cb6226

  • SHA512

    cbf6f9a7d262ce7623c8d8ddb6720d627c93c61ac63b711f9e55b3fcb95269ac9a00d171d630a9c1719c7ffaae9e1e969fbbe7f76c8813b4d73fbc70a29f6c79

  • SSDEEP

    6144:EKDTIWFp63IcFTbID2uzbgwu6L7ITsqSigaTwVf:FTIQp635h62unnn7s

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_4d462207c5e280d0f7fa051e76ffc2098dcc4c5bf5a57eb3b34ed11a34cb6226.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4d462207c5e280d0f7fa051e76ffc2098dcc4c5bf5a57eb3b34ed11a34cb6226.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4988
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dfaivjkw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3652
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\unbnfzbo.exe" C:\Windows\SysWOW64\dfaivjkw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5112
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dfaivjkw binPath= "C:\Windows\SysWOW64\dfaivjkw\unbnfzbo.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4d462207c5e280d0f7fa051e76ffc2098dcc4c5bf5a57eb3b34ed11a34cb6226.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3720
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dfaivjkw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3896
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dfaivjkw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1356
    • 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:1300
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4988 -s 1208
      2⤵
      • Program crash
      PID:1648
  • C:\Windows\SysWOW64\dfaivjkw\unbnfzbo.exe
    C:\Windows\SysWOW64\dfaivjkw\unbnfzbo.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4d462207c5e280d0f7fa051e76ffc2098dcc4c5bf5a57eb3b34ed11a34cb6226.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:872
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2260
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 872 -s 528
      2⤵
      • Program crash
      PID:1164
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4988 -ip 4988
    1⤵
      PID:1372
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 872 -ip 872
      1⤵
        PID:5056

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.4MB

        MD5

        3383e4afb9b35dfa34cded5cd98061ca

        SHA1

        f1b8eabd0f7f0a6d3f7705e1826575abcf61f430

        SHA256

        397b677dd07fd6101a7f8dc47114bfd7cdf1f6b573f7dadc4aa6195026f37b39

        SHA512

        9e944c403fc6ef02825e006db3ca529aff5989dd51befabbfb922d3ac3c75c69fb4e27fd215d27ae3863334a8490a7d29c63a3a69411607050f5db655bfde9de

      • memory/872-11-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/872-10-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/872-16-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/2260-12-0x0000000000E40000-0x0000000000E55000-memory.dmp

        Filesize

        84KB

      • memory/2260-14-0x0000000000E40000-0x0000000000E55000-memory.dmp

        Filesize

        84KB

      • memory/2260-15-0x0000000000E40000-0x0000000000E55000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4988-1-0x00000000004F0000-0x0000000000503000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4988-8-0x00000000004F0000-0x0000000000503000-memory.dmp

        Filesize

        76KB

      • memory/4988-7-0x00000000004E0000-0x00000000004ED000-memory.dmp

        Filesize

        52KB

      • memory/4988-6-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/4988-0-0x00000000004E0000-0x00000000004ED000-memory.dmp

        Filesize

        52KB