Analysis

  • max time kernel
    149s
  • max time network
    147s
  • 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 22:11

General

  • Target

    JaffaCakes118_0c8460275bff2dbb557dc58ed9ff3d05ec581e9c5f7b8033c7d1d2fa07eca735.exe

  • Size

    292KB

  • MD5

    14936120ec4dd7c433d5af318a2ef8a6

  • SHA1

    a177abb559dc1d6d4e7ddc248c8214aae17d4c8c

  • SHA256

    0c8460275bff2dbb557dc58ed9ff3d05ec581e9c5f7b8033c7d1d2fa07eca735

  • SHA512

    0de81ca627fcbe7d6f6934c313ae8891db862c45807cc9752a0d768d1637f6351414814f6cedf0328f6c120608984f399add1fa068a9b53ea18ee5d94328e7b5

  • SSDEEP

    6144:yh9vzdC7naJt5JfbrSXuZet0yobwPN2VEyLvo:2zI7Gt55fSXuZet0yobwgEyk

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_0c8460275bff2dbb557dc58ed9ff3d05ec581e9c5f7b8033c7d1d2fa07eca735.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0c8460275bff2dbb557dc58ed9ff3d05ec581e9c5f7b8033c7d1d2fa07eca735.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1820
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lwojmumc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2200
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kdoepmfy.exe" C:\Windows\SysWOW64\lwojmumc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4536
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lwojmumc binPath= "C:\Windows\SysWOW64\lwojmumc\kdoepmfy.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0c8460275bff2dbb557dc58ed9ff3d05ec581e9c5f7b8033c7d1d2fa07eca735.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1180
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lwojmumc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4376
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lwojmumc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2496
    • 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:3368
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1820 -s 1032
      2⤵
      • Program crash
      PID:3812
  • C:\Windows\SysWOW64\lwojmumc\kdoepmfy.exe
    C:\Windows\SysWOW64\lwojmumc\kdoepmfy.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0c8460275bff2dbb557dc58ed9ff3d05ec581e9c5f7b8033c7d1d2fa07eca735.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2520
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4648
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2520 -s 512
      2⤵
      • Program crash
      PID:4824
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1820 -ip 1820
    1⤵
      PID:3760
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 2520 -ip 2520
      1⤵
        PID:4468

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.1MB

        MD5

        db9d37542cad29049042043da070b6c0

        SHA1

        0a56f9a710a6ee999202e93092306938f11ee25f

        SHA256

        bebd2b4e24996921d5e092ce42f099ba1ae2e28d89b6ad855be70447603c145a

        SHA512

        a574bd5848be3a0742f2a5cc01381494833df50d370912d345c68701f856a5c7797e2fbba5f6af4cf43b7797193598165acf8a002ee46bd9ca03d2730a8ea28b

      • memory/1820-1-0x0000000002DE0000-0x0000000002EE0000-memory.dmp

        Filesize

        1024KB

      • memory/1820-2-0x0000000002DC0000-0x0000000002DD3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1820-8-0x0000000002DC0000-0x0000000002DD3000-memory.dmp

        Filesize

        76KB

      • memory/1820-7-0x0000000000400000-0x0000000002B41000-memory.dmp

        Filesize

        39.3MB

      • memory/2520-15-0x0000000000400000-0x0000000002B41000-memory.dmp

        Filesize

        39.3MB

      • memory/4648-11-0x00000000010D0000-0x00000000010E5000-memory.dmp

        Filesize

        84KB

      • memory/4648-13-0x00000000010D0000-0x00000000010E5000-memory.dmp

        Filesize

        84KB

      • memory/4648-14-0x00000000010D0000-0x00000000010E5000-memory.dmp

        Filesize

        84KB