Analysis

  • max time kernel
    148s
  • 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
    25-12-2024 19:36

General

  • Target

    JaffaCakes118_dc177df1ffea1b1ae45b27e51a3ac3ff6218c1b6590ad316b5703196c2969925.exe

  • Size

    159KB

  • MD5

    7660635a50899e71c211b7d323c221ea

  • SHA1

    b4421fb519fadefa1a2ee4924b55bdce80c027a8

  • SHA256

    dc177df1ffea1b1ae45b27e51a3ac3ff6218c1b6590ad316b5703196c2969925

  • SHA512

    8065a7d7a36c63ccd4f3b70c49cc2c651425d061e541c88e2b8576c5dadca3b94fdaa025abc960b1021aa3d08da0bbcf2ef6599225cd60b5507cad236b151159

  • SSDEEP

    3072:/76t3I5NU6gM6ueKflIMykzYWzJn3iIsNb:OI5NUVdsfjRYuJ1s

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_dc177df1ffea1b1ae45b27e51a3ac3ff6218c1b6590ad316b5703196c2969925.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_dc177df1ffea1b1ae45b27e51a3ac3ff6218c1b6590ad316b5703196c2969925.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1392
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\eztbgflx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2244
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\peflyjdc.exe" C:\Windows\SysWOW64\eztbgflx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3624
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create eztbgflx binPath= "C:\Windows\SysWOW64\eztbgflx\peflyjdc.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_dc177df1ffea1b1ae45b27e51a3ac3ff6218c1b6590ad316b5703196c2969925.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:864
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description eztbgflx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4908
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start eztbgflx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4572
    • 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:3588
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1392 -s 596
      2⤵
      • Program crash
      PID:3596
  • C:\Windows\SysWOW64\eztbgflx\peflyjdc.exe
    C:\Windows\SysWOW64\eztbgflx\peflyjdc.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_dc177df1ffea1b1ae45b27e51a3ac3ff6218c1b6590ad316b5703196c2969925.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2792
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4400
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2792 -s 512
      2⤵
      • Program crash
      PID:4800
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 1392 -ip 1392
    1⤵
      PID:3788
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 2792 -ip 2792
      1⤵
        PID:4976

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.8MB

        MD5

        eae5b7f82446ea213254d68d6810a56e

        SHA1

        7ff6dc7d40f4785983808f3e1ac819e40a8ddfb0

        SHA256

        fc9de79fb3993a67d5704986e3da82da897eb4f82f2041e0991ff3380f791692

        SHA512

        86a0b5ce8d7440686e6116cca83d941e2ce7f9183620d6f7f40db1740e7eee20476be74c6947bdd015e6514528578b2ad738848123fe93b2238949ca867a7292

      • memory/1392-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1392-1-0x0000000002060000-0x0000000002073000-memory.dmp

        Filesize

        76KB

      • memory/1392-10-0x0000000000400000-0x000000000042F000-memory.dmp

        Filesize

        188KB

      • memory/1392-12-0x0000000002060000-0x0000000002073000-memory.dmp

        Filesize

        76KB

      • memory/1392-0-0x0000000002030000-0x000000000203D000-memory.dmp

        Filesize

        52KB

      • memory/1392-11-0x0000000002030000-0x000000000203D000-memory.dmp

        Filesize

        52KB

      • memory/2792-6-0x0000000000400000-0x000000000042F000-memory.dmp

        Filesize

        188KB

      • memory/2792-7-0x0000000000400000-0x000000000042F000-memory.dmp

        Filesize

        188KB

      • memory/2792-15-0x0000000000400000-0x000000000042F000-memory.dmp

        Filesize

        188KB

      • memory/4400-8-0x00000000008B0000-0x00000000008C5000-memory.dmp

        Filesize

        84KB

      • memory/4400-16-0x00000000008B0000-0x00000000008C5000-memory.dmp

        Filesize

        84KB

      • memory/4400-17-0x00000000008B0000-0x00000000008C5000-memory.dmp

        Filesize

        84KB